okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
c9fc15774
main
1[ 2 { 3"label" :"full-window-run-1" , 4"expected_prompt_tokens" :261880 , 5"request_sha256" :"64861e69a4e8ee5356394302a475683732b8f77fd0561416ea2fad775a94ed7c" , 6"client_ttft_s" :45.05743759998586 , 7"client_elapsed_s" :47.05395810000482 , 8"client_start" :1791123940.6906683 , 9"finish_reason" :"length" , 10"usage" : { 11"prompt_tokens" :261880 , 12"completion_tokens" :256 , 13"total_tokens" :262136 , 14"prompt_tokens_details" : { 15"cached_tokens" :0 16 } 17 }, 18"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 massive block of boilerplate, but upon closer inspection, it reveals a precise mathematical pattern governed by modular arithmetic. The module consists of thousands of functions, each named `task_XXXXX`, where `XXXXX` represents a sequential integer index. Each function accepts a single integer argument, `value`, and returns an integer result derived from a linear transformation followed by a modulo operation.\n\n### The Mathematical Core: Deterministic Linear Transforms\n\nThe core logic of every function in this module follows the formula:\n$$ f(x) = (x \\cdot a + b) \\pmod{100003} $$\n\nHere, $x$ is the input `value`, $a$ is a multiplier, $b$ is an additive constant, and the modulus is the prime number $100003$. This structure is known as a **Linear Congruential Generator (LCG)** step or a simple affine transformation over a finite field. Because the modulus is a prime number, the arithmetic operations behave predictably within the range $[0, 10000" , 19"stream_chunks" :254 , 20"engine" : { 21"projection" :null , 22"time" :1791123941.004866 , 23"duration_s" :46.8 , 24"finish" :"length" , 25"prompt_tokens" :261880 , 26"reused" :0 , 27"output_tokens" :256 , 28"prompt_total" :261880 , 29"prompt_read" :261880 , 30"engine_generated" :256 , 31"prompt_ms" :44685.3 , 32"decode_ms" :2005.9 , 33"decode_tok_s" :127.6 , 34"hit_rate" :0.957 , 35"pcie_share" :0.021 , 36"ram_blobs" :0 , 37"file_blobs" :0 , 38"file_mb" :0.0 , 39"drafts_offered" :220 , 40"drafts_accepted" :147 41 }, 42"prefill_tok_s" :5860.540267157207 , 43"decode_tok_s" :127.62351064360138 44 }, 45 { 46"label" :"full-window-run-2" , 47"expected_prompt_tokens" :261880 , 48"request_sha256" :"9600668e7da1cf8ebd5539b6379d5f5cc79200758855bb815dfa241826ded594" , 49"client_ttft_s" :46.00728769999114 , 50"client_elapsed_s" :47.64105800000834 , 51"client_start" :1791123993.7582417 , 52"finish_reason" :"length" , 53"usage" : { 54"prompt_tokens" :261880 , 55"completion_tokens" :256 , 56"total_tokens" :262136 , 57"prompt_tokens_details" : { 58"cached_tokens" :0 59 } 60 }, 61"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 thousands of functions, each named `task_XXXXX`, where `XXXXX` represents a sequential index. Despite the sheer volume of code, the underlying logic is uniform and mathematically precise, offering a fascinating case study in algorithmic consistency, modulo arithmetic, and software maintainability.\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 formula for any given task `i` can be expressed as:\n\n$$ f_i(v) = (v \\cdot a_i + b_i) \\pmod{100003} $$\n\nHere, $v$ is the input integer, $a_i$ is a multiplier, and $b_i$ is an additive constant. The modulus, $100003$, is a prime number. This choice is significant in computer science and cryptography because prime moduli ensure that the ring of integers modulo $p$ forms a field, meaning every non-zero element has a multiplicative inverse. This property guarantees that the transformation is bijective (one-to-one" , 62"stream_chunks" :254 , 63"engine" : { 64"projection" :null , 65"time" :1791123994.0790868 , 66"duration_s" :47.3 , 67"finish" :"length" , 68"prompt_tokens" :261880 , 69"reused" :0 , 70"output_tokens" :256 , 71"prompt_total" :261880 , 72"prompt_read" :261880 , 73"engine_generated" :256 , 74"prompt_ms" :45629.1 , 75"decode_ms" :1641.3 , 76"decode_tok_s" :156.0 , 77"hit_rate" :0.984 , 78"pcie_share" :0.006 , 79"ram_blobs" :0 , 80"file_blobs" :0 , 81"file_mb" :0.0 , 82"drafts_offered" :213 , 83"drafts_accepted" :148 84 }, 85"prefill_tok_s" :5739.319863858809 , 86"decode_tok_s" :155.9739231097301 87 }, 88 { 89"label" :"wave-1-a" , 90"expected_prompt_tokens" :128000 , 91"request_sha256" :"31d25b5cedd7ebd5568278a75276e06ada2aa75522d74be1507793a1bd6a1d38" , 92"overlap_samples" :26 , 93"max_busy_slots_seen" :2 , 94"client_ttft_s" :21.977954700007103 , 95"client_elapsed_s" :32.35983239999041 , 96"client_start" :1791124047.380827 , 97"finish_reason" :"length" , 98"usage" : { 99"prompt_tokens" :128000 , 100"completion_tokens" :256 , 101"total_tokens" :128256 , 102"prompt_tokens_details" : { 103"cached_tokens" :128000 104 } 105 }, 106"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 massive block of boilerplate, but upon closer inspection, it reveals a precise mathematical pattern governed by modular arithmetic. The module consists of thousands 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 linear transformation followed by a modulo operation.\n\n### The Mathematical Core: Linear 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} $$\n\nHere, $x$ is the input `value`, $a$ is a multiplier, and $b$ is an additive constant. The modulus, $100003$, is a prime number. Using a prime modulus is significant in computer science and cryptography because it ensures that the ring of integers modulo $100003$ is a field. This property guarantees that for any non-zero multiplier $a$, the transformation is bijective (one" , 107"stream_chunks" :254 , 108"engine" : { 109"projection" :null , 110"time" :1791124047.5507667 , 111"duration_s" :32.2 , 112"finish" :"length" , 113"prompt_tokens" :128000 , 114"reused" :128000 , 115"output_tokens" :256 , 116"prompt_total" :128000 , 117"prompt_read" :1 , 118"engine_generated" :255 , 119"prompt_ms" :1.7 , 120"decode_ms" :9606.6 , 121"decode_tok_s" :26.5 , 122"hit_rate" :0.996 , 123"pcie_share" :0.0 , 124"ram_blobs" :0 , 125"file_blobs" :0 , 126"file_mb" :0.0 , 127"drafts_offered" :0 , 128"drafts_accepted" :0 129 }, 130"prefill_tok_s" :0.0 , 131"decode_tok_s" :26.544250827556056 132 }, 133 { 134"label" :"wave-1-b" , 135"expected_prompt_tokens" :128000 , 136"request_sha256" :"5ebe0e23d778d4459d39eee60aa984c20ad59b4caa1ad5b110add50434a2bd39" , 137"overlap_samples" :26 , 138"max_busy_slots_seen" :2 , 139"client_ttft_s" :46.76185860001715 , 140"client_elapsed_s" :50.503047400008654 , 141"client_start" :1791124047.380827 , 142"finish_reason" :"length" , 143"usage" : { 144"prompt_tokens" :128000 , 145"completion_tokens" :256 , 146"total_tokens" :128256 , 147"prompt_tokens_details" : { 148"cached_tokens" :128003 149 } 150 }, 151"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_XXXXX`, where `XXXXX` represents a zero-padded integer index ranging from 00000 to 3404. 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: Linear Transforms and Modulo Arithmetic\n\nThe fundamental logic of every function in this module follows the pattern:\n`return (value * multiplier + offset) % 100003`\n\nHere, `100003` is a prime number. Using a prime modulus is a standard practice in cryptography and hashing algorithms because it ensures that the mapping is bijective (one-to-one) for inputs within the range $[0, 100002]$, provided the multiplier is not a multiple of the modulus. Since the multipliers used in this module range from 1 to 97, and 100003 is prime, every function is a permutation of the input space modulo 100" , 152"stream_chunks" :254 , 153"engine" : { 154"projection" :null , 155"time" :1791124047.6865034 , 156"duration_s" :50.2 , 157"finish" :"length" , 158"prompt_tokens" :128000 , 159"reused" :128003 , 160"output_tokens" :256 , 161"prompt_total" :128000 , 162"prompt_read" :1 , 163"engine_generated" :252 , 164"prompt_ms" :1306.1 , 165"decode_ms" :1584.7 , 166"decode_tok_s" :159.0 , 167"hit_rate" :0.987 , 168"pcie_share" :0.005 , 169"ram_blobs" :0 , 170"file_blobs" :0 , 171"file_mb" :0.0 , 172"drafts_offered" :209 , 173"drafts_accepted" :154 174 }, 175"prefill_tok_s" :-2.2969144782175945 , 176"decode_tok_s" :159.02063482047075 177 }, 178 { 179"label" :"wave-2-a" , 180"expected_prompt_tokens" :128000 , 181"request_sha256" :"ff05afe690fdcad56fcf2186a1e5bd465410e297d8ffba390764bde1700c7b3a" , 182"overlap_samples" :25 , 183"max_busy_slots_seen" :2 , 184"client_ttft_s" :21.064763599977596 , 185"client_elapsed_s" :31.426203599985456 , 186"client_start" :1791124103.76177 , 187"finish_reason" :"length" , 188"usage" : { 189"prompt_tokens" :128000 , 190"completion_tokens" :256 , 191"total_tokens" :128256 , 192"prompt_tokens_details" : { 193"cached_tokens" :128000 194 } 195 }, 196"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_XXXXX`, where `XXXXX` represents a zero-padded integer index ranging from 00000 to at least 03404. Each function accepts a single integer argument `value` and returns an integer result. The underlying logic for every function follows a strict linear congruential pattern: `(value * multiplier + offset) % 100003`.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nThe primary mathematical operation in this module is a linear transformation followed by a modulo operation. The formula `(value * A + B) % M` is a classic example of a linear congruential generator (LCG) step, often used in pseudo-random number generation and hashing. Here, `M` is fixed at `100003`, which is a prime number. Using a prime modulus is significant because it ensures that the multiplicative group of integers modulo `M` is cyclic, allowing for better distribution properties and invertibility of the multiplication step (provided the multiplier is not a multiple of `M`).\n\n" , 197"stream_chunks" :256 , 198"engine" : { 199"projection" :null , 200"time" :1791124104.0397403 , 201"duration_s" :31.1 , 202"finish" :"length" , 203"prompt_tokens" :128000 , 204"reused" :128000 , 205"output_tokens" :256 , 206"prompt_total" :128000 , 207"prompt_read" :1 , 208"engine_generated" :255 , 209"prompt_ms" :1.5 , 210"decode_ms" :9688.7 , 211"decode_tok_s" :26.3 , 212"hit_rate" :0.998 , 213"pcie_share" :0.0 , 214"ram_blobs" :0 , 215"file_blobs" :0 , 216"file_mb" :0.0 , 217"drafts_offered" :0 , 218"drafts_accepted" :0 219 }, 220"prefill_tok_s" :0.0 , 221"decode_tok_s" :26.319320445467397 222 }, 223 { 224"label" :"wave-2-b" , 225"expected_prompt_tokens" :128000 , 226"request_sha256" :"86947fab7c73727bee3a875f0a1acb7946710a641dc5787653862a8548104e50" , 227"overlap_samples" :25 , 228"max_busy_slots_seen" :2 , 229"client_ttft_s" :45.826856599975144 , 230"client_elapsed_s" :49.469807499990566 , 231"client_start" :1791124103.76177 , 232"finish_reason" :"length" , 233"usage" : { 234"prompt_tokens" :128000 , 235"completion_tokens" :256 , 236"total_tokens" :128256 , 237"prompt_tokens_details" : { 238"cached_tokens" :128003 239 } 240 }, 241"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### Deterministic Integer Transforms and Modulo Arithmetic\n\nAt the core of every function in this module is a deterministic linear transform. The general pattern for a function `task_N` is:\n\n```python\nreturn (value * multiplier + offset) % 100003\n```\n\nHere, `multiplier` and `offset` are constants specific to each task index. For example, `task_00000` uses `multiplier=1` and `offset=0`, while `task_00001` uses `multiplier=2` and `offset=1`. This pattern continues, with the multiplier and offset generally increasing with the task index. However, the module exhibits a cyclical behavior in the multiplier. After reaching a multiplier of 97 (e.g., in" , 242"stream_chunks" :252 , 243"engine" : { 244"projection" :null , 245"time" :1791124104.1605284 , 246"duration_s" :49.1 , 247"finish" :"length" , 248"prompt_tokens" :128000 , 249"reused" :128003 , 250"output_tokens" :256 , 251"prompt_total" :128000 , 252"prompt_read" :1 , 253"engine_generated" :252 , 254"prompt_ms" :1091.5 , 255"decode_ms" :1710.0 , 256"decode_tok_s" :147.4 , 257"hit_rate" :0.985 , 258"pcie_share" :0.006 , 259"ram_blobs" :0 , 260"file_blobs" :0 , 261"file_mb" :0.0 , 262"drafts_offered" :209 , 263"drafts_accepted" :149 264 }, 265"prefill_tok_s" :-2.7485112230874944 , 266"decode_tok_s" :147.3684210526316 267 } 268]