okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

rwkeyesbench(gfx1100): 0.1.31 vs 0.1.30 prefill/decode, curated entry + raw trials (#404)c888e4a99

main
9.5 KiB263 linesraw
1[
2  {
3    "label": "0.1.31",
4    "kind": "warmup",
5    "trial": 0,
6    "wall_s": 0.8124384850380011,
7    "metrics": {
8      "prompt_tokens": 15.0,
9      "reused": 0.0,
10      "fresh": 15.0,
11      "prefill_ms": 552.0,
12      "prefill_tps": 27.2,
13      "generated": 2.0,
14      "decode_ms": 255.0,
15      "decode_tps": 7.8
16    },
17    "usage": {
18      "prompt_tokens": 15,
19      "completion_tokens": 2,
20      "total_tokens": 17,
21      "prompt_tokens_details": {
22        "cached_tokens": 0
23      }
24    },
25    "finish_reason": "stop",
26    "message": {
27      "role": "assistant",
28      "content": "READY"
29    }
30  },
31  {
32    "label": "0.1.31",
33    "kind": "fresh",
34    "trial": 1,
35    "wall_s": 23.868840647977777,
36    "metrics": {
37      "prompt_tokens": 4210.0,
38      "reused": 0.0,
39      "fresh": 4210.0,
40      "prefill_ms": 16195.0,
41      "prefill_tps": 260.0,
42      "generated": 128.0,
43      "decode_ms": 7666.0,
44      "decode_tps": 16.7
45    },
46    "usage": {
47      "prompt_tokens": 4210,
48      "completion_tokens": 128,
49      "total_tokens": 4338,
50      "prompt_tokens_details": {
51        "cached_tokens": 0
52      }
53    },
54    "finish_reason": "length",
55    "message": {
56      "role": "assistant",
57      "content": "The source code defines a series of 140 exported functions, named `rule0` through `rule139`, each of which accepts a single numeric argument `x` and applies a conditional transformation based on a specific integer constant associated with the function's name. For any given function `ruleN`, if the input `x` is strictly equal to the integer `N`, the function returns `x + (N + 1)`; otherwise, it returns `x - N`. This pattern creates a set of specialized arithmetic operations where the \"true\" branch adds an incrementally larger value (starting from 1 for `"
58    }
59  },
60  {
61    "label": "0.1.31",
62    "kind": "followup",
63    "trial": 1,
64    "wall_s": 8.811686859990004,
65    "metrics": {
66      "prompt_tokens": 4451.0,
67      "reused": 4203.0,
68      "fresh": 248.0,
69      "prefill_ms": 2051.0,
70      "prefill_tps": 120.9,
71      "generated": 128.0,
72      "decode_ms": 6752.0,
73      "decode_tps": 19.0
74    },
75    "usage": {
76      "prompt_tokens": 4451,
77      "completion_tokens": 128,
78      "total_tokens": 4579,
79      "prompt_tokens_details": {
80        "cached_tokens": 4203
81      }
82    },
83    "finish_reason": "length",
84    "message": {
85      "role": "assistant",
86      "content": "The most relevant boundary case is the **exact integer equality check** (`x === N`), which acts as a strict gate for the \"special\" branch. For any function `ruleN`, the behavior changes drastically only when `x` is exactly `N`. For example, in `rule0`, if `x` is `0`, it returns `1` (`0 + 1`); if `x` is `1`, it returns `1` (`1 - 0`). This creates a collision where different inputs can produce the same output, but more importantly, it highlights that the function is **not** a simple"
87    }
88  },
89  {
90    "label": "0.1.31",
91    "kind": "fresh",
92    "trial": 2,
93    "wall_s": 15.694618315959815,
94    "metrics": {
95      "prompt_tokens": 8830.0,
96      "reused": 0.0,
97      "fresh": 8830.0,
98      "prefill_ms": 11265.0,
99      "prefill_tps": 783.8,
100      "generated": 128.0,
101      "decode_ms": 4417.0,
102      "decode_tps": 29.0
103    },
104    "usage": {
105      "prompt_tokens": 8830,
106      "completion_tokens": 128,
107      "total_tokens": 8958,
108      "prompt_tokens_details": {
109        "cached_tokens": 0
110      }
111    },
112    "finish_reason": "length",
113    "message": {
114      "role": "assistant",
115      "content": "This source code defines a collection of 280 exported functions, named `rule0` through `rule279`, each of which accepts a single numeric argument `x` and implements a specific conditional arithmetic transformation based on a unique integer constant associated with its name. For any given function `ruleN`, the logic checks if the input `x` is strictly equal to the integer `N`; if this condition is true, the function returns `x + (N + 1)`, effectively adding the next consecutive integer to the input, whereas if the condition is false, it returns `x - N`, subtracting the function"
116    }
117  },
118  {
119    "label": "0.1.31",
120    "kind": "followup",
121    "trial": 2,
122    "wall_s": 6.075737391016446,
123    "metrics": {
124      "prompt_tokens": 9071.0,
125      "reused": 8957.0,
126      "fresh": 114.0,
127      "prefill_ms": 835.0,
128      "prefill_tps": 136.5,
129      "generated": 128.0,
130      "decode_ms": 5225.0,
131      "decode_tps": 24.5
132    },
133    "usage": {
134      "prompt_tokens": 9071,
135      "completion_tokens": 128,
136      "total_tokens": 9199,
137      "prompt_tokens_details": {
138        "cached_tokens": 8957
139      }
140    },
141    "finish_reason": "length",
142    "message": {
143      "role": "assistant",
144      "content": "The most relevant boundary case is the **exact integer equality check** (`x === N`), which acts as a strict gatekeeper for the \"special\" branch (`x + N + 1`). This is critical because it distinguishes the single \"trigger\" value from all other inputs, which fall into the \"default\" branch (`x - N`).\n\n**Key Boundary & Edge Cases:**\n\n1.  **Integer Equality (`x === N`):**\n    *   **Trigger:** When `x` exactly equals the rule's index `N`, the function returns `N + (N + 1) = 2N"
145    }
146  },
147  {
148    "label": "0.1.31",
149    "kind": "fresh",
150    "trial": 3,
151    "wall_s": 6.66396439098753,
152    "metrics": {
153      "prompt_tokens": 4210.0,
154      "reused": 0.0,
155      "fresh": 4210.0,
156      "prefill_ms": 4679.0,
157      "prefill_tps": 899.7,
158      "generated": 128.0,
159      "decode_ms": 1978.0,
160      "decode_tps": 64.7
161    },
162    "usage": {
163      "prompt_tokens": 4210,
164      "completion_tokens": 128,
165      "total_tokens": 4338,
166      "prompt_tokens_details": {
167        "cached_tokens": 0
168      }
169    },
170    "finish_reason": "length",
171    "message": {
172      "role": "assistant",
173      "content": "The source code defines a series of 140 exported functions, named `rule0` through `rule139`, each of which accepts a single numeric argument `x` and applies a conditional transformation based on a specific integer constant associated with the function's name. For any given function `ruleN`, if the input `x` is strictly equal to the integer `N`, the function returns `x + (N + 1)`; otherwise, it returns `x - N`. This pattern creates a set of specialized arithmetic operations where the \"true\" branch adds an incrementally larger value (starting from 1 for `"
174    }
175  },
176  {
177    "label": "0.1.31",
178    "kind": "followup",
179    "trial": 3,
180    "wall_s": 7.167138791992329,
181    "metrics": {
182      "prompt_tokens": 4451.0,
183      "reused": 4203.0,
184      "fresh": 248.0,
185      "prefill_ms": 900.0,
186      "prefill_tps": 275.6,
187      "generated": 128.0,
188      "decode_ms": 6259.0,
189      "decode_tps": 20.5
190    },
191    "usage": {
192      "prompt_tokens": 4451,
193      "completion_tokens": 128,
194      "total_tokens": 4579,
195      "prompt_tokens_details": {
196        "cached_tokens": 4203
197      }
198    },
199    "finish_reason": "length",
200    "message": {
201      "role": "assistant",
202      "content": "The most relevant boundary case is the strict integer equality check (`x === N`) within each function, which acts as a precise trigger for the \"true\" branch; for example, in `rule0`, the input `0` is the critical boundary where the behavior shifts from the default subtraction (`x - 0`, which is identity) to the special addition (`x + 1`), making `rule0(0)` return `1` while `rule0(1)` returns `1` (via `1 - 0`), creating a collision that highlights the fragility of this design. The smallest useful regression test would"
203    }
204  },
205  {
206    "label": "0.1.31",
207    "kind": "fresh",
208    "trial": 4,
209    "wall_s": 11.244427776022349,
210    "metrics": {
211      "prompt_tokens": 8830.0,
212      "reused": 0.0,
213      "fresh": 8830.0,
214      "prefill_ms": 8888.0,
215      "prefill_tps": 993.5,
216      "generated": 128.0,
217      "decode_ms": 2345.0,
218      "decode_tps": 54.6
219    },
220    "usage": {
221      "prompt_tokens": 8830,
222      "completion_tokens": 128,
223      "total_tokens": 8958,
224      "prompt_tokens_details": {
225        "cached_tokens": 0
226      }
227    },
228    "finish_reason": "length",
229    "message": {
230      "role": "assistant",
231      "content": "The source code defines a series of 280 exported functions, named `rule0` through `rule279`, each of which accepts a single numeric argument `x` and implements a specific conditional arithmetic operation based on a unique integer constant associated with the function's name. For any given function `ruleN`, the logic checks if the input `x` is strictly equal to the integer `N`; if this condition is true, the function returns `x + (N + 1)`, effectively adding the successor of the rule index to the input, whereas if the condition is false, it returns `x - N`,"
232    }
233  },
234  {
235    "label": "0.1.31",
236    "kind": "followup",
237    "trial": 4,
238    "wall_s": 4.393163571017794,
239    "metrics": {
240      "prompt_tokens": 9071.0,
241      "reused": 8958.0,
242      "fresh": 113.0,
243      "prefill_ms": 721.0,
244      "prefill_tps": 156.8,
245      "generated": 128.0,
246      "decode_ms": 3659.0,
247      "decode_tps": 35.0
248    },
249    "usage": {
250      "prompt_tokens": 9071,
251      "completion_tokens": 128,
252      "total_tokens": 9199,
253      "prompt_tokens_details": {
254        "cached_tokens": 8958
255      }
256    },
257    "finish_reason": "length",
258    "message": {
259      "role": "assistant",
260      "content": "The most relevant boundary case is the **exact integer equality check** (`x === N`), which acts as a strict gatekeeper for the \"special\" branch (`x + N + 1`) versus the \"default\" branch (`x - N`). This creates a discontinuity in the function's behavior: for `ruleN`, the output jumps from `N - N = 0` (when `x = N - 1`) to `N + N + 1 = 2N + 1` (when `x = N`), and then back down to `N + 1 - N = 1"
261    }
262  }
263]