Skip to content

Commit f7a992e

Browse files
committed
feat(site): add tooltips to the table headers
1 parent ce13c08 commit f7a992e

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

site/community.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
Round</th>
107107
<!-- Tool Calls Section -->
108108
<th scope="col" aria-label="Valid tool calls executable in state"
109+
title="Responses with valid tool calls that can be executed in the current game state."
109110
class="px-3 py-3 text-center text-sm font-semibold text-zinc-600 dark:text-zinc-300 hidden sm:table-cell border-l-2 border-zinc-300 dark:border-zinc-600">
110111
<div class="flex items-center justify-center space-x-1">
111112
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor"
@@ -124,6 +125,7 @@
124125
</div>
125126
</th>
126127
<th scope="col" aria-label="Valid tool calls not executable in state"
128+
title="Responses with valid tool calls that cannot be executed in the current game state."
127129
class="px-3 py-3 text-center text-sm font-semibold text-zinc-600 dark:text-zinc-300 hidden sm:table-cell">
128130
<div class="flex items-center justify-center space-x-1">
129131
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor"
@@ -142,6 +144,7 @@
142144
</div>
143145
</th>
144146
<th scope="col" aria-label="Responses without valid tool calls"
147+
title="Responses without valid tool calls."
145148
class="px-3 py-3 text-center text-sm font-semibold text-zinc-600 dark:text-zinc-300 hidden sm:table-cell">
146149
<div class="flex items-center justify-center space-x-1">
147150
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor"
@@ -161,6 +164,7 @@
161164
</th>
162165
<!-- Tokens Section -->
163166
<th scope="col" aria-label="Average input tokens"
167+
title="Average input tokens per tool call."
164168
class="px-4 py-3 text-center text-sm font-semibold text-zinc-600 dark:text-zinc-300 hidden lg:table-cell border-l-2 border-zinc-300 dark:border-zinc-600">
165169
<div class="flex items-center justify-center space-x-1">
166170
<span>In</span>
@@ -182,6 +186,7 @@
182186
</div>
183187
</th>
184188
<th scope="col" aria-label="Average output tokens"
189+
title="Average output tokens per tool call (including reasoning tokens)."
185190
class="px-4 py-3 text-center text-sm font-semibold text-zinc-600 dark:text-zinc-300 hidden lg:table-cell">
186191
<div class="flex items-center justify-center space-x-1">
187192
<span>Out</span>
@@ -204,6 +209,7 @@
204209
</th>
205210
<!-- Performance Section -->
206211
<th scope="col" aria-label="Average time per tool call"
212+
title="Average time per tool call in seconds."
207213
class="px-4 py-3 text-center text-sm font-semibold text-zinc-600 dark:text-zinc-300 hidden md:table-cell border-l-2 border-zinc-300 dark:border-zinc-600">
208214
<div class="flex items-center justify-center space-x-1">
209215
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" class="w-4 h-4">
@@ -223,6 +229,7 @@
223229
</div>
224230
</th>
225231
<th scope="col" aria-label="Average cost per tool call"
232+
title="Average cost per tool call in milli-dollars."
226233
class="px-4 py-3 text-center text-sm font-semibold text-zinc-600 dark:text-zinc-300 hidden md:table-cell">
227234
<div class="flex items-center justify-center space-x-1">
228235
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" class="w-4 h-4">

site/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@
146146
Round</th>
147147
<!-- Tool Calls Section -->
148148
<th scope="col" aria-label="Valid tool calls executable in state"
149+
title="Responses with valid tool calls that can be executed in the current game state."
149150
class="px-3 py-3 text-center text-sm font-semibold text-zinc-700 dark:text-zinc-300 hidden sm:table-cell border-l-2 border-zinc-300 dark:border-zinc-600">
150151
<div class="flex items-center justify-center space-x-1">
151152
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor"
@@ -164,6 +165,7 @@
164165
</div>
165166
</th>
166167
<th scope="col" aria-label="Valid tool calls not executable in state"
168+
title="Responses with valid tool calls that cannot be executed in the current game state."
167169
class="px-3 py-3 text-center text-sm font-semibold text-zinc-700 dark:text-zinc-300 hidden sm:table-cell">
168170
<div class="flex items-center justify-center space-x-1">
169171
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor"
@@ -182,6 +184,7 @@
182184
</div>
183185
</th>
184186
<th scope="col" aria-label="Responses without valid tool calls"
187+
title="Responses without valid tool calls."
185188
class="px-3 py-3 text-center text-sm font-semibold text-zinc-700 dark:text-zinc-300 hidden sm:table-cell">
186189
<div class="flex items-center justify-center space-x-1">
187190
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor"
@@ -201,6 +204,7 @@
201204
</th>
202205
<!-- Tokens Section -->
203206
<th scope="col" aria-label="Average input tokens"
207+
title="Average input tokens per tool call."
204208
class="px-4 py-3 text-center text-sm font-semibold text-zinc-700 dark:text-zinc-300 hidden lg:table-cell border-l-2 border-zinc-300 dark:border-zinc-600">
205209
<div class="flex items-center justify-center space-x-1">
206210
<span>In</span>
@@ -222,6 +226,7 @@
222226
</div>
223227
</th>
224228
<th scope="col" aria-label="Average output tokens"
229+
title="Average output tokens per tool call (including reasoning tokens)."
225230
class="px-4 py-3 text-center text-sm font-semibold text-zinc-700 dark:text-zinc-300 hidden lg:table-cell">
226231
<div class="flex items-center justify-center space-x-1">
227232
<span>Out</span>
@@ -244,6 +249,7 @@
244249
</th>
245250
<!-- Performance Section -->
246251
<th scope="col" aria-label="Average time per tool call"
252+
title="Average time per tool call in seconds."
247253
class="px-4 py-3 text-center text-sm font-semibold text-zinc-700 dark:text-zinc-300 hidden md:table-cell border-l-2 border-zinc-300 dark:border-zinc-600">
248254
<div class="flex items-center justify-center space-x-1">
249255
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" class="w-4 h-4">
@@ -263,6 +269,7 @@
263269
</div>
264270
</th>
265271
<th scope="col" aria-label="Average cost per tool call"
272+
title="Average cost per tool call in milli-dollars."
266273
class="px-4 py-3 text-center text-sm font-semibold text-zinc-700 dark:text-zinc-300 hidden md:table-cell">
267274
<div class="flex items-center justify-center space-x-1">
268275
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" class="w-4 h-4">

0 commit comments

Comments
 (0)