-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Expand file tree
/
Copy pathindex.html
More file actions
179 lines (172 loc) · 6.18 KB
/
index.html
File metadata and controls
179 lines (172 loc) · 6.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>ElizaOS Benchmark Viewer</title>
<link rel="icon" href="data:," />
<link rel="stylesheet" href="./styles.css" />
</head>
<body>
<main class="shell">
<header class="hero">
<h1>ElizaOS Benchmark Viewer</h1>
<p id="generated-at">Loading benchmark data...</p>
</header>
<section class="cards" id="summary-cards"></section>
<nav class="tabs" id="tab-nav">
<button type="button" class="tab-button is-active" data-tab="overview">Overview</button>
<button type="button" class="tab-button" data-tab="diff">Trajectory Diff</button>
</nav>
<div class="tab-panel is-active" data-tab="overview">
<section class="panel">
<h2>Runs</h2>
<div class="controls">
<label>
Sort by
<select id="sort-by">
<option value="started_at">started_at</option>
<option value="agent">agent</option>
<option value="run_id">run_id</option>
<option value="benchmark_id">benchmark_id</option>
<option value="status">status</option>
<option value="score">score</option>
<option value="delta_to_high_score">delta_to_high_score</option>
</select>
</label>
<label>
Order
<select id="sort-order">
<option value="desc">desc</option>
<option value="asc">asc</option>
</select>
</label>
<label>
Benchmark
<select id="filter-benchmark">
<option value="">all</option>
</select>
</label>
<label>
Status
<select id="filter-status">
<option value="">all</option>
</select>
</label>
<label>
Search
<input id="filter-search" type="search" placeholder="run id, model, agent..." />
</label>
</div>
<div class="table-wrap">
<table id="runs-table">
<thead>
<tr>
<th data-sort="run_id">run_id</th>
<th data-sort="run_group_id">run_group_id</th>
<th data-sort="benchmark_id">benchmark</th>
<th data-sort="status">status</th>
<th data-sort="agent">agent</th>
<th data-sort="provider">provider</th>
<th data-sort="model">model</th>
<th data-sort="score">score</th>
<th data-sort="input_tokens">input_tokens</th>
<th data-sort="output_tokens">output_tokens</th>
<th data-sort="total_tokens">total_tokens</th>
<th data-sort="cached_tokens">cached_tokens</th>
<th data-sort="call_count">calls</th>
<th data-sort="high_score_value">high_score</th>
<th data-sort="delta_to_high_score">delta</th>
<th data-sort="started_at">started_at</th>
<th data-sort="duration_seconds">duration_s</th>
</tr>
</thead>
<tbody id="runs-body"></tbody>
</table>
</div>
</section>
<section class="panel">
<h2>Latest Scores</h2>
<p class="hint">Real-agent rows only. Synthetic / calibration baselines are listed separately below.</p>
<div class="table-wrap">
<table>
<thead>
<tr>
<th>benchmark</th>
<th>run_id</th>
<th>agent</th>
<th>provider</th>
<th>model</th>
<th>score</th>
<th>input_tokens</th>
<th>output_tokens</th>
<th>total_tokens</th>
<th>cached_tokens</th>
<th>calls</th>
<th>high_score</th>
<th>delta</th>
</tr>
</thead>
<tbody id="latest-body"></tbody>
</table>
</div>
</section>
<section class="panel">
<h2>Synthetic baselines (no model invoked)</h2>
<p class="hint">
Hardcoded calibration knobs (<code>perfect_v1=1.0</code>, <code>half_v1=0.5</code>, <code>wrong_v1=0.0</code>, <code>random_v1</code>).
These do not exercise any agent or model. They exist to verify the score-extraction pipeline.
</p>
<div class="table-wrap">
<table>
<thead>
<tr>
<th>benchmark</th>
<th>run_id</th>
<th>agent</th>
<th>score</th>
</tr>
</thead>
<tbody id="synthetic-body"></tbody>
</table>
</div>
</section>
</div>
<div class="tab-panel" data-tab="diff">
<section class="panel">
<h2>Trajectory Diff Groups</h2>
<p class="hint">Groups where at least two harnesses produced a canonical trajectory for the same (benchmark, task).</p>
<div class="table-wrap">
<table>
<thead>
<tr>
<th>run_group_id</th>
<th>benchmark</th>
<th>task_id</th>
<th>harnesses</th>
<th></th>
</tr>
</thead>
<tbody id="diff-groups-body"></tbody>
</table>
</div>
</section>
<section class="panel" id="diff-detail-panel" hidden>
<h2 id="diff-detail-title">Diff</h2>
<div class="diff-legend">
<span class="diff-swatch diff-equal"></span>identical
<span class="diff-swatch diff-differ"></span>differing
<span class="diff-swatch diff-tool-only"></span>tool_call mismatch
</div>
<div class="table-wrap">
<table id="diff-table">
<thead id="diff-table-head"></thead>
<tbody id="diff-table-body"></tbody>
</table>
</div>
</section>
</div>
</main>
<script src="./app.js"></script>
</body>
</html>