okami.mom/strata

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

R6DJOCommunity benchmark: 2x RTX 5060 Ti (16 GB), Xeon E5-2690 v4, IQ3_XXS, engine 0.1.35 (#508)9aa0f3e5d

main
19.6 KiB362 linesraw
1[
2  {
3    "label": "warmup",
4    "expected_prompt_tokens": null,
5    "request_sha256": "b63e57873441a996a529b246a66cf12de70a7c671777f99329354d5c195f788f",
6    "client_ttft_s": 0.4742057909897994,
7    "client_elapsed_s": 0.5526986240001861,
8    "finish_reason": "stop",
9    "usage": {
10      "prompt_tokens": 19,
11      "completion_tokens": 2,
12      "total_tokens": 21,
13      "prompt_tokens_details": {
14        "cached_tokens": 0
15      }
16    },
17    "engine": {
18      "projection": null,
19      "time": 1790955032.0978086,
20      "duration_s": 0.5,
21      "finish": "stop",
22      "prompt_tokens": 19,
23      "reused": 0,
24      "output_tokens": 2,
25      "engine_generated": 2,
26      "prompt_ms": 436.6,
27      "decode_ms": 109.5,
28      "decode_tok_s": 18.3,
29      "hit_rate": 0.484,
30      "ram_blobs": 0,
31      "file_blobs": 0,
32      "file_mb": 0.0,
33      "drafts_offered": 3,
34      "drafts_accepted": 3
35    },
36    "text": "READY"
37  },
38  {
39    "label": "tokens-4096-run-1",
40    "expected_prompt_tokens": 4096,
41    "request_sha256": "5d94c652067354bbe72930d2bdad3886564f08cf2546b32411af02d33ad3ce05",
42    "client_ttft_s": 5.26517532201251,
43    "client_elapsed_s": 9.076089320005849,
44    "finish_reason": "length",
45    "usage": {
46      "prompt_tokens": 4096,
47      "completion_tokens": 256,
48      "total_tokens": 4352,
49      "prompt_tokens_details": {
50        "cached_tokens": 0
51      }
52    },
53    "engine": {
54      "projection": null,
55      "time": 1790955033.7863755,
56      "duration_s": 9.1,
57      "finish": "length",
58      "prompt_tokens": 4096,
59      "reused": 0,
60      "output_tokens": 256,
61      "engine_generated": 256,
62      "prompt_ms": 5216.0,
63      "decode_ms": 3839.1,
64      "decode_tok_s": 66.7,
65      "hit_rate": 0.874,
66      "ram_blobs": 0,
67      "file_blobs": 0,
68      "file_mb": 0.0,
69      "drafts_offered": 168,
70      "drafts_accepted": 142
71    },
72    "text": "This synthetic Python module presents a highly structured, repetitive collection of functions that serve as a benchmark for deterministic integer transforms. At its core, the module defines a series of functions named `task_00000` through `task_00112` (and potentially beyond), each accepting a single integer argument `value` and returning an integer result. The underlying logic is uniform across all functions: they perform a linear transformation on the input value followed by a modulo operation. Specifically, each function computes `(value * multiplier + offset) % 100003`. This structure allows for a detailed analysis of deterministic transforms, modular arithmetic, code maintainability, and testing strategies.\n\n### Deterministic Integer Transforms and Linear Functions\n\nThe primary characteristic of this module is its determinism. For any given input `value`, the output is fixed and predictable, assuming no external state or randomness is involved. Each function represents a specific linear function $f(x) = ax + b$, where $a$ is the multiplier and $b$ is the offset. In the provided code, the multiplier and offset generally follow a pattern based on the function's index. For instance, `task_00000` uses a multiplier of 1 and"
73  },
74  {
75    "label": "tokens-4096-run-2",
76    "expected_prompt_tokens": 4096,
77    "request_sha256": "8da8a04e70e4d916f6630729082bdfb9d6ebbb47117aad60bc0541bce198a213",
78    "client_ttft_s": 5.108116910996614,
79    "client_elapsed_s": 8.374226340994937,
80    "finish_reason": "length",
81    "usage": {
82      "prompt_tokens": 4096,
83      "completion_tokens": 256,
84      "total_tokens": 4352,
85      "prompt_tokens_details": {
86        "cached_tokens": 0
87      }
88    },
89    "engine": {
90      "projection": null,
91      "time": 1790955043.976706,
92      "duration_s": 8.4,
93      "finish": "length",
94      "prompt_tokens": 4096,
95      "reused": 0,
96      "output_tokens": 256,
97      "engine_generated": 256,
98      "prompt_ms": 5067.4,
99      "decode_ms": 3285.2,
100      "decode_tok_s": 77.9,
101      "hit_rate": 0.968,
102      "ram_blobs": 0,
103      "file_blobs": 0,
104      "file_mb": 0.0,
105      "drafts_offered": 165,
106      "drafts_accepted": 138
107    },
108    "text": "This synthetic Python module presents a highly structured, repetitive collection of functions that serve as a benchmark for deterministic integer transforms. The code consists of a series of functions, named `task_00000` through `task_00112` (and presumably continuing), each accepting a single integer argument `value` and returning an integer result. The core logic of every function follows a strict linear congruential pattern: `(value * multiplier + offset) % 100003`. This structure allows for a deep analysis of algorithmic consistency, modular arithmetic, code maintainability, and testing strategies.\n\n### Deterministic Integer Transforms and Modular Arithmetic\n\nThe fundamental operation in this module is a linear transformation followed by a modulo operation. For any given function `task_NNNNN`, the output is calculated as `(value * A + B) % M`, where `M` is the constant `100003`. This is a classic example of a linear congruential generator (LCG) step, often used in pseudo-random number generation or hashing.\n\nThe multiplier `A` and the offset `B` are derived directly from the function's index. For the first 97 functions (`task_0000"
109  },
110  {
111    "label": "tokens-4096-run-3",
112    "expected_prompt_tokens": 4096,
113    "request_sha256": "946079edb58e764050805886156dc8f877cc29e1ca8d01c84e9a1e7917d49492",
114    "client_ttft_s": 5.099062388006132,
115    "client_elapsed_s": 8.38326927300659,
116    "finish_reason": "length",
117    "usage": {
118      "prompt_tokens": 4096,
119      "completion_tokens": 256,
120      "total_tokens": 4352,
121      "prompt_tokens_details": {
122        "cached_tokens": 0
123      }
124    },
125    "engine": {
126      "projection": null,
127      "time": 1790955053.4666214,
128      "duration_s": 8.4,
129      "finish": "length",
130      "prompt_tokens": 4096,
131      "reused": 0,
132      "output_tokens": 256,
133      "engine_generated": 256,
134      "prompt_ms": 5059.2,
135      "decode_ms": 3302.5,
136      "decode_tok_s": 77.5,
137      "hit_rate": 0.974,
138      "ram_blobs": 0,
139      "file_blobs": 0,
140      "file_mb": 0.0,
141      "drafts_offered": 177,
142      "drafts_accepted": 140
143    },
144    "text": "This synthetic Python module presents a highly structured, repetitive collection of functions that serve as a benchmark for deterministic integer transforms. The code consists of a series of functions, named `task_00000` through `task_00112` (and presumably continuing), each accepting a single integer argument `value` and returning an integer result. The core logic of every function follows a strict linear congruential pattern: `(value * multiplier + offset) % 100003`. This structure allows for a deep analysis of algorithmic consistency, modular arithmetic properties, and software maintainability challenges inherent in generated code.\n\n### Deterministic Integer Transforms and Linear Congruential Generators\n\nAt its heart, this module implements a family of **Linear Congruential Functions**. A linear congruential generator (LCG) is typically defined by the recurrence relation $X_{n+1} = (aX_n + c) \\mod m$. In this module, each function represents a specific instance of this formula where:\n*   $a$ (the multiplier) increases sequentially from 1 to 96, then resets to 1 for `task_00097`, and continues increasing again.\n*   $"
145  },
146  {
147    "label": "tokens-32768-run-1",
148    "expected_prompt_tokens": 32768,
149    "request_sha256": "e37cfc2ab9867d91130927440df24a57255a736b8d0d829d07d828e22e3de572",
150    "client_ttft_s": 17.089506966003682,
151    "client_elapsed_s": 20.591062364983372,
152    "finish_reason": "length",
153    "usage": {
154      "prompt_tokens": 32768,
155      "completion_tokens": 256,
156      "total_tokens": 33024,
157      "prompt_tokens_details": {
158        "cached_tokens": 0
159      }
160    },
161    "engine": {
162      "projection": null,
163      "time": 1790955064.016684,
164      "duration_s": 20.5,
165      "finish": "length",
166      "prompt_tokens": 32768,
167      "reused": 0,
168      "output_tokens": 256,
169      "engine_generated": 256,
170      "prompt_ms": 16972.4,
171      "decode_ms": 3521.0,
172      "decode_tok_s": 72.7,
173      "hit_rate": 0.98,
174      "ram_blobs": 0,
175      "file_blobs": 0,
176      "file_mb": 0.0,
177      "drafts_offered": 164,
178      "drafts_accepted": 135
179    },
180    "text": "This synthetic Python module presents a highly structured, repetitive collection of functions that serve as a benchmark for deterministic integer transforms. At first glance, the code appears verbose and redundant, but upon closer inspection, it reveals a clear mathematical pattern governed by linear congruential principles. The module consists of hundreds of functions, each named `task_XXXXX`, where `XXXXX` represents a sequential index. Each function accepts a single integer argument `value` and returns an integer result derived from a specific linear transformation followed by a modulo operation.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nThe core logic of every function in this module follows the formula:\n$$ f(x) = (x \\cdot a + b) \\pmod{100003} $$\nwhere $x$ is the input `value`, $a$ is a multiplier, and $b$ is an additive constant. The modulus, $100003$, is a prime number. This choice is significant because working modulo a prime field ensures that the arithmetic behaves predictably and avoids certain edge cases associated with composite moduli, such as zero divisors.\n\nThe multipliers ($a$) and constants ($b$) follow a specific pattern. For the first"
181  },
182  {
183    "label": "tokens-32768-run-2",
184    "expected_prompt_tokens": 32768,
185    "request_sha256": "ed2dfaa11aecad9f4563f33bb5f5d4b8704486508700b8fa572722cc1225ee26",
186    "client_ttft_s": 17.112714713992318,
187    "client_elapsed_s": 20.7045795119775,
188    "finish_reason": "length",
189    "usage": {
190      "prompt_tokens": 32768,
191      "completion_tokens": 256,
192      "total_tokens": 33024,
193      "prompt_tokens_details": {
194        "cached_tokens": 0
195      }
196    },
197    "engine": {
198      "projection": null,
199      "time": 1790955086.6965919,
200      "duration_s": 20.6,
201      "finish": "length",
202      "prompt_tokens": 32768,
203      "reused": 0,
204      "output_tokens": 256,
205      "engine_generated": 256,
206      "prompt_ms": 16993.4,
207      "decode_ms": 3610.6,
208      "decode_tok_s": 70.9,
209      "hit_rate": 0.985,
210      "ram_blobs": 0,
211      "file_blobs": 0,
212      "file_mb": 0.0,
213      "drafts_offered": 163,
214      "drafts_accepted": 128
215    },
216    "text": "This synthetic Python module presents a highly structured, repetitive collection of functions that serve as a benchmark for deterministic integer transforms. At first glance, the code appears to be a brute-force enumeration of linear functions, but a deeper analysis reveals a sophisticated pattern involving modular arithmetic, cyclic coefficients, and systematic naming conventions. This module is likely designed to test the performance, correctness, and maintainability of code generation tools or automated testing frameworks.\n\n### Deterministic Integer Transforms and Linear Functions\n\nThe core logic of every function in this module follows the linear equation $f(x) = (ax + b) \\pmod{100003}$. Here, $x$ is the input integer, $a$ is the multiplier, $b$ is the additive constant, and $100003$ is the modulus. This structure represents a class of deterministic integer transforms known as affine transformations. Because the operations are purely arithmetic and involve no random number generation, external state, or floating-point calculations, the output for any given input is entirely predictable and reproducible. This determinism is crucial for benchmarking, as it allows for the creation of fixed test cases where the expected output can be pre-calculated with high precision.\n\nThe multiplier $a$ and the"
217  },
218  {
219    "label": "tokens-32768-run-3",
220    "expected_prompt_tokens": 32768,
221    "request_sha256": "2a3c7342622e80c3cd8b37e062f0a2f64640c119ece8cccbf168639041eac079",
222    "client_ttft_s": 17.086825757985935,
223    "client_elapsed_s": 20.551308352005435,
224    "finish_reason": "length",
225    "usage": {
226      "prompt_tokens": 32768,
227      "completion_tokens": 256,
228      "total_tokens": 33024,
229      "prompt_tokens_details": {
230        "cached_tokens": 0
231      }
232    },
233    "engine": {
234      "projection": null,
235      "time": 1790955109.5000134,
236      "duration_s": 20.5,
237      "finish": "length",
238      "prompt_tokens": 32768,
239      "reused": 0,
240      "output_tokens": 256,
241      "engine_generated": 256,
242      "prompt_ms": 16966.5,
243      "decode_ms": 3483.3,
244      "decode_tok_s": 73.5,
245      "hit_rate": 0.984,
246      "ram_blobs": 0,
247      "file_blobs": 0,
248      "file_mb": 0.0,
249      "drafts_offered": 175,
250      "drafts_accepted": 139
251    },
252    "text": "This synthetic Python module presents a highly structured, repetitive collection of functions that serve as a benchmark for deterministic integer transforms. At first glance, the code appears to be a brute-force enumeration of linear functions, but a deeper analysis reveals a systematic pattern governed by modular arithmetic and specific indexing rules. This review will dissect the mathematical properties, structural design, and maintainability implications of the code, focusing on the interplay between the function names, their internal logic, and the modulus constant.\n\n### Mathematical Structure and Deterministic Transforms\n\nThe core of this module lies in the deterministic linear transformation applied to the input `value`. Each function follows the general form:\n\n$$ f_n(x) = (x \\cdot a_n + b_n) \\pmod{100003} $$\n\nHere, $100003$ is the modulus. It is crucial to note that $100003$ is a prime number. This property ensures that the mapping is bijective (one-to-one) for any multiplier $a_n$ that is not a multiple of $100003$. Since the multipliers in this code range from $1$ to $97$, they are all coprime to the modulus, guaranteeing"
253  },
254  {
255    "label": "tokens-128000-run-1",
256    "expected_prompt_tokens": 128000,
257    "request_sha256": "3235aac3f934cf1d889c25973ca172b355509dc2522fdfb463fbefe979a9075d",
258    "client_ttft_s": 58.66551585900015,
259    "client_elapsed_s": 62.18329882400576,
260    "finish_reason": "length",
261    "usage": {
262      "prompt_tokens": 128000,
263      "completion_tokens": 256,
264      "total_tokens": 128256,
265      "prompt_tokens_details": {
266        "cached_tokens": 0
267      }
268    },
269    "engine": {
270      "projection": null,
271      "time": 1790955136.2210348,
272      "duration_s": 61.8,
273      "finish": "length",
274      "prompt_tokens": 128000,
275      "reused": 0,
276      "output_tokens": 256,
277      "engine_generated": 256,
278      "prompt_ms": 58205.5,
279      "decode_ms": 3538.2,
280      "decode_tok_s": 72.4,
281      "hit_rate": 0.985,
282      "ram_blobs": 0,
283      "file_blobs": 0,
284      "file_mb": 0.0,
285      "drafts_offered": 162,
286      "drafts_accepted": 142
287    },
288    "text": "This synthetic Python module presents a highly structured, repetitive collection of functions that serve as a benchmark for evaluating code generation, static analysis, or execution speed. The module consists of thousands of functions, each named `task_XXXXX`, where `XXXXX` is a zero-padded integer index. Each function accepts a single integer argument `value` and returns an integer result derived from a specific linear transformation followed by a modulo operation.\n\n### The Core Mathematical Transform\n\nAt the heart of every function in this module is a deterministic integer transform of the form:\n\n$$ f(x) = (x \\cdot a + b) \\pmod m $$\n\nWhere:\n*   $x$ is the input `value`.\n*   $a$ is a multiplier coefficient.\n*   $b$ is an additive constant.\n*   $m$ is the modulus, which is consistently `100003` throughout the entire module.\n\nThe choice of `100003` as the modulus is significant. It is a prime number. In modular arithmetic, using a prime modulus ensures that the ring of integers modulo $m$ is a field, which has desirable properties for cryptographic hashing, random number generation, and avoiding certain types of"
289  },
290  {
291    "label": "tokens-128000-run-2",
292    "expected_prompt_tokens": 128000,
293    "request_sha256": "5f4b8bc9f0afc7765320abd89960c0938e0d7cf5974e962fdbd0613fef31c8d4",
294    "client_ttft_s": 58.556062089977786,
295    "client_elapsed_s": 62.08665067498805,
296    "finish_reason": "length",
297    "usage": {
298      "prompt_tokens": 128000,
299      "completion_tokens": 256,
300      "total_tokens": 128256,
301      "prompt_tokens_details": {
302        "cached_tokens": 0
303      }
304    },
305    "engine": {
306      "projection": null,
307      "time": 1790955204.2407498,
308      "duration_s": 61.8,
309      "finish": "length",
310      "prompt_tokens": 128000,
311      "reused": 0,
312      "output_tokens": 256,
313      "engine_generated": 256,
314      "prompt_ms": 58181.0,
315      "decode_ms": 3550.8,
316      "decode_tok_s": 72.1,
317      "hit_rate": 0.987,
318      "ram_blobs": 0,
319      "file_blobs": 0,
320      "file_mb": 0.0,
321      "drafts_offered": 181,
322      "drafts_accepted": 144
323    },
324    "text": "This synthetic Python module presents a highly structured, repetitive collection of functions that serve as a benchmark for evaluating code generation, static analysis, and execution performance. The module consists of thousands of functions, each named `task_XXXXX`, where `XXXXX` is a zero-padded integer index. Each function accepts a single integer argument `value` and returns an integer result derived from a specific linear transformation followed by a modulo operation.\n\n### The Mathematical Core: Deterministic Linear Transforms\n\nAt the heart of every function in this module is a deterministic linear transform. The general formula for any given task `n` can be expressed as:\n\n$$ f_n(v) = (v \\cdot a_n + b_n) \\pmod{100003} $$\n\nWhere:\n*   $v$ is the input integer.\n*   $a_n$ is the multiplier coefficient.\n*   $b_n$ is the additive constant.\n*   $100003$ is the modulus, which is a prime number.\n\nIn the provided code, the coefficients $a_n$ and $b_n$ follow a strict pattern. For the first block of tasks (indices 0 to 96), the multiplier $"
325  },
326  {
327    "label": "tokens-128000-run-3",
328    "expected_prompt_tokens": 128000,
329    "request_sha256": "5c3fb71db9f9f44765f28389d1032f2c8b6687d1bf5ca6f33aeb924072cfa6e4",
330    "client_ttft_s": 58.690840424998896,
331    "client_elapsed_s": 62.046089037001366,
332    "finish_reason": "length",
333    "usage": {
334      "prompt_tokens": 128000,
335      "completion_tokens": 256,
336      "total_tokens": 128256,
337      "prompt_tokens_details": {
338        "cached_tokens": 0
339      }
340    },
341    "engine": {
342      "projection": null,
343      "time": 1790955272.281448,
344      "duration_s": 61.7,
345      "finish": "length",
346      "prompt_tokens": 128000,
347      "reused": 0,
348      "output_tokens": 256,
349      "engine_generated": 256,
350      "prompt_ms": 58267.9,
351      "decode_ms": 3376.2,
352      "decode_tok_s": 75.8,
353      "hit_rate": 0.99,
354      "ram_blobs": 0,
355      "file_blobs": 0,
356      "file_mb": 0.0,
357      "drafts_offered": 166,
358      "drafts_accepted": 147
359    },
360    "text": "This synthetic Python module presents a highly structured, repetitive collection of functions that serve as a benchmark for evaluating code generation, static analysis, and execution performance. The module consists of thousands of functions, each named `task_XXXXX`, where `XXXXX` is a zero-padded integer index. Each function accepts a single integer argument `value` and returns an integer result derived from a specific linear transformation followed by a modulo operation.\n\n### The Core Mathematical Transform\n\nAt the heart of every function in this module is a deterministic integer transform defined by the formula:\n\n$$ f(x) = (x \\cdot a + b) \\pmod{100003} $$\n\nHere, $x$ is the input `value`, $a$ is the multiplier, $b$ is the additive constant, and $100003$ is the modulus. The modulus $100003$ is a prime number, which is significant in modular arithmetic because it ensures that the ring of integers modulo $100003$ is a field. This property guarantees that for any non-zero multiplier $a$, the mapping is a bijection (a one-to-one correspondence) within the range $[0, 100"
361  }
362]