You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ LieGraph is a multi-agent implementation of the popular social deduction game "W
14
14
-**Natural Language Interaction:** Agents communicate and reason in natural language throughout the game
15
15
-**Probabilistic Belief System:** Sophisticated belief tracking with self-belief confidence and suspicions matrix
16
16
-**Strategic Reasoning:** Advanced bluff detection, alliance formation, and long-term planning
17
+
-**Built-in Metrics:** Automatic quality tracking for win balance, identification accuracy, and speech diversity with JSON reports for prompt evaluation workflows
17
18
18
19
## 🚀 Quick Start
19
20
@@ -158,6 +159,31 @@ game:
158
159
# ...
159
160
```
160
161
162
+
## 📊 Metrics & Evaluation
163
+
164
+
LieGraph ships with a lightweight metrics collector (`src/game/metrics.py`) that records quality indicators as games unfold:
165
+
166
+
- **Win balance:** Civilian vs. spy win rates and a fairness score targeting 50/50 outcomes.
167
+
- **Identification accuracy:** Tracks how confidently players identify their own roles and others over time.
168
+
- **Speech diversity:** Measures lexical variety per speech turn to surface repetitive phrasing.
169
+
170
+
Metrics are streamed to memory during play and automatically persisted when a game ends:
0 commit comments