Skip to content

Commit 15cff82

Browse files
committed
Refine TwinBench v1 surface and archive legacy materials
1 parent e692679 commit 15cff82

167 files changed

Lines changed: 1876 additions & 443 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

LEADERBOARD.md

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,51 @@
11
# TwinBench Leaderboard
22

3-
This file is the public template for reported TwinBench results. It is intentionally plain. Benchmark repositories should optimize for comparability, not presentation.
3+
TwinBench v1 is ready for external result submission. The canonical leaderboard structure is defined here even though no public external submissions are listed yet.
4+
5+
## Current Status
6+
7+
- Public external submissions: `none listed yet`
8+
- Canonical benchmark version: `1.0`
9+
- Example artifact: [results/reference-example-v1.json](results/reference-example-v1.json)
10+
11+
The example artifact is a schema and reporting reference, not a competitive leaderboard entry.
412

513
## Reporting Rules
614

7-
- Benchmark version must be stated explicitly.
8-
- Scenario deviations must be disclosed in `Notes / Caveats`.
9-
- Partial runs may be listed, but incomplete coverage should be made visible.
10-
- Scores are reported on a `0-100` scale.
15+
- Every row must include the benchmark version used.
16+
- Scenario deviations must be disclosed.
17+
- Evidence references should be included whenever available.
18+
- Coverage shortfalls must remain visible.
19+
- Evaluator notes and caveats are part of the result, not optional extras.
1120

1221
## Leaderboard Template
1322

14-
| System Name | Version | Date Evaluated | MR | IC | CCC | TC | PG | Total Score | Notes / Caveats |
15-
|-------------|---------|----------------|----|----|-----|----|----|-------------|-----------------|
16-
| Example System | 0.1.0 | 2026-04-03 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | Template row |
23+
| System Name | System Version | Evaluation Date | Benchmark Version | MR | IC | CCC | TC | PG | Total Score | Coverage | Evidence | Evaluator Notes | Caveats |
24+
|-------------|----------------|-----------------|-------------------|----|----|-----|----|----|-------------|----------|----------|-----------------|---------|
25+
| No public submissions yet | - | - | 1.0 | - | - | - | - | - | - | - | [Reference example](results/reference-example-v1.json) | Template row only | Not a leaderboard entry |
1726

1827
## Result Record Template
1928

2029
```json
2130
{
2231
"benchmark_name": "TwinBench",
32+
"benchmark_title": "TwinBench: Benchmark for Persistent AI Systems",
2333
"benchmark_version": "1.0",
2434
"system_name": "Example System",
2535
"system_version": "0.1.0",
2636
"date_evaluated": "2026-04-03",
2737
"metrics": {
28-
"MR": 0.0,
29-
"IC": 0.0,
30-
"CCC": 0.0,
31-
"TC": 0.0,
32-
"PG": 0.0
38+
"MR": {"score": 0.0},
39+
"IC": {"score": 0.0},
40+
"CCC": {"score": 0.0},
41+
"TC": {"score": 0.0},
42+
"PG": {"score": 0.0}
3343
},
3444
"total_score": 0.0,
3545
"scenario_coverage": 0.0,
3646
"metric_coverage": 0.0,
37-
"notes": [
38-
"List scenario deviations, evaluator caveats, or partial coverage here."
39-
]
47+
"evidence": [],
48+
"evaluator_notes": [],
49+
"caveats": []
4050
}
4151
```

METRICS.md

Lines changed: 67 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,20 @@
1-
# TwinBench Metrics v1
1+
# TwinBench Metrics
22

3-
TwinBench v1 defines five core metrics. Each metric is scored on a `0-100` scale. The benchmark default is equal metric weighting.
3+
TwinBench v1 defines five core metrics. Each metric is scored on a `0-100` scale. The default weighting is equal across metrics.
44

55
## 1. Memory Retention (MR)
66

77
**Definition**
88

9-
Memory Retention measures whether a system preserves and correctly recalls previously established user-relevant information across session boundaries and elapsed time.
9+
Memory Retention measures whether the system preserves and correctly recalls previously established user-relevant information across session boundaries and elapsed time.
1010

1111
**What it measures**
1212

13-
- persistence of facts, preferences, and prior decisions
14-
- resistance to forgetting after context resets
15-
- correct recall after delay or intervening interaction
13+
- durable recall of facts, preferences, and prior decisions
14+
- resistance to forgetting after delay or context reset
15+
- correct handling of updated or contradictory information
1616

17-
**Why it matters**
18-
19-
Persistent systems are not useful if continuity collapses at the end of a session. MR captures whether memory is durable enough to support longitudinal interaction.
20-
21-
**Scoring method**
22-
23-
MR is computed from recall probes across delayed checkpoints.
17+
**Scoring approach**
2418

2519
```text
2620
MR = 0.50 * factual_recall
@@ -30,137 +24,129 @@ MR = 0.50 * factual_recall
3024

3125
Each component is normalized to `0-100`.
3226

33-
**Example pass behavior**
27+
**Evidence requirements**
3428

35-
- The system recalls a user’s standing project preference after several sessions.
36-
- The system updates an obsolete preference when corrected and uses the new value later.
29+
- at least one delayed recall probe
30+
- at least one memory update or contradiction case
31+
- evaluator notes when recall depends on leading hints
3732

38-
**Example fail behavior**
33+
**Pass / fail intuition**
3934

40-
- The system forgets the preference after a restart.
41-
- The system recalls the old preference after being explicitly updated.
35+
- Pass: the system recalls stable facts and applies corrected information later.
36+
- Fail: the system forgets the fact, reverts to stale information, or invents unsupported memory.
4237

4338
**Caveats**
4439

45-
- Retrieval success can reflect prompt phrasing as well as true memory quality.
46-
- Some systems summarize aggressively; evaluators should distinguish compression from failure.
40+
- prompt wording can affect recall quality
41+
- compressed summaries may obscure whether the underlying memory was preserved precisely
4742

4843
## 2. Identity Consistency (IC)
4944

5045
**Definition**
5146

52-
Identity Consistency measures whether the system maintains a stable representation of the user and of its own role, commitments, and conversational posture over time.
47+
Identity Consistency measures whether the system maintains a stable representation of the user and a stable understanding of its own role, commitments, and collaboration norms over time.
5348

5449
**What it measures**
5550

56-
- user identity continuity
57-
- stable self-description and role adherence
58-
- consistency of standing commitments, plans, and constraints
51+
- continuity of the user profile
52+
- stability of the system’s declared role
53+
- consistency of standing commitments and working norms
5954

60-
**Why it matters**
61-
62-
A persistent system should not behave as though the user is new in every session or as though its own operating role changes arbitrarily over time.
63-
64-
**Scoring method**
55+
**Scoring approach**
6556

6657
```text
6758
IC = 0.40 * user_identity_stability
6859
+ 0.35 * system_role_stability
6960
+ 0.25 * commitment_consistency
7061
```
7162

72-
**Example pass behavior**
63+
**Evidence requirements**
7364

74-
- The system continues addressing the same user profile and respects previously established working norms.
75-
- It retains its declared role as a planning assistant rather than drifting into unrelated personas.
65+
- at least two dated checkpoints
66+
- at least one probe of user understanding
67+
- at least one probe of system role or standing commitment
7668

77-
**Example fail behavior**
69+
**Pass / fail intuition**
7870

79-
- It confuses the user with another profile.
80-
- It contradicts its own prior commitments without a triggering event.
71+
- Pass: the system treats the same user as the same user and preserves the collaboration frame.
72+
- Fail: the system behaves as if the user is new, confuses identities, or drifts into an incompatible role without cause.
8173

8274
**Caveats**
8375

84-
- Stylistic variation is not necessarily identity drift.
85-
- Systems with adaptive tone may appear less consistent unless prompts are controlled carefully.
76+
- stylistic variation alone is not identity drift
77+
- highly adaptive systems require careful prompt control to avoid false positives
8678

8779
## 3. Cross-Context Coherence (CCC)
8880

8981
**Definition**
9082

91-
Cross-Context Coherence measures whether information, plans, and interpretations remain consistent when interaction moves across sessions, channels, or task contexts.
83+
Cross-Context Coherence measures whether information, plans, and interpretations remain aligned when interaction moves across sessions, channels, or task contexts.
9284

9385
**What it measures**
9486

9587
- transfer of relevant context between surfaces
96-
- coherent interpretation when tasks resume elsewhere
97-
- avoidance of context fragmentation
98-
99-
**Why it matters**
88+
- consistency of plan state and summaries
89+
- avoidance of fragmentation across contexts
10090

101-
Persistent systems are often used across web, chat, email, documents, and scheduled workflows. Coherence across those contexts is central to real-world usefulness.
102-
103-
**Scoring method**
91+
**Scoring approach**
10492

10593
```text
10694
CCC = 0.45 * context_transfer_accuracy
10795
+ 0.35 * plan_coherence
10896
+ 0.20 * state_alignment
10997
```
11098

111-
**Example pass behavior**
99+
**Evidence requirements**
112100

113-
- A task started in chat can be resumed in email without re-explaining its goal.
114-
- The system carries forward the same status summary across surfaces.
101+
- at least one explicit context switch
102+
- one resumed task or memory probe in the new context
103+
- recorded notes about whether transfer was native or evaluator-mediated
115104

116-
**Example fail behavior**
105+
**Pass / fail intuition**
117106

118-
- The system treats the resumed task as unrelated.
119-
- Different contexts produce incompatible versions of the same plan.
107+
- Pass: work started in one context resumes coherently in another.
108+
- Fail: the system produces incompatible summaries, stale state, or fragmented plans.
120109

121110
**Caveats**
122111

123-
- True multi-channel measurement may require bespoke instrumentation.
124-
- Human evaluators may need to judge when omitted context is harmless versus coherence failure.
112+
- true multi-surface evaluation may require instrumentation not available in all systems
113+
- some context transfer failures are ambiguous and need evaluator judgment
125114

126115
## 4. Task Continuity (TC)
127116

128117
**Definition**
129118

130-
Task Continuity measures whether a system can maintain progress on multi-step work over time, including after interruptions, delays, or context changes.
119+
Task Continuity measures whether the system preserves progress on multi-step work across interruptions, delays, and resumed interaction.
131120

132121
**What it measures**
133122

134123
- preservation of task state
135124
- correct resumption after interruption
136-
- continuity of dependencies, decisions, and next actions
137-
138-
**Why it matters**
139-
140-
Persistent intelligence is valuable when work survives beyond the immediate turn. TC captures whether a system can behave like a long-horizon collaborator rather than a short-lived executor.
125+
- continuity of milestones, dependencies, and next actions
141126

142-
**Scoring method**
127+
**Scoring approach**
143128

144129
```text
145130
TC = 0.40 * stateful_resumption
146131
+ 0.35 * milestone_progression
147132
+ 0.25 * interruption_recovery
148133
```
149134

150-
**Example pass behavior**
135+
**Evidence requirements**
151136

152-
- The system resumes a deferred research task from the last confirmed milestone.
153-
- It knows which subtasks were already completed and which remain open.
137+
- at least one multi-step task
138+
- at least one interruption or delay
139+
- evidence that prior milestones were preserved or lost
154140

155-
**Example fail behavior**
141+
**Pass / fail intuition**
156142

157-
- It restarts the task from scratch after every interruption.
158-
- It claims completion without preserving prior outputs or decisions.
143+
- Pass: the system resumes from the correct milestone and advances the task without repeating completed work.
144+
- Fail: the system restarts from scratch, duplicates work, or claims progress without preserved state.
159145

160146
**Caveats**
161147

162-
- TC depends on scenario design. Trivial tasks can overstate continuity quality.
163-
- Some systems may perform well only when state is exposed explicitly by the interface.
148+
- trivial tasks can make continuity look better than it is
149+
- some interfaces expose task state explicitly while others hide it, which affects evaluation difficulty
164150

165151
## 5. Personalization Gain (PG)
166152

@@ -170,33 +156,30 @@ Personalization Gain measures whether the system becomes more useful after learn
170156

171157
**What it measures**
172158

173-
- utility improvement from remembered preferences
159+
- later application of learned preferences
174160
- reduction in repeated correction
175-
- adaptation to user-specific defaults and working style
176-
177-
**Why it matters**
178-
179-
Persistent systems should improve with use. If stored user knowledge does not yield better behavior, persistence has limited practical value.
161+
- user-specific efficiency improvement
180162

181-
**Scoring method**
163+
**Scoring approach**
182164

183165
```text
184166
PG = 0.50 * preference_application
185167
+ 0.30 * correction_reduction
186168
+ 0.20 * user_specific_efficiency
187169
```
188170

189-
**Example pass behavior**
171+
**Evidence requirements**
190172

191-
- After learning formatting and scheduling preferences, the system applies them without being reminded.
192-
- Output quality improves measurably in later interactions.
173+
- baseline behavior before preference learning
174+
- one or more explicit preference statements or corrections
175+
- a later comparable task where preference use can be observed
193176

194-
**Example fail behavior**
177+
**Pass / fail intuition**
195178

196-
- The system stores preferences but does not use them.
197-
- The user must repeat the same corrections in each session.
179+
- Pass: later outputs reflect learned preferences without restatement and require fewer corrections.
180+
- Fail: stored preferences are not used, are inconsistently used, or must be repeated each time.
198181

199182
**Caveats**
200183

201-
- PG is sensitive to task selection and evaluator baselines.
202-
- Apparent improvement can come from easier later prompts rather than genuine personalization unless scenarios are controlled carefully.
184+
- later tasks must be comparable enough to support a fair before-and-after judgment
185+
- apparent gain may reflect easier prompts rather than genuine personalization

0 commit comments

Comments
 (0)