okami.mom/strata

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

Niko1221Merge f-142b-serve into f-1426e1085c1d

main
14.3 KiB289 linesraw
1[
2  {
3    "label": "warmup",
4    "expected_prompt_tokens": null,
5    "request_sha256": "b63e57873441a996a529b246a66cf12de70a7c671777f99329354d5c195f788f",
6    "client_ttft_s": 0.33326489001046866,
7    "client_elapsed_s": 0.41134931199485436,
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": 1791530267.1396613,
20      "duration_s": 0.4,
21      "finish": "stop",
22      "prompt_tokens": 19,
23      "reused": 0,
24      "output_tokens": 2,
25      "prompt_total": 19,
26      "prompt_read": 19,
27      "reasoning_recoveries": 0,
28      "reasoning_repeat_coverage": 0.0,
29      "engine_generated": 2,
30      "prompt_ms": 291.1,
31      "decode_ms": 115.2,
32      "decode_tok_s": 17.4,
33      "hit_rate": 0.477,
34      "pcie_share": 0.486,
35      "ram_blobs": 0,
36      "file_blobs": 0,
37      "file_mb": 0,
38      "drafts_offered": 3,
39      "drafts_accepted": 3
40    },
41    "text": "READY"
42  },
43  {
44    "label": "tokens-4096-run-1",
45    "expected_prompt_tokens": 4096,
46    "request_sha256": "5d94c652067354bbe72930d2bdad3886564f08cf2546b32411af02d33ad3ce05",
47    "client_ttft_s": 4.276007988024503,
48    "client_elapsed_s": 8.045876195013989,
49    "finish_reason": "length",
50    "usage": {
51      "prompt_tokens": 4096,
52      "completion_tokens": 256,
53      "total_tokens": 4352,
54      "prompt_tokens_details": {
55        "cached_tokens": 0
56      }
57    },
58    "engine": {
59      "projection": null,
60      "time": 1791530267.7148461,
61      "duration_s": 8.0,
62      "finish": "length",
63      "prompt_tokens": 4096,
64      "reused": 0,
65      "output_tokens": 256,
66      "prompt_total": 4096,
67      "prompt_read": 4096,
68      "reasoning_recoveries": 0,
69      "reasoning_repeat_coverage": 0.0,
70      "engine_generated": 256,
71      "prompt_ms": 4248.9,
72      "decode_ms": 3791.8,
73      "decode_tok_s": 67.5,
74      "hit_rate": 0.89,
75      "pcie_share": 0.492,
76      "ram_blobs": 0,
77      "file_blobs": 0,
78      "file_mb": 0,
79      "drafts_offered": 237,
80      "drafts_accepted": 152
81    },
82    "text": "The provided Python module presents a synthetic collection of functions, labeled `task_00000` through `task_00112` (and potentially beyond, given the truncation), that implement a specific class of deterministic integer transforms. At first glance, the code appears repetitive and verbose, but it serves as an excellent case study for understanding linear congruential generators, modular arithmetic, code maintainability, and the trade-offs between explicit definition and programmatic generation.\n\n### Deterministic Integer Transforms and Modular Arithmetic\n\nEach function in the module follows a strict mathematical pattern: $f(x) = (a \\cdot x + b) \\pmod m$. Here, $x$ is the input `value`, $a$ is the multiplier, $b$ is the additive constant, and $m$ is the modulus, which is consistently set to `100003` across all functions. This structure is known as a **linear congruential transform**.\n\nThe modulus `100003` is a prime number. In number theory, using a prime modulus is significant because it ensures that the multiplicative group of integers modulo $m$ is cyclic. This property is crucial in cryptography and pseudorandom number generation"
83  },
84  {
85    "label": "tokens-4096-run-2",
86    "expected_prompt_tokens": 4096,
87    "request_sha256": "8da8a04e70e4d916f6630729082bdfb9d6ebbb47117aad60bc0541bce198a213",
88    "client_ttft_s": 4.087668563006446,
89    "client_elapsed_s": 7.367723846982699,
90    "finish_reason": "length",
91    "usage": {
92      "prompt_tokens": 4096,
93      "completion_tokens": 256,
94      "total_tokens": 4352,
95      "prompt_tokens_details": {
96        "cached_tokens": 0
97      }
98    },
99    "engine": {
100      "projection": null,
101      "time": 1791530275.9187956,
102      "duration_s": 7.4,
103      "finish": "length",
104      "prompt_tokens": 4096,
105      "reused": 0,
106      "output_tokens": 256,
107      "prompt_total": 4096,
108      "prompt_read": 4096,
109      "reasoning_recoveries": 0,
110      "reasoning_repeat_coverage": 0.0,
111      "engine_generated": 256,
112      "prompt_ms": 4061.2,
113      "decode_ms": 3301.6,
114      "decode_tok_s": 77.5,
115      "hit_rate": 0.967,
116      "pcie_share": 0.518,
117      "ram_blobs": 0,
118      "file_blobs": 0,
119      "file_mb": 0,
120      "drafts_offered": 234,
121      "drafts_accepted": 155
122    },
123    "text": "The provided Python module presents a synthetic collection of functions, labeled `task_00000` through `task_00112` (and potentially beyond, given the truncation), that implement a specific class of deterministic integer transforms. At first glance, the code appears repetitive and verbose, but it serves as an excellent case study for understanding linear congruential generators, modular arithmetic, code maintainability, and the trade-offs between explicit definition and programmatic generation.\n\n### Deterministic Integer Transforms and Modular Arithmetic\n\nEach function in the module follows a strict mathematical pattern: $f(x) = (a \\cdot x + b) \\pmod m$. Here, $x$ is the input `value`, $a$ is a multiplier, $b$ is an additive constant, and $m$ is the modulus, fixed at $100,003$ for all functions. This structure is known as a **linear congruential transform**.\n\nThe modulus $100,003$ is a prime number. This choice is significant in number theory and cryptography. When the modulus is prime, the multiplicative group of integers modulo $m$ is cyclic, which ensures that if $a$ is not divisible by"
124  },
125  {
126    "label": "tokens-32768-run-1",
127    "expected_prompt_tokens": 32768,
128    "request_sha256": "e37cfc2ab9867d91130927440df24a57255a736b8d0d829d07d828e22e3de572",
129    "client_ttft_s": 28.001311725995038,
130    "client_elapsed_s": 31.609369666024577,
131    "finish_reason": "length",
132    "usage": {
133      "prompt_tokens": 32768,
134      "completion_tokens": 256,
135      "total_tokens": 33024,
136      "prompt_tokens_details": {
137        "cached_tokens": 0
138      }
139    },
140    "engine": {
141      "projection": null,
142      "time": 1791530283.5941074,
143      "duration_s": 31.6,
144      "finish": "length",
145      "prompt_tokens": 32768,
146      "reused": 0,
147      "output_tokens": 256,
148      "prompt_total": 32768,
149      "prompt_read": 32768,
150      "reasoning_recoveries": 0,
151      "reasoning_repeat_coverage": 0.0,
152      "engine_generated": 256,
153      "prompt_ms": 27961.2,
154      "decode_ms": 3629.9,
155      "decode_tok_s": 70.5,
156      "hit_rate": 0.962,
157      "pcie_share": 0.531,
158      "ram_blobs": 0,
159      "file_blobs": 0,
160      "file_mb": 0,
161      "drafts_offered": 213,
162      "drafts_accepted": 146
163    },
164    "text": "The provided Python module represents a synthetic benchmark designed to test the execution speed, memory management, and parsing capabilities of a Python interpreter or static analysis tool. The code consists of a series of function definitions, ranging from `task_00000` to `task_00888`, each performing a specific linear transformation on an integer input. While the code appears repetitive, it serves as a rigorous stress test for deterministic integer transforms and modulo arithmetic within a constrained environment.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nAt the core of every function in this module is a linear congruential generator (LCG) style operation, defined by the formula:\n$$ f(x) = (a \\cdot x + c) \\pmod m $$\nwhere $m = 100003$. This modulus is a prime number, which is significant in cryptographic and hashing contexts because it ensures that the multiplicative group of integers modulo $m$ is cyclic. This property guarantees that for any non-zero multiplier $a$, the transformation is bijective (one-to-one) over the range $[0, m-1]$.\n\nThe parameters $a$ (multiplier) and $c$ (addend) vary systematically across"
165  },
166  {
167    "label": "tokens-32768-run-2",
168    "expected_prompt_tokens": 32768,
169    "request_sha256": "ed2dfaa11aecad9f4563f33bb5f5d4b8704486508700b8fa572722cc1225ee26",
170    "client_ttft_s": 27.972243435040582,
171    "client_elapsed_s": 31.15689410502091,
172    "finish_reason": "length",
173    "usage": {
174      "prompt_tokens": 32768,
175      "completion_tokens": 256,
176      "total_tokens": 33024,
177      "prompt_tokens_details": {
178        "cached_tokens": 0
179      }
180    },
181    "engine": {
182      "projection": null,
183      "time": 1791530315.4994197,
184      "duration_s": 31.1,
185      "finish": "length",
186      "prompt_tokens": 32768,
187      "reused": 0,
188      "output_tokens": 256,
189      "prompt_total": 32768,
190      "prompt_read": 32768,
191      "reasoning_recoveries": 0,
192      "reasoning_repeat_coverage": 0.0,
193      "engine_generated": 256,
194      "prompt_ms": 27932.3,
195      "decode_ms": 3206.5,
196      "decode_tok_s": 79.8,
197      "hit_rate": 0.972,
198      "pcie_share": 0.501,
199      "ram_blobs": 0,
200      "file_blobs": 0,
201      "file_mb": 0,
202      "drafts_offered": 217,
203      "drafts_accepted": 163
204    },
205    "text": "The provided Python module represents a synthetic benchmark designed to test the execution speed, memory management, and parsing capabilities of a Python interpreter or static analysis tool. The code consists of a series of function definitions, ranging from `task_00000` to `task_00888` (and potentially beyond, given the truncation), each performing a specific linear transformation on an integer input. This analysis explores the mathematical structure, implementation details, and software engineering implications of this codebase.\n\n### Mathematical Structure and Deterministic Transforms\n\nAt its core, every function in this module implements a linear congruential transformation. The general form of the operation is:\n\n$$ f(x) = (a \\cdot x + b) \\pmod m $$\n\nWhere:\n*   $x$ is the input integer (`value`).\n*   $a$ is the multiplier coefficient.\n*   $b$ is the additive constant.\n*   $m$ is the modulus, fixed at `100003` for all functions.\n\nThe modulus `100003` is a prime number. In number theory, using a prime modulus ensures that the multiplicative group of integers modulo $m$ is cyclic,"
206  },
207  {
208    "label": "tokens-128000-run-1",
209    "expected_prompt_tokens": 128000,
210    "request_sha256": "3235aac3f934cf1d889c25973ca172b355509dc2522fdfb463fbefe979a9075d",
211    "client_ttft_s": 111.6073310530046,
212    "client_elapsed_s": 115.00231429899577,
213    "finish_reason": "length",
214    "usage": {
215      "prompt_tokens": 128000,
216      "completion_tokens": 256,
217      "total_tokens": 128256,
218      "prompt_tokens_details": {
219        "cached_tokens": 0
220      }
221    },
222    "engine": {
223      "projection": null,
224      "time": 1791530347.4995987,
225      "duration_s": 115.0,
226      "finish": "length",
227      "prompt_tokens": 128000,
228      "reused": 0,
229      "output_tokens": 256,
230      "prompt_total": 128000,
231      "prompt_read": 128000,
232      "reasoning_recoveries": 0,
233      "reasoning_repeat_coverage": 0.0,
234      "engine_generated": 256,
235      "prompt_ms": 111522.8,
236      "decode_ms": 3417.6,
237      "decode_tok_s": 74.9,
238      "hit_rate": 0.975,
239      "pcie_share": 0.513,
240      "ram_blobs": 0,
241      "file_blobs": 0,
242      "file_mb": 0,
243      "drafts_offered": 204,
244      "drafts_accepted": 157
245    },
246    "text": "The provided Python module represents a synthetic benchmark designed to test the execution speed, memory management, and parsing capabilities of a Python interpreter or static analysis tool. It consists of a massive, repetitive series of function definitions, each named `task_XXXXX`, where `XXXXX` is a zero-padded integer index. The core logic within each function is identical in structure but varies in its specific constants, creating a deterministic integer transform pipeline.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nAt the heart of every function in this module is the expression `(value * A + B) % 100003`. This is a classic example of a **Linear Congruential Generator (LCG)** step or a simple affine transformation. The operation takes an input integer `value`, multiplies it by a coefficient `A`, adds a constant offset `B`, and then reduces the result modulo `100003`.\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 multiplicative group of integers modulo `p` is cyclic. This property is crucial for cryptographic applications and pseudo-random number generation, as it guarantees that if `"
247  },
248  {
249    "label": "tokens-128000-run-2",
250    "expected_prompt_tokens": 128000,
251    "request_sha256": "5f4b8bc9f0afc7765320abd89960c0938e0d7cf5974e962fdbd0613fef31c8d4",
252    "client_ttft_s": 111.71216283697868,
253    "client_elapsed_s": 115.0882048200001,
254    "finish_reason": "length",
255    "usage": {
256      "prompt_tokens": 128000,
257      "completion_tokens": 256,
258      "total_tokens": 128256,
259      "prompt_tokens_details": {
260        "cached_tokens": 0
261      }
262    },
263    "engine": {
264      "projection": null,
265      "time": 1791530463.329371,
266      "duration_s": 115.0,
267      "finish": "length",
268      "prompt_tokens": 128000,
269      "reused": 0,
270      "output_tokens": 256,
271      "prompt_total": 128000,
272      "prompt_read": 128000,
273      "reasoning_recoveries": 0,
274      "reasoning_repeat_coverage": 0.0,
275      "engine_generated": 256,
276      "prompt_ms": 111629.4,
277      "decode_ms": 3398.7,
278      "decode_tok_s": 75.3,
279      "hit_rate": 0.978,
280      "pcie_share": 0.52,
281      "ram_blobs": 0,
282      "file_blobs": 0,
283      "file_mb": 0,
284      "drafts_offered": 213,
285      "drafts_accepted": 159
286    },
287    "text": "This synthetic Python module presents a highly repetitive, algorithmically uniform collection of functions, each named `task_XXXXX`, where `XXXXX` represents a zero-padded integer index. The code serves as a benchmark for deterministic integer transforms, illustrating how simple linear congruential operations can be scaled across thousands of distinct function definitions. Below is a detailed analysis of the code\u2019s structure, mathematical properties, and software engineering implications.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nAt the core of every function in this module is a linear transformation followed by a modulo operation. The general form of the transformation is:\n\n$$ f(x) = (x \\cdot a + b) \\pmod{m} $$\n\nWhere:\n*   $x$ is the input integer (`value`).\n*   $a$ is the multiplier (coefficient).\n*   $b$ is the additive constant.\n*   $m$ is the modulus, which is consistently `100003` across all functions.\n\nThe modulus `100003` is a prime number. This choice is significant in computer science and cryptography because it ensures that the multiplicative group of integers modulo $m$ is cyclic. For any $a"
288  }
289]