okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
6f1a24def
main
1{ 2"label" :"t75-5080" , 3"extra" : [], 4"gpus" :"0" , 5"needles" : [ 6 { 7"tokens" :2726 , 8"prompt_ms" :2158.8 , 9"pp_tok_s" :1262.7 , 10"found" :true , 11"answer" :"meadow-254<|im_end|>" 12 }, 13 { 14"tokens" :8379 , 15"prompt_ms" :5060.0 , 16"pp_tok_s" :1655.9 , 17"found" :true , 18"answer" :"juniper-766<|im_end|>" 19 } 20 ], 21"chat" : { 22"turn1_tokens" :6584 , 23"turn1_ms" :3389.7 , 24"turn2_tokens" :6660 , 25"reused" :6632 , 26"turn2_ms" :213.5 , 27"answer" :"lantern-417<|im_end|>" , 28"ok" :true 29 }, 30"decode" : [ 31 { 32"name" :"story" , 33"tok_s" :80.4 , 34"reps" : [ 3580.4 36 ], 37"hit_rate" :0.855538332528651 , 38"text" :"The wind didn\u2019t just blow; it screamed.\n\nElias had lived in the tower for thirty years, and he knew the difference between a gale and a hurricane by the way the glass rattled in its frame. Tonight, it was the latter. The sea was a churning black void, punctuated by whitecaps that looked like teeth.\n\nHe climbed the spiral stairs, his boots heavy with salt and exhaustion. The iron steps groaned under his weight, a sound that had become so familiar to him that he could sleep to it. But tonight, he wasn\u2019t sleeping. He was working.\n\nThe lens was the heart of the lighthouse. A massive, rotating Fresnel lens, a cathedral of glass and brass that turned with a mechanical hum. Elias checked the clockwork mechanism. It was smooth, rhythmic, a heartbeat in the dark. But the light itself was failing.\n\nHe climbed higher, into the lantern room. The wind battered the glass panes," 39 }, 40 { 41"name" :"code" , 42"tok_s" :87.5 , 43"reps" : [ 4487.5 45 ], 46"hit_rate" :0.7075461363025227 , 47"text" :"```python\nimport csv\nfrom typing import List, Dict, Any\n\n\ndef parse_csv_to_dicts(filepath: str) -> List[Dict[str, Any]]:\n \"\"\"\n Parse a CSV file into a list of dictionaries.\n \n Each dictionary represents a row, with keys from the header and values from the row.\n \n Args:\n filepath: Path to the CSV file.\n \n Returns:\n A list of dictionaries, one per row (excluding the header).\n \"\"\"\n result: List[Dict[str, Any]] = []\n with open(filepath, 'r', newline='', encoding='utf-8') as f:\n reader = csv.DictReader(f)\n for row in reader:\n result.append(dict(row))\n return result\n\n\n# Tests\ndef test_parse_csv_to_dicts():\n import tempfile\n import os\n \n # Create a temporary CSV file\n with tempfile.NamedTemporaryFile" 48 } 49 ], 50"stage_timing" : [ 51"strata serve: stage 0: 39 windows; per window: wait for the GPU 17.252 ms, pool + plan 8.473 ms, host staging 0.611 ms, commit 0.525 ms" , 52"strata serve: stage 0: 47 windows; per window: wait for the GPU 18.018 ms, pool + plan 8.616 ms, host staging 0.607 ms, commit 0.534 ms" , 53"strata serve: stage 0: 169 windows; per window: wait for the GPU 15.223 ms, pool + plan 5.717 ms, host staging 0.688 ms, commit 0.467 ms" , 54"strata serve: stage 0: 243 windows; per window: wait for the GPU 16.500 ms, pool + plan 7.316 ms, host staging 0.742 ms, commit 0.481 ms" 55 ], 56"engine_lines" : [ 57"strata generate: expert cache auto: 9.15 GiB free, 700 MiB reserved -> 3415 slots" , 58"strata generate: expert cache 4294 slots, 8.18 GiB of VRAM; policy is" , 59"strata serve: the prompt path borrows 2343 cache slots (4.42 GiB)" , 60"strata serve: decode expert cache hit rate: 59.6% (2749 hits / 4610 lookups)" , 61"strata serve: decode expert cache hit rate: 64.2% (2136 hits / 3329 lookups)" , 62"strata serve: decode expert cache hit rate: 67.3% (2309 hits / 3432 lookups)" , 63"strata serve: decode expert cache hit rate: 75.5% (16316 hits / 21602 lookups)" , 64"strata serve: decode expert cache hit rate: 74.4% (2660 hits / 3573 lookups)" , 65"strata serve: decode expert cache hit rate: 83.4% (92664 hits / 111086 lookups)" , 66"strata serve: decode expert cache hit rate: 72.0% (70946 hits / 98601 lookups)" , 67"strata generate: expert cache auto: 9.15 GiB free, 700 MiB reserved -> 3415 slots" , 68"strata generate: expert cache 4293 slots, 8.17 GiB of VRAM; policy is" , 69"strata serve: the prompt path borrows 2343 cache slots (4.42 GiB)" , 70"strata serve: decode expert cache hit rate: 59.6% (2749 hits / 4610 lookups)" , 71"strata serve: decode expert cache hit rate: 64.2% (2136 hits / 3329 lookups)" , 72"strata serve: decode expert cache hit rate: 67.3% (2309 hits / 3432 lookups)" , 73"strata serve: decode expert cache hit rate: 75.5% (16316 hits / 21602 lookups)" , 74"strata serve: decode expert cache hit rate: 74.4% (2659 hits / 3572 lookups)" , 75"strata serve: decode expert cache hit rate: 85.6% (101004 hits / 118059 lookups)" , 76"strata serve: decode expert cache hit rate: 70.8% (71044 hits / 100409 lookups)" 77 ] 78}