okami.mom/strata

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

Niko1221Merge branch 'f-1402-w' into f-140253623e56f

main
7.5 KiB158 linesraw
1[
2  {
3    "label": "warmup",
4    "expected_prompt_tokens": null,
5    "request_sha256": "b63e57873441a996a529b246a66cf12de70a7c671777f99329354d5c195f788f",
6    "client_ttft_s": 20.416282336998847,
7    "client_elapsed_s": 20.549257640996075,
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": 1791286939.4716275,
20      "duration_s": 0.7,
21      "finish": "stop",
22      "prompt_tokens": 19,
23      "reused": 0,
24      "output_tokens": 2,
25      "prompt_total": 19,
26      "prompt_read": 19,
27      "engine_generated": 2,
28      "prompt_ms": 574.4,
29      "decode_ms": 171.6,
30      "decode_tok_s": 11.7,
31      "hit_rate": 0.529,
32      "pcie_share": 0.139,
33      "ram_blobs": 0,
34      "file_blobs": 0,
35      "file_mb": 0.0,
36      "drafts_offered": 3,
37      "drafts_accepted": 3
38    },
39    "text": "READY"
40  },
41  {
42    "label": "tokens-127736-run-1",
43    "expected_prompt_tokens": 127736,
44    "request_sha256": "701d8b2e58b3f93154f32b842895b3d31e1cbc4cb9e19c434e0f5425f5dea934",
45    "client_ttft_s": 350.9152054119986,
46    "client_elapsed_s": 359.96036516899767,
47    "finish_reason": "length",
48    "usage": {
49      "prompt_tokens": 127736,
50      "completion_tokens": 256,
51      "total_tokens": 127992,
52      "prompt_tokens_details": {
53        "cached_tokens": 0
54      }
55    },
56    "engine": {
57      "projection": null,
58      "time": 1791287056.8016925,
59      "duration_s": 249.5,
60      "finish": "length",
61      "prompt_tokens": 127736,
62      "reused": 0,
63      "output_tokens": 256,
64      "prompt_total": 127736,
65      "prompt_read": 127736,
66      "engine_generated": 256,
67      "prompt_ms": 240367.0,
68      "decode_ms": 9083.6,
69      "decode_tok_s": 28.2,
70      "hit_rate": 0.84,
71      "pcie_share": 0.044,
72      "ram_blobs": 0,
73      "file_blobs": 0,
74      "file_mb": 0.0,
75      "drafts_offered": 210,
76      "drafts_accepted": 145
77    },
78    "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 core logic of every function is identical in structure: it accepts an integer `value`, applies a linear transformation defined by a multiplier and an additive constant, and then reduces the result modulo 100,003. This pattern creates a deterministic integer transform system that serves as an excellent case study for discussing code generation, mathematical properties, and software maintainability.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nAt the heart of this module is the formula: `(value * A + B) % M`, where `M` is the constant 100,003. This is a classic linear congruential generator (LCG) step or a simple affine cipher operation. The modulus 100,003 is a prime number, which is a critical choice in cryptographic and hashing contexts. Because `M` is prime, the multiplicative group of integers modulo `M` is cyclic, and as long as the multiplier `A` is not a multiple of `M` (which it isn't, as `A` ranges from "
79  },
80  {
81    "label": "tokens-127736-run-2",
82    "expected_prompt_tokens": 127736,
83    "request_sha256": "292089d7975584b534d5e3f8438feae2cbcb8479ec1b6cbbb183159d1f81ee51",
84    "client_ttft_s": 352.39491033899685,
85    "client_elapsed_s": 360.56986193399644,
86    "finish_reason": "length",
87    "usage": {
88      "prompt_tokens": 127736,
89      "completion_tokens": 256,
90      "total_tokens": 127992,
91      "prompt_tokens_details": {
92        "cached_tokens": 0
93      }
94    },
95    "engine": {
96      "projection": null,
97      "time": 1791287422.2546992,
98      "duration_s": 250.8,
99      "finish": "length",
100      "prompt_tokens": 127736,
101      "reused": 0,
102      "output_tokens": 256,
103      "prompt_total": 127736,
104      "prompt_read": 127736,
105      "engine_generated": 256,
106      "prompt_ms": 242588.1,
107      "decode_ms": 8217.1,
108      "decode_tok_s": 31.2,
109      "hit_rate": 0.892,
110      "pcie_share": 0.027,
111      "ram_blobs": 0,
112      "file_blobs": 0,
113      "file_mb": 0.0,
114      "drafts_offered": 214,
115      "drafts_accepted": 156
116    },
117    "text": "This synthetic Python module presents a highly repetitive, algorithmically uniform collection of functions, each named `task_XXXXX`, where `XXXXX` is 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 each function is:\n\n```python\ndef task_XXXXX(value: int) -> int:\n    return (value * A + B) % 100003\n```\n\nHere, `A` is the multiplier and `B` is the additive constant. The modulus `100003` is a prime number, which is significant in number theory and cryptography because it ensures that the multiplicative group of integers modulo `100003` is cyclic. This property guarantees that for any non-zero `A`, the transformation is invertible modulo `100003`, provided `A` is not a multiple"
118  },
119  {
120    "label": "tokens-127736-run-3",
121    "expected_prompt_tokens": 127736,
122    "request_sha256": "3d277fa83711e31c5c0656b8a57282dc0d83569f9bd324c8ec638a762d8a30b9",
123    "client_ttft_s": 240.38448005900136,
124    "client_elapsed_s": 248.43186460500146,
125    "finish_reason": "length",
126    "usage": {
127      "prompt_tokens": 127736,
128      "completion_tokens": 256,
129      "total_tokens": 127992,
130      "prompt_tokens_details": {
131        "cached_tokens": 0
132      }
133    },
134    "engine": {
135      "projection": null,
136      "time": 1791287679.1517055,
137      "duration_s": 248.2,
138      "finish": "length",
139      "prompt_tokens": 127736,
140      "reused": 0,
141      "output_tokens": 256,
142      "prompt_total": 127736,
143      "prompt_read": 127736,
144      "engine_generated": 256,
145      "prompt_ms": 240038.2,
146      "decode_ms": 8087.8,
147      "decode_tok_s": 31.7,
148      "hit_rate": 0.955,
149      "pcie_share": 0.008,
150      "ram_blobs": 0,
151      "file_blobs": 0,
152      "file_mb": 0.0,
153      "drafts_offered": 214,
154      "drafts_accepted": 150
155    },
156    "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 core logic of every function is identical in structure: it accepts an integer `value`, applies a linear transformation defined by a multiplier and an additive constant, and then reduces the result modulo 100,003. This pattern creates a deterministic integer transform system that serves as an excellent case study for discussing code generation, mathematical properties, and software maintainability.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nAt the heart of this module is the linear congruential generator (LCG) style transformation: $f(x) = (a \\cdot x + c) \\pmod m$. Here, $m = 100,003$, which is a prime number. The choice of a prime modulus is significant in cryptography and hashing because it ensures that the multiplicative group of integers modulo $m$ is cyclic, allowing for better distribution properties if the parameters $a$ and $c$ are chosen carefully.\n\nThe parameters $a$ (multiplier) and $c$ (additive constant) vary across the functions. For `task"
157  }
158]