{
  "schema": "aner.native-kv-efficiency-measurements-v1",
  "measured_at": "2026-10-16T00:35:24.338794+00:00",
  "protocol": {
    "outer_process_pairs": 8,
    "native_pairs_per_process": 2,
    "excluded_warmups_per_policy": 2,
    "order": "baseline then candidate on even rounds, reversed on odd rounds; profile order rotates by round",
    "uncertainty": "5000 deterministic paired bootstrap resamples of whole outer process pairs; inner trials clustered",
    "model_work": "same two-layer four-head seeded byte decoder, prompt/forced IDs, configurations and natural generation controls in both executables",
    "timing": "native synchronized steady clock includes session preparation, allocation, validation and destruction; process start/compilation excluded after equal warmup",
    "memory": "tracked owned tensor/index/GPU capacities; cache bytes are actual typed reserved values; excludes ordinary untracked scratch, allocator/driver/BLAS/command-buffer overhead and RSS"
  },
  "host": {
    "system": "Darwin",
    "kernel_release": "25.6.0",
    "os_product_version": "26.7.1",
    "machine": "arm64",
    "cpu": "Apple M2 Max",
    "physical_cores": "12",
    "logical_cores": "12",
    "memory_bytes": "68719476736"
  },
  "implementations": {
    "baseline": {
      "executable_sha256": "ab88f06e9c8416485797a0bb54811719cd47ab922729dd3f7fa7b033650b9c6f",
      "build": {
        "build_type": "Release",
        "compiler_version": "Apple clang version 21.0.0 (clang-2100.3.34.2)",
        "cmake_release_flags": "-O3 -DNDEBUG",
        "benchmark_cxx_flags": "-O3 -DNDEBUG -std=c++20 -arch arm64 -Wall -Wextra -Wpedantic -fno-fast-math -ffp-contract=off",
        "native_generative_cxx_flags": "-O3 -DNDEBUG -std=c++20 -arch arm64 -Wall -Wextra -Wpedantic -fno-fast-math -ffp-contract=off",
        "backend_options": {
          "ANER_USE_ACCELERATE": "ON",
          "ANER_USE_BLAS": "OFF",
          "ANER_USE_MPS": "ON",
          "ANER_USE_CUDA": "OFF"
        },
        "cmake_cache_sha256": "899d5af1f2c083cb81f909beb4c6b5a921eaba45b07783f1e8070dca347a826f"
      },
      "source_files": [
        {
          "path": "CMakeLists.txt",
          "sha256": "b0a81123b90d38db3552d75495315c90e0df011550308414cd1bf0e4ff47613a"
        },
        {
          "path": "include/aner/api.hpp",
          "sha256": "bc36f2b05a829be26fe74fada6b14a1c8f01366259c250dd7233d923c42ecf98"
        },
        {
          "path": "include/aner/array_signatures.hpp",
          "sha256": "ed7bf02b116995e3749678c205935d9d640dd65816132ff64d6ec9efbb77df63"
        },
        {
          "path": "include/aner/arrays.hpp",
          "sha256": "e758155ad02e9f25d36b60a61bc91050bead0b8f40ea727d5fe4330916e46f7c"
        },
        {
          "path": "include/aner/basic_signatures.hpp",
          "sha256": "06376358061a52725f8bc2682a1412f2ecdeb1c9a60441bc5deb097368176c91"
        },
        {
          "path": "include/aner/bytes.hpp",
          "sha256": "10de4c4681820f038d7db2a16156493f397f5d5a6d3fd452ab009e079043e825"
        },
        {
          "path": "include/aner/collections.hpp",
          "sha256": "eec169b629a80945a105693b003febb7f2bac742d69da7d57302bac178379996"
        },
        {
          "path": "include/aner/context_signatures.hpp",
          "sha256": "d1506c8a6256be88317a274e11d1fa6a81b86df8fbef9ea76eb88fc74e43c553"
        },
        {
          "path": "include/aner/contextual.hpp",
          "sha256": "504eba00415496639541f931b3b3094bc955d58cc4b33dfd57baed794042b917"
        },
        {
          "path": "include/aner/core.hpp",
          "sha256": "4c1afa0d285219219e4e576adb8edc701d591bdb049a28bee85273bc1f1c9d56"
        },
        {
          "path": "include/aner/data.hpp",
          "sha256": "8c227c3009631bbc2cb9989d7102cd6110b274dd888007db5065c2d33b901164"
        },
        {
          "path": "include/aner/dataset.hpp",
          "sha256": "9b216db70a39d471b944dbea4ed54e6755bc5ca2eb4857878652aca21beda3bd"
        },
        {
          "path": "include/aner/db.hpp",
          "sha256": "c4256556766e91edb93ae462986580074bb9bce11752fd963c5bfeac8659cadb"
        },
        {
          "path": "include/aner/development.hpp",
          "sha256": "27d52677354b4d55242146ca0378014ed8b333de9e30531a000248af0093f516"
        },
        {
          "path": "include/aner/gen.hpp",
          "sha256": "2cc9a0ebe7c4490456902f936b9779e794e70816a3cd6eef8b28ab06e626675d"
        },
        {
          "path": "include/aner/generics.hpp",
          "sha256": "2587a36428cad312f05681963b3a5cc517867024fd946c1f13377adc216ef86f"
        },
        {
          "path": "include/aner/gpu.hpp",
          "sha256": "3de0aeb3f06ad42fc402b8a62d42957bb49499c6761dba10362d8e05c6cb9697"
        },
        {
          "path": "include/aner/llm.hpp",
          "sha256": "109dfb4152701c59499ddddfb9eceb2630653f99fe89da82ae8b7630ab92299c"
        },
        {
          "path": "include/aner/math.hpp",
          "sha256": "9d4f2d4a812247d8751c0c1ef2f70bcf820725b5009b366159d69f2d63c38cd5"
        },
        {
          "path": "include/aner/metrics.hpp",
          "sha256": "e3c882344143ccf88d1b2c2056e37bf362e6c0b582266457950729f8dfa0f487"
        },
        {
          "path": "include/aner/ml.hpp",
          "sha256": "49a01285ad17dcc7cac4a5cd60fb8374fd7e278850c3d84267e8551de0bce21a"
        },
        {
          "path": "include/aner/ndarray.hpp",
          "sha256": "12c1f47e64e9720b959c102eca9d00e3ca2076f22bc016443289dda03359eec7"
        },
        {
          "path": "include/aner/neural_replica.hpp",
          "sha256": "4cc1b54d7a480ce42beeff2018d2817dd21f413bd4a6a7564ee349e0d971ba83"
        },
        {
          "path": "include/aner/nn.hpp",
          "sha256": "b5a258611ed9a726ba0270729478b8dffc2dbba204d63b6cd5c3252343f65028"
        },
        {
          "path": "include/aner/nn_memory.hpp",
          "sha256": "0ed32b9b2f081a3384ca21899824b33a6e2cd5d44940525fec8e3be2a90bfe46"
        },
        {
          "path": "include/aner/object_heap.hpp",
          "sha256": "4437cd0239a327b34fdcac692b1d672929ffcf695a8ee5dfbbc98924d3a1b81d"
        },
        {
          "path": "include/aner/optimizer.hpp",
          "sha256": "d448afe62845dab3a24b42bb32b27862798f4619627eaed2b2475a1e3caee2c7"
        },
        {
          "path": "include/aner/parallel.hpp",
          "sha256": "05e2063f99f6faa5eae461ea8f301f630857e598d144bd590c52aa9677ba1470"
        },
        {
          "path": "include/aner/parallel_distributed_training.hpp",
          "sha256": "6ccf3e1fd1219f9095d06c4fea6ba8ea0a3fcad54dbc09558590189d5b858fa9"
        },
        {
          "path": "include/aner/parallel_jobs.hpp",
          "sha256": "76232a35bbb692de0bb087593d3151adaa133c3d140254cda8f785bdb3b06b0b"
        },
        {
          "path": "include/aner/parallel_neural.hpp",
          "sha256": "9791e4020f4cbbcfe65161c961c2b3036416bad182e392adb78f41f626103545"
        },
        {
          "path": "include/aner/parallel_neural_fit.hpp",
          "sha256": "647ee5088147ba64e09f0e93b392df8e21386784ecf001dd20a7311109d83974"
        },
        {
          "path": "include/aner/parallel_process.hpp",
          "sha256": "8a21184014f02c8ef6c4dfca9bf9d7f44de4179067aa561523105e368491470f"
        },
        {
          "path": "include/aner/parallel_repeat.hpp",
          "sha256": "f7eb4ef4b4d963b55508f74ec1d66c2c1b0cc9481e94a008cb7ed796ea4b3b05"
        },
        {
          "path": "include/aner/parallel_training.hpp",
          "sha256": "9aef9ab36b4c5162b99bd5aad134df6a04cbc19528d5b469f11ef0b8d0b9b90b"
        },
        {
          "path": "include/aner/pipeline.hpp",
          "sha256": "dc480862a5920e9d7a6f054cb04f0e6b0ca2af4778873abc3e2747f42940d143"
        },
        {
          "path": "include/aner/quantities.hpp",
          "sha256": "d6f661c8e05af717da0b2f4bc90375329e6f04d5b947f58a28d67cdbda2a281b"
        },
        {
          "path": "include/aner/range.hpp",
          "sha256": "8fac5441bb393d6615d37f4d9c0a5cb3e2d4bdeb0136e52370242bede6fe23ac"
        },
        {
          "path": "include/aner/secrets.hpp",
          "sha256": "62234577d536380f9a4256be36d2f78182f2c90d76fa1ea296c19e08f7b85289"
        },
        {
          "path": "include/aner/semantic.hpp",
          "sha256": "69671917894dfe05c8e7c6f33d606761c8b9f4e0a5300e4e6d4add0f8cff9146"
        },
        {
          "path": "include/aner/session_protocol.hpp",
          "sha256": "18e92e06eed08698a586542144588ce415dbbe09abcdf82f4f40bea8372cdacf"
        },
        {
          "path": "include/aner/string.hpp",
          "sha256": "7710661d04093442f308beecb136f35c3905c68abbbf192f952b1d3fad789841"
        },
        {
          "path": "include/aner/string_signatures.hpp",
          "sha256": "b1920f368b4064779834f8f633a2bb548612150e0b833e1472f9dda652464938"
        },
        {
          "path": "include/aner/syntax.hpp",
          "sha256": "c47f519b8d3c7c85cffe6d9109d1dd72fd1980b4088ec65748fac346b5898cc6"
        },
        {
          "path": "include/aner/temporal.hpp",
          "sha256": "6e887fac2f5f6e99abedbfcb5f0f324a8b0ec44844a9ad882295ed4a13c22a66"
        },
        {
          "path": "include/aner/tensor.hpp",
          "sha256": "f2e88fbb33028968132e65fd1b61ea8d84318866e21868d0da621ea8c9ca3fbc"
        },
        {
          "path": "include/aner/token.hpp",
          "sha256": "fc7e160beb4fbdbcfaa124a3fd226d2b5906c801016ae944434da0606e3fbfc1"
        },
        {
          "path": "include/aner/units.hpp",
          "sha256": "8ff62e3b2451f5b7095fd10e59cbd5b495d67fd7fc93273ab2ae317302a936ac"
        },
        {
          "path": "include/aner/viz.hpp",
          "sha256": "09e09a2f70d6cba77a28db9bfb683e41b7af7f7db60585dbc3367c0974991517"
        },
        {
          "path": "src/dataset_hash.hpp",
          "sha256": "5f9d8d2375d2e811eebfba3b50f45b49a06c44b56a224a0d6774d16725dd0df5"
        },
        {
          "path": "src/execution.cpp",
          "sha256": "c1eafe54ce72f3eec3ffb1875792a80808d4d8899c32e96319b997ca83038d5a"
        },
        {
          "path": "src/gen.cpp",
          "sha256": "3793f7252b5a45a5e2715a455ca2d7405487ff03b7afa43f76593610ddfdb808"
        },
        {
          "path": "src/gen_import.cpp",
          "sha256": "1cd26d0506c4ccafd013e8185ec20054d121bca6e88fd99e1fea5398986f5334"
        },
        {
          "path": "src/gen_import.hpp",
          "sha256": "7b537a0f6f504271f7a4fb535e0fd74936344f3b5ec8d2db768282c4e32e4f24"
        },
        {
          "path": "src/gen_scientific.cpp",
          "sha256": "db5b3232557fdccdbc5e865c4fe04ff8679f06aca2d3afd07def5c572b712fa4"
        },
        {
          "path": "src/gen_scientific_math.cpp",
          "sha256": "f39cfab546cc181df3f07a5c735379d1c100c73b4ad451ec51d8e24f31c1e0ba"
        },
        {
          "path": "src/generative_io.hpp",
          "sha256": "0b34097c0a058cc673e909e31af9910175333e0199c87174db008c5bb9aacb24"
        },
        {
          "path": "src/gpu.cpp",
          "sha256": "c69be6b251398e1c664df1bb3ae75f9e4a6c597678d800752671a8027be68f1b"
        },
        {
          "path": "src/gpu_mps.mm",
          "sha256": "f80f738d42a8f5fff9bd04fdee6c16a2d06bd7999e39fd88fdc28110b9c7c187"
        },
        {
          "path": "src/llm_json.hpp",
          "sha256": "2c88bab71693abc7cce48d1eecda19f6ed2428d8d91b42c93f6914f486869ea5"
        },
        {
          "path": "src/nn.cpp",
          "sha256": "324ffefa5d313b1da340741172d9aa7aa905cb6efa1a55b71025ee93855d0017"
        },
        {
          "path": "src/optimizer.cpp",
          "sha256": "183b5ed596aefaf96564a3c8e1a2d049828cd017d9a1817bc4633377547d856b"
        },
        {
          "path": "src/token.cpp",
          "sha256": "0a3f9d7f6b5e8d5a5e5271989d731a66a69d18698ebcb18b14189e214a0265bc"
        },
        {
          "path": "src/token_unicode.inc",
          "sha256": "f4c35b7a0edbd7039c307888ea839386ccc918aa94443f3bc22124df17c22453"
        },
        {
          "path": "tests/gen_cache_language_tests.cpp",
          "sha256": "50b7926876c80672e73a955401c208e1d3256da561c503e4cabc37430ac070cf"
        },
        {
          "path": "tests/gen_cache_tests.cpp",
          "sha256": "d50e09feac63b16c3a1c24a74777a9bb3655dfba9e2162596c1ce546cc97415a"
        },
        {
          "path": "tools/gen_cache_benchmark.cpp",
          "sha256": "115ab68691f08ab84e79d2607ee9875ee55810499fded27358d60af4c4dbffce"
        },
        {
          "path": "tools/generate_gen_cache_chart.py",
          "sha256": "948421d8e73ff65b567d9c13b2ee55b6bdb12a0b978074e97e95a55389a5b40d"
        },
        {
          "path": "tools/run_gen_cache_benchmark.py",
          "sha256": "9b7eea292208db44701ad47a5e59d905747ab0fff53b126964f54062c1139a50"
        }
      ],
      "implementation_sha256": "f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa"
    },
    "candidate": {
      "executable_sha256": "0ae834d12e58691c807f777cc16e37033c3515fbb5f2fad2ee51a589882c3571",
      "build": {
        "build_type": "Release",
        "compiler_version": "Apple clang version 21.0.0 (clang-2100.3.34.2)",
        "cmake_release_flags": "-O3 -DNDEBUG",
        "benchmark_cxx_flags": "-O3 -DNDEBUG -std=c++20 -arch arm64 -Wall -Wextra -Wpedantic -fno-fast-math -ffp-contract=off",
        "native_generative_cxx_flags": "-O3 -DNDEBUG -std=c++20 -arch arm64 -Wall -Wextra -Wpedantic -fno-fast-math -ffp-contract=off",
        "backend_options": {
          "ANER_USE_ACCELERATE": "ON",
          "ANER_USE_BLAS": "OFF",
          "ANER_USE_MPS": "ON",
          "ANER_USE_CUDA": "OFF"
        },
        "cmake_cache_sha256": "c48668639b5133980d579654a44e8b9ae6b1a73bb461beeda50288900054ea5b"
      },
      "source_files": [
        {
          "path": "src/gen.cpp",
          "sha256": "9f6eb448cfce1edeb71a2db3fc090dcb7f0cd8f9d1a39f5e018c940154eaa46a"
        },
        {
          "path": "include/aner/gen.hpp",
          "sha256": "e7c8d5f305c941cf5020a918dbf1380a1ece4d21ceb029cbb88dd180699c5511"
        },
        {
          "path": "src/nn.cpp",
          "sha256": "ddba268e298723bc3d6595d0c5f0990b084b27cf1bb184142dc819cc19bedfd1"
        },
        {
          "path": "include/aner/nn.hpp",
          "sha256": "9357e57545d4de0617e1cea6e6bba1bd4d9098b0fbc1dc96e8fe51da005b9f0c"
        },
        {
          "path": "src/gpu.cpp",
          "sha256": "c69be6b251398e1c664df1bb3ae75f9e4a6c597678d800752671a8027be68f1b"
        },
        {
          "path": "include/aner/gpu.hpp",
          "sha256": "34afbed94b1e38b56a24662684b91636d978282a758529fceef7be35b45b9dfd"
        },
        {
          "path": "src/gpu_mps.mm",
          "sha256": "59ed458db7766181ba5218b51033ce74bcba42fd35bff26f3f7ac7aad0b4b998"
        },
        {
          "path": "src/token.cpp",
          "sha256": "0a3f9d7f6b5e8d5a5e5271989d731a66a69d18698ebcb18b14189e214a0265bc"
        },
        {
          "path": "src/optimizer.cpp",
          "sha256": "183b5ed596aefaf96564a3c8e1a2d049828cd017d9a1817bc4633377547d856b"
        },
        {
          "path": "src/execution.cpp",
          "sha256": "c1eafe54ce72f3eec3ffb1875792a80808d4d8899c32e96319b997ca83038d5a"
        },
        {
          "path": "src/tensor.cpp",
          "sha256": "4a58c20ef046eef85ab9172f8152e4d33d887e9591909525d0597177bc8244e0"
        },
        {
          "path": "CMakeLists.txt",
          "sha256": "b0a81123b90d38db3552d75495315c90e0df011550308414cd1bf0e4ff47613a"
        },
        {
          "path": "tools/gen_cache_benchmark.cpp",
          "sha256": "610d2e1a5c432039ae547e56f60bac6aca270d40510c2b9849ff048490a5b21e"
        },
        {
          "path": "tools/run_gen_cache_benchmark.py",
          "sha256": "e76815b6e013a84d6c93c3729cbc73919379a87d3522e3e06e40e66680d6cf87"
        },
        {
          "path": "tools/run_gen_cache_efficiency.py",
          "sha256": "f30da30a07e389b69f97ca2d72e1441f31dd410e8e87d452b46a1ce2f7125eba"
        }
      ],
      "implementation_sha256": "1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff"
    }
  },
  "execution": {
    "wall_seconds": 409.79401987500023,
    "cpu_thread_environment_request": {
      "VECLIB_MAXIMUM_THREADS": "1",
      "OPENBLAS_NUM_THREADS": "1",
      "OMP_NUM_THREADS": "1"
    }
  },
  "records": [
    {
      "case": "short",
      "device": "cpu",
      "dtype": "Float64",
      "pair": 0,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 1.8041124150158794e-16,
          "max_scaled_logit_error": 1.6229691081735398e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 4.9791e-05,
              "prefill_seconds": 0.000716083,
              "decode_seconds": 0.033695625,
              "fixed_scan_seconds": 0.034467541,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034587916,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.6791e-05,
              "prefill_seconds": 0.000604708,
              "decode_seconds": 0.004837417,
              "fixed_scan_seconds": 0.005493375,
              "memory_bytes": {
                "before": 290048,
                "peak": 781616,
                "peak_increment": 491568,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 781616,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.006646792,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 487440,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 4.6834e-05,
              "prefill_seconds": 0.000666333,
              "decode_seconds": 0.033901416,
              "fixed_scan_seconds": 0.0346205,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034126625,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.35e-05,
              "prefill_seconds": 0.000604541,
              "decode_seconds": 0.004856083,
              "fixed_scan_seconds": 0.005511959,
              "memory_bytes": {
                "before": 290048,
                "peak": 781616,
                "peak_increment": 491568,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 781616,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.006541291,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 487440,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float64-00-baseline.jsonl",
        "raw_sha256": "5d52d1e73c1e5760b6177165b2be63002f79620230ef88bcdf22da72b61bbfdb",
        "stderr_file": "short-cpu-Float64-00-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 2.220446049250313e-16,
          "max_scaled_logit_error": 1.9304687922993705e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 4.0792e-05,
              "prefill_seconds": 0.00063925,
              "decode_seconds": 0.034161791,
              "fixed_scan_seconds": 0.034845666,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034770166,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.5583e-05,
              "prefill_seconds": 0.000385,
              "decode_seconds": 0.002789167,
              "fixed_scan_seconds": 0.003224125,
              "memory_bytes": {
                "before": 290048,
                "peak": 776704,
                "peak_increment": 486656,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 776704,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004617917,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 485632,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 5.175e-05,
              "prefill_seconds": 0.0006985,
              "decode_seconds": 0.034069666,
              "fixed_scan_seconds": 0.034824208,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034177166,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 6.0542e-05,
              "prefill_seconds": 0.000397291,
              "decode_seconds": 0.002689709,
              "fixed_scan_seconds": 0.003154125,
              "memory_bytes": {
                "before": 290048,
                "peak": 776704,
                "peak_increment": 486656,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 776704,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004418,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 485632,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float64-00-candidate.jsonl",
        "raw_sha256": "ca2fb13485de05103676988d7dcf5086c0824ba46227500a54aee543157ce7e1",
        "stderr_file": "short-cpu-Float64-00-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "cpu",
      "dtype": "Float32",
      "pair": 0,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "model_fingerprint": "c4293cb14ac23b5d7e20db06dfab2bf3d90f0f42ce34aedf0bc3545d323359ac",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 6.0791e-05,
              "prefill_seconds": 0.000785917,
              "decode_seconds": 0.037113334,
              "fixed_scan_seconds": 0.037966375,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.037403834,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 6.2584e-05,
              "prefill_seconds": 0.000742,
              "decode_seconds": 0.00526225,
              "fixed_scan_seconds": 0.006071167,
              "memory_bytes": {
                "before": 725120,
                "peak": 1462472,
                "peak_increment": 737352,
                "live_session": 1261604,
                "after": 725120,
                "host_peak": 1462472,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 98304,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.007183542,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 731160,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 6.1167e-05,
              "prefill_seconds": 0.000763875,
              "decode_seconds": 0.036530417,
              "fixed_scan_seconds": 0.037361709,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.037252,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 5.8833e-05,
              "prefill_seconds": 0.00067425,
              "decode_seconds": 0.005495541,
              "fixed_scan_seconds": 0.006236459,
              "memory_bytes": {
                "before": 725120,
                "peak": 1462472,
                "peak_increment": 737352,
                "live_session": 1261604,
                "after": 725120,
                "host_peak": 1462472,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 98304,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.007438833,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 731160,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float32-00-baseline.jsonl",
        "raw_sha256": "30735d0767dbc828961559de93668de664885843246f5500a43e3b3039215db3",
        "stderr_file": "short-cpu-Float32-00-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "model_fingerprint": "2838d1228465ce26731c5e13a5bc007a5058cf156e3d5ce3b7971b7a14131bf2",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 7.0292e-05,
              "prefill_seconds": 0.000743416,
              "decode_seconds": 0.037377375,
              "fixed_scan_seconds": 0.038200709,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.037498542,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 6.0167e-05,
              "prefill_seconds": 0.000383625,
              "decode_seconds": 0.003023166,
              "fixed_scan_seconds": 0.003475834,
              "memory_bytes": {
                "before": 725120,
                "peak": 1389568,
                "peak_increment": 664448,
                "live_session": 1196068,
                "after": 725120,
                "host_peak": 1389568,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004699375,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 663936,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 6.2708e-05,
              "prefill_seconds": 0.000689167,
              "decode_seconds": 0.037052833,
              "fixed_scan_seconds": 0.037812917,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.036931458,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 6.2584e-05,
              "prefill_seconds": 0.0003995,
              "decode_seconds": 0.002881417,
              "fixed_scan_seconds": 0.003349667,
              "memory_bytes": {
                "before": 725120,
                "peak": 1389568,
                "peak_increment": 664448,
                "live_session": 1196068,
                "after": 725120,
                "host_peak": 1389568,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004658042,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 663936,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float32-00-candidate.jsonl",
        "raw_sha256": "1120561bd431ebe209d344f8aa54e5b27e12116546809edc2812235591990c97",
        "stderr_file": "short-cpu-Float32-00-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "mps",
      "dtype": "Float32",
      "pair": 0,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "model_fingerprint": "cc8eb03bea7f1ace738482f2efff4c1a3b845964d5bab07fac7a7d9455455bd7",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 9.685754776000977e-08,
          "max_scaled_logit_error": 9.242636391134113e-08,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 2.0917e-05,
              "prefill_seconds": 0.007545125,
              "decode_seconds": 0.253401667,
              "fixed_scan_seconds": 0.260994041,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.258609459,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.0334e-05,
              "prefill_seconds": 0.007697791,
              "decode_seconds": 0.254448875,
              "fixed_scan_seconds": 0.262192084,
              "memory_bytes": {
                "before": 435072,
                "peak": 535840,
                "peak_increment": 100768,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 245792,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.259637875,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 98704,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.1458e-05,
              "prefill_seconds": 0.007576375,
              "decode_seconds": 0.252032666,
              "fixed_scan_seconds": 0.259651958,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.2550275,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 1.9667e-05,
              "prefill_seconds": 0.007701209,
              "decode_seconds": 0.257013166,
              "fixed_scan_seconds": 0.264756875,
              "memory_bytes": {
                "before": 435072,
                "peak": 535840,
                "peak_increment": 100768,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 245792,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.263357208,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 98704,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-mps-Float32-00-baseline.jsonl",
        "raw_sha256": "311a67895326a11b6317ee1808137cb5f9318f1296bddc0ff40313bcfc4b6681",
        "stderr_file": "short-mps-Float32-00-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "model_fingerprint": "2d2be207da3217b65a6f7c44d3abe317c06d1aa9c4e4429c96feee2fcd79138b",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 9.685754776000977e-08,
          "max_scaled_logit_error": 9.2784220755701e-08,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 2.0834e-05,
              "prefill_seconds": 0.007884625,
              "decode_seconds": 0.257177125,
              "fixed_scan_seconds": 0.265099917,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.260078458,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.1834e-05,
              "prefill_seconds": 0.004317291,
              "decode_seconds": 0.132456292,
              "fixed_scan_seconds": 0.136819584,
              "memory_bytes": {
                "before": 435072,
                "peak": 533376,
                "peak_increment": 98304,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 290048,
                "device_peak": 243328,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.1380855,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 97792,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.1375e-05,
              "prefill_seconds": 0.007697084,
              "decode_seconds": 0.25702725,
              "fixed_scan_seconds": 0.264768958,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.272622917,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.0917e-05,
              "prefill_seconds": 0.004364291,
              "decode_seconds": 0.133645917,
              "fixed_scan_seconds": 0.138067583,
              "memory_bytes": {
                "before": 435072,
                "peak": 533376,
                "peak_increment": 98304,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 290048,
                "device_peak": 243328,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.136271917,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 97792,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-mps-Float32-00-candidate.jsonl",
        "raw_sha256": "a0c43379d397d82f00880783e8917af0d28c415c30a5745523d54ffde2b4ce3e",
        "stderr_file": "short-mps-Float32-00-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "cpu",
      "dtype": "Float64",
      "pair": 0,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 3.885780586188048e-16,
          "max_scaled_logit_error": 3.406964511810042e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000147167,
              "prefill_seconds": 0.005114875,
              "decode_seconds": 0.4604955,
              "fixed_scan_seconds": 0.465764334,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.459171834,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.0001435,
              "prefill_seconds": 0.0050025,
              "decode_seconds": 0.034918333,
              "fixed_scan_seconds": 0.040068834,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3848192,
                "peak_increment": 2809344,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3848192,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.042608208,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2809344,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000141417,
              "prefill_seconds": 0.005098,
              "decode_seconds": 0.459429292,
              "fixed_scan_seconds": 0.464673333,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.457565459,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000146417,
              "prefill_seconds": 0.004955,
              "decode_seconds": 0.034922917,
              "fixed_scan_seconds": 0.040028167,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3848192,
                "peak_increment": 2809344,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3848192,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.042646417,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2809344,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float64-00-baseline.jsonl",
        "raw_sha256": "5b062b9c3bd27188cf8e2ae3bb6bb046526a7a21321256a60e8e81209c188ad7",
        "stderr_file": "long-cpu-Float64-00-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 3.3306690738754696e-16,
          "max_scaled_logit_error": 3.1757564557461897e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000139375,
              "prefill_seconds": 0.005283625,
              "decode_seconds": 0.4632985,
              "fixed_scan_seconds": 0.468726,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.461363542,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000144042,
              "prefill_seconds": 0.002851375,
              "decode_seconds": 0.015989875,
              "fixed_scan_seconds": 0.018990291,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3519488,
                "peak_increment": 2480640,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3519488,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.021841625,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2478592,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000139458,
              "prefill_seconds": 0.005126667,
              "decode_seconds": 0.46283125,
              "fixed_scan_seconds": 0.468101875,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.461223,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000149709,
              "prefill_seconds": 0.002846792,
              "decode_seconds": 0.015975208,
              "fixed_scan_seconds": 0.01897525,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3519488,
                "peak_increment": 2480640,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3519488,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.021756,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2478592,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float64-00-candidate.jsonl",
        "raw_sha256": "120c41b98ebd1a93f4ec07b3dcc63b9c51a36e1c1a2c4d02613bb876ea843325",
        "stderr_file": "long-cpu-Float64-00-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "cpu",
      "dtype": "Float32",
      "pair": 0,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "model_fingerprint": "94781c146a1ca9e3843bd9a760cabd2427af797cdef5bea49c148478c079e2ab",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000192167,
              "prefill_seconds": 0.005588542,
              "decode_seconds": 0.500870334,
              "fixed_scan_seconds": 0.506659209,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.508287166,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000195917,
              "prefill_seconds": 0.005371,
              "decode_seconds": 0.037862041,
              "fixed_scan_seconds": 0.043435167,
              "memory_bytes": {
                "before": 2597120,
                "peak": 6811136,
                "peak_increment": 4214016,
                "live_session": 4748324,
                "after": 2597120,
                "host_peak": 6811136,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 589824,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.04583825,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4214016,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000216083,
              "prefill_seconds": 0.005877666,
              "decode_seconds": 0.5139745,
              "fixed_scan_seconds": 0.52007425,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.495156292,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000198583,
              "prefill_seconds": 0.005400292,
              "decode_seconds": 0.037738041,
              "fixed_scan_seconds": 0.043342084,
              "memory_bytes": {
                "before": 2597120,
                "peak": 6811136,
                "peak_increment": 4214016,
                "live_session": 4748324,
                "after": 2597120,
                "host_peak": 6811136,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 589824,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.046712792,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4214016,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float32-00-baseline.jsonl",
        "raw_sha256": "e1a42bdd31e0bd3f40679f2c19c65c2be52f053ee179ebe7ab787782be0f0249",
        "stderr_file": "long-cpu-Float32-00-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "model_fingerprint": "cc1b4b295208e754dccc536f1f7d54d957c793a461e56a923a312ca494ad58ab",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.0001995,
              "prefill_seconds": 0.005788,
              "decode_seconds": 0.521458458,
              "fixed_scan_seconds": 0.527452167,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.520822125,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000232125,
              "prefill_seconds": 0.003368375,
              "decode_seconds": 0.017623333,
              "fixed_scan_seconds": 0.021230458,
              "memory_bytes": {
                "before": 2597120,
                "peak": 5924864,
                "peak_increment": 3327744,
                "live_session": 4355108,
                "after": 2597120,
                "host_peak": 5924864,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.023772375,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 3326720,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000214125,
              "prefill_seconds": 0.006047292,
              "decode_seconds": 0.520738125,
              "fixed_scan_seconds": 0.527005541,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.520230875,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000204,
              "prefill_seconds": 0.003362875,
              "decode_seconds": 0.017905208,
              "fixed_scan_seconds": 0.021480917,
              "memory_bytes": {
                "before": 2597120,
                "peak": 5924864,
                "peak_increment": 3327744,
                "live_session": 4355108,
                "after": 2597120,
                "host_peak": 5924864,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.023588583,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 3326720,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float32-00-candidate.jsonl",
        "raw_sha256": "d4823382f315e315b10bea2bf47d4e8694ecbd54640cd038a4245fbcbf616920",
        "stderr_file": "long-cpu-Float32-00-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "mps",
      "dtype": "Float32",
      "pair": 0,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "model_fingerprint": "38ca3847f08c4af4a47482156aab32e772f890194f5be06b3fe039a388d9e703",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 1.7881393432617188e-07,
          "max_scaled_logit_error": 1.4103367994539792e-07,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 1.9959e-05,
              "prefill_seconds": 0.010879334,
              "decode_seconds": 0.686443875,
              "fixed_scan_seconds": 0.697368166,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.656363833,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 1.8791e-05,
              "prefill_seconds": 0.010305667,
              "decode_seconds": 0.585651458,
              "fixed_scan_seconds": 0.596001583,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2672896,
                "peak_increment": 1114624,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 1634048,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.61734825,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1114624,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.3791e-05,
              "prefill_seconds": 0.010731833,
              "decode_seconds": 0.673066417,
              "fixed_scan_seconds": 0.68384225,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.671733041,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.1416e-05,
              "prefill_seconds": 0.00974625,
              "decode_seconds": 0.583871791,
              "fixed_scan_seconds": 0.593668958,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2672896,
                "peak_increment": 1114624,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 1634048,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.613237917,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1114624,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-mps-Float32-00-baseline.jsonl",
        "raw_sha256": "86ad7da90df227e5e346e7f49ccf063aaafc3741fdf17276c9c05b74b9279fbd",
        "stderr_file": "long-mps-Float32-00-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "model_fingerprint": "6fabafcdbf2401be7deef23e876f63c01f9c4c48c54a008bb5e2798a25d85e97",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 1.7881393432617188e-07,
          "max_scaled_logit_error": 1.594650860629083e-07,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 2.1583e-05,
              "prefill_seconds": 0.009808291,
              "decode_seconds": 0.658926417,
              "fixed_scan_seconds": 0.668800708,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.668086541,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 1.8333e-05,
              "prefill_seconds": 0.004897917,
              "decode_seconds": 0.388301916,
              "fixed_scan_seconds": 0.393243,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2279168,
                "peak_increment": 720896,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1038848,
                "device_peak": 1240320,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.395161333,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 719872,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.1458e-05,
              "prefill_seconds": 0.013879458,
              "decode_seconds": 0.706833625,
              "fixed_scan_seconds": 0.720756125,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.660780875,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.7209e-05,
              "prefill_seconds": 0.0063425,
              "decode_seconds": 0.3930665,
              "fixed_scan_seconds": 0.399458625,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2279168,
                "peak_increment": 720896,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1038848,
                "device_peak": 1240320,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.40036025,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 719872,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-mps-Float32-00-candidate.jsonl",
        "raw_sha256": "45c17fe26285c505db0e1f8a3b649761c5625d934bc427df3e88c6b022f956e3",
        "stderr_file": "long-mps-Float32-00-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "cpu",
      "dtype": "Float32",
      "pair": 1,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "model_fingerprint": "2838d1228465ce26731c5e13a5bc007a5058cf156e3d5ce3b7971b7a14131bf2",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 5.7541e-05,
              "prefill_seconds": 0.00071225,
              "decode_seconds": 0.036246208,
              "fixed_scan_seconds": 0.037022833,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.036946833,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 7.8375e-05,
              "prefill_seconds": 0.0004005,
              "decode_seconds": 0.002987833,
              "fixed_scan_seconds": 0.003472625,
              "memory_bytes": {
                "before": 725120,
                "peak": 1389568,
                "peak_increment": 664448,
                "live_session": 1196068,
                "after": 725120,
                "host_peak": 1389568,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.005006,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 663936,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 8.1042e-05,
              "prefill_seconds": 0.00074325,
              "decode_seconds": 0.036294,
              "fixed_scan_seconds": 0.037123917,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.037757042,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 9.2375e-05,
              "prefill_seconds": 0.000428584,
              "decode_seconds": 0.002990167,
              "fixed_scan_seconds": 0.003515625,
              "memory_bytes": {
                "before": 725120,
                "peak": 1389568,
                "peak_increment": 664448,
                "live_session": 1196068,
                "after": 725120,
                "host_peak": 1389568,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004710375,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 663936,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float32-01-candidate.jsonl",
        "raw_sha256": "75d36a71248ca8656c2a94438107d999ed181a45beadf951ac3290a7982c09a4",
        "stderr_file": "short-cpu-Float32-01-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "model_fingerprint": "c4293cb14ac23b5d7e20db06dfab2bf3d90f0f42ce34aedf0bc3545d323359ac",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 5.775e-05,
              "prefill_seconds": 0.000692541,
              "decode_seconds": 0.036180083,
              "fixed_scan_seconds": 0.036934791,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.036860125,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 6.9584e-05,
              "prefill_seconds": 0.000668791,
              "decode_seconds": 0.005286917,
              "fixed_scan_seconds": 0.006029291,
              "memory_bytes": {
                "before": 725120,
                "peak": 1462472,
                "peak_increment": 737352,
                "live_session": 1261604,
                "after": 725120,
                "host_peak": 1462472,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 98304,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.007036959,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 731160,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 5.55e-05,
              "prefill_seconds": 0.000692375,
              "decode_seconds": 0.035204291,
              "fixed_scan_seconds": 0.035954917,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.035588834,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 5.925e-05,
              "prefill_seconds": 0.000667375,
              "decode_seconds": 0.005228584,
              "fixed_scan_seconds": 0.005958834,
              "memory_bytes": {
                "before": 725120,
                "peak": 1462472,
                "peak_increment": 737352,
                "live_session": 1261604,
                "after": 725120,
                "host_peak": 1462472,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 98304,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.006999958,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 731160,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float32-01-baseline.jsonl",
        "raw_sha256": "fb198b084ebbc86c482bc0e4d0ddced838b0786e23adcd8cf0778eb5722562c6",
        "stderr_file": "short-cpu-Float32-01-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "mps",
      "dtype": "Float32",
      "pair": 1,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "model_fingerprint": "2d2be207da3217b65a6f7c44d3abe317c06d1aa9c4e4429c96feee2fcd79138b",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 9.685754776000977e-08,
          "max_scaled_logit_error": 9.2784220755701e-08,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 2.1958e-05,
              "prefill_seconds": 0.008098542,
              "decode_seconds": 0.25907,
              "fixed_scan_seconds": 0.26721375,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.250752584,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.0959e-05,
              "prefill_seconds": 0.00402775,
              "decode_seconds": 0.129763083,
              "fixed_scan_seconds": 0.133852333,
              "memory_bytes": {
                "before": 435072,
                "peak": 533376,
                "peak_increment": 98304,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 290048,
                "device_peak": 243328,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.136293458,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 97792,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.0375e-05,
              "prefill_seconds": 0.008106042,
              "decode_seconds": 0.258122208,
              "fixed_scan_seconds": 0.266267625,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.260932292,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.1666e-05,
              "prefill_seconds": 0.004346125,
              "decode_seconds": 0.136008916,
              "fixed_scan_seconds": 0.140402041,
              "memory_bytes": {
                "before": 435072,
                "peak": 533376,
                "peak_increment": 98304,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 290048,
                "device_peak": 243328,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.136091666,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 97792,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-mps-Float32-01-candidate.jsonl",
        "raw_sha256": "5724b03e244e6efe2b26f4cb7ad338198f7d25c11a0b7b72f9812b761deb93e7",
        "stderr_file": "short-mps-Float32-01-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "model_fingerprint": "cc8eb03bea7f1ace738482f2efff4c1a3b845964d5bab07fac7a7d9455455bd7",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 9.685754776000977e-08,
          "max_scaled_logit_error": 9.242636391134113e-08,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 1.9542e-05,
              "prefill_seconds": 0.007219042,
              "decode_seconds": 0.25029525,
              "fixed_scan_seconds": 0.257557625,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.251831792,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.1083e-05,
              "prefill_seconds": 0.008074042,
              "decode_seconds": 0.268568458,
              "fixed_scan_seconds": 0.27668975,
              "memory_bytes": {
                "before": 435072,
                "peak": 535840,
                "peak_increment": 100768,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 245792,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.270791625,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 98704,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.2375e-05,
              "prefill_seconds": 0.00786525,
              "decode_seconds": 0.259753917,
              "fixed_scan_seconds": 0.267659375,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.260808375,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.0375e-05,
              "prefill_seconds": 0.013489167,
              "decode_seconds": 0.262115625,
              "fixed_scan_seconds": 0.275652292,
              "memory_bytes": {
                "before": 435072,
                "peak": 535840,
                "peak_increment": 100768,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 245792,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.262716375,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 98704,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-mps-Float32-01-baseline.jsonl",
        "raw_sha256": "8162c35754e7ea006e50e8bf23da58875b42db9e51454065afebfd78afdd896e",
        "stderr_file": "short-mps-Float32-01-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "cpu",
      "dtype": "Float64",
      "pair": 1,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 3.3306690738754696e-16,
          "max_scaled_logit_error": 3.1757564557461897e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000152958,
              "prefill_seconds": 0.005448417,
              "decode_seconds": 0.482251375,
              "fixed_scan_seconds": 0.4878585,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.48058475,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.00016925,
              "prefill_seconds": 0.002934583,
              "decode_seconds": 0.016934292,
              "fixed_scan_seconds": 0.020042875,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3519488,
                "peak_increment": 2480640,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3519488,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.022557833,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2478592,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.00019375,
              "prefill_seconds": 0.005521375,
              "decode_seconds": 0.481161417,
              "fixed_scan_seconds": 0.486883167,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.477995416,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000152,
              "prefill_seconds": 0.002910833,
              "decode_seconds": 0.016931875,
              "fixed_scan_seconds": 0.019998417,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3519488,
                "peak_increment": 2480640,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3519488,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.022196125,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2478592,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float64-01-candidate.jsonl",
        "raw_sha256": "a71e919fb615916ad92569d556b46ca04c11a4bcfe7dcbb6e4211eda1fd85fa2",
        "stderr_file": "long-cpu-Float64-01-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 3.885780586188048e-16,
          "max_scaled_logit_error": 3.406964511810042e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.00017075,
              "prefill_seconds": 0.005312833,
              "decode_seconds": 0.489561583,
              "fixed_scan_seconds": 0.495050167,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.477236333,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000147792,
              "prefill_seconds": 0.005119666,
              "decode_seconds": 0.03622425,
              "fixed_scan_seconds": 0.041501125,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3848192,
                "peak_increment": 2809344,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3848192,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.043064833,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2809344,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000142667,
              "prefill_seconds": 0.005339833,
              "decode_seconds": 0.477648292,
              "fixed_scan_seconds": 0.483135333,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.474494291,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000143166,
              "prefill_seconds": 0.004993459,
              "decode_seconds": 0.035589667,
              "fixed_scan_seconds": 0.040732083,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3848192,
                "peak_increment": 2809344,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3848192,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.044380292,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2809344,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float64-01-baseline.jsonl",
        "raw_sha256": "8b770b02f32f230f103ad54e9c945868c6515ee52a2d066be6a7eeab3059f48c",
        "stderr_file": "long-cpu-Float64-01-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "cpu",
      "dtype": "Float32",
      "pair": 1,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "model_fingerprint": "cc1b4b295208e754dccc536f1f7d54d957c793a461e56a923a312ca494ad58ab",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000198417,
              "prefill_seconds": 0.005611166,
              "decode_seconds": 0.500887333,
              "fixed_scan_seconds": 0.506702875,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.509098917,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000195584,
              "prefill_seconds": 0.003128459,
              "decode_seconds": 0.017301625,
              "fixed_scan_seconds": 0.020630292,
              "memory_bytes": {
                "before": 2597120,
                "peak": 5924864,
                "peak_increment": 3327744,
                "live_session": 4355108,
                "after": 2597120,
                "host_peak": 5924864,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.022950333,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 3326720,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000197291,
              "prefill_seconds": 0.00564425,
              "decode_seconds": 0.499272459,
              "fixed_scan_seconds": 0.505119916,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.498736875,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000193167,
              "prefill_seconds": 0.003139667,
              "decode_seconds": 0.01734625,
              "fixed_scan_seconds": 0.020683542,
              "memory_bytes": {
                "before": 2597120,
                "peak": 5924864,
                "peak_increment": 3327744,
                "live_session": 4355108,
                "after": 2597120,
                "host_peak": 5924864,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.023028834,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 3326720,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float32-01-candidate.jsonl",
        "raw_sha256": "e87cdff1c5e9a6f178306b239c1bda899747bff0e6881fccf3c2af45d4ee4422",
        "stderr_file": "long-cpu-Float32-01-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "model_fingerprint": "94781c146a1ca9e3843bd9a760cabd2427af797cdef5bea49c148478c079e2ab",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000210958,
              "prefill_seconds": 0.00564225,
              "decode_seconds": 0.517728959,
              "fixed_scan_seconds": 0.523588792,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.516177042,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.00020175,
              "prefill_seconds": 0.005732708,
              "decode_seconds": 0.0386365,
              "fixed_scan_seconds": 0.044578,
              "memory_bytes": {
                "before": 2597120,
                "peak": 6811136,
                "peak_increment": 4214016,
                "live_session": 4748324,
                "after": 2597120,
                "host_peak": 6811136,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 589824,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.048195791,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4214016,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000213,
              "prefill_seconds": 0.005828,
              "decode_seconds": 0.518458083,
              "fixed_scan_seconds": 0.52450375,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.517849459,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000210083,
              "prefill_seconds": 0.005595416,
              "decode_seconds": 0.038524375,
              "fixed_scan_seconds": 0.044337208,
              "memory_bytes": {
                "before": 2597120,
                "peak": 6811136,
                "peak_increment": 4214016,
                "live_session": 4748324,
                "after": 2597120,
                "host_peak": 6811136,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 589824,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.047804833,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4214016,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float32-01-baseline.jsonl",
        "raw_sha256": "7ce60922a9489c5e01d84ee582ab41077f81e1e2faa05cf47548c08fd6893b5c",
        "stderr_file": "long-cpu-Float32-01-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "mps",
      "dtype": "Float32",
      "pair": 1,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "model_fingerprint": "6fabafcdbf2401be7deef23e876f63c01f9c4c48c54a008bb5e2798a25d85e97",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 1.7881393432617188e-07,
          "max_scaled_logit_error": 1.594650860629083e-07,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 2.1833e-05,
              "prefill_seconds": 0.010122625,
              "decode_seconds": 0.701496584,
              "fixed_scan_seconds": 0.711667708,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.695233458,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 3.4334e-05,
              "prefill_seconds": 0.004530333,
              "decode_seconds": 0.282488625,
              "fixed_scan_seconds": 0.287078959,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2279168,
                "peak_increment": 720896,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1038848,
                "device_peak": 1240320,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.281366209,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 719872,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.1042e-05,
              "prefill_seconds": 0.009888875,
              "decode_seconds": 0.674571208,
              "fixed_scan_seconds": 0.684503292,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.702917416,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.2667e-05,
              "prefill_seconds": 0.004882833,
              "decode_seconds": 0.284965166,
              "fixed_scan_seconds": 0.289897584,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2279168,
                "peak_increment": 720896,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1038848,
                "device_peak": 1240320,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.288632291,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 719872,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-mps-Float32-01-candidate.jsonl",
        "raw_sha256": "e607622e755dcd2a8f2d4c34f820cb3031460ba92726e9e094d3cfcd606c5606",
        "stderr_file": "long-mps-Float32-01-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "model_fingerprint": "38ca3847f08c4af4a47482156aab32e772f890194f5be06b3fe039a388d9e703",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 1.7881393432617188e-07,
          "max_scaled_logit_error": 1.4103367994539792e-07,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 2.1834e-05,
              "prefill_seconds": 0.009587417,
              "decode_seconds": 0.668665583,
              "fixed_scan_seconds": 0.678304583,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.698995084,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.4375e-05,
              "prefill_seconds": 0.010203792,
              "decode_seconds": 0.606934875,
              "fixed_scan_seconds": 0.617190583,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2672896,
                "peak_increment": 1114624,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 1634048,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.582158583,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1114624,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 1.8334e-05,
              "prefill_seconds": 0.00998475,
              "decode_seconds": 0.669041042,
              "fixed_scan_seconds": 0.67906925,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.6840605,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.1083e-05,
              "prefill_seconds": 0.009747125,
              "decode_seconds": 0.58737825,
              "fixed_scan_seconds": 0.597173875,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2672896,
                "peak_increment": 1114624,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 1634048,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.609895541,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1114624,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-mps-Float32-01-baseline.jsonl",
        "raw_sha256": "76f740cff4829cbfa4ff196c44b8fae7fd07b7e14f7a438be21fff48d1a7089e",
        "stderr_file": "long-mps-Float32-01-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "cpu",
      "dtype": "Float64",
      "pair": 1,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 2.220446049250313e-16,
          "max_scaled_logit_error": 1.9304687922993705e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 4.0292e-05,
              "prefill_seconds": 0.000640542,
              "decode_seconds": 0.033386917,
              "fixed_scan_seconds": 0.034074834,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034554167,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.4542e-05,
              "prefill_seconds": 0.000354542,
              "decode_seconds": 0.00257875,
              "fixed_scan_seconds": 0.002980834,
              "memory_bytes": {
                "before": 290048,
                "peak": 776704,
                "peak_increment": 486656,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 776704,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004276459,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 485632,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 4.85e-05,
              "prefill_seconds": 0.000654875,
              "decode_seconds": 0.033191334,
              "fixed_scan_seconds": 0.033898708,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034057,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.1875e-05,
              "prefill_seconds": 0.000342042,
              "decode_seconds": 0.0026395,
              "fixed_scan_seconds": 0.003033167,
              "memory_bytes": {
                "before": 290048,
                "peak": 776704,
                "peak_increment": 486656,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 776704,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004505667,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 485632,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float64-01-candidate.jsonl",
        "raw_sha256": "1f9f9d34cfd9b9b9d56ef1a5e43729126429b87149a3d9283e0d489856c5ec24",
        "stderr_file": "short-cpu-Float64-01-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 1.8041124150158794e-16,
          "max_scaled_logit_error": 1.6229691081735398e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 4.1708e-05,
              "prefill_seconds": 0.000667459,
              "decode_seconds": 0.0338725,
              "fixed_scan_seconds": 0.034593125,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034452833,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 5.25e-05,
              "prefill_seconds": 0.000636417,
              "decode_seconds": 0.00486425,
              "fixed_scan_seconds": 0.005557708,
              "memory_bytes": {
                "before": 290048,
                "peak": 781616,
                "peak_increment": 491568,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 781616,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.00657325,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 487440,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 4.1916e-05,
              "prefill_seconds": 0.000683625,
              "decode_seconds": 0.03350175,
              "fixed_scan_seconds": 0.034235958,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034439417,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.2709e-05,
              "prefill_seconds": 0.000613541,
              "decode_seconds": 0.004842208,
              "fixed_scan_seconds": 0.005501875,
              "memory_bytes": {
                "before": 290048,
                "peak": 781616,
                "peak_increment": 491568,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 781616,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.006613791,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 487440,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float64-01-baseline.jsonl",
        "raw_sha256": "f9bd21003a95e09e29dfdd283db6dd61b29593d6f4f200f702a1f1ff4f580703",
        "stderr_file": "short-cpu-Float64-01-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "mps",
      "dtype": "Float32",
      "pair": 2,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "model_fingerprint": "cc8eb03bea7f1ace738482f2efff4c1a3b845964d5bab07fac7a7d9455455bd7",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 9.685754776000977e-08,
          "max_scaled_logit_error": 9.242636391134113e-08,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 2.2417e-05,
              "prefill_seconds": 0.007932167,
              "decode_seconds": 0.267166791,
              "fixed_scan_seconds": 0.275142709,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.2729155,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.1917e-05,
              "prefill_seconds": 0.008521209,
              "decode_seconds": 0.280942292,
              "fixed_scan_seconds": 0.289509709,
              "memory_bytes": {
                "before": 435072,
                "peak": 535840,
                "peak_increment": 100768,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 245792,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.272313791,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 98704,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.2667e-05,
              "prefill_seconds": 0.007598125,
              "decode_seconds": 0.247468375,
              "fixed_scan_seconds": 0.255111625,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.260507166,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.0292e-05,
              "prefill_seconds": 0.00817125,
              "decode_seconds": 0.28969925,
              "fixed_scan_seconds": 0.297919917,
              "memory_bytes": {
                "before": 435072,
                "peak": 535840,
                "peak_increment": 100768,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 245792,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.268270958,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 98704,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-mps-Float32-02-baseline.jsonl",
        "raw_sha256": "f17859e74aac68366d4218179429c2f50468f4a387fccda7f78fb25b6a0e0cf5",
        "stderr_file": "short-mps-Float32-02-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "model_fingerprint": "2d2be207da3217b65a6f7c44d3abe317c06d1aa9c4e4429c96feee2fcd79138b",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 9.685754776000977e-08,
          "max_scaled_logit_error": 9.2784220755701e-08,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 4.7208e-05,
              "prefill_seconds": 0.007985667,
              "decode_seconds": 0.261807459,
              "fixed_scan_seconds": 0.269861375,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.271151458,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 1.9916e-05,
              "prefill_seconds": 0.004500958,
              "decode_seconds": 0.142812959,
              "fixed_scan_seconds": 0.147357958,
              "memory_bytes": {
                "before": 435072,
                "peak": 533376,
                "peak_increment": 98304,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 290048,
                "device_peak": 243328,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.1337925,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 97792,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 3.625e-05,
              "prefill_seconds": 0.007380917,
              "decode_seconds": 0.244343791,
              "fixed_scan_seconds": 0.251782542,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.260041833,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.0791e-05,
              "prefill_seconds": 0.004430167,
              "decode_seconds": 0.129620084,
              "fixed_scan_seconds": 0.134112958,
              "memory_bytes": {
                "before": 435072,
                "peak": 533376,
                "peak_increment": 98304,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 290048,
                "device_peak": 243328,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.12951975,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 97792,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-mps-Float32-02-candidate.jsonl",
        "raw_sha256": "13f99ec4640d609ada28c0ba65527b7a23a7b271ee749cc90260f0c10559b8ba",
        "stderr_file": "short-mps-Float32-02-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "cpu",
      "dtype": "Float64",
      "pair": 2,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 3.885780586188048e-16,
          "max_scaled_logit_error": 3.406964511810042e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000156083,
              "prefill_seconds": 0.005323125,
              "decode_seconds": 0.476025042,
              "fixed_scan_seconds": 0.481509708,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.478147125,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000160375,
              "prefill_seconds": 0.005352125,
              "decode_seconds": 0.036234542,
              "fixed_scan_seconds": 0.041753583,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3848192,
                "peak_increment": 2809344,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3848192,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.044161875,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2809344,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000146375,
              "prefill_seconds": 0.005135625,
              "decode_seconds": 0.488908958,
              "fixed_scan_seconds": 0.494197,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.476548542,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.00016175,
              "prefill_seconds": 0.005200042,
              "decode_seconds": 0.0359175,
              "fixed_scan_seconds": 0.041283834,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3848192,
                "peak_increment": 2809344,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3848192,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.0437595,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2809344,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float64-02-baseline.jsonl",
        "raw_sha256": "5d2ae4dc1ced7d7b5bb7bd3c1558782607fad2e095e0015912719e41a56b0d36",
        "stderr_file": "long-cpu-Float64-02-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 3.3306690738754696e-16,
          "max_scaled_logit_error": 3.1757564557461897e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000150875,
              "prefill_seconds": 0.005213792,
              "decode_seconds": 0.480105083,
              "fixed_scan_seconds": 0.485476,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.478335334,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000175458,
              "prefill_seconds": 0.003061,
              "decode_seconds": 0.017040041,
              "fixed_scan_seconds": 0.0202815,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3519488,
                "peak_increment": 2480640,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3519488,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.022769958,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2478592,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000172083,
              "prefill_seconds": 0.005356167,
              "decode_seconds": 0.478817292,
              "fixed_scan_seconds": 0.484350625,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.479213792,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000154125,
              "prefill_seconds": 0.003004292,
              "decode_seconds": 0.016853791,
              "fixed_scan_seconds": 0.020017584,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3519488,
                "peak_increment": 2480640,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3519488,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.021919042,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2478592,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float64-02-candidate.jsonl",
        "raw_sha256": "c0dcf98746563d194b9ce8c677b9b432d72123639771a6da5103178a21dfbd92",
        "stderr_file": "long-cpu-Float64-02-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "cpu",
      "dtype": "Float32",
      "pair": 2,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "model_fingerprint": "94781c146a1ca9e3843bd9a760cabd2427af797cdef5bea49c148478c079e2ab",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.00023175,
              "prefill_seconds": 0.005870667,
              "decode_seconds": 0.518539667,
              "fixed_scan_seconds": 0.524649125,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.515665583,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.0002105,
              "prefill_seconds": 0.005594625,
              "decode_seconds": 0.038905083,
              "fixed_scan_seconds": 0.044717084,
              "memory_bytes": {
                "before": 2597120,
                "peak": 6811136,
                "peak_increment": 4214016,
                "live_session": 4748324,
                "after": 2597120,
                "host_peak": 6811136,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 589824,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.047056167,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4214016,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000192416,
              "prefill_seconds": 0.005869625,
              "decode_seconds": 0.516636792,
              "fixed_scan_seconds": 0.522711292,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.521215666,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000210625,
              "prefill_seconds": 0.005726375,
              "decode_seconds": 0.03865025,
              "fixed_scan_seconds": 0.044594333,
              "memory_bytes": {
                "before": 2597120,
                "peak": 6811136,
                "peak_increment": 4214016,
                "live_session": 4748324,
                "after": 2597120,
                "host_peak": 6811136,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 589824,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.047473583,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4214016,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float32-02-baseline.jsonl",
        "raw_sha256": "05274192fe41e365ce2b21a145af31e7c54aa0a8b525f5cd1e223c2189e81b9d",
        "stderr_file": "long-cpu-Float32-02-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "model_fingerprint": "cc1b4b295208e754dccc536f1f7d54d957c793a461e56a923a312ca494ad58ab",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000221,
              "prefill_seconds": 0.005908958,
              "decode_seconds": 0.520395209,
              "fixed_scan_seconds": 0.526537542,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.520123125,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000235833,
              "prefill_seconds": 0.003287958,
              "decode_seconds": 0.017895458,
              "fixed_scan_seconds": 0.021429125,
              "memory_bytes": {
                "before": 2597120,
                "peak": 5924864,
                "peak_increment": 3327744,
                "live_session": 4355108,
                "after": 2597120,
                "host_peak": 5924864,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.023322083,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 3326720,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000202416,
              "prefill_seconds": 0.005547375,
              "decode_seconds": 0.520813,
              "fixed_scan_seconds": 0.5265695,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.52053925,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000256209,
              "prefill_seconds": 0.003356041,
              "decode_seconds": 0.017536209,
              "fixed_scan_seconds": 0.021156583,
              "memory_bytes": {
                "before": 2597120,
                "peak": 5924864,
                "peak_increment": 3327744,
                "live_session": 4355108,
                "after": 2597120,
                "host_peak": 5924864,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.023830709,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 3326720,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float32-02-candidate.jsonl",
        "raw_sha256": "713742ab37d32f9ddac44e25ebc959b175283be666a4f14f8ecd180cf295c2bd",
        "stderr_file": "long-cpu-Float32-02-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "mps",
      "dtype": "Float32",
      "pair": 2,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "model_fingerprint": "38ca3847f08c4af4a47482156aab32e772f890194f5be06b3fe039a388d9e703",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 1.7881393432617188e-07,
          "max_scaled_logit_error": 1.4103367994539792e-07,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 2.6666e-05,
              "prefill_seconds": 0.009664708,
              "decode_seconds": 0.686863583,
              "fixed_scan_seconds": 0.696591916,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.683055458,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.15e-05,
              "prefill_seconds": 0.009723875,
              "decode_seconds": 0.578292959,
              "fixed_scan_seconds": 0.588074209,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2672896,
                "peak_increment": 1114624,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 1634048,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.566310708,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1114624,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.1791e-05,
              "prefill_seconds": 0.009590792,
              "decode_seconds": 0.675925875,
              "fixed_scan_seconds": 0.685559833,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.700707958,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.2875e-05,
              "prefill_seconds": 0.009544417,
              "decode_seconds": 0.57460525,
              "fixed_scan_seconds": 0.584205833,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2672896,
                "peak_increment": 1114624,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 1634048,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.568862625,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1114624,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-mps-Float32-02-baseline.jsonl",
        "raw_sha256": "f4b3fd828d820cd36060db96ceb4f5046812cf0e1b83a67b49095f22d0cc00e6",
        "stderr_file": "long-mps-Float32-02-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "model_fingerprint": "6fabafcdbf2401be7deef23e876f63c01f9c4c48c54a008bb5e2798a25d85e97",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 1.7881393432617188e-07,
          "max_scaled_logit_error": 1.594650860629083e-07,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 2.1959e-05,
              "prefill_seconds": 0.009705834,
              "decode_seconds": 0.65419,
              "fixed_scan_seconds": 0.663935583,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.655431,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.8541e-05,
              "prefill_seconds": 0.004936625,
              "decode_seconds": 0.274782167,
              "fixed_scan_seconds": 0.279773708,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2279168,
                "peak_increment": 720896,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1038848,
                "device_peak": 1240320,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.270136,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 719872,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 1.8291e-05,
              "prefill_seconds": 0.009635292,
              "decode_seconds": 0.680101791,
              "fixed_scan_seconds": 0.689779208,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.664056083,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.3625e-05,
              "prefill_seconds": 0.004527958,
              "decode_seconds": 0.267879458,
              "fixed_scan_seconds": 0.272451709,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2279168,
                "peak_increment": 720896,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1038848,
                "device_peak": 1240320,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.287336708,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 719872,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-mps-Float32-02-candidate.jsonl",
        "raw_sha256": "4650676417f0a60283eb553b748f5d8478f9442103686a4619a07979e3f10826",
        "stderr_file": "long-mps-Float32-02-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "cpu",
      "dtype": "Float64",
      "pair": 2,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 1.8041124150158794e-16,
          "max_scaled_logit_error": 1.6229691081735398e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 4.3583e-05,
              "prefill_seconds": 0.000652208,
              "decode_seconds": 0.03358175,
              "fixed_scan_seconds": 0.034280375,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.033972417,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.4125e-05,
              "prefill_seconds": 0.000600417,
              "decode_seconds": 0.004603167,
              "fixed_scan_seconds": 0.005251125,
              "memory_bytes": {
                "before": 290048,
                "peak": 781616,
                "peak_increment": 491568,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 781616,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.006329333,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 487440,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 4.0292e-05,
              "prefill_seconds": 0.000635666,
              "decode_seconds": 0.032372292,
              "fixed_scan_seconds": 0.033050708,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.033006291,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.4541e-05,
              "prefill_seconds": 0.000604709,
              "decode_seconds": 0.004595709,
              "fixed_scan_seconds": 0.005247916,
              "memory_bytes": {
                "before": 290048,
                "peak": 781616,
                "peak_increment": 491568,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 781616,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.006343208,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 487440,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float64-02-baseline.jsonl",
        "raw_sha256": "9a2134e8e9397d0d2617f188eaaae1cdc08641f466df1b977de0c29a66826ec6",
        "stderr_file": "short-cpu-Float64-02-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 2.220446049250313e-16,
          "max_scaled_logit_error": 1.9304687922993705e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 5.35e-05,
              "prefill_seconds": 0.000655375,
              "decode_seconds": 0.033929916,
              "fixed_scan_seconds": 0.034655584,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034378334,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 5.3416e-05,
              "prefill_seconds": 0.000362084,
              "decode_seconds": 0.002707958,
              "fixed_scan_seconds": 0.003128417,
              "memory_bytes": {
                "before": 290048,
                "peak": 776704,
                "peak_increment": 486656,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 776704,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004413709,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 485632,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 5.2375e-05,
              "prefill_seconds": 0.000656292,
              "decode_seconds": 0.033274625,
              "fixed_scan_seconds": 0.033988,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.03404575,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 5.5e-05,
              "prefill_seconds": 0.000350958,
              "decode_seconds": 0.002576417,
              "fixed_scan_seconds": 0.002985417,
              "memory_bytes": {
                "before": 290048,
                "peak": 776704,
                "peak_increment": 486656,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 776704,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004438833,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 485632,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float64-02-candidate.jsonl",
        "raw_sha256": "609ad10f85e5d948ac35d970e0792f00357186a0eac469347fba9978b2fcbb13",
        "stderr_file": "short-cpu-Float64-02-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "cpu",
      "dtype": "Float32",
      "pair": 2,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "model_fingerprint": "c4293cb14ac23b5d7e20db06dfab2bf3d90f0f42ce34aedf0bc3545d323359ac",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 7.1875e-05,
              "prefill_seconds": 0.000719292,
              "decode_seconds": 0.03670625,
              "fixed_scan_seconds": 0.037504083,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.038298209,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.0001055,
              "prefill_seconds": 0.00075675,
              "decode_seconds": 0.005415583,
              "fixed_scan_seconds": 0.006284042,
              "memory_bytes": {
                "before": 725120,
                "peak": 1462472,
                "peak_increment": 737352,
                "live_session": 1261604,
                "after": 725120,
                "host_peak": 1462472,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 98304,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.009058791,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 731160,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 7.6792e-05,
              "prefill_seconds": 0.00074725,
              "decode_seconds": 0.039014333,
              "fixed_scan_seconds": 0.039845209,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.037578583,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000132542,
              "prefill_seconds": 0.008166584,
              "decode_seconds": 0.007451792,
              "fixed_scan_seconds": 0.015759084,
              "memory_bytes": {
                "before": 725120,
                "peak": 1462472,
                "peak_increment": 737352,
                "live_session": 1261604,
                "after": 725120,
                "host_peak": 1462472,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 98304,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.008693041,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 731160,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float32-02-baseline.jsonl",
        "raw_sha256": "81d4d6165ddcc7818214a3dd3a08ac1710e6020b1a2a6c22d646b82c9958e960",
        "stderr_file": "short-cpu-Float32-02-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "model_fingerprint": "2838d1228465ce26731c5e13a5bc007a5058cf156e3d5ce3b7971b7a14131bf2",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 6.6875e-05,
              "prefill_seconds": 0.000757708,
              "decode_seconds": 0.037541583,
              "fixed_scan_seconds": 0.038375792,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.037954,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 7.4917e-05,
              "prefill_seconds": 0.000428208,
              "decode_seconds": 0.002953875,
              "fixed_scan_seconds": 0.003460667,
              "memory_bytes": {
                "before": 725120,
                "peak": 1389568,
                "peak_increment": 664448,
                "live_session": 1196068,
                "after": 725120,
                "host_peak": 1389568,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004767292,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 663936,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 6.4541e-05,
              "prefill_seconds": 0.000756417,
              "decode_seconds": 0.037108875,
              "fixed_scan_seconds": 0.037935,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.037590459,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 7.0917e-05,
              "prefill_seconds": 0.000420291,
              "decode_seconds": 0.002904125,
              "fixed_scan_seconds": 0.003402708,
              "memory_bytes": {
                "before": 725120,
                "peak": 1389568,
                "peak_increment": 664448,
                "live_session": 1196068,
                "after": 725120,
                "host_peak": 1389568,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.0045935,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 663936,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float32-02-candidate.jsonl",
        "raw_sha256": "bf4a07d99a8f452bb91bcf185ca027fd0c97c6d8cf49efd2ad3fdd1addabeac8",
        "stderr_file": "short-cpu-Float32-02-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "cpu",
      "dtype": "Float64",
      "pair": 3,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 3.3306690738754696e-16,
          "max_scaled_logit_error": 3.1757564557461897e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000146625,
              "prefill_seconds": 0.005351625,
              "decode_seconds": 0.479451583,
              "fixed_scan_seconds": 0.484956209,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.481379375,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000185666,
              "prefill_seconds": 0.003014209,
              "decode_seconds": 0.016658417,
              "fixed_scan_seconds": 0.01986525,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3519488,
                "peak_increment": 2480640,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3519488,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.022192208,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2478592,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000140583,
              "prefill_seconds": 0.005127542,
              "decode_seconds": 0.461992792,
              "fixed_scan_seconds": 0.467264792,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.4609455,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000184083,
              "prefill_seconds": 0.002921375,
              "decode_seconds": 0.01621,
              "fixed_scan_seconds": 0.0193215,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3519488,
                "peak_increment": 2480640,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3519488,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.021778708,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2478592,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float64-03-candidate.jsonl",
        "raw_sha256": "1e2bfb9109d2eebf45ae7b38e44d59b9dc0ae95e24147a5e846983700414df85",
        "stderr_file": "long-cpu-Float64-03-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 3.885780586188048e-16,
          "max_scaled_logit_error": 3.406964511810042e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000145416,
              "prefill_seconds": 0.00541125,
              "decode_seconds": 0.474124458,
              "fixed_scan_seconds": 0.479686292,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.476193708,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000154416,
              "prefill_seconds": 0.005153417,
              "decode_seconds": 0.036256958,
              "fixed_scan_seconds": 0.041570125,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3848192,
                "peak_increment": 2809344,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3848192,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.043958167,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2809344,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000142792,
              "prefill_seconds": 0.005323583,
              "decode_seconds": 0.480751833,
              "fixed_scan_seconds": 0.48622475,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.478444667,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000164083,
              "prefill_seconds": 0.005209916,
              "decode_seconds": 0.035892292,
              "fixed_scan_seconds": 0.041272,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3848192,
                "peak_increment": 2809344,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3848192,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.04406825,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2809344,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float64-03-baseline.jsonl",
        "raw_sha256": "479d57a45922be9990ce59d2c01269cc398cf8bfc2e026fbc62f05704ea252fc",
        "stderr_file": "long-cpu-Float64-03-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "cpu",
      "dtype": "Float32",
      "pair": 3,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "model_fingerprint": "cc1b4b295208e754dccc536f1f7d54d957c793a461e56a923a312ca494ad58ab",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000228833,
              "prefill_seconds": 0.005630458,
              "decode_seconds": 0.522918917,
              "fixed_scan_seconds": 0.528783708,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.517516334,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000203125,
              "prefill_seconds": 0.003260667,
              "decode_seconds": 0.017471167,
              "fixed_scan_seconds": 0.020941625,
              "memory_bytes": {
                "before": 2597120,
                "peak": 5924864,
                "peak_increment": 3327744,
                "live_session": 4355108,
                "after": 2597120,
                "host_peak": 5924864,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.023919916,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 3326720,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000201709,
              "prefill_seconds": 0.005692917,
              "decode_seconds": 0.51584975,
              "fixed_scan_seconds": 0.521752667,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.522962375,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000213834,
              "prefill_seconds": 0.003251875,
              "decode_seconds": 0.017920042,
              "fixed_scan_seconds": 0.021390959,
              "memory_bytes": {
                "before": 2597120,
                "peak": 5924864,
                "peak_increment": 3327744,
                "live_session": 4355108,
                "after": 2597120,
                "host_peak": 5924864,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.023722459,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 3326720,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float32-03-candidate.jsonl",
        "raw_sha256": "90836c49763f066d871bff8a978a58b9e4a204f31fbf4bf44f56a5b16356ffd5",
        "stderr_file": "long-cpu-Float32-03-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "model_fingerprint": "94781c146a1ca9e3843bd9a760cabd2427af797cdef5bea49c148478c079e2ab",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000202708,
              "prefill_seconds": 0.0055935,
              "decode_seconds": 0.495735,
              "fixed_scan_seconds": 0.501537625,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.494245791,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.00019575,
              "prefill_seconds": 0.005385166,
              "decode_seconds": 0.037722792,
              "fixed_scan_seconds": 0.043308625,
              "memory_bytes": {
                "before": 2597120,
                "peak": 6811136,
                "peak_increment": 4214016,
                "live_session": 4748324,
                "after": 2597120,
                "host_peak": 6811136,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 589824,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.045772375,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4214016,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000192625,
              "prefill_seconds": 0.005550916,
              "decode_seconds": 0.496640375,
              "fixed_scan_seconds": 0.502390208,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.494072666,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000200667,
              "prefill_seconds": 0.005383792,
              "decode_seconds": 0.037660375,
              "fixed_scan_seconds": 0.043249542,
              "memory_bytes": {
                "before": 2597120,
                "peak": 6811136,
                "peak_increment": 4214016,
                "live_session": 4748324,
                "after": 2597120,
                "host_peak": 6811136,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 589824,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.045796917,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4214016,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float32-03-baseline.jsonl",
        "raw_sha256": "0b6e8dba5f4669b8781be019b29507540048b5f755d14b44131a17b1402b91ea",
        "stderr_file": "long-cpu-Float32-03-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "mps",
      "dtype": "Float32",
      "pair": 3,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "model_fingerprint": "6fabafcdbf2401be7deef23e876f63c01f9c4c48c54a008bb5e2798a25d85e97",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 1.7881393432617188e-07,
          "max_scaled_logit_error": 1.594650860629083e-07,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 2.5084e-05,
              "prefill_seconds": 0.009787125,
              "decode_seconds": 0.660567375,
              "fixed_scan_seconds": 0.670406,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.658266417,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.7334e-05,
              "prefill_seconds": 0.004621209,
              "decode_seconds": 0.277712292,
              "fixed_scan_seconds": 0.282388125,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2279168,
                "peak_increment": 720896,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1038848,
                "device_peak": 1240320,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.298196958,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 719872,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.3292e-05,
              "prefill_seconds": 0.00990125,
              "decode_seconds": 0.694489792,
              "fixed_scan_seconds": 0.704444917,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.692805792,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.1667e-05,
              "prefill_seconds": 0.00529675,
              "decode_seconds": 0.341350708,
              "fixed_scan_seconds": 0.346696541,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2279168,
                "peak_increment": 720896,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1038848,
                "device_peak": 1240320,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.285472958,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 719872,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-mps-Float32-03-candidate.jsonl",
        "raw_sha256": "c933e405030bfcd6ef6ff34d3e2afc39a278aeb38ff237924c9aa79db7174213",
        "stderr_file": "long-mps-Float32-03-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "model_fingerprint": "38ca3847f08c4af4a47482156aab32e772f890194f5be06b3fe039a388d9e703",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 1.7881393432617188e-07,
          "max_scaled_logit_error": 1.4103367994539792e-07,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 1.75e-05,
              "prefill_seconds": 0.009538375,
              "decode_seconds": 0.679951375,
              "fixed_scan_seconds": 0.689533584,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.791597875,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.1958e-05,
              "prefill_seconds": 0.010889667,
              "decode_seconds": 0.8422655,
              "fixed_scan_seconds": 0.85320675,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2672896,
                "peak_increment": 1114624,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 1634048,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.663427208,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1114624,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.4042e-05,
              "prefill_seconds": 0.009723875,
              "decode_seconds": 0.703682125,
              "fixed_scan_seconds": 0.713452208,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.697809708,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.4667e-05,
              "prefill_seconds": 0.009391042,
              "decode_seconds": 0.651854041,
              "fixed_scan_seconds": 0.661296917,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2672896,
                "peak_increment": 1114624,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 1634048,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.584756041,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1114624,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-mps-Float32-03-baseline.jsonl",
        "raw_sha256": "c04b189b75c1b74475ac76938ea5ec21425cbf2272a3e866a2d0a1ffb83ec2c7",
        "stderr_file": "long-mps-Float32-03-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "cpu",
      "dtype": "Float64",
      "pair": 3,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 2.220446049250313e-16,
          "max_scaled_logit_error": 1.9304687922993705e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 4.075e-05,
              "prefill_seconds": 0.000655167,
              "decode_seconds": 0.033785709,
              "fixed_scan_seconds": 0.034485125,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034277833,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.5375e-05,
              "prefill_seconds": 0.000355917,
              "decode_seconds": 0.002671292,
              "fixed_scan_seconds": 0.003078334,
              "memory_bytes": {
                "before": 290048,
                "peak": 776704,
                "peak_increment": 486656,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 776704,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004496167,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 485632,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 4.1083e-05,
              "prefill_seconds": 0.000672125,
              "decode_seconds": 0.0334455,
              "fixed_scan_seconds": 0.034162208,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034793541,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.8541e-05,
              "prefill_seconds": 0.0003605,
              "decode_seconds": 0.002588333,
              "fixed_scan_seconds": 0.003000833,
              "memory_bytes": {
                "before": 290048,
                "peak": 776704,
                "peak_increment": 486656,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 776704,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004429208,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 485632,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float64-03-candidate.jsonl",
        "raw_sha256": "eec96a27a4827a0b1e02fdf84fc955004f2926edef5fd20d11c71b49124d4adf",
        "stderr_file": "short-cpu-Float64-03-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 1.8041124150158794e-16,
          "max_scaled_logit_error": 1.6229691081735398e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 4.6291e-05,
              "prefill_seconds": 0.000650042,
              "decode_seconds": 0.034103834,
              "fixed_scan_seconds": 0.034805,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034395833,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.7292e-05,
              "prefill_seconds": 0.000616792,
              "decode_seconds": 0.004874416,
              "fixed_scan_seconds": 0.005544542,
              "memory_bytes": {
                "before": 290048,
                "peak": 781616,
                "peak_increment": 491568,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 781616,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.006692917,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 487440,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 4.8417e-05,
              "prefill_seconds": 0.000671208,
              "decode_seconds": 0.03363825,
              "fixed_scan_seconds": 0.034362541,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034392459,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.775e-05,
              "prefill_seconds": 0.0006365,
              "decode_seconds": 0.004699666,
              "fixed_scan_seconds": 0.005387875,
              "memory_bytes": {
                "before": 290048,
                "peak": 781616,
                "peak_increment": 491568,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 781616,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.006655084,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 487440,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float64-03-baseline.jsonl",
        "raw_sha256": "5604103423a5a55dfc4cd9561915166437d7bd7036a50752bbdcfd26145d3781",
        "stderr_file": "short-cpu-Float64-03-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "cpu",
      "dtype": "Float32",
      "pair": 3,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "model_fingerprint": "2838d1228465ce26731c5e13a5bc007a5058cf156e3d5ce3b7971b7a14131bf2",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 7.0458e-05,
              "prefill_seconds": 0.000724625,
              "decode_seconds": 0.03592475,
              "fixed_scan_seconds": 0.03672525,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.0358965,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 5.9584e-05,
              "prefill_seconds": 0.000397792,
              "decode_seconds": 0.002862,
              "fixed_scan_seconds": 0.003322833,
              "memory_bytes": {
                "before": 725120,
                "peak": 1389568,
                "peak_increment": 664448,
                "live_session": 1196068,
                "after": 725120,
                "host_peak": 1389568,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.00453975,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 663936,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 5.8167e-05,
              "prefill_seconds": 0.0007145,
              "decode_seconds": 0.036555417,
              "fixed_scan_seconds": 0.037332708,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.03722625,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 5.6042e-05,
              "prefill_seconds": 0.000383792,
              "decode_seconds": 0.002946541,
              "fixed_scan_seconds": 0.0033905,
              "memory_bytes": {
                "before": 725120,
                "peak": 1389568,
                "peak_increment": 664448,
                "live_session": 1196068,
                "after": 725120,
                "host_peak": 1389568,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.00456275,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 663936,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float32-03-candidate.jsonl",
        "raw_sha256": "9252544d92a3fcf339f62941b5183c2b812acc2bba1dd7202a2d7bde784c92f0",
        "stderr_file": "short-cpu-Float32-03-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "model_fingerprint": "c4293cb14ac23b5d7e20db06dfab2bf3d90f0f42ce34aedf0bc3545d323359ac",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 6.0208e-05,
              "prefill_seconds": 0.000716292,
              "decode_seconds": 0.036693334,
              "fixed_scan_seconds": 0.037475458,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.0376175,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 8.6583e-05,
              "prefill_seconds": 0.000754083,
              "decode_seconds": 0.005496083,
              "fixed_scan_seconds": 0.006340875,
              "memory_bytes": {
                "before": 725120,
                "peak": 1462472,
                "peak_increment": 737352,
                "live_session": 1261604,
                "after": 725120,
                "host_peak": 1462472,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 98304,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.007442125,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 731160,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 5.8083e-05,
              "prefill_seconds": 0.000725,
              "decode_seconds": 0.03682025,
              "fixed_scan_seconds": 0.03761075,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.037027041,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 6.0917e-05,
              "prefill_seconds": 0.000680833,
              "decode_seconds": 0.005410167,
              "fixed_scan_seconds": 0.006156291,
              "memory_bytes": {
                "before": 725120,
                "peak": 1462472,
                "peak_increment": 737352,
                "live_session": 1261604,
                "after": 725120,
                "host_peak": 1462472,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 98304,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.007242333,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 731160,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float32-03-baseline.jsonl",
        "raw_sha256": "39a0999aa1e76b6785f5a487006be360c5213d70b868e868bcd24339cd22b117",
        "stderr_file": "short-cpu-Float32-03-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "mps",
      "dtype": "Float32",
      "pair": 3,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "model_fingerprint": "2d2be207da3217b65a6f7c44d3abe317c06d1aa9c4e4429c96feee2fcd79138b",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 9.685754776000977e-08,
          "max_scaled_logit_error": 9.2784220755701e-08,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 1.9041e-05,
              "prefill_seconds": 0.007298709,
              "decode_seconds": 0.26969125,
              "fixed_scan_seconds": 0.277034167,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.260369667,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.6292e-05,
              "prefill_seconds": 0.006335291,
              "decode_seconds": 0.16677375,
              "fixed_scan_seconds": 0.173162125,
              "memory_bytes": {
                "before": 435072,
                "peak": 533376,
                "peak_increment": 98304,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 290048,
                "device_peak": 243328,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.13878575,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 97792,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.1167e-05,
              "prefill_seconds": 0.008509042,
              "decode_seconds": 0.274645958,
              "fixed_scan_seconds": 0.28320175,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.263230792,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 1.8416e-05,
              "prefill_seconds": 0.004852333,
              "decode_seconds": 0.142509583,
              "fixed_scan_seconds": 0.147411125,
              "memory_bytes": {
                "before": 435072,
                "peak": 533376,
                "peak_increment": 98304,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 290048,
                "device_peak": 243328,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.143265541,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 97792,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-mps-Float32-03-candidate.jsonl",
        "raw_sha256": "cd1c2e9536ca8352cdca7c247a458f7e9d9c23bf4dcf62d463c9ae3f23fc418e",
        "stderr_file": "short-mps-Float32-03-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "model_fingerprint": "cc8eb03bea7f1ace738482f2efff4c1a3b845964d5bab07fac7a7d9455455bd7",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 9.685754776000977e-08,
          "max_scaled_logit_error": 9.242636391134113e-08,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 1.7542e-05,
              "prefill_seconds": 0.007624375,
              "decode_seconds": 0.268078875,
              "fixed_scan_seconds": 0.275738125,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.264686959,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 1.825e-05,
              "prefill_seconds": 0.007938041,
              "decode_seconds": 0.282937125,
              "fixed_scan_seconds": 0.290921792,
              "memory_bytes": {
                "before": 435072,
                "peak": 535840,
                "peak_increment": 100768,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 245792,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.293372667,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 98704,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.2e-05,
              "prefill_seconds": 0.007238791,
              "decode_seconds": 0.263681042,
              "fixed_scan_seconds": 0.270963292,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.2663925,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 8.0375e-05,
              "prefill_seconds": 0.00937825,
              "decode_seconds": 0.315303459,
              "fixed_scan_seconds": 0.324792583,
              "memory_bytes": {
                "before": 435072,
                "peak": 535840,
                "peak_increment": 100768,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 245792,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.278781625,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 98704,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-mps-Float32-03-baseline.jsonl",
        "raw_sha256": "261bb37c704d80aec677a03b784e2700d7c1909ccd37e46206475ddbbd8bd7ba",
        "stderr_file": "short-mps-Float32-03-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "cpu",
      "dtype": "Float32",
      "pair": 4,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "model_fingerprint": "94781c146a1ca9e3843bd9a760cabd2427af797cdef5bea49c148478c079e2ab",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000207291,
              "prefill_seconds": 0.005893708,
              "decode_seconds": 0.511827459,
              "fixed_scan_seconds": 0.517937541,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.503494959,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000211958,
              "prefill_seconds": 0.005554875,
              "decode_seconds": 0.038465292,
              "fixed_scan_seconds": 0.04423975,
              "memory_bytes": {
                "before": 2597120,
                "peak": 6811136,
                "peak_increment": 4214016,
                "live_session": 4748324,
                "after": 2597120,
                "host_peak": 6811136,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 589824,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.046682708,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4214016,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000200708,
              "prefill_seconds": 0.005707625,
              "decode_seconds": 0.515951666,
              "fixed_scan_seconds": 0.52187275,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.515288959,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000235,
              "prefill_seconds": 0.005640041,
              "decode_seconds": 0.038596958,
              "fixed_scan_seconds": 0.044480083,
              "memory_bytes": {
                "before": 2597120,
                "peak": 6811136,
                "peak_increment": 4214016,
                "live_session": 4748324,
                "after": 2597120,
                "host_peak": 6811136,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 589824,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.046694875,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4214016,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float32-04-baseline.jsonl",
        "raw_sha256": "71b4c2d9a94cb33e3c325d1e522f61f892569b2ef178fecadd38aaa33c8558c4",
        "stderr_file": "long-cpu-Float32-04-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "model_fingerprint": "cc1b4b295208e754dccc536f1f7d54d957c793a461e56a923a312ca494ad58ab",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000200125,
              "prefill_seconds": 0.005709125,
              "decode_seconds": 0.516952625,
              "fixed_scan_seconds": 0.522870875,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.516252875,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000194334,
              "prefill_seconds": 0.003152666,
              "decode_seconds": 0.01782825,
              "fixed_scan_seconds": 0.021182334,
              "memory_bytes": {
                "before": 2597120,
                "peak": 5924864,
                "peak_increment": 3327744,
                "live_session": 4355108,
                "after": 2597120,
                "host_peak": 5924864,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.023473458,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 3326720,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000200708,
              "prefill_seconds": 0.00586625,
              "decode_seconds": 0.52037225,
              "fixed_scan_seconds": 0.526447958,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.501146417,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000202167,
              "prefill_seconds": 0.003187125,
              "decode_seconds": 0.017667292,
              "fixed_scan_seconds": 0.021061833,
              "memory_bytes": {
                "before": 2597120,
                "peak": 5924864,
                "peak_increment": 3327744,
                "live_session": 4355108,
                "after": 2597120,
                "host_peak": 5924864,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.023648458,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 3326720,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float32-04-candidate.jsonl",
        "raw_sha256": "eb638d93730d4b4732b2d13e84827b5d440ae2252dc94655b9f2b15126963ac7",
        "stderr_file": "long-cpu-Float32-04-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "mps",
      "dtype": "Float32",
      "pair": 4,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "model_fingerprint": "38ca3847f08c4af4a47482156aab32e772f890194f5be06b3fe039a388d9e703",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 1.7881393432617188e-07,
          "max_scaled_logit_error": 1.4103367994539792e-07,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 2.875e-05,
              "prefill_seconds": 0.009721667,
              "decode_seconds": 0.653890958,
              "fixed_scan_seconds": 0.663661542,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.658781708,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 1.7375e-05,
              "prefill_seconds": 0.009202167,
              "decode_seconds": 0.597250166,
              "fixed_scan_seconds": 0.606499167,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2672896,
                "peak_increment": 1114624,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 1634048,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.611899875,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1114624,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.3375e-05,
              "prefill_seconds": 0.009579625,
              "decode_seconds": 0.669413709,
              "fixed_scan_seconds": 0.679036834,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.665214833,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.1458e-05,
              "prefill_seconds": 0.0101505,
              "decode_seconds": 0.587782458,
              "fixed_scan_seconds": 0.597985292,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2672896,
                "peak_increment": 1114624,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 1634048,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.577036458,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1114624,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-mps-Float32-04-baseline.jsonl",
        "raw_sha256": "1ecaf9793bb4a763a8e156d9597e8d5e467057f812f13b0b9cf6eb1d9254847d",
        "stderr_file": "long-mps-Float32-04-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "model_fingerprint": "6fabafcdbf2401be7deef23e876f63c01f9c4c48c54a008bb5e2798a25d85e97",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 1.7881393432617188e-07,
          "max_scaled_logit_error": 1.594650860629083e-07,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 2.2417e-05,
              "prefill_seconds": 0.010201292,
              "decode_seconds": 0.660255791,
              "fixed_scan_seconds": 0.670504084,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.663229209,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.2583e-05,
              "prefill_seconds": 0.00474525,
              "decode_seconds": 0.282229417,
              "fixed_scan_seconds": 0.287025625,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2279168,
                "peak_increment": 720896,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1038848,
                "device_peak": 1240320,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.286811917,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 719872,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 3e-05,
              "prefill_seconds": 0.009471833,
              "decode_seconds": 0.645532875,
              "fixed_scan_seconds": 0.655056916,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.663029292,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.2334e-05,
              "prefill_seconds": 0.004470959,
              "decode_seconds": 0.281596708,
              "fixed_scan_seconds": 0.286116125,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2279168,
                "peak_increment": 720896,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1038848,
                "device_peak": 1240320,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.27758975,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 719872,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-mps-Float32-04-candidate.jsonl",
        "raw_sha256": "5f218feb5f4e492ee89f1ae112c9b1c8b468726c9e4af44bbe0206cdd28f85c5",
        "stderr_file": "long-mps-Float32-04-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "cpu",
      "dtype": "Float64",
      "pair": 4,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 1.8041124150158794e-16,
          "max_scaled_logit_error": 1.6229691081735398e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 4.8042e-05,
              "prefill_seconds": 0.000641958,
              "decode_seconds": 0.033837541,
              "fixed_scan_seconds": 0.034531375,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034091333,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.5125e-05,
              "prefill_seconds": 0.000606208,
              "decode_seconds": 0.004734875,
              "fixed_scan_seconds": 0.005391833,
              "memory_bytes": {
                "before": 290048,
                "peak": 781616,
                "peak_increment": 491568,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 781616,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.00641475,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 487440,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 4.5542e-05,
              "prefill_seconds": 0.000643792,
              "decode_seconds": 0.033464584,
              "fixed_scan_seconds": 0.03415825,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034039625,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.4708e-05,
              "prefill_seconds": 0.000604458,
              "decode_seconds": 0.004795708,
              "fixed_scan_seconds": 0.005449417,
              "memory_bytes": {
                "before": 290048,
                "peak": 781616,
                "peak_increment": 491568,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 781616,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.00643075,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 487440,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float64-04-baseline.jsonl",
        "raw_sha256": "55937d9ed386de15abdddc293023b90fc0d8331d583f6701ef120894cbf8a812",
        "stderr_file": "short-cpu-Float64-04-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 2.220446049250313e-16,
          "max_scaled_logit_error": 1.9304687922993705e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 4.4667e-05,
              "prefill_seconds": 0.000670625,
              "decode_seconds": 0.033350875,
              "fixed_scan_seconds": 0.034072292,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034533625,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.6541e-05,
              "prefill_seconds": 0.000359583,
              "decode_seconds": 0.002591583,
              "fixed_scan_seconds": 0.003000458,
              "memory_bytes": {
                "before": 290048,
                "peak": 776704,
                "peak_increment": 486656,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 776704,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004419542,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 485632,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 4.6583e-05,
              "prefill_seconds": 0.000680167,
              "decode_seconds": 0.033473416,
              "fixed_scan_seconds": 0.034206708,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034107459,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 5.6625e-05,
              "prefill_seconds": 0.00036275,
              "decode_seconds": 0.002589,
              "fixed_scan_seconds": 0.00301375,
              "memory_bytes": {
                "before": 290048,
                "peak": 776704,
                "peak_increment": 486656,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 776704,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004295291,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 485632,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float64-04-candidate.jsonl",
        "raw_sha256": "189276e540bc5efd1e9ac3bf733b3d0c4911c8426eaee6b2a12048ea2e6fd724",
        "stderr_file": "short-cpu-Float64-04-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "cpu",
      "dtype": "Float32",
      "pair": 4,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "model_fingerprint": "c4293cb14ac23b5d7e20db06dfab2bf3d90f0f42ce34aedf0bc3545d323359ac",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 6.775e-05,
              "prefill_seconds": 0.000700167,
              "decode_seconds": 0.036819958,
              "fixed_scan_seconds": 0.037593333,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.037484084,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 7.4916e-05,
              "prefill_seconds": 0.000685834,
              "decode_seconds": 0.00550775,
              "fixed_scan_seconds": 0.006276125,
              "memory_bytes": {
                "before": 725120,
                "peak": 1462472,
                "peak_increment": 737352,
                "live_session": 1261604,
                "after": 725120,
                "host_peak": 1462472,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 98304,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.007352583,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 731160,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 7.95e-05,
              "prefill_seconds": 0.000762916,
              "decode_seconds": 0.036691417,
              "fixed_scan_seconds": 0.037538583,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.036871167,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 6.1583e-05,
              "prefill_seconds": 0.000767,
              "decode_seconds": 0.005497666,
              "fixed_scan_seconds": 0.006336875,
              "memory_bytes": {
                "before": 725120,
                "peak": 1462472,
                "peak_increment": 737352,
                "live_session": 1261604,
                "after": 725120,
                "host_peak": 1462472,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 98304,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.007467416,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 731160,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float32-04-baseline.jsonl",
        "raw_sha256": "0cac136e751085e9ea6fec3c56750f9fe3f0329e20fdab7bb025425239624c2a",
        "stderr_file": "short-cpu-Float32-04-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "model_fingerprint": "2838d1228465ce26731c5e13a5bc007a5058cf156e3d5ce3b7971b7a14131bf2",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 5.6292e-05,
              "prefill_seconds": 0.00072275,
              "decode_seconds": 0.036640166,
              "fixed_scan_seconds": 0.037428375,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.03687875,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 6.2292e-05,
              "prefill_seconds": 0.00040825,
              "decode_seconds": 0.002941875,
              "fixed_scan_seconds": 0.003416959,
              "memory_bytes": {
                "before": 725120,
                "peak": 1389568,
                "peak_increment": 664448,
                "live_session": 1196068,
                "after": 725120,
                "host_peak": 1389568,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004591125,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 663936,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 8.1542e-05,
              "prefill_seconds": 0.000788875,
              "decode_seconds": 0.036848708,
              "fixed_scan_seconds": 0.037724459,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.042975083,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 6.4541e-05,
              "prefill_seconds": 0.000399792,
              "decode_seconds": 0.002977875,
              "fixed_scan_seconds": 0.003448125,
              "memory_bytes": {
                "before": 725120,
                "peak": 1389568,
                "peak_increment": 664448,
                "live_session": 1196068,
                "after": 725120,
                "host_peak": 1389568,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004723833,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 663936,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float32-04-candidate.jsonl",
        "raw_sha256": "a1dbe06d5872534ec7465d0a4baf92b660b550c43c44374485a8d210f561108c",
        "stderr_file": "short-cpu-Float32-04-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "mps",
      "dtype": "Float32",
      "pair": 4,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "model_fingerprint": "cc8eb03bea7f1ace738482f2efff4c1a3b845964d5bab07fac7a7d9455455bd7",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 9.685754776000977e-08,
          "max_scaled_logit_error": 9.242636391134113e-08,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 1.9708e-05,
              "prefill_seconds": 0.007841625,
              "decode_seconds": 0.259523166,
              "fixed_scan_seconds": 0.267407,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.260835958,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 1.9834e-05,
              "prefill_seconds": 0.008222083,
              "decode_seconds": 0.265657625,
              "fixed_scan_seconds": 0.2739285,
              "memory_bytes": {
                "before": 435072,
                "peak": 535840,
                "peak_increment": 100768,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 245792,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.268591458,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 98704,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.0791e-05,
              "prefill_seconds": 0.007319292,
              "decode_seconds": 0.254630542,
              "fixed_scan_seconds": 0.261992417,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.255752458,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.0542e-05,
              "prefill_seconds": 0.008038458,
              "decode_seconds": 0.261842084,
              "fixed_scan_seconds": 0.269929791,
              "memory_bytes": {
                "before": 435072,
                "peak": 535840,
                "peak_increment": 100768,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 245792,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.264565084,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 98704,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-mps-Float32-04-baseline.jsonl",
        "raw_sha256": "0aef512df06ac77a02231fe6e18c2fc60b700e72b0434a95f94bd16f3e0225a4",
        "stderr_file": "short-mps-Float32-04-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "model_fingerprint": "2d2be207da3217b65a6f7c44d3abe317c06d1aa9c4e4429c96feee2fcd79138b",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 9.685754776000977e-08,
          "max_scaled_logit_error": 9.2784220755701e-08,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 1.9291e-05,
              "prefill_seconds": 0.011792792,
              "decode_seconds": 0.31118,
              "fixed_scan_seconds": 0.323013333,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.279481834,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.45e-05,
              "prefill_seconds": 0.004220667,
              "decode_seconds": 0.162994625,
              "fixed_scan_seconds": 0.167266583,
              "memory_bytes": {
                "before": 435072,
                "peak": 533376,
                "peak_increment": 98304,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 290048,
                "device_peak": 243328,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.180020209,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 97792,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 1.95e-05,
              "prefill_seconds": 0.007714292,
              "decode_seconds": 0.275736833,
              "fixed_scan_seconds": 0.283495375,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.2832785,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.8083e-05,
              "prefill_seconds": 0.005768125,
              "decode_seconds": 0.15530175,
              "fixed_scan_seconds": 0.161122583,
              "memory_bytes": {
                "before": 435072,
                "peak": 533376,
                "peak_increment": 98304,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 290048,
                "device_peak": 243328,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.147486584,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 97792,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-mps-Float32-04-candidate.jsonl",
        "raw_sha256": "5f836fca421be51c2772f116fa37bf2c3ac784ee35b91187601f3824a830ca3d",
        "stderr_file": "short-mps-Float32-04-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "cpu",
      "dtype": "Float64",
      "pair": 4,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 3.885780586188048e-16,
          "max_scaled_logit_error": 3.406964511810042e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000146583,
              "prefill_seconds": 0.005222958,
              "decode_seconds": 0.471896542,
              "fixed_scan_seconds": 0.477270833,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.486301417,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000147666,
              "prefill_seconds": 0.005246458,
              "decode_seconds": 0.036128667,
              "fixed_scan_seconds": 0.04152825,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3848192,
                "peak_increment": 2809344,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3848192,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.04322675,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2809344,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000147208,
              "prefill_seconds": 0.005216042,
              "decode_seconds": 0.471420333,
              "fixed_scan_seconds": 0.476788917,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.469194,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000146875,
              "prefill_seconds": 0.005020125,
              "decode_seconds": 0.036207875,
              "fixed_scan_seconds": 0.041380375,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3848192,
                "peak_increment": 2809344,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3848192,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.045788667,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2809344,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float64-04-baseline.jsonl",
        "raw_sha256": "386bc277e5f7e4eb4a0e793897cbe7343908529518d62ba29d74ac051a9b232a",
        "stderr_file": "long-cpu-Float64-04-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 3.3306690738754696e-16,
          "max_scaled_logit_error": 3.1757564557461897e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.00016925,
              "prefill_seconds": 0.005296833,
              "decode_seconds": 0.478771125,
              "fixed_scan_seconds": 0.484243,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.473322417,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000149375,
              "prefill_seconds": 0.002866417,
              "decode_seconds": 0.016105459,
              "fixed_scan_seconds": 0.019124833,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3519488,
                "peak_increment": 2480640,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3519488,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.032612958,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2478592,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000166125,
              "prefill_seconds": 0.005363292,
              "decode_seconds": 0.472342041,
              "fixed_scan_seconds": 0.477876041,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.469757792,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000148542,
              "prefill_seconds": 0.002915666,
              "decode_seconds": 0.017291417,
              "fixed_scan_seconds": 0.020361625,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3519488,
                "peak_increment": 2480640,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3519488,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.023182041,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2478592,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float64-04-candidate.jsonl",
        "raw_sha256": "ab137159544b53f7769e5d35e32adbd743480a84f1c886e175a9f21d51cde310",
        "stderr_file": "long-cpu-Float64-04-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "mps",
      "dtype": "Float32",
      "pair": 5,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "model_fingerprint": "6fabafcdbf2401be7deef23e876f63c01f9c4c48c54a008bb5e2798a25d85e97",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 1.7881393432617188e-07,
          "max_scaled_logit_error": 1.594650860629083e-07,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 2.1667e-05,
              "prefill_seconds": 0.010788833,
              "decode_seconds": 0.728852291,
              "fixed_scan_seconds": 0.739688125,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.720815833,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.4083e-05,
              "prefill_seconds": 0.004720083,
              "decode_seconds": 0.28473225,
              "fixed_scan_seconds": 0.289512042,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2279168,
                "peak_increment": 720896,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1038848,
                "device_peak": 1240320,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.306814,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 719872,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.8583e-05,
              "prefill_seconds": 0.00973725,
              "decode_seconds": 0.657549833,
              "fixed_scan_seconds": 0.667337875,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.655049959,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.3167e-05,
              "prefill_seconds": 0.004760416,
              "decode_seconds": 0.277400792,
              "fixed_scan_seconds": 0.282209583,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2279168,
                "peak_increment": 720896,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1038848,
                "device_peak": 1240320,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.284069666,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 719872,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-mps-Float32-05-candidate.jsonl",
        "raw_sha256": "e8c206e5b9e39bccab94f3b171bfa3b92b44792cc00cc734d178a1beda596fad",
        "stderr_file": "long-mps-Float32-05-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "model_fingerprint": "38ca3847f08c4af4a47482156aab32e772f890194f5be06b3fe039a388d9e703",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 1.7881393432617188e-07,
          "max_scaled_logit_error": 1.4103367994539792e-07,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 1.9459e-05,
              "prefill_seconds": 0.011091375,
              "decode_seconds": 0.710223208,
              "fixed_scan_seconds": 0.721358166,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.704758834,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 1.9541e-05,
              "prefill_seconds": 0.009837292,
              "decode_seconds": 0.689410875,
              "fixed_scan_seconds": 0.699307042,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2672896,
                "peak_increment": 1114624,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 1634048,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.621088417,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1114624,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.7417e-05,
              "prefill_seconds": 0.009804083,
              "decode_seconds": 0.675718667,
              "fixed_scan_seconds": 0.685571166,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.7081355,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.1125e-05,
              "prefill_seconds": 0.010542166,
              "decode_seconds": 0.792048208,
              "fixed_scan_seconds": 0.802639333,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2672896,
                "peak_increment": 1114624,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 1634048,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.590196917,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1114624,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-mps-Float32-05-baseline.jsonl",
        "raw_sha256": "d072d3d396f5e88fc7c47fd0363d693cdf815598eb72b90f9b5fb72f4dd489f0",
        "stderr_file": "long-mps-Float32-05-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "cpu",
      "dtype": "Float64",
      "pair": 5,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 2.220446049250313e-16,
          "max_scaled_logit_error": 1.9304687922993705e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 5.4375e-05,
              "prefill_seconds": 0.000766625,
              "decode_seconds": 0.034431333,
              "fixed_scan_seconds": 0.035257834,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034938042,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 5.2375e-05,
              "prefill_seconds": 0.00035775,
              "decode_seconds": 0.002648583,
              "fixed_scan_seconds": 0.003061792,
              "memory_bytes": {
                "before": 290048,
                "peak": 776704,
                "peak_increment": 486656,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 776704,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004431291,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 485632,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 5.4459e-05,
              "prefill_seconds": 0.000753959,
              "decode_seconds": 0.033735541,
              "fixed_scan_seconds": 0.03455025,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.035041625,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.7875e-05,
              "prefill_seconds": 0.000391083,
              "decode_seconds": 0.002632125,
              "fixed_scan_seconds": 0.003074042,
              "memory_bytes": {
                "before": 290048,
                "peak": 776704,
                "peak_increment": 486656,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 776704,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004463083,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 485632,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float64-05-candidate.jsonl",
        "raw_sha256": "34d380d306c355fd3554a538fb6695ee52de7ccf8254a9f84320e93057240e62",
        "stderr_file": "short-cpu-Float64-05-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 1.8041124150158794e-16,
          "max_scaled_logit_error": 1.6229691081735398e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 4.9875e-05,
              "prefill_seconds": 0.000672208,
              "decode_seconds": 0.033245375,
              "fixed_scan_seconds": 0.03397,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.033737125,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.6042e-05,
              "prefill_seconds": 0.000612583,
              "decode_seconds": 0.004824792,
              "fixed_scan_seconds": 0.005486584,
              "memory_bytes": {
                "before": 290048,
                "peak": 781616,
                "peak_increment": 491568,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 781616,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.006644917,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 487440,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 4.4417e-05,
              "prefill_seconds": 0.000694875,
              "decode_seconds": 0.033573583,
              "fixed_scan_seconds": 0.034316084,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.033817375,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 5.2e-05,
              "prefill_seconds": 0.000622083,
              "decode_seconds": 0.004749166,
              "fixed_scan_seconds": 0.005429833,
              "memory_bytes": {
                "before": 290048,
                "peak": 781616,
                "peak_increment": 491568,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 781616,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.006520166,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 487440,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float64-05-baseline.jsonl",
        "raw_sha256": "4033fc03b655dc3190dfa5daf3a66fc461e94f7e456df1cf2a0ae8805c7cade0",
        "stderr_file": "short-cpu-Float64-05-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "cpu",
      "dtype": "Float32",
      "pair": 5,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "model_fingerprint": "2838d1228465ce26731c5e13a5bc007a5058cf156e3d5ce3b7971b7a14131bf2",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 5.7541e-05,
              "prefill_seconds": 0.000726417,
              "decode_seconds": 0.036081583,
              "fixed_scan_seconds": 0.036868875,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.036419625,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 6.9e-05,
              "prefill_seconds": 0.000393542,
              "decode_seconds": 0.002962833,
              "fixed_scan_seconds": 0.003429042,
              "memory_bytes": {
                "before": 725120,
                "peak": 1389568,
                "peak_increment": 664448,
                "live_session": 1196068,
                "after": 725120,
                "host_peak": 1389568,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.00463625,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 663936,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 5.775e-05,
              "prefill_seconds": 0.000718541,
              "decode_seconds": 0.03600425,
              "fixed_scan_seconds": 0.036785208,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.037491709,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 6.9875e-05,
              "prefill_seconds": 0.000426667,
              "decode_seconds": 0.002902166,
              "fixed_scan_seconds": 0.003402917,
              "memory_bytes": {
                "before": 725120,
                "peak": 1389568,
                "peak_increment": 664448,
                "live_session": 1196068,
                "after": 725120,
                "host_peak": 1389568,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.00462725,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 663936,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float32-05-candidate.jsonl",
        "raw_sha256": "ddcf8408f35bb1c09596c6f60bd224d35e18132c825dc06867e987a0f00c06d2",
        "stderr_file": "short-cpu-Float32-05-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "model_fingerprint": "c4293cb14ac23b5d7e20db06dfab2bf3d90f0f42ce34aedf0bc3545d323359ac",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 6.8375e-05,
              "prefill_seconds": 0.000731917,
              "decode_seconds": 0.03610225,
              "fixed_scan_seconds": 0.03691025,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.036742958,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 7.7209e-05,
              "prefill_seconds": 0.000690209,
              "decode_seconds": 0.005417375,
              "fixed_scan_seconds": 0.006191917,
              "memory_bytes": {
                "before": 725120,
                "peak": 1462472,
                "peak_increment": 737352,
                "live_session": 1261604,
                "after": 725120,
                "host_peak": 1462472,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 98304,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.007119625,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 731160,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 5.75e-05,
              "prefill_seconds": 0.000683958,
              "decode_seconds": 0.036042292,
              "fixed_scan_seconds": 0.036787125,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.036131042,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 6.1125e-05,
              "prefill_seconds": 0.000667625,
              "decode_seconds": 0.005288791,
              "fixed_scan_seconds": 0.006021292,
              "memory_bytes": {
                "before": 725120,
                "peak": 1462472,
                "peak_increment": 737352,
                "live_session": 1261604,
                "after": 725120,
                "host_peak": 1462472,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 98304,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.007166292,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 731160,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float32-05-baseline.jsonl",
        "raw_sha256": "26e59ae8345a2155a26fda3a5c21e834db0585776edd8be313064ce2d5f03465",
        "stderr_file": "short-cpu-Float32-05-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "mps",
      "dtype": "Float32",
      "pair": 5,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "model_fingerprint": "2d2be207da3217b65a6f7c44d3abe317c06d1aa9c4e4429c96feee2fcd79138b",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 9.685754776000977e-08,
          "max_scaled_logit_error": 9.2784220755701e-08,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 2.0333e-05,
              "prefill_seconds": 0.007986875,
              "decode_seconds": 0.259054625,
              "fixed_scan_seconds": 0.267083333,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.271904125,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.7834e-05,
              "prefill_seconds": 0.005022709,
              "decode_seconds": 0.144119166,
              "fixed_scan_seconds": 0.149197333,
              "memory_bytes": {
                "before": 435072,
                "peak": 533376,
                "peak_increment": 98304,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 290048,
                "device_peak": 243328,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.14032275,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 97792,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.0458e-05,
              "prefill_seconds": 0.0078085,
              "decode_seconds": 0.261106917,
              "fixed_scan_seconds": 0.268975125,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.256426417,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.1291e-05,
              "prefill_seconds": 0.004421667,
              "decode_seconds": 0.136547833,
              "fixed_scan_seconds": 0.141019042,
              "memory_bytes": {
                "before": 435072,
                "peak": 533376,
                "peak_increment": 98304,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 290048,
                "device_peak": 243328,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.138439167,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 97792,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-mps-Float32-05-candidate.jsonl",
        "raw_sha256": "25e9e8f2289044ef6882860f6d748f56361bc91d679364f5d05900142f103d86",
        "stderr_file": "short-mps-Float32-05-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "model_fingerprint": "cc8eb03bea7f1ace738482f2efff4c1a3b845964d5bab07fac7a7d9455455bd7",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 9.685754776000977e-08,
          "max_scaled_logit_error": 9.242636391134113e-08,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 2.4875e-05,
              "prefill_seconds": 0.009396,
              "decode_seconds": 0.278261792,
              "fixed_scan_seconds": 0.287704958,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.278826166,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.3875e-05,
              "prefill_seconds": 0.008002375,
              "decode_seconds": 0.285206833,
              "fixed_scan_seconds": 0.293265541,
              "memory_bytes": {
                "before": 435072,
                "peak": 535840,
                "peak_increment": 100768,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 245792,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.274603459,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 98704,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 1.8458e-05,
              "prefill_seconds": 0.007735375,
              "decode_seconds": 0.273911834,
              "fixed_scan_seconds": 0.281705458,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.300109667,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 3.0083e-05,
              "prefill_seconds": 0.00854825,
              "decode_seconds": 0.280663583,
              "fixed_scan_seconds": 0.289271542,
              "memory_bytes": {
                "before": 435072,
                "peak": 535840,
                "peak_increment": 100768,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 245792,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.276316167,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 98704,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-mps-Float32-05-baseline.jsonl",
        "raw_sha256": "5ae23f65b54fb8457ea896bbefd5b15387af0d76bc5d1eb0c19a24fd320eea88",
        "stderr_file": "short-mps-Float32-05-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "cpu",
      "dtype": "Float64",
      "pair": 5,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 3.3306690738754696e-16,
          "max_scaled_logit_error": 3.1757564557461897e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000159834,
              "prefill_seconds": 0.005297083,
              "decode_seconds": 0.492969666,
              "fixed_scan_seconds": 0.498431416,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.485765,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000182417,
              "prefill_seconds": 0.003012709,
              "decode_seconds": 0.015922167,
              "fixed_scan_seconds": 0.019122792,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3519488,
                "peak_increment": 2480640,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3519488,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.022037333,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2478592,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.00015325,
              "prefill_seconds": 0.005195917,
              "decode_seconds": 0.480058334,
              "fixed_scan_seconds": 0.48541225,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.481249542,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.00019175,
              "prefill_seconds": 0.002858042,
              "decode_seconds": 0.016058083,
              "fixed_scan_seconds": 0.019115041,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3519488,
                "peak_increment": 2480640,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3519488,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.022157542,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2478592,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float64-05-candidate.jsonl",
        "raw_sha256": "b82ef9770c23f34d431f176fde03b7705702c14c81154c43a81916979fc6c9df",
        "stderr_file": "long-cpu-Float64-05-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 3.885780586188048e-16,
          "max_scaled_logit_error": 3.406964511810042e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000209084,
              "prefill_seconds": 0.008878959,
              "decode_seconds": 0.508075875,
              "fixed_scan_seconds": 0.517169,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.47379575,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000160833,
              "prefill_seconds": 0.005296833,
              "decode_seconds": 0.036444083,
              "fixed_scan_seconds": 0.04190725,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3848192,
                "peak_increment": 2809344,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3848192,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.044465291,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2809344,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.0001425,
              "prefill_seconds": 0.005561958,
              "decode_seconds": 0.469275167,
              "fixed_scan_seconds": 0.474983708,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.465969917,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000143167,
              "prefill_seconds": 0.005227958,
              "decode_seconds": 0.036740458,
              "fixed_scan_seconds": 0.042116958,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3848192,
                "peak_increment": 2809344,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3848192,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.044435292,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2809344,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float64-05-baseline.jsonl",
        "raw_sha256": "f7f22f7e086ac49003a914292903eeca0a03a28e6bc39e400157322888df62aa",
        "stderr_file": "long-cpu-Float64-05-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "cpu",
      "dtype": "Float32",
      "pair": 5,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "model_fingerprint": "cc1b4b295208e754dccc536f1f7d54d957c793a461e56a923a312ca494ad58ab",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000201167,
              "prefill_seconds": 0.005589625,
              "decode_seconds": 0.5086315,
              "fixed_scan_seconds": 0.514427917,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.511053042,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000210167,
              "prefill_seconds": 0.003319833,
              "decode_seconds": 0.018958209,
              "fixed_scan_seconds": 0.022494667,
              "memory_bytes": {
                "before": 2597120,
                "peak": 5924864,
                "peak_increment": 3327744,
                "live_session": 4355108,
                "after": 2597120,
                "host_peak": 5924864,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.025112125,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 3326720,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000198916,
              "prefill_seconds": 0.005593375,
              "decode_seconds": 0.498740666,
              "fixed_scan_seconds": 0.504538416,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.497346208,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000204083,
              "prefill_seconds": 0.003120792,
              "decode_seconds": 0.017337417,
              "fixed_scan_seconds": 0.020667625,
              "memory_bytes": {
                "before": 2597120,
                "peak": 5924864,
                "peak_increment": 3327744,
                "live_session": 4355108,
                "after": 2597120,
                "host_peak": 5924864,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.023156125,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 3326720,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float32-05-candidate.jsonl",
        "raw_sha256": "6d4895c6592606c248fe237b52e83913817b0dc0ce3ba698f276e52fb97dbcd9",
        "stderr_file": "long-cpu-Float32-05-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "model_fingerprint": "94781c146a1ca9e3843bd9a760cabd2427af797cdef5bea49c148478c079e2ab",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000203166,
              "prefill_seconds": 0.0056205,
              "decode_seconds": 0.505027417,
              "fixed_scan_seconds": 0.510857166,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.501201083,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000198834,
              "prefill_seconds": 0.005437541,
              "decode_seconds": 0.038172834,
              "fixed_scan_seconds": 0.043815834,
              "memory_bytes": {
                "before": 2597120,
                "peak": 6811136,
                "peak_increment": 4214016,
                "live_session": 4748324,
                "after": 2597120,
                "host_peak": 6811136,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 589824,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.046970875,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4214016,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000193958,
              "prefill_seconds": 0.005649625,
              "decode_seconds": 0.508355916,
              "fixed_scan_seconds": 0.514205208,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.4976275,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000196292,
              "prefill_seconds": 0.00567875,
              "decode_seconds": 0.037963708,
              "fixed_scan_seconds": 0.043844584,
              "memory_bytes": {
                "before": 2597120,
                "peak": 6811136,
                "peak_increment": 4214016,
                "live_session": 4748324,
                "after": 2597120,
                "host_peak": 6811136,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 589824,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.046504416,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4214016,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float32-05-baseline.jsonl",
        "raw_sha256": "38cff8e3fbabc8feb6af5f1a495d3ea5dbc9c1fbc4fe0e6dac7d00f9ad48c716",
        "stderr_file": "long-cpu-Float32-05-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "cpu",
      "dtype": "Float64",
      "pair": 6,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 1.8041124150158794e-16,
          "max_scaled_logit_error": 1.6229691081735398e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 4.6459e-05,
              "prefill_seconds": 0.000646791,
              "decode_seconds": 0.033496375,
              "fixed_scan_seconds": 0.034196959,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034086125,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 5.375e-05,
              "prefill_seconds": 0.000634833,
              "decode_seconds": 0.004855375,
              "fixed_scan_seconds": 0.005550375,
              "memory_bytes": {
                "before": 290048,
                "peak": 781616,
                "peak_increment": 491568,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 781616,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.006526125,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 487440,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 4.6125e-05,
              "prefill_seconds": 0.000652459,
              "decode_seconds": 0.033548042,
              "fixed_scan_seconds": 0.034251959,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.033617042,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.6666e-05,
              "prefill_seconds": 0.000602875,
              "decode_seconds": 0.004674375,
              "fixed_scan_seconds": 0.005327166,
              "memory_bytes": {
                "before": 290048,
                "peak": 781616,
                "peak_increment": 491568,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 781616,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.006485666,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 487440,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float64-06-baseline.jsonl",
        "raw_sha256": "cd7f218e4837780717197f155809c1358042c28ccb7c490945378af872dd4aa9",
        "stderr_file": "short-cpu-Float64-06-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 2.220446049250313e-16,
          "max_scaled_logit_error": 1.9304687922993705e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 4.4e-05,
              "prefill_seconds": 0.000687375,
              "decode_seconds": 0.033190625,
              "fixed_scan_seconds": 0.033925917,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.0349705,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.6959e-05,
              "prefill_seconds": 0.000384667,
              "decode_seconds": 0.002613292,
              "fixed_scan_seconds": 0.003048291,
              "memory_bytes": {
                "before": 290048,
                "peak": 776704,
                "peak_increment": 486656,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 776704,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004633917,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 485632,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 5.0708e-05,
              "prefill_seconds": 0.000682917,
              "decode_seconds": 0.034216084,
              "fixed_scan_seconds": 0.034956709,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034070125,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.4125e-05,
              "prefill_seconds": 0.000351333,
              "decode_seconds": 0.002568917,
              "fixed_scan_seconds": 0.002967417,
              "memory_bytes": {
                "before": 290048,
                "peak": 776704,
                "peak_increment": 486656,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 776704,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004472167,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 485632,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float64-06-candidate.jsonl",
        "raw_sha256": "9cd755c5903deecee0068afe1c6346e229a48b1c451099248dac8808af4a9739",
        "stderr_file": "short-cpu-Float64-06-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "cpu",
      "dtype": "Float32",
      "pair": 6,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "model_fingerprint": "c4293cb14ac23b5d7e20db06dfab2bf3d90f0f42ce34aedf0bc3545d323359ac",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 5.7958e-05,
              "prefill_seconds": 0.000684125,
              "decode_seconds": 0.034986542,
              "fixed_scan_seconds": 0.035731583,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.03571975,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 6.1791e-05,
              "prefill_seconds": 0.000652875,
              "decode_seconds": 0.005274042,
              "fixed_scan_seconds": 0.005993,
              "memory_bytes": {
                "before": 725120,
                "peak": 1462472,
                "peak_increment": 737352,
                "live_session": 1261604,
                "after": 725120,
                "host_peak": 1462472,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 98304,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.007023875,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 731160,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 5.7084e-05,
              "prefill_seconds": 0.000683666,
              "decode_seconds": 0.035009625,
              "fixed_scan_seconds": 0.035753042,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.035591167,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 5.7167e-05,
              "prefill_seconds": 0.000642875,
              "decode_seconds": 0.005254333,
              "fixed_scan_seconds": 0.005957833,
              "memory_bytes": {
                "before": 725120,
                "peak": 1462472,
                "peak_increment": 737352,
                "live_session": 1261604,
                "after": 725120,
                "host_peak": 1462472,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 98304,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.007078875,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 731160,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float32-06-baseline.jsonl",
        "raw_sha256": "d3d1487b97d7def2ffb2d089058c0a0ffeca31f4b55144c1e6e589d500097522",
        "stderr_file": "short-cpu-Float32-06-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "model_fingerprint": "2838d1228465ce26731c5e13a5bc007a5058cf156e3d5ce3b7971b7a14131bf2",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 6.0208e-05,
              "prefill_seconds": 0.000745917,
              "decode_seconds": 0.036367416,
              "fixed_scan_seconds": 0.037180458,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.036783583,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 7.2208e-05,
              "prefill_seconds": 0.000456458,
              "decode_seconds": 0.003069417,
              "fixed_scan_seconds": 0.003605625,
              "memory_bytes": {
                "before": 725120,
                "peak": 1389568,
                "peak_increment": 664448,
                "live_session": 1196068,
                "after": 725120,
                "host_peak": 1389568,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.00468025,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 663936,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 6.55e-05,
              "prefill_seconds": 0.000794542,
              "decode_seconds": 0.036441,
              "fixed_scan_seconds": 0.037307167,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.037534292,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 6.0375e-05,
              "prefill_seconds": 0.000409459,
              "decode_seconds": 0.0029705,
              "fixed_scan_seconds": 0.003444375,
              "memory_bytes": {
                "before": 725120,
                "peak": 1389568,
                "peak_increment": 664448,
                "live_session": 1196068,
                "after": 725120,
                "host_peak": 1389568,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004786542,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 663936,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float32-06-candidate.jsonl",
        "raw_sha256": "2bdb3cf06b6eabb295c8363354fc3fed125d7efa46f50fa3d69068bbabc6516c",
        "stderr_file": "short-cpu-Float32-06-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "mps",
      "dtype": "Float32",
      "pair": 6,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "model_fingerprint": "cc8eb03bea7f1ace738482f2efff4c1a3b845964d5bab07fac7a7d9455455bd7",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 9.685754776000977e-08,
          "max_scaled_logit_error": 9.242636391134113e-08,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 2.2084e-05,
              "prefill_seconds": 0.008697167,
              "decode_seconds": 0.27960675,
              "fixed_scan_seconds": 0.288347792,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.279660167,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 1.8208e-05,
              "prefill_seconds": 0.008193,
              "decode_seconds": 0.277801916,
              "fixed_scan_seconds": 0.28604625,
              "memory_bytes": {
                "before": 435072,
                "peak": 535840,
                "peak_increment": 100768,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 245792,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.280809167,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 98704,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.1875e-05,
              "prefill_seconds": 0.007894584,
              "decode_seconds": 0.322995917,
              "fixed_scan_seconds": 0.330935375,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.279384916,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.125e-05,
              "prefill_seconds": 0.008094083,
              "decode_seconds": 0.295860459,
              "fixed_scan_seconds": 0.304006958,
              "memory_bytes": {
                "before": 435072,
                "peak": 535840,
                "peak_increment": 100768,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 245792,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.289161917,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 98704,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-mps-Float32-06-baseline.jsonl",
        "raw_sha256": "728d2ca870c2bcd9f7fb1b734080ca512f9e49b76c664e4acf624a525414407f",
        "stderr_file": "short-mps-Float32-06-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "model_fingerprint": "2d2be207da3217b65a6f7c44d3abe317c06d1aa9c4e4429c96feee2fcd79138b",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 9.685754776000977e-08,
          "max_scaled_logit_error": 9.2784220755701e-08,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 2.3542e-05,
              "prefill_seconds": 0.007271333,
              "decode_seconds": 0.260541917,
              "fixed_scan_seconds": 0.267860041,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.260279417,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.0209e-05,
              "prefill_seconds": 0.004148333,
              "decode_seconds": 0.141479167,
              "fixed_scan_seconds": 0.145668208,
              "memory_bytes": {
                "before": 435072,
                "peak": 533376,
                "peak_increment": 98304,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 290048,
                "device_peak": 243328,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.137942333,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 97792,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.4791e-05,
              "prefill_seconds": 0.009815833,
              "decode_seconds": 0.321986375,
              "fixed_scan_seconds": 0.331875083,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.505018084,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.1875e-05,
              "prefill_seconds": 0.004441875,
              "decode_seconds": 0.143060125,
              "fixed_scan_seconds": 0.147550167,
              "memory_bytes": {
                "before": 435072,
                "peak": 533376,
                "peak_increment": 98304,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 290048,
                "device_peak": 243328,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.155633584,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 97792,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-mps-Float32-06-candidate.jsonl",
        "raw_sha256": "ab7ae1fd00fe8fbc6ef21d61f33855c4785b08b06f2ea942a73a548b81b05d8c",
        "stderr_file": "short-mps-Float32-06-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "cpu",
      "dtype": "Float64",
      "pair": 6,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 3.885780586188048e-16,
          "max_scaled_logit_error": 3.406964511810042e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000150875,
              "prefill_seconds": 0.005331791,
              "decode_seconds": 0.470603875,
              "fixed_scan_seconds": 0.476095458,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.466961917,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000143375,
              "prefill_seconds": 0.004939959,
              "decode_seconds": 0.034996458,
              "fixed_scan_seconds": 0.040088416,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3848192,
                "peak_increment": 2809344,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3848192,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.042535,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2809344,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000141041,
              "prefill_seconds": 0.005106959,
              "decode_seconds": 0.4586875,
              "fixed_scan_seconds": 0.463938958,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.457797125,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000141458,
              "prefill_seconds": 0.004946417,
              "decode_seconds": 0.034854333,
              "fixed_scan_seconds": 0.039945667,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3848192,
                "peak_increment": 2809344,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3848192,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.04260425,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2809344,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float64-06-baseline.jsonl",
        "raw_sha256": "a2aaecfe07774d56df4276cc46d10d3314645892374cdc48305239411c17eadc",
        "stderr_file": "long-cpu-Float64-06-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 3.3306690738754696e-16,
          "max_scaled_logit_error": 3.1757564557461897e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000149917,
              "prefill_seconds": 0.007319667,
              "decode_seconds": 0.484937917,
              "fixed_scan_seconds": 0.49241225,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.471347708,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000144375,
              "prefill_seconds": 0.002893917,
              "decode_seconds": 0.016291208,
              "fixed_scan_seconds": 0.019334416,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3519488,
                "peak_increment": 2480640,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3519488,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.022196,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2478592,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000141167,
              "prefill_seconds": 0.005235625,
              "decode_seconds": 0.470382334,
              "fixed_scan_seconds": 0.47576575,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.467981958,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.00016075,
              "prefill_seconds": 0.002902167,
              "decode_seconds": 0.016075458,
              "fixed_scan_seconds": 0.019142542,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3519488,
                "peak_increment": 2480640,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3519488,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.021885416,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2478592,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float64-06-candidate.jsonl",
        "raw_sha256": "fa25d39ffab4afc4dae7b6370102eb184231814d037db95fb792d0a086c85f97",
        "stderr_file": "long-cpu-Float64-06-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "cpu",
      "dtype": "Float32",
      "pair": 6,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "model_fingerprint": "94781c146a1ca9e3843bd9a760cabd2427af797cdef5bea49c148478c079e2ab",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000220166,
              "prefill_seconds": 0.005821125,
              "decode_seconds": 0.515180042,
              "fixed_scan_seconds": 0.521228458,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.52072525,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000200709,
              "prefill_seconds": 0.005627958,
              "decode_seconds": 0.038368625,
              "fixed_scan_seconds": 0.044204875,
              "memory_bytes": {
                "before": 2597120,
                "peak": 6811136,
                "peak_increment": 4214016,
                "live_session": 4748324,
                "after": 2597120,
                "host_peak": 6811136,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 589824,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.046176166,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4214016,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000218916,
              "prefill_seconds": 0.005685375,
              "decode_seconds": 0.527543166,
              "fixed_scan_seconds": 0.533453375,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.517714375,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000195083,
              "prefill_seconds": 0.005624917,
              "decode_seconds": 0.037958583,
              "fixed_scan_seconds": 0.043785125,
              "memory_bytes": {
                "before": 2597120,
                "peak": 6811136,
                "peak_increment": 4214016,
                "live_session": 4748324,
                "after": 2597120,
                "host_peak": 6811136,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 589824,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.046472833,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4214016,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float32-06-baseline.jsonl",
        "raw_sha256": "3548acc1527554365ef53d24fc762c265b2a3b1ad21f425974d9c71d2d683d65",
        "stderr_file": "long-cpu-Float32-06-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "model_fingerprint": "cc1b4b295208e754dccc536f1f7d54d957c793a461e56a923a312ca494ad58ab",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.00020125,
              "prefill_seconds": 0.005688584,
              "decode_seconds": 0.519285667,
              "fixed_scan_seconds": 0.525182333,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.516549875,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000212292,
              "prefill_seconds": 0.003254542,
              "decode_seconds": 0.017742708,
              "fixed_scan_seconds": 0.0212165,
              "memory_bytes": {
                "before": 2597120,
                "peak": 5924864,
                "peak_increment": 3327744,
                "live_session": 4355108,
                "after": 2597120,
                "host_peak": 5924864,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.02336225,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 3326720,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000224291,
              "prefill_seconds": 0.005869834,
              "decode_seconds": 0.519628,
              "fixed_scan_seconds": 0.5257285,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.523388916,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000201875,
              "prefill_seconds": 0.003126208,
              "decode_seconds": 0.017505667,
              "fixed_scan_seconds": 0.020839083,
              "memory_bytes": {
                "before": 2597120,
                "peak": 5924864,
                "peak_increment": 3327744,
                "live_session": 4355108,
                "after": 2597120,
                "host_peak": 5924864,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.023780958,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 3326720,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float32-06-candidate.jsonl",
        "raw_sha256": "f7560d27de29c24c43803f7a0873fe11062cd0681adda7210773320fe2774242",
        "stderr_file": "long-cpu-Float32-06-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "mps",
      "dtype": "Float32",
      "pair": 6,
      "first": "baseline",
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "model_fingerprint": "38ca3847f08c4af4a47482156aab32e772f890194f5be06b3fe039a388d9e703",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 1.7881393432617188e-07,
          "max_scaled_logit_error": 1.4103367994539792e-07,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 2.8084e-05,
              "prefill_seconds": 0.010185209,
              "decode_seconds": 0.6819185,
              "fixed_scan_seconds": 0.6921595,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.709775083,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 1.6334e-05,
              "prefill_seconds": 0.008639541,
              "decode_seconds": 0.631837625,
              "fixed_scan_seconds": 0.640523167,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2672896,
                "peak_increment": 1114624,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 1634048,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.632276958,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1114624,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.1167e-05,
              "prefill_seconds": 0.009717292,
              "decode_seconds": 0.666616959,
              "fixed_scan_seconds": 0.676379875,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.664126708,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.3792e-05,
              "prefill_seconds": 0.010608416,
              "decode_seconds": 0.646999,
              "fixed_scan_seconds": 0.657656709,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2672896,
                "peak_increment": 1114624,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 1634048,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.604152458,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1114624,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-mps-Float32-06-baseline.jsonl",
        "raw_sha256": "29b9a339d6f1be813944f662138396e4fe4918a18efe7751d8f134bb481c9da3",
        "stderr_file": "long-mps-Float32-06-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "model_fingerprint": "6fabafcdbf2401be7deef23e876f63c01f9c4c48c54a008bb5e2798a25d85e97",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 1.7881393432617188e-07,
          "max_scaled_logit_error": 1.594650860629083e-07,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 2.375e-05,
              "prefill_seconds": 0.009733291,
              "decode_seconds": 0.714643291,
              "fixed_scan_seconds": 0.724426709,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.747669459,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.6375e-05,
              "prefill_seconds": 0.004672292,
              "decode_seconds": 0.3114725,
              "fixed_scan_seconds": 0.316199458,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2279168,
                "peak_increment": 720896,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1038848,
                "device_peak": 1240320,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.286267375,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 719872,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 3.9292e-05,
              "prefill_seconds": 0.009978167,
              "decode_seconds": 0.668417625,
              "fixed_scan_seconds": 0.678457708,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.704475417,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.3417e-05,
              "prefill_seconds": 0.004779834,
              "decode_seconds": 0.283878083,
              "fixed_scan_seconds": 0.288712084,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2279168,
                "peak_increment": 720896,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1038848,
                "device_peak": 1240320,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.286874125,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 719872,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-mps-Float32-06-candidate.jsonl",
        "raw_sha256": "1f2a8abeb6aa1fa5e9e8c9c9b8638ac7e1006bac867deee78b3c111d7a5aedc0",
        "stderr_file": "long-mps-Float32-06-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "cpu",
      "dtype": "Float32",
      "pair": 7,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "model_fingerprint": "2838d1228465ce26731c5e13a5bc007a5058cf156e3d5ce3b7971b7a14131bf2",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 5.7958e-05,
              "prefill_seconds": 0.000725834,
              "decode_seconds": 0.036213666,
              "fixed_scan_seconds": 0.037000417,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.036597417,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 5.675e-05,
              "prefill_seconds": 0.000399834,
              "decode_seconds": 0.00305,
              "fixed_scan_seconds": 0.003510625,
              "memory_bytes": {
                "before": 725120,
                "peak": 1389568,
                "peak_increment": 664448,
                "live_session": 1196068,
                "after": 725120,
                "host_peak": 1389568,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004655,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 663936,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 5.5208e-05,
              "prefill_seconds": 0.000718833,
              "decode_seconds": 0.036177,
              "fixed_scan_seconds": 0.036953959,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.036638542,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 5.6291e-05,
              "prefill_seconds": 0.000397375,
              "decode_seconds": 0.002925083,
              "fixed_scan_seconds": 0.003381958,
              "memory_bytes": {
                "before": 725120,
                "peak": 1389568,
                "peak_increment": 664448,
                "live_session": 1196068,
                "after": 725120,
                "host_peak": 1389568,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004624042,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 663936,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float32-07-candidate.jsonl",
        "raw_sha256": "2b1427d2150de8e82f850dbc8ce6996666473d94a44d14e81d12bbc4780aea4f",
        "stderr_file": "short-cpu-Float32-07-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "model_fingerprint": "c4293cb14ac23b5d7e20db06dfab2bf3d90f0f42ce34aedf0bc3545d323359ac",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 7.6667e-05,
              "prefill_seconds": 0.00076375,
              "decode_seconds": 0.036504416,
              "fixed_scan_seconds": 0.037355625,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.036778375,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 7.4166e-05,
              "prefill_seconds": 0.000687792,
              "decode_seconds": 0.00542075,
              "fixed_scan_seconds": 0.006187041,
              "memory_bytes": {
                "before": 725120,
                "peak": 1462472,
                "peak_increment": 737352,
                "live_session": 1261604,
                "after": 725120,
                "host_peak": 1462472,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 98304,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.007270625,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 731160,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 7.8958e-05,
              "prefill_seconds": 0.000750958,
              "decode_seconds": 0.036599458,
              "fixed_scan_seconds": 0.037434083,
              "memory_bytes": {
                "before": 725120,
                "peak": 1778468,
                "peak_increment": 1053348,
                "live_session": 1163300,
                "after": 725120,
                "host_peak": 1778468,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.036511541,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1034580,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 7.2667e-05,
              "prefill_seconds": 0.000715917,
              "decode_seconds": 0.005424375,
              "fixed_scan_seconds": 0.0062205,
              "memory_bytes": {
                "before": 725120,
                "peak": 1462472,
                "peak_increment": 737352,
                "live_session": 1261604,
                "after": 725120,
                "host_peak": 1462472,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 98304,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.007414416,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 731160,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float32-07-baseline.jsonl",
        "raw_sha256": "164f7b187a1236b80b7f700d023dba40d945c44ef955a78e45bc95b0f52d7f9a",
        "stderr_file": "short-cpu-Float32-07-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "mps",
      "dtype": "Float32",
      "pair": 7,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "model_fingerprint": "2d2be207da3217b65a6f7c44d3abe317c06d1aa9c4e4429c96feee2fcd79138b",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 9.685754776000977e-08,
          "max_scaled_logit_error": 9.2784220755701e-08,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 3.0625e-05,
              "prefill_seconds": 0.007861708,
              "decode_seconds": 0.270847,
              "fixed_scan_seconds": 0.278813417,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.276272542,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.0959e-05,
              "prefill_seconds": 0.004571,
              "decode_seconds": 0.147657208,
              "fixed_scan_seconds": 0.152275958,
              "memory_bytes": {
                "before": 435072,
                "peak": 533376,
                "peak_increment": 98304,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 290048,
                "device_peak": 243328,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.150450084,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 97792,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 1.875e-05,
              "prefill_seconds": 0.008802959,
              "decode_seconds": 0.282888666,
              "fixed_scan_seconds": 0.291732792,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.28753725,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.2959e-05,
              "prefill_seconds": 0.00473725,
              "decode_seconds": 0.148721417,
              "fixed_scan_seconds": 0.153504875,
              "memory_bytes": {
                "before": 435072,
                "peak": 533376,
                "peak_increment": 98304,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 290048,
                "device_peak": 243328,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.14745625,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 97792,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-mps-Float32-07-candidate.jsonl",
        "raw_sha256": "61fa7dc9241fd8e4b5a21ac1d6641e912332dd30e35e9b4a2315ec869c4eaf8d",
        "stderr_file": "short-mps-Float32-07-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "model_fingerprint": "cc8eb03bea7f1ace738482f2efff4c1a3b845964d5bab07fac7a7d9455455bd7",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 9.685754776000977e-08,
          "max_scaled_logit_error": 9.242636391134113e-08,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 2.2e-05,
              "prefill_seconds": 0.0082645,
              "decode_seconds": 0.271592125,
              "fixed_scan_seconds": 0.279902792,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.270987959,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.025e-05,
              "prefill_seconds": 0.00823925,
              "decode_seconds": 0.292136416,
              "fixed_scan_seconds": 0.300422542,
              "memory_bytes": {
                "before": 435072,
                "peak": 535840,
                "peak_increment": 100768,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 245792,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.308483959,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 98704,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.1833e-05,
              "prefill_seconds": 0.008558167,
              "decode_seconds": 0.272194,
              "fixed_scan_seconds": 0.280811917,
              "memory_bytes": {
                "before": 435072,
                "peak": 698508,
                "peak_increment": 263436,
                "live_session": 436108,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 408460,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.28456425,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 255276,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 3.5291e-05,
              "prefill_seconds": 0.0080395,
              "decode_seconds": 0.274951167,
              "fixed_scan_seconds": 0.283105542,
              "memory_bytes": {
                "before": 435072,
                "peak": 535840,
                "peak_increment": 100768,
                "live_session": 468876,
                "after": 435072,
                "host_peak": 291840,
                "device_peak": 245792,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 32768,
                "provider_allocated_after": 770048
              },
              "natural_generation_seconds": 0.293929333,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 98704,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-mps-Float32-07-baseline.jsonl",
        "raw_sha256": "10c59e929ef887abd8344c9e52759723220ea1593225ee5842ab5d6d0a6b66cf",
        "stderr_file": "short-mps-Float32-07-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "cpu",
      "dtype": "Float64",
      "pair": 7,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 3.3306690738754696e-16,
          "max_scaled_logit_error": 3.1757564557461897e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000170917,
              "prefill_seconds": 0.005311,
              "decode_seconds": 0.474223125,
              "fixed_scan_seconds": 0.479710875,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.471500209,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000174708,
              "prefill_seconds": 0.002914917,
              "decode_seconds": 0.016337916,
              "fixed_scan_seconds": 0.019431,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3519488,
                "peak_increment": 2480640,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3519488,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.022185167,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2478592,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.00014175,
              "prefill_seconds": 0.005208208,
              "decode_seconds": 0.470580417,
              "fixed_scan_seconds": 0.4759345,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.478196,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000159167,
              "prefill_seconds": 0.002901292,
              "decode_seconds": 0.016236708,
              "fixed_scan_seconds": 0.019300459,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3519488,
                "peak_increment": 2480640,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3519488,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.02220675,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2478592,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float64-07-candidate.jsonl",
        "raw_sha256": "f28066a33f74d1da4e328fd3c91b47ba643ca93864ebbc758000926f316582b3",
        "stderr_file": "long-cpu-Float64-07-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 3.885780586188048e-16,
          "max_scaled_logit_error": 3.406964511810042e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000145875,
              "prefill_seconds": 0.005368459,
              "decode_seconds": 0.470719667,
              "fixed_scan_seconds": 0.47623875,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.467552083,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000154041,
              "prefill_seconds": 0.00546075,
              "decode_seconds": 0.0493215,
              "fixed_scan_seconds": 0.054942542,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3848192,
                "peak_increment": 2809344,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3848192,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.044235333,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2809344,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000142834,
              "prefill_seconds": 0.005302458,
              "decode_seconds": 0.474495833,
              "fixed_scan_seconds": 0.479946,
              "memory_bytes": {
                "before": 1038848,
                "peak": 5325336,
                "peak_increment": 4286488,
                "live_session": 2079768,
                "after": 1038848,
                "host_peak": 5325336,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.471064458,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4255288,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.0001455,
              "prefill_seconds": 0.005146375,
              "decode_seconds": 0.036509208,
              "fixed_scan_seconds": 0.041806334,
              "memory_bytes": {
                "before": 1038848,
                "peak": 3848192,
                "peak_increment": 2809344,
                "live_session": 2472984,
                "after": 1038848,
                "host_peak": 3848192,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 393216,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.044190208,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2809344,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float64-07-baseline.jsonl",
        "raw_sha256": "fef2efbded8e3392785199c810647174ee23530c13d3e026561c717d84b2947a",
        "stderr_file": "long-cpu-Float64-07-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "cpu",
      "dtype": "Float32",
      "pair": 7,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "model_fingerprint": "cc1b4b295208e754dccc536f1f7d54d957c793a461e56a923a312ca494ad58ab",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000237083,
              "prefill_seconds": 0.006003625,
              "decode_seconds": 0.539911833,
              "fixed_scan_seconds": 0.546164792,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.515190666,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000198542,
              "prefill_seconds": 0.003165,
              "decode_seconds": 0.017484625,
              "fixed_scan_seconds": 0.020854792,
              "memory_bytes": {
                "before": 2597120,
                "peak": 5924864,
                "peak_increment": 3327744,
                "live_session": 4355108,
                "after": 2597120,
                "host_peak": 5924864,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.023595833,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 3326720,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000191292,
              "prefill_seconds": 0.005748541,
              "decode_seconds": 0.507987125,
              "fixed_scan_seconds": 0.513936084,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.508466916,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000199708,
              "prefill_seconds": 0.003223375,
              "decode_seconds": 0.017812792,
              "fixed_scan_seconds": 0.021240375,
              "memory_bytes": {
                "before": 2597120,
                "peak": 5924864,
                "peak_increment": 3327744,
                "live_session": 4355108,
                "after": 2597120,
                "host_peak": 5924864,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.02360725,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 3326720,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float32-07-candidate.jsonl",
        "raw_sha256": "38355377e2091d65c05bccc4203c9eeae70ed8bb4479f4df597bb81d65dded31",
        "stderr_file": "long-cpu-Float32-07-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "cpu",
          "dtype": "Float32",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "model_fingerprint": "94781c146a1ca9e3843bd9a760cabd2427af797cdef5bea49c148478c079e2ab",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 0,
          "max_scaled_logit_error": 0,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 0.000191792,
              "prefill_seconds": 0.005664542,
              "decode_seconds": 0.5088735,
              "fixed_scan_seconds": 0.5147355,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.508329542,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000211208,
              "prefill_seconds": 0.005509834,
              "decode_seconds": 0.038729208,
              "fixed_scan_seconds": 0.044455333,
              "memory_bytes": {
                "before": 2597120,
                "peak": 6811136,
                "peak_increment": 4214016,
                "live_session": 4748324,
                "after": 2597120,
                "host_peak": 6811136,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 589824,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.0468995,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4214016,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "cpu",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 0.000196083,
              "prefill_seconds": 0.005564042,
              "decode_seconds": 0.505785458,
              "fixed_scan_seconds": 0.511550625,
              "memory_bytes": {
                "before": 2597120,
                "peak": 9026852,
                "peak_increment": 6429732,
                "live_session": 4158500,
                "after": 2597120,
                "host_peak": 9026852,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.507766125,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 6382932,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 0.000193542,
              "prefill_seconds": 0.005451709,
              "decode_seconds": 0.037780459,
              "fixed_scan_seconds": 0.043431166,
              "memory_bytes": {
                "before": 2597120,
                "peak": 6811136,
                "peak_increment": 4214016,
                "live_session": 4748324,
                "after": 2597120,
                "host_peak": 6811136,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 589824,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.046797583,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 4214016,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-cpu-Float32-07-baseline.jsonl",
        "raw_sha256": "4ab89df9a3e4b1a4b0dc63b8890248b2296a4f93eb64d8a61069d6d25cd2e9c0",
        "stderr_file": "long-cpu-Float32-07-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "long",
      "device": "mps",
      "dtype": "Float32",
      "pair": 7,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=0898f2e9d1e0181d9bc3f97559274237c913ee8e69e581fce7245bf6e373982f",
          "model_fingerprint": "6fabafcdbf2401be7deef23e876f63c01f9c4c48c54a008bb5e2798a25d85e97",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 1.7881393432617188e-07,
          "max_scaled_logit_error": 1.594650860629083e-07,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 1.8625e-05,
              "prefill_seconds": 0.009730667,
              "decode_seconds": 0.665204291,
              "fixed_scan_seconds": 0.674975833,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.664202666,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.1333e-05,
              "prefill_seconds": 0.00462775,
              "decode_seconds": 0.273118458,
              "fixed_scan_seconds": 0.277796042,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2279168,
                "peak_increment": 720896,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1038848,
                "device_peak": 1240320,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.27163275,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 719872,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 2.2542e-05,
              "prefill_seconds": 0.010002959,
              "decode_seconds": 0.658921,
              "fixed_scan_seconds": 0.668969,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.662559875,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.2333e-05,
              "prefill_seconds": 0.0051095,
              "decode_seconds": 0.2888,
              "fixed_scan_seconds": 0.293956583,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2279168,
                "peak_increment": 720896,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1038848,
                "device_peak": 1240320,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "key_value_capacity_tokens": 192,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.277878333,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 719872,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-mps-Float32-07-candidate.jsonl",
        "raw_sha256": "39dacb67fa1d41e9557d1693802212790af7058ad9e1af4526bb898aa1959e28",
        "stderr_file": "long-mps-Float32-07-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "long",
          "device": "mps",
          "dtype": "Float32",
          "backend": "metal_mps",
          "model_summary": "Native decoder; mps Float32; architecture=native; vocabulary=259; context=224; width=64; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0; parent_sha256=b2372e414f8563d64582bffde464b90d116c454efc85c47b22ad43b452a9d2a2",
          "model_fingerprint": "38ca3847f08c4af4a47482156aab32e772f890194f5be06b3fe039a388d9e703",
          "context": 224,
          "width": 64,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 128,
          "forced_decode_appends": 64,
          "compared_logit_cells": 16835,
          "max_absolute_logit_error": 1.7881393432617188e-07,
          "max_scaled_logit_error": 1.4103367994539792e-07,
          "scaled_tolerance": 0.0005,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 1.7833e-05,
              "prefill_seconds": 0.0102795,
              "decode_seconds": 0.664505084,
              "fixed_scan_seconds": 0.674830833,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.661769583,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 1.6458e-05,
              "prefill_seconds": 0.010151834,
              "decode_seconds": 0.575976625,
              "fixed_scan_seconds": 0.586165458,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2672896,
                "peak_increment": 1114624,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 1634048,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.583673542,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1114624,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "long",
            "device": "mps",
            "dtype": "Float32",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 1.8375e-05,
              "prefill_seconds": 0.009289208,
              "decode_seconds": 0.696642708,
              "fixed_scan_seconds": 0.705973875,
              "memory_bytes": {
                "before": 1558272,
                "peak": 3722764,
                "peak_increment": 2164492,
                "live_session": 1559308,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 2683916,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.665074625,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 2143020,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 2.1792e-05,
              "prefill_seconds": 0.009384584,
              "decode_seconds": 0.571189459,
              "fixed_scan_seconds": 0.580623833,
              "memory_bytes": {
                "before": 1558272,
                "peak": 2672896,
                "peak_increment": 1114624,
                "live_session": 1755916,
                "after": 1558272,
                "host_peak": 1044224,
                "device_peak": 1634048,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 49152,
                "key_value_bytes": 196608,
                "provider_allocated_after": 1196032
              },
              "natural_generation_seconds": 0.592173291,
              "natural_new_tokens": 64,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 1114624,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              132,
              132,
              132,
              159,
              67,
              67,
              132,
              132,
              159,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132,
              132
            ]
          }
        ],
        "raw_file": "long-mps-Float32-07-baseline.jsonl",
        "raw_sha256": "60d7f85f355f52f6305830021d877bdf99e2523d7a47bbf0b8c582bad698350c",
        "stderr_file": "long-mps-Float32-07-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    },
    {
      "case": "short",
      "device": "cpu",
      "dtype": "Float64",
      "pair": 7,
      "first": "candidate",
      "candidate": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "generation_cache": "compact-arena-v1",
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "cache_reservation": "fixed scan reserves prompt plus forced appends; natural generate reserves prompt plus max_new_tokens minus one; allocation is lazy",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=1adc91ba536d0a84f494d8c8a612ac066d22735539320d6d187b701216ebbfff; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "f7c45c3c68f10b09c4f32bac10df18c2212e6c464e89487159e445314b579ce3",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 2.220446049250313e-16,
          "max_scaled_logit_error": 1.9304687922993705e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 4.9333e-05,
              "prefill_seconds": 0.000704959,
              "decode_seconds": 0.034413875,
              "fixed_scan_seconds": 0.035173959,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034560167,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.9375e-05,
              "prefill_seconds": 0.000364459,
              "decode_seconds": 0.002612208,
              "fixed_scan_seconds": 0.003029375,
              "memory_bytes": {
                "before": 290048,
                "peak": 776704,
                "peak_increment": 486656,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 776704,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004396834,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 485632,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 4.7334e-05,
              "prefill_seconds": 0.000698166,
              "decode_seconds": 0.033790792,
              "fixed_scan_seconds": 0.034540166,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "key_value_capacity_tokens": 0,
                "key_value_allocations": 0,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034265167,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.4e-05,
              "prefill_seconds": 0.000376542,
              "decode_seconds": 0.002662084,
              "fixed_scan_seconds": 0.003086334,
              "memory_bytes": {
                "before": 290048,
                "peak": 776704,
                "peak_increment": 486656,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 776704,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "key_value_capacity_tokens": 64,
                "key_value_allocations": 1,
                "key_value_copied_elements": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.004512125,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 485632,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float64-07-candidate.jsonl",
        "raw_sha256": "f998229684fbd2fdd8c136ad338e6d614dfd1dde7248023e4f9d03f67a638f94",
        "stderr_file": "short-cpu-Float64-07-candidate.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      },
      "baseline": {
        "protocol": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "protocol",
          "pairs": 2,
          "warmups_per_mode": 2,
          "cpu_provider": "apple_accelerate",
          "cpu_provider_details": "Apple Accelerate; thread count provider controlled (runtime query unavailable)",
          "cpu_provider_threads": null,
          "timing_policy": "steady clock; synchronized; equal excluded warmups; paired alternating mode order; transfer and correctness readback excluded; allocation, finite checks and session preparation included in full scan",
          "fixed_work": "one prompt prefill plus N forced one-token appends; N+1 next-logit rows; no EOS or sampler; same prepared weights in both policies",
          "natural_work": "separate greedy generate including sampler and host logit readback; EOS-aware token counts retained; N generated tokens require at most N-1 decode appends",
          "memory_scope": "process-wide native owned numeric capacities; zero retained increment required; allocator, driver, BLAS, command buffers and process RSS excluded; Metal shared memory overlaps RAM"
        },
        "correctness": {
          "schema": "aner.gen-cache-benchmark/1",
          "record": "correctness",
          "case": "short",
          "device": "cpu",
          "dtype": "Float64",
          "backend": "apple_accelerate",
          "model_summary": "Native decoder; cpu Float64; architecture=native; vocabulary=259; context=96; width=32; heads=4; layers=2; seed=20261015; dropout=0; tied embeddings; steps=0; scored_tokens=0; epoch=0; cursor=0; clip_norm=1; warmup_steps=0; weight_decay=0; batch=0; base_rate=0; training_seed=0; runtime=0.1.40-dev; implementation=f17c2c6708f973f586e3d59bb8a2c45a9c6c97714e2fd4bb0c4f899383d701aa; trainable=20; frozen=0; lora_rank=0; lora_alpha=0; lineage_documents=0; merged=0",
          "model_fingerprint": "c9b0a9b18159ce6f5451895bd2ef92bfec303ec707d55c1ec1cbffd5ebf0e890",
          "context": 96,
          "width": 32,
          "heads": 4,
          "layers": 2,
          "model_seed": 20261015,
          "dropout": 0,
          "vocabulary": 259,
          "prompt_tokens": 32,
          "forced_decode_appends": 32,
          "compared_logit_cells": 8547,
          "max_absolute_logit_error": 1.8041124150158794e-16,
          "max_scaled_logit_error": 1.6229691081735398e-16,
          "scaled_tolerance": 1e-10,
          "all_pairs_generated_ids_equal": true,
          "status": "PASS"
        },
        "records": [
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 0,
            "first": "uncached",
            "uncached": {
              "prepare_seconds": 5.1125e-05,
              "prefill_seconds": 0.000685917,
              "decode_seconds": 0.034463958,
              "fixed_scan_seconds": 0.035207917,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034585541,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 4.3917e-05,
              "prefill_seconds": 0.0006205,
              "decode_seconds": 0.004895542,
              "fixed_scan_seconds": 0.005565,
              "memory_bytes": {
                "before": 290048,
                "peak": 781616,
                "peak_increment": 491568,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 781616,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.006883833,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 487440,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          },
          {
            "schema": "aner.gen-cache-benchmark/1",
            "record": "pair",
            "case": "short",
            "device": "cpu",
            "dtype": "Float64",
            "pair": 1,
            "first": "cached",
            "uncached": {
              "prepare_seconds": 4.2208e-05,
              "prefill_seconds": 0.000688708,
              "decode_seconds": 0.034013833,
              "fixed_scan_seconds": 0.03474925,
              "memory_bytes": {
                "before": 290048,
                "peak": 992280,
                "peak_increment": 702232,
                "live_session": 582168,
                "after": 290048,
                "host_peak": 992280,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 0,
                "key_value_bytes": 0,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.034507708,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 689720,
              "natural_retained_increment_bytes": 0
            },
            "cached": {
              "prepare_seconds": 6.1583e-05,
              "prefill_seconds": 0.000661875,
              "decode_seconds": 0.004848542,
              "fixed_scan_seconds": 0.005575042,
              "memory_bytes": {
                "before": 290048,
                "peak": 781616,
                "peak_increment": 491568,
                "live_session": 647704,
                "after": 290048,
                "host_peak": 781616,
                "device_peak": 0,
                "activation_readback_peak_increment": 0,
                "key_value_elements": 8192,
                "key_value_bytes": 65536,
                "provider_allocated_after": null
              },
              "natural_generation_seconds": 0.006560458,
              "natural_new_tokens": 32,
              "natural_ended_eos": false,
              "natural_peak_increment_bytes": 487440,
              "natural_retained_increment_bytes": 0
            },
            "generated_ids_equal": true,
            "generated_ids": [
              211,
              71,
              211,
              71,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              211,
              61,
              211,
              211,
              61,
              211,
              66
            ]
          }
        ],
        "raw_file": "short-cpu-Float64-07-baseline.jsonl",
        "raw_sha256": "a81fcad1b3f79ed0669098835cb73f908859310d243754d0723cf19394271620",
        "stderr_file": "short-cpu-Float64-07-baseline.stderr",
        "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
      }
    }
  ],
  "summary": [
    {
      "case": "long",
      "device": "cpu",
      "dtype": "Float32",
      "outer_process_pairs": 8,
      "native_trials_per_implementation": 16,
      "phases": {
        "prepare_seconds": {
          "baseline_cached_median_seconds": 0.00020029175,
          "candidate_cached_median_seconds": 0.00020710425,
          "baseline_over_candidate_ratio_of_cluster_medians": 0.9671059381929632,
          "paired_process_bootstrap_percentile_95": [
            0.925146460303812,
            1.045772755806654
          ],
          "baseline_cluster_seconds": [
            0.00019725,
            0.0002059165,
            0.0002105625,
            0.0001982085,
            0.000223479,
            0.000197563,
            0.000197896,
            0.000202375
          ],
          "candidate_cluster_seconds": [
            0.0002180625,
            0.0001943755,
            0.000246021,
            0.0002084795,
            0.0001982505,
            0.000207125,
            0.0002070835,
            0.000199125
          ]
        },
        "prefill_seconds": {
          "baseline_cached_median_seconds": 0.00557780175,
          "candidate_cached_median_seconds": 0.00320725,
          "baseline_over_candidate_ratio_of_cluster_medians": 1.7391228466755009,
          "paired_process_bootstrap_percentile_95": [
            1.6539305235958557,
            1.7746002312323037
          ],
          "baseline_cluster_seconds": [
            0.005385646,
            0.005664062,
            0.0056605,
            0.005384479,
            0.005597458,
            0.0055581455,
            0.0056264374999999995,
            0.0054807715
          ],
          "candidate_cluster_seconds": [
            0.0033656249999999997,
            0.0031340630000000003,
            0.0033219995,
            0.003256271,
            0.0031698955,
            0.0032203125,
            0.003190375,
            0.0031941875
          ]
        },
        "decode_seconds": {
          "baseline_cached_median_seconds": 0.03820921875,
          "candidate_cached_median_seconds": 0.017705719,
          "baseline_over_candidate_ratio_of_cluster_medians": 2.1580156530214896,
          "paired_process_bootstrap_percentile_95": [
            2.132982001107654,
            2.1833041047715875
          ],
          "baseline_cluster_seconds": [
            0.037800041,
            0.038580437499999995,
            0.0387776665,
            0.0376915835,
            0.038531125,
            0.038068271,
            0.038163604000000004,
            0.0382548335
          ],
          "candidate_cluster_seconds": [
            0.0177642705,
            0.0173239375,
            0.0177158335,
            0.0176956045,
            0.017747771000000002,
            0.018147813,
            0.0176241875,
            0.0176487085
          ]
        },
        "fixed_scan_seconds": {
          "baseline_cached_median_seconds": 0.043969124750000005,
          "candidate_cached_median_seconds": 0.02114418775,
          "baseline_over_candidate_ratio_of_cluster_medians": 2.0794898943327818,
          "paired_process_bootstrap_percentile_95": [
            2.0446055418202174,
            2.107183485123028
          ],
          "baseline_cluster_seconds": [
            0.0433886255,
            0.044457604,
            0.0446557085,
            0.0432790835,
            0.0443599165,
            0.043830208999999995,
            0.043995,
            0.0439432495
          ],
          "candidate_cluster_seconds": [
            0.021355687499999998,
            0.020656917,
            0.021292854,
            0.021166292,
            0.0211220835,
            0.021581146,
            0.0210277915,
            0.0210475835
          ]
        },
        "natural_generation_seconds": {
          "baseline_cached_median_seconds": 0.0467132185,
          "candidate_cached_median_seconds": 0.02358896875,
          "baseline_over_candidate_ratio_of_cluster_medians": 1.9802993083366562,
          "paired_process_bootstrap_percentile_95": [
            1.9494057224287067,
            2.004754034501287
          ],
          "baseline_cluster_seconds": [
            0.046275521,
            0.048000312,
            0.047264875,
            0.045784646,
            0.0466887915,
            0.0467376455,
            0.0463244995,
            0.04684854149999999
          ],
          "candidate_cluster_seconds": [
            0.023680478999999997,
            0.0229895835,
            0.023576396,
            0.0238211875,
            0.023560958,
            0.024134125,
            0.023571604000000003,
            0.0236015415
          ]
        }
      },
      "memory": {
        "baseline": {
          "kv_owned_bytes": [
            589824
          ],
          "fixed_peak_increment_bytes": [
            4214016,
            4214016,
            4214016,
            4214016,
            4214016,
            4214016,
            4214016,
            4214016,
            4214016,
            4214016,
            4214016,
            4214016,
            4214016,
            4214016,
            4214016,
            4214016
          ],
          "natural_peak_increment_bytes": [
            4214016,
            4214016,
            4214016,
            4214016,
            4214016,
            4214016,
            4214016,
            4214016,
            4214016,
            4214016,
            4214016,
            4214016,
            4214016,
            4214016,
            4214016,
            4214016
          ],
          "all_retained_increments_zero": true
        },
        "candidate": {
          "kv_owned_bytes": [
            196608
          ],
          "fixed_peak_increment_bytes": [
            3327744,
            3327744,
            3327744,
            3327744,
            3327744,
            3327744,
            3327744,
            3327744,
            3327744,
            3327744,
            3327744,
            3327744,
            3327744,
            3327744,
            3327744,
            3327744
          ],
          "natural_peak_increment_bytes": [
            3326720,
            3326720,
            3326720,
            3326720,
            3326720,
            3326720,
            3326720,
            3326720,
            3326720,
            3326720,
            3326720,
            3326720,
            3326720,
            3326720,
            3326720,
            3326720
          ],
          "all_retained_increments_zero": true
        }
      },
      "candidate_cached_vs_uncached": {
        "uncertainty_unit": "outer process pair; two native repetitions clustered",
        "phases": {
          "prepare_seconds": {
            "uncached_median_seconds": 0.00020926025,
            "cached_median_seconds": 0.00020710425,
            "uncached_over_cached_ratio_of_cluster_medians": 1.0104102161109683,
            "paired_process_bootstrap_percentile_95": [
              0.957763339703072,
              1.0658593848085374
            ],
            "uncached_cluster_seconds": [
              0.0002068125,
              0.000197854,
              0.000211708,
              0.000215271,
              0.00020041649999999998,
              0.00020004149999999999,
              0.0002127705,
              0.0002141875
            ],
            "cached_cluster_seconds": [
              0.0002180625,
              0.0001943755,
              0.000246021,
              0.0002084795,
              0.0001982505,
              0.000207125,
              0.0002070835,
              0.000199125
            ]
          },
          "prefill_seconds": {
            "uncached_median_seconds": 0.00575368775,
            "cached_median_seconds": 0.00320725,
            "uncached_over_cached_ratio_of_cluster_medians": 1.7939629745108738,
            "paired_process_bootstrap_percentile_95": [
              1.738702798385024,
              1.8257804997358484
            ],
            "uncached_cluster_seconds": [
              0.005917646,
              0.005627708,
              0.0057281664999999996,
              0.0056616875,
              0.005787687499999999,
              0.0055915,
              0.005779209,
              0.005876083000000001
            ],
            "cached_cluster_seconds": [
              0.0033656249999999997,
              0.0031340630000000003,
              0.0033219995,
              0.003256271,
              0.0031698955,
              0.0032203125,
              0.003190375,
              0.0031941875
            ]
          },
          "decode_seconds": {
            "uncached_median_seconds": 0.5194205835000001,
            "cached_median_seconds": 0.017705719,
            "uncached_over_cached_ratio_of_cluster_medians": 29.336316898511722,
            "paired_process_bootstrap_percentile_95": [
              28.526670217430343,
              29.48612265916584
            ],
            "uncached_cluster_seconds": [
              0.5210982915,
              0.500079896,
              0.5206041045,
              0.5193843335,
              0.5186624375,
              0.5036860830000001,
              0.5194568335,
              0.523949479
            ],
            "cached_cluster_seconds": [
              0.0177642705,
              0.0173239375,
              0.0177158335,
              0.0176956045,
              0.017747771000000002,
              0.018147813,
              0.0176241875,
              0.0176487085
            ]
          },
          "fixed_scan_seconds": {
            "uncached_median_seconds": 0.525361802,
            "cached_median_seconds": 0.02114418775,
            "uncached_over_cached_ratio_of_cluster_medians": 24.846629637026375,
            "paired_process_bootstrap_percentile_95": [
              24.17455275739432,
              25.002960460839628
            ],
            "uncached_cluster_seconds": [
              0.527228854,
              0.5059113955,
              0.5265535210000001,
              0.5252681875,
              0.5246594165,
              0.5094831665,
              0.5254554165,
              0.530050438
            ],
            "cached_cluster_seconds": [
              0.021355687499999998,
              0.020656917,
              0.021292854,
              0.021166292,
              0.0211220835,
              0.021581146,
              0.0210277915,
              0.0210475835
            ]
          },
          "natural_generation_seconds": {
            "uncached_median_seconds": 0.51589909325,
            "cached_median_seconds": 0.02358896875,
            "uncached_over_cached_ratio_of_cluster_medians": 21.870353838592457,
            "paired_process_bootstrap_percentile_95": [
              21.370272410617726,
              22.066110295229173
            ],
            "uncached_cluster_seconds": [
              0.5205265,
              0.503917896,
              0.5203311875000001,
              0.5202393544999999,
              0.508699646,
              0.504199625,
              0.5199693955,
              0.511828791
            ],
            "cached_cluster_seconds": [
              0.023680478999999997,
              0.0229895835,
              0.023576396,
              0.0238211875,
              0.023560958,
              0.024134125,
              0.023571604000000003,
              0.0236015415
            ]
          }
        }
      }
    },
    {
      "case": "long",
      "device": "cpu",
      "dtype": "Float64",
      "outer_process_pairs": 8,
      "native_trials_per_implementation": 16,
      "phases": {
        "prepare_seconds": {
          "baseline_cached_median_seconds": 0.0001485205,
          "candidate_cached_median_seconds": 0.00016270825,
          "baseline_over_candidate_ratio_of_cluster_medians": 0.9128025161600596,
          "paired_process_bootstrap_percentile_95": [
            0.8417859142283008,
            0.9774370935010385
          ],
          "baseline_cluster_seconds": [
            0.0001449585,
            0.000145479,
            0.00016106250000000002,
            0.0001592495,
            0.0001472705,
            0.000152,
            0.0001424165,
            0.0001497705
          ],
          "candidate_cluster_seconds": [
            0.0001468755,
            0.00016062500000000001,
            0.0001647915,
            0.0001848745,
            0.0001489585,
            0.0001870835,
            0.0001525625,
            0.00016693749999999999
          ]
        },
        "prefill_seconds": {
          "baseline_cached_median_seconds": 0.0051574789999999995,
          "candidate_cached_median_seconds": 0.00291540625,
          "baseline_over_candidate_ratio_of_cluster_medians": 1.7690429935793681,
          "paired_process_bootstrap_percentile_95": [
            1.72405832581712,
            1.8095661094767317
          ],
          "baseline_cluster_seconds": [
            0.0049787500000000005,
            0.0050565625,
            0.005276083500000001,
            0.0051816665,
            0.0051332915,
            0.0052623955,
            0.004943187999999999,
            0.0053035625
          ],
          "candidate_cluster_seconds": [
            0.0028490835000000003,
            0.002922708,
            0.003032646,
            0.002967792,
            0.0028910415,
            0.0029353755000000002,
            0.002898042,
            0.0029081045
          ]
        },
        "decode_seconds": {
          "baseline_cached_median_seconds": 0.036075323,
          "candidate_cached_median_seconds": 0.01636076025,
          "baseline_over_candidate_ratio_of_cluster_medians": 2.2049906268872808,
          "paired_process_bootstrap_percentile_95": [
            2.1305051144406155,
            2.2673591152853927
          ],
          "baseline_cluster_seconds": [
            0.034920625,
            0.0359069585,
            0.036076021,
            0.036074625,
            0.036168271,
            0.036592270499999996,
            0.0349253955,
            0.042915354
          ],
          "candidate_cluster_seconds": [
            0.015982541500000003,
            0.0169330835,
            0.016946916,
            0.0164342085,
            0.016698438,
            0.015990125,
            0.016183333,
            0.016287311999999998
          ]
        },
        "fixed_scan_seconds": {
          "baseline_cached_median_seconds": 0.0414376875,
          "candidate_cached_median_seconds": 0.019479552249999997,
          "baseline_over_candidate_ratio_of_cluster_medians": 2.127240244959943,
          "paired_process_bootstrap_percentile_95": [
            2.069747774372515,
            2.1833176794714446
          ],
          "baseline_cluster_seconds": [
            0.0400485005,
            0.041116604,
            0.0415187085,
            0.0414210625,
            0.0414543125,
            0.042012104,
            0.0400170415,
            0.048374438
          ],
          "candidate_cluster_seconds": [
            0.0189827705,
            0.020020646000000003,
            0.020149542,
            0.019593375,
            0.019743229,
            0.0191189165,
            0.019238479,
            0.019365729499999998
          ]
        },
        "natural_generation_seconds": {
          "baseline_cached_median_seconds": 0.043986948,
          "candidate_cached_median_seconds": 0.022146698,
          "baseline_over_candidate_ratio_of_cluster_medians": 1.986162813074888,
          "paired_process_bootstrap_percentile_95": [
            1.9340264614004234,
            2.004241433297192
          ],
          "baseline_cluster_seconds": [
            0.0426273125,
            0.0437225625,
            0.0439606875,
            0.0440132085,
            0.0445077085,
            0.0444502915,
            0.042569625,
            0.0442127705
          ],
          "candidate_cluster_seconds": [
            0.0217988125,
            0.022376978999999998,
            0.0223445,
            0.021985458,
            0.0278974995,
            0.022097437499999997,
            0.022040708,
            0.0221959585
          ]
        }
      },
      "memory": {
        "baseline": {
          "kv_owned_bytes": [
            393216
          ],
          "fixed_peak_increment_bytes": [
            2809344,
            2809344,
            2809344,
            2809344,
            2809344,
            2809344,
            2809344,
            2809344,
            2809344,
            2809344,
            2809344,
            2809344,
            2809344,
            2809344,
            2809344,
            2809344
          ],
          "natural_peak_increment_bytes": [
            2809344,
            2809344,
            2809344,
            2809344,
            2809344,
            2809344,
            2809344,
            2809344,
            2809344,
            2809344,
            2809344,
            2809344,
            2809344,
            2809344,
            2809344,
            2809344
          ],
          "all_retained_increments_zero": true
        },
        "candidate": {
          "kv_owned_bytes": [
            393216
          ],
          "fixed_peak_increment_bytes": [
            2480640,
            2480640,
            2480640,
            2480640,
            2480640,
            2480640,
            2480640,
            2480640,
            2480640,
            2480640,
            2480640,
            2480640,
            2480640,
            2480640,
            2480640,
            2480640
          ],
          "natural_peak_increment_bytes": [
            2478592,
            2478592,
            2478592,
            2478592,
            2478592,
            2478592,
            2478592,
            2478592,
            2478592,
            2478592,
            2478592,
            2478592,
            2478592,
            2478592,
            2478592,
            2478592
          ],
          "all_retained_increments_zero": true
        }
      },
      "candidate_cached_vs_uncached": {
        "uncertainty_unit": "outer process pair; two native repetitions clustered",
        "phases": {
          "prepare_seconds": {
            "uncached_median_seconds": 0.00015643775,
            "cached_median_seconds": 0.00016270825,
            "uncached_over_cached_ratio_of_cluster_medians": 0.961461696011112,
            "paired_process_bootstrap_percentile_95": [
              0.8368926727824496,
              1.0710962088876066
            ],
            "uncached_cluster_seconds": [
              0.00013941650000000002,
              0.000173354,
              0.00016147900000000002,
              0.000143604,
              0.0001676875,
              0.00015654200000000002,
              0.00014554200000000002,
              0.0001563335
            ],
            "cached_cluster_seconds": [
              0.0001468755,
              0.00016062500000000001,
              0.0001647915,
              0.0001848745,
              0.0001489585,
              0.0001870835,
              0.0001525625,
              0.00016693749999999999
            ]
          },
          "prefill_seconds": {
            "uncached_median_seconds": 0.00527229175,
            "cached_median_seconds": 0.00291540625,
            "uncached_over_cached_ratio_of_cluster_medians": 1.8084243833942524,
            "paired_process_bootstrap_percentile_95": [
              1.776348629782231,
              1.876648642286537
            ],
            "uncached_cluster_seconds": [
              0.005205146,
              0.0054848959999999995,
              0.0052849795,
              0.0052395835,
              0.0053300625,
              0.0052465,
              0.006277646,
              0.005259603999999999
            ],
            "cached_cluster_seconds": [
              0.0028490835000000003,
              0.002922708,
              0.003032646,
              0.002967792,
              0.0028910415,
              0.0029353755000000002,
              0.002898042,
              0.0029081045
            ]
          },
          "decode_seconds": {
            "uncached_median_seconds": 0.47660835425000003,
            "cached_median_seconds": 0.01636076025,
            "uncached_over_cached_ratio_of_cluster_medians": 29.131186263181142,
            "paired_process_bootstrap_percentile_95": [
              28.381351320330992,
              29.81857037251016
            ],
            "uncached_cluster_seconds": [
              0.46306487500000004,
              0.481706396,
              0.4794611875,
              0.4707221875,
              0.47555658300000003,
              0.486514,
              0.47766012550000003,
              0.472401771
            ],
            "cached_cluster_seconds": [
              0.015982541500000003,
              0.0169330835,
              0.016946916,
              0.0164342085,
              0.016698438,
              0.015990125,
              0.016183333,
              0.016287311999999998
            ]
          },
          "fixed_scan_seconds": {
            "uncached_median_seconds": 0.48257426025,
            "cached_median_seconds": 0.019479552249999997,
            "uncached_over_cached_ratio_of_cluster_medians": 24.773375386490216,
            "paired_process_bootstrap_percentile_95": [
              24.28203730289222,
              25.28395404218725
            ],
            "uncached_cluster_seconds": [
              0.4684139375,
              0.4873708335,
              0.4849133125,
              0.47611050050000003,
              0.4810595205,
              0.49192183300000003,
              0.484089,
              0.4778226875
            ],
            "cached_cluster_seconds": [
              0.0189827705,
              0.020020646000000003,
              0.020149542,
              0.019593375,
              0.019743229,
              0.0191189165,
              0.019238479,
              0.019365729499999998
            ]
          },
          "natural_generation_seconds": {
            "uncached_median_seconds": 0.4731941045,
            "cached_median_seconds": 0.022146698,
            "uncached_over_cached_ratio_of_cluster_medians": 21.366350166512408,
            "paired_process_bootstrap_percentile_95": [
              21.103184430172973,
              21.666519613416718
            ],
            "uncached_cluster_seconds": [
              0.461293271,
              0.479290083,
              0.478774563,
              0.4711624375,
              0.4715401045,
              0.483507271,
              0.46966483299999995,
              0.47484810450000003
            ],
            "cached_cluster_seconds": [
              0.0217988125,
              0.022376978999999998,
              0.0223445,
              0.021985458,
              0.0278974995,
              0.022097437499999997,
              0.022040708,
              0.0221959585
            ]
          }
        }
      }
    },
    {
      "case": "long",
      "device": "mps",
      "dtype": "Float32",
      "outer_process_pairs": 8,
      "native_trials_per_implementation": 16,
      "phases": {
        "prepare_seconds": {
          "baseline_cached_median_seconds": 2.021825e-05,
          "candidate_cached_median_seconds": 2.406275e-05,
          "baseline_over_candidate_ratio_of_cluster_medians": 0.8402302313742195,
          "paired_process_bootstrap_percentile_95": [
            0.8066858129820051,
            0.9166445582743208
          ],
          "baseline_cluster_seconds": [
            2.01035e-05,
            2.2729e-05,
            2.21875e-05,
            2.3312499999999997e-05,
            1.94165e-05,
            2.0333e-05,
            2.0063e-05,
            1.9125e-05
          ],
          "candidate_cluster_seconds": [
            2.2771e-05,
            2.8500500000000003e-05,
            2.6083e-05,
            2.45005e-05,
            2.2458500000000002e-05,
            2.3624999999999998e-05,
            2.4896e-05,
            2.1833e-05
          ]
        },
        "prefill_seconds": {
          "baseline_cached_median_seconds": 0.00987183375,
          "candidate_cached_median_seconds": 0.0047362705000000005,
          "baseline_over_candidate_ratio_of_cluster_medians": 2.084305309420144,
          "paired_process_bootstrap_percentile_95": [
            2.006358879560451,
            2.127136240402536
          ],
          "baseline_cluster_seconds": [
            0.0100259585,
            0.0099754585,
            0.009634146,
            0.0101403545,
            0.0096763335,
            0.010189729,
            0.009623978500000002,
            0.009768209
          ],
          "candidate_cluster_seconds": [
            0.0056202084999999995,
            0.004706583,
            0.0047322915,
            0.0049589795,
            0.0046081045,
            0.0047402495,
            0.004726063,
            0.004868625
          ]
        },
        "decode_seconds": {
          "baseline_cached_median_seconds": 0.5948364372499999,
          "candidate_cached_median_seconds": 0.282819979,
          "baseline_over_candidate_ratio_of_cluster_medians": 2.103233439706888,
          "paired_process_bootstrap_percentile_95": [
            1.9386014776479221,
            2.455197881785429
          ],
          "baseline_cluster_seconds": [
            0.5847616245,
            0.5971565624999999,
            0.5764491045,
            0.7470597704999999,
            0.592516312,
            0.7407295414999999,
            0.6394183124999999,
            0.573583042
          ],
          "candidate_cluster_seconds": [
            0.39068420800000003,
            0.28372689549999996,
            0.2713308125,
            0.3095315,
            0.2819130625,
            0.281066521,
            0.2976752915,
            0.28095922900000003
          ]
        },
        "fixed_scan_seconds": {
          "baseline_cached_median_seconds": 0.60471222925,
          "candidate_cached_median_seconds": 0.28752957325,
          "baseline_over_candidate_ratio_of_cluster_medians": 2.103130549024317,
          "paired_process_bootstrap_percentile_95": [
            1.9401639846854373,
            2.4488545898539344
          ],
          "baseline_cluster_seconds": [
            0.5948352705,
            0.607182229,
            0.586140021,
            0.7572518335,
            0.6022422295,
            0.7509731875000001,
            0.6490899379999999,
            0.5833946455
          ],
          "candidate_cluster_seconds": [
            0.39635081250000004,
            0.2884882715,
            0.2761127085,
            0.314542333,
            0.286570875,
            0.2858608125,
            0.302455771,
            0.2858763125
          ]
        },
        "natural_generation_seconds": {
          "baseline_cached_median_seconds": 0.6008348644999999,
          "candidate_cached_median_seconds": 0.28578499999999996,
          "baseline_over_candidate_ratio_of_cluster_medians": 2.1024016813338697,
          "paired_process_bootstrap_percentile_95": [
            2.049955691278154,
            2.152187185014521
          ],
          "baseline_cluster_seconds": [
            0.6152930835,
            0.596027062,
            0.5675866665,
            0.6240916245,
            0.5944681665,
            0.6056426669999999,
            0.618214708,
            0.5879234165
          ],
          "candidate_cluster_seconds": [
            0.3977607915,
            0.28499925,
            0.27873635399999996,
            0.29183495800000003,
            0.2822008335,
            0.295441833,
            0.28657075,
            0.2747555415
          ]
        }
      },
      "memory": {
        "baseline": {
          "kv_owned_bytes": [
            196608
          ],
          "fixed_peak_increment_bytes": [
            1114624,
            1114624,
            1114624,
            1114624,
            1114624,
            1114624,
            1114624,
            1114624,
            1114624,
            1114624,
            1114624,
            1114624,
            1114624,
            1114624,
            1114624,
            1114624
          ],
          "natural_peak_increment_bytes": [
            1114624,
            1114624,
            1114624,
            1114624,
            1114624,
            1114624,
            1114624,
            1114624,
            1114624,
            1114624,
            1114624,
            1114624,
            1114624,
            1114624,
            1114624,
            1114624
          ],
          "all_retained_increments_zero": true
        },
        "candidate": {
          "kv_owned_bytes": [
            196608
          ],
          "fixed_peak_increment_bytes": [
            720896,
            720896,
            720896,
            720896,
            720896,
            720896,
            720896,
            720896,
            720896,
            720896,
            720896,
            720896,
            720896,
            720896,
            720896,
            720896
          ],
          "natural_peak_increment_bytes": [
            719872,
            719872,
            719872,
            719872,
            719872,
            719872,
            719872,
            719872,
            719872,
            719872,
            719872,
            719872,
            719872,
            719872,
            719872,
            719872
          ],
          "all_retained_increments_zero": true
        }
      },
      "candidate_cached_vs_uncached": {
        "uncertainty_unit": "outer process pair; two native repetitions clustered",
        "phases": {
          "prepare_seconds": {
            "uncached_median_seconds": 2.285425e-05,
            "cached_median_seconds": 2.406275e-05,
            "uncached_over_cached_ratio_of_cluster_medians": 0.9497771451725177,
            "paired_process_bootstrap_percentile_95": [
              0.821895487482268,
              1.1189132839655278
            ],
            "uncached_cluster_seconds": [
              2.15205e-05,
              2.14375e-05,
              2.0125e-05,
              2.4188e-05,
              2.6208499999999998e-05,
              2.5125e-05,
              3.1521e-05,
              2.0583499999999997e-05
            ],
            "cached_cluster_seconds": [
              2.2771e-05,
              2.8500500000000003e-05,
              2.6083e-05,
              2.45005e-05,
              2.2458500000000002e-05,
              2.3624999999999998e-05,
              2.4896e-05,
              2.1833e-05
            ]
          },
          "prefill_seconds": {
            "uncached_median_seconds": 0.009861271000000001,
            "cached_median_seconds": 0.0047362705000000005,
            "uncached_over_cached_ratio_of_cluster_medians": 2.0820751264101154,
            "paired_process_bootstrap_percentile_95": [
              2.0045491757426745,
              2.1379905426520347
            ],
            "uncached_cluster_seconds": [
              0.0118438745,
              0.01000575,
              0.009670563,
              0.0098441875,
              0.0098365625,
              0.0102630415,
              0.009855729,
              0.009866813
            ],
            "cached_cluster_seconds": [
              0.0056202084999999995,
              0.004706583,
              0.0047322915,
              0.0049589795,
              0.0046081045,
              0.0047402495,
              0.004726063,
              0.004868625
            ]
          },
          "decode_seconds": {
            "uncached_median_seconds": 0.68020430225,
            "cached_median_seconds": 0.282819979,
            "uncached_over_cached_ratio_of_cluster_medians": 2.4050786816938414,
            "paired_process_bootstrap_percentile_95": [
              2.1975285302142105,
              2.447939703213532
            ],
            "uncached_cluster_seconds": [
              0.682880021,
              0.6880338960000001,
              0.6671458955,
              0.6775285835,
              0.652894333,
              0.693201062,
              0.691530458,
              0.6620626455
            ],
            "cached_cluster_seconds": [
              0.39068420800000003,
              0.28372689549999996,
              0.2713308125,
              0.3095315,
              0.2819130625,
              0.281066521,
              0.2976752915,
              0.28095922900000003
            ]
          },
          "fixed_scan_seconds": {
            "uncached_median_seconds": 0.6911019374999999,
            "cached_median_seconds": 0.28752957325,
            "uncached_over_cached_ratio_of_cluster_medians": 2.4035855849133942,
            "paired_process_bootstrap_percentile_95": [
              2.2088550366923103,
              2.442001250103574
            ],
            "uncached_cluster_seconds": [
              0.6947784164999999,
              0.6980855,
              0.6768573955,
              0.6874254584999999,
              0.6627805,
              0.703513,
              0.7014422085,
              0.6719724165000001
            ],
            "cached_cluster_seconds": [
              0.39635081250000004,
              0.2884882715,
              0.2761127085,
              0.314542333,
              0.286570875,
              0.2858608125,
              0.302455771,
              0.2858763125
            ]
          },
          "natural_generation_seconds": {
            "uncached_median_seconds": 0.6699849062500001,
            "cached_median_seconds": 0.28578499999999996,
            "uncached_over_cached_ratio_of_cluster_medians": 2.344366941057089,
            "paired_process_bootstrap_percentile_95": [
              2.2627616762059306,
              2.4455011620057236
            ],
            "uncached_cluster_seconds": [
              0.664433708,
              0.6990754370000001,
              0.6597435414999999,
              0.6755361045,
              0.6631292505,
              0.687932896,
              0.7260724380000001,
              0.6633812705
            ],
            "cached_cluster_seconds": [
              0.3977607915,
              0.28499925,
              0.27873635399999996,
              0.29183495800000003,
              0.2822008335,
              0.295441833,
              0.28657075,
              0.2747555415
            ]
          }
        }
      }
    },
    {
      "case": "short",
      "device": "cpu",
      "dtype": "Float32",
      "outer_process_pairs": 8,
      "native_trials_per_implementation": 16,
      "phases": {
        "prepare_seconds": {
          "baseline_cached_median_seconds": 6.870825e-05,
          "candidate_cached_median_seconds": 6.485400000000001e-05,
          "baseline_over_candidate_ratio_of_cluster_medians": 1.0594296419650289,
          "paired_process_bootstrap_percentile_95": [
            0.9065076216407835,
            1.269896044142321
          ],
          "baseline_cluster_seconds": [
            6.0708499999999997e-05,
            6.4417e-05,
            0.000119021,
            7.375e-05,
            6.82495e-05,
            6.9167e-05,
            5.9479000000000004e-05,
            7.34165e-05
          ],
          "candidate_cluster_seconds": [
            6.13755e-05,
            8.5375e-05,
            7.2917e-05,
            5.7813e-05,
            6.341650000000001e-05,
            6.94375e-05,
            6.62915e-05,
            5.65205e-05
          ]
        },
        "prefill_seconds": {
          "baseline_cached_median_seconds": 0.00070498975,
          "candidate_cached_median_seconds": 0.00040706274999999996,
          "baseline_over_candidate_ratio_of_cluster_medians": 1.7318945297745865,
          "paired_process_bootstrap_percentile_95": [
            1.6116171582131606,
            1.8177379808499279
          ],
          "baseline_cluster_seconds": [
            0.000708125,
            0.000668083,
            0.004461667,
            0.000717458,
            0.000726417,
            0.000678917,
            0.000647875,
            0.0007018545
          ],
          "candidate_cluster_seconds": [
            0.0003915625,
            0.00041454199999999995,
            0.0004242495,
            0.000390792,
            0.00040402099999999996,
            0.00041010449999999996,
            0.0004329585,
            0.0003986045
          ]
        },
        "decode_seconds": {
          "baseline_cached_median_seconds": 0.005400729,
          "candidate_cached_median_seconds": 0.00295608325,
          "baseline_over_candidate_ratio_of_cluster_medians": 1.8269881269412829,
          "paired_process_bootstrap_percentile_95": [
            1.761186851789896,
            1.8691177914456873
          ],
          "baseline_cluster_seconds": [
            0.0053788955,
            0.0052577505,
            0.0064336875,
            0.005453125,
            0.005502708,
            0.005353083,
            0.0052641875,
            0.0054225625
          ],
          "candidate_cluster_seconds": [
            0.0029522915,
            0.0029890000000000003,
            0.002929,
            0.0029042705,
            0.002959875,
            0.0029324994999999996,
            0.0030199585000000003,
            0.0029875415000000004
          ]
        },
        "fixed_scan_seconds": {
          "baseline_cached_median_seconds": 0.00617879175,
          "candidate_cached_median_seconds": 0.0034321147499999996,
          "baseline_over_candidate_ratio_of_cluster_medians": 1.8002870533393445,
          "paired_process_bootstrap_percentile_95": [
            1.7154688226666188,
            1.8377256087566247
          ],
          "baseline_cluster_seconds": [
            0.006153812999999999,
            0.005994062499999999,
            0.011021563,
            0.006248583,
            0.0063065,
            0.0061066045,
            0.0059754165000000005,
            0.0062037705000000005
          ],
          "candidate_cluster_seconds": [
            0.0034127505,
            0.003494125,
            0.0034316875,
            0.0033566665,
            0.003432542,
            0.0034159795,
            0.003525,
            0.0034462915
          ]
        },
        "natural_generation_seconds": {
          "baseline_cached_median_seconds": 0.00732670825,
          "candidate_cached_median_seconds": 0.0046680937499999995,
          "baseline_over_candidate_ratio_of_cluster_medians": 1.5695289431580077,
          "paired_process_bootstrap_percentile_95": [
            1.489707389789487,
            1.5909893528237058
          ],
          "baseline_cluster_seconds": [
            0.0073111875,
            0.0070184585,
            0.008875916000000001,
            0.0073422290000000005,
            0.0074099995,
            0.0071429585,
            0.007051375,
            0.0073425205
          ],
          "candidate_cluster_seconds": [
            0.0046787085,
            0.0048581875,
            0.004680396,
            0.00455125,
            0.004657479,
            0.0046317500000000005,
            0.004733396000000001,
            0.004639521000000001
          ]
        }
      },
      "memory": {
        "baseline": {
          "kv_owned_bytes": [
            98304
          ],
          "fixed_peak_increment_bytes": [
            737352,
            737352,
            737352,
            737352,
            737352,
            737352,
            737352,
            737352,
            737352,
            737352,
            737352,
            737352,
            737352,
            737352,
            737352,
            737352
          ],
          "natural_peak_increment_bytes": [
            731160,
            731160,
            731160,
            731160,
            731160,
            731160,
            731160,
            731160,
            731160,
            731160,
            731160,
            731160,
            731160,
            731160,
            731160,
            731160
          ],
          "all_retained_increments_zero": true
        },
        "candidate": {
          "kv_owned_bytes": [
            32768
          ],
          "fixed_peak_increment_bytes": [
            664448,
            664448,
            664448,
            664448,
            664448,
            664448,
            664448,
            664448,
            664448,
            664448,
            664448,
            664448,
            664448,
            664448,
            664448,
            664448
          ],
          "natural_peak_increment_bytes": [
            663936,
            663936,
            663936,
            663936,
            663936,
            663936,
            663936,
            663936,
            663936,
            663936,
            663936,
            663936,
            663936,
            663936,
            663936,
            663936
          ],
          "all_retained_increments_zero": true
        }
      },
      "candidate_cached_vs_uncached": {
        "uncertainty_unit": "outer process pair; two native repetitions clustered",
        "phases": {
          "prepare_seconds": {
            "uncached_median_seconds": 6.501025e-05,
            "cached_median_seconds": 6.485400000000001e-05,
            "uncached_over_cached_ratio_of_cluster_medians": 1.0024092577173342,
            "paired_process_bootstrap_percentile_95": [
              0.8781854185418542,
              1.090881251127416
            ],
            "uncached_cluster_seconds": [
              6.649999999999999e-05,
              6.92915e-05,
              6.5708e-05,
              6.43125e-05,
              6.8917e-05,
              5.76455e-05,
              6.2854e-05,
              5.6583e-05
            ],
            "cached_cluster_seconds": [
              6.13755e-05,
              8.5375e-05,
              7.2917e-05,
              5.7813e-05,
              6.341650000000001e-05,
              6.94375e-05,
              6.62915e-05,
              5.65205e-05
            ]
          },
          "prefill_seconds": {
            "uncached_median_seconds": 0.0007251145,
            "cached_median_seconds": 0.00040706274999999996,
            "uncached_over_cached_ratio_of_cluster_medians": 1.7813334676287624,
            "paired_process_bootstrap_percentile_95": [
              1.755551910301007,
              1.8707257791055416
            ],
            "uncached_cluster_seconds": [
              0.0007162914999999999,
              0.00072775,
              0.0007570624999999999,
              0.0007195624999999999,
              0.0007558125,
              0.000722479,
              0.0007702295,
              0.0007223335
            ],
            "cached_cluster_seconds": [
              0.0003915625,
              0.00041454199999999995,
              0.0004242495,
              0.000390792,
              0.00040402099999999996,
              0.00041010449999999996,
              0.0004329585,
              0.0003986045
            ]
          },
          "decode_seconds": {
            "uncached_median_seconds": 0.036337155999999995,
            "cached_median_seconds": 0.00295608325,
            "uncached_over_cached_ratio_of_cluster_medians": 12.292331753512016,
            "paired_process_bootstrap_percentile_95": [
              12.127938139101998,
              12.60549779721955
            ],
            "uncached_cluster_seconds": [
              0.037215104,
              0.036270104,
              0.037325229,
              0.0362400835,
              0.036744437000000005,
              0.0360429165,
              0.036404208,
              0.036195332999999996
            ],
            "cached_cluster_seconds": [
              0.0029522915,
              0.0029890000000000003,
              0.002929,
              0.0029042705,
              0.002959875,
              0.0029324994999999996,
              0.0030199585000000003,
              0.0029875415000000004
            ]
          },
          "fixed_scan_seconds": {
            "uncached_median_seconds": 0.037158593749999996,
            "cached_median_seconds": 0.0034321147499999996,
            "uncached_over_cached_ratio_of_cluster_medians": 10.82673408574116,
            "paired_process_bootstrap_percentile_95": [
              10.658858955907148,
              11.075254666982353
            ],
            "uncached_cluster_seconds": [
              0.038006813,
              0.037073375,
              0.038155396,
              0.037028979000000004,
              0.037576417,
              0.036827041500000005,
              0.0372438125,
              0.036977188
            ],
            "cached_cluster_seconds": [
              0.0034127505,
              0.003494125,
              0.0034316875,
              0.0033566665,
              0.003432542,
              0.0034159795,
              0.003525,
              0.0034462915
            ]
          },
          "natural_generation_seconds": {
            "uncached_median_seconds": 0.03718696875,
            "cached_median_seconds": 0.0046680937499999995,
            "uncached_over_cached_ratio_of_cluster_medians": 7.966200068282691,
            "paired_process_bootstrap_percentile_95": [
              7.870762872998582,
              8.071761459656745
            ],
            "uncached_cluster_seconds": [
              0.037215,
              0.0373519375,
              0.037772229500000004,
              0.036561375,
              0.0399269165,
              0.036955667,
              0.0371589375,
              0.0366179795
            ],
            "cached_cluster_seconds": [
              0.0046787085,
              0.0048581875,
              0.004680396,
              0.00455125,
              0.004657479,
              0.0046317500000000005,
              0.004733396000000001,
              0.004639521000000001
            ]
          }
        }
      }
    },
    {
      "case": "short",
      "device": "cpu",
      "dtype": "Float64",
      "outer_process_pairs": 8,
      "native_trials_per_implementation": 16,
      "phases": {
        "prepare_seconds": {
          "baseline_cached_median_seconds": 4.756275e-05,
          "candidate_cached_median_seconds": 4.85415e-05,
          "baseline_over_candidate_ratio_of_cluster_medians": 0.9798368406415129,
          "paired_process_bootstrap_percentile_95": [
            0.8507985865724381,
            1.0754056224899597
          ],
          "baseline_cluster_seconds": [
            4.51455e-05,
            4.76045e-05,
            4.4333e-05,
            4.7521e-05,
            4.4916499999999996e-05,
            4.9021e-05,
            5.0208e-05,
            5.2749999999999995e-05
          ],
          "candidate_cluster_seconds": [
            5.3062499999999996e-05,
            4.3208500000000005e-05,
            5.4208e-05,
            4.6958e-05,
            5.1583e-05,
            5.0125e-05,
            4.5542000000000005e-05,
            4.66875e-05
          ]
        },
        "prefill_seconds": {
          "baseline_cached_median_seconds": 0.0006180935000000001,
          "candidate_cached_median_seconds": 0.00036458325,
          "baseline_over_candidate_ratio_of_cluster_medians": 1.6953425589354423,
          "paired_process_bootstrap_percentile_95": [
            1.6327619108666418,
            1.7493889731818202
          ],
          "baseline_cluster_seconds": [
            0.0006046245,
            0.000624979,
            0.000602563,
            0.000626646,
            0.000605333,
            0.000617333,
            0.0006188540000000001,
            0.0006411875
          ],
          "candidate_cluster_seconds": [
            0.0003911455,
            0.000348292,
            0.000356521,
            0.0003582085,
            0.0003611665,
            0.0003744165,
            0.000368,
            0.0003705005
          ]
        },
        "decode_seconds": {
          "baseline_cached_median_seconds": 0.00478701,
          "candidate_cached_median_seconds": 0.00263347925,
          "baseline_over_candidate_ratio_of_cluster_medians": 1.8177511746105461,
          "paired_process_bootstrap_percentile_95": [
            1.8040873886177704,
            1.850279756152846
          ],
          "baseline_cluster_seconds": [
            0.00484675,
            0.004853229,
            0.004599438,
            0.0047870410000000006,
            0.0047652915,
            0.004786979,
            0.004764875,
            0.004872042
          ],
          "candidate_cluster_seconds": [
            0.0027394380000000003,
            0.002609125,
            0.0026421875,
            0.0026298125,
            0.0025902915000000004,
            0.002640354,
            0.0025911045,
            0.002637146
          ]
        },
        "fixed_scan_seconds": {
          "baseline_cached_median_seconds": 0.0054622085,
          "candidate_cached_median_seconds": 0.00304825025,
          "baseline_over_candidate_ratio_of_cluster_medians": 1.79191603445288,
          "paired_process_bootstrap_percentile_95": [
            1.7732326392898465,
            1.8245458360465958
          ],
          "baseline_cluster_seconds": [
            0.005502667,
            0.0055297915,
            0.0052495205,
            0.0054662085,
            0.005420625,
            0.005458208500000001,
            0.0054387705000000005,
            0.005570021
          ],
          "candidate_cluster_seconds": [
            0.003189125,
            0.0030070005,
            0.003056917,
            0.0030395835,
            0.003007104,
            0.003067917,
            0.003007854,
            0.0030578545
          ]
        },
        "natural_generation_seconds": {
          "baseline_cached_median_seconds": 0.006588031,
          "candidate_cached_median_seconds": 0.004450833249999999,
          "baseline_over_candidate_ratio_of_cluster_medians": 1.4801792450885463,
          "paired_process_bootstrap_percentile_95": [
            1.4488702705796443,
            1.4982671937316134
          ],
          "baseline_cluster_seconds": [
            0.0065940415,
            0.0065935205,
            0.0063362705,
            0.0066740005,
            0.00642275,
            0.0065825415000000005,
            0.0065058955,
            0.0067221455
          ],
          "candidate_cluster_seconds": [
            0.0045179585000000005,
            0.004391063,
            0.004426271,
            0.0044626875,
            0.0043574165,
            0.004447187,
            0.004553042,
            0.0044544795
          ]
        }
      },
      "memory": {
        "baseline": {
          "kv_owned_bytes": [
            65536
          ],
          "fixed_peak_increment_bytes": [
            491568,
            491568,
            491568,
            491568,
            491568,
            491568,
            491568,
            491568,
            491568,
            491568,
            491568,
            491568,
            491568,
            491568,
            491568,
            491568
          ],
          "natural_peak_increment_bytes": [
            487440,
            487440,
            487440,
            487440,
            487440,
            487440,
            487440,
            487440,
            487440,
            487440,
            487440,
            487440,
            487440,
            487440,
            487440,
            487440
          ],
          "all_retained_increments_zero": true
        },
        "candidate": {
          "kv_owned_bytes": [
            65536
          ],
          "fixed_peak_increment_bytes": [
            486656,
            486656,
            486656,
            486656,
            486656,
            486656,
            486656,
            486656,
            486656,
            486656,
            486656,
            486656,
            486656,
            486656,
            486656,
            486656
          ],
          "natural_peak_increment_bytes": [
            485632,
            485632,
            485632,
            485632,
            485632,
            485632,
            485632,
            485632,
            485632,
            485632,
            485632,
            485632,
            485632,
            485632,
            485632,
            485632
          ],
          "all_retained_increments_zero": true
        }
      },
      "candidate_cached_vs_uncached": {
        "uncertainty_unit": "outer process pair; two native repetitions clustered",
        "phases": {
          "prepare_seconds": {
            "uncached_median_seconds": 4.68125e-05,
            "cached_median_seconds": 4.85415e-05,
            "uncached_over_cached_ratio_of_cluster_medians": 0.9643809935828105,
            "paired_process_bootstrap_percentile_95": [
              0.8843380747380442,
              1.0431383455393837
            ],
            "uncached_cluster_seconds": [
              4.6271e-05,
              4.4396e-05,
              5.29375e-05,
              4.09165e-05,
              4.5625e-05,
              5.4417000000000004e-05,
              4.7354e-05,
              4.8333499999999994e-05
            ],
            "cached_cluster_seconds": [
              5.3062499999999996e-05,
              4.3208500000000005e-05,
              5.4208e-05,
              4.6958e-05,
              5.1583e-05,
              5.0125e-05,
              4.5542000000000005e-05,
              4.66875e-05
            ]
          },
          "prefill_seconds": {
            "uncached_median_seconds": 0.0006721355,
            "cached_median_seconds": 0.00036458325,
            "uncached_over_cached_ratio_of_cluster_medians": 1.8435720785307608,
            "paired_process_bootstrap_percentile_95": [
              1.7958376570812586,
              1.893553449995344
            ],
            "uncached_cluster_seconds": [
              0.000668875,
              0.0006477085,
              0.0006558335,
              0.0006636459999999999,
              0.000675396,
              0.0007602920000000001,
              0.000685146,
              0.0007015624999999999
            ],
            "cached_cluster_seconds": [
              0.0003911455,
              0.000348292,
              0.000356521,
              0.0003582085,
              0.0003611665,
              0.0003744165,
              0.000368,
              0.0003705005
            ]
          },
          "decode_seconds": {
            "uncached_median_seconds": 0.033659479500000006,
            "cached_median_seconds": 0.00263347925,
            "uncached_over_cached_ratio_of_cluster_medians": 12.7813725891328,
            "paired_process_bootstrap_percentile_95": [
              12.722009093539542,
              12.962256569637937
            ],
            "uncached_cluster_seconds": [
              0.0341157285,
              0.0332891255,
              0.0336022705,
              0.0336156045,
              0.033412145500000004,
              0.034083437,
              0.033703354500000005,
              0.0341023335
            ],
            "cached_cluster_seconds": [
              0.0027394380000000003,
              0.002609125,
              0.0026421875,
              0.0026298125,
              0.0025902915000000004,
              0.002640354,
              0.0025911045,
              0.002637146
            ]
          },
          "fixed_scan_seconds": {
            "uncached_median_seconds": 0.03438248975,
            "cached_median_seconds": 0.00304825025,
            "uncached_over_cached_ratio_of_cluster_medians": 11.279418331877444,
            "paired_process_bootstrap_percentile_95": [
              11.227583869630744,
              11.450460361440417
            ],
            "uncached_cluster_seconds": [
              0.034834936999999996,
              0.033986771,
              0.034321792000000004,
              0.0343236665,
              0.0341395,
              0.034904041999999996,
              0.034441313,
              0.034857062499999994
            ],
            "cached_cluster_seconds": [
              0.003189125,
              0.0030070005,
              0.003056917,
              0.0030395835,
              0.003007104,
              0.003067917,
              0.003007854,
              0.0030578545
            ]
          },
          "natural_generation_seconds": {
            "uncached_median_seconds": 0.0344431665,
            "cached_median_seconds": 0.004450833249999999,
            "uncached_over_cached_ratio_of_cluster_medians": 7.738588386792518,
            "paired_process_bootstrap_percentile_95": [
              7.635525923932235,
              7.815068941333027
            ],
            "uncached_cluster_seconds": [
              0.034473666,
              0.0343055835,
              0.034212042,
              0.034535686999999995,
              0.034320541999999996,
              0.0349898335,
              0.0345203125,
              0.034412667
            ],
            "cached_cluster_seconds": [
              0.0045179585000000005,
              0.004391063,
              0.004426271,
              0.0044626875,
              0.0043574165,
              0.004447187,
              0.004553042,
              0.0044544795
            ]
          }
        }
      }
    },
    {
      "case": "short",
      "device": "mps",
      "dtype": "Float32",
      "outer_process_pairs": 8,
      "native_trials_per_implementation": 16,
      "phases": {
        "prepare_seconds": {
          "baseline_cached_median_seconds": 2.091675e-05,
          "candidate_cached_median_seconds": 2.21565e-05,
          "baseline_over_candidate_ratio_of_cluster_medians": 0.9440457653510256,
          "paired_process_bootstrap_percentile_95": [
            0.785282315577278,
            1.2533793694852526
          ],
          "baseline_cluster_seconds": [
            2.00005e-05,
            2.0729e-05,
            2.11045e-05,
            4.93125e-05,
            2.0188e-05,
            2.6979e-05,
            1.9729e-05,
            2.77705e-05
          ],
          "candidate_cluster_seconds": [
            2.13755e-05,
            2.13125e-05,
            3.03535e-05,
            2.2354e-05,
            2.6291499999999997e-05,
            2.45625e-05,
            2.1042e-05,
            2.1959e-05
          ]
        },
        "prefill_seconds": {
          "baseline_cached_median_seconds": 0.008209427,
          "candidate_cached_median_seconds": 0.0045598437500000005,
          "baseline_over_candidate_ratio_of_cluster_medians": 1.8003746290648663,
          "paired_process_bootstrap_percentile_95": [
            1.664019232756073,
            1.9586723940406252
          ],
          "baseline_cluster_seconds": [
            0.0076995,
            0.0107816045,
            0.0083462295,
            0.008658145499999999,
            0.0081302705,
            0.0082753125,
            0.0081435415,
            0.008139375
          ],
          "candidate_cluster_seconds": [
            0.004340791,
            0.0041869375,
            0.0044655625,
            0.005593812,
            0.004994396,
            0.004722188,
            0.004295103999999999,
            0.004654125
          ]
        },
        "decode_seconds": {
          "baseline_cached_median_seconds": 0.28323949974999996,
          "candidate_cached_median_seconds": 0.14130157275,
          "baseline_over_candidate_ratio_of_cluster_medians": 2.004503518521523,
          "paired_process_bootstrap_percentile_95": [
            1.779816979041589,
            2.0858555656187416
          ],
          "baseline_cluster_seconds": [
            0.2557310205,
            0.2653420415,
            0.285320771,
            0.299120292,
            0.2637498545,
            0.282935208,
            0.28683118750000003,
            0.2835437915
          ],
          "candidate_cluster_seconds": [
            0.13305110450000002,
            0.13288599950000002,
            0.1362165215,
            0.1546416665,
            0.15914818749999998,
            0.14033349950000001,
            0.142269646,
            0.1481893125
          ]
        },
        "fixed_scan_seconds": {
          "baseline_cached_median_seconds": 0.29151629175000005,
          "candidate_cached_median_seconds": 0.1458586875,
          "baseline_over_candidate_ratio_of_cluster_medians": 1.9986213831109652,
          "paired_process_bootstrap_percentile_95": [
            1.7999149153311549,
            2.0783083482060363
          ],
          "baseline_cluster_seconds": [
            0.2634744795,
            0.276171021,
            0.293714813,
            0.3078571875,
            0.2719291455,
            0.29126854150000003,
            0.295026604,
            0.291764042
          ],
          "candidate_cluster_seconds": [
            0.1374435835,
            0.13712718699999998,
            0.140735458,
            0.16028662500000002,
            0.164194583,
            0.14510818749999999,
            0.14660918750000002,
            0.15289041650000001
          ]
        },
        "natural_generation_seconds": {
          "baseline_cached_median_seconds": 0.27287609375,
          "candidate_cached_median_seconds": 0.140203302,
          "baseline_over_candidate_ratio_of_cluster_medians": 1.9462886384088156,
          "paired_process_bootstrap_percentile_95": [
            1.8159340321439335,
            2.02467673867162
          ],
          "baseline_cluster_seconds": [
            0.26149754150000004,
            0.266754,
            0.2702923745,
            0.286077146,
            0.266578271,
            0.275459813,
            0.28498554200000004,
            0.301206646
          ],
          "candidate_cluster_seconds": [
            0.1371787085,
            0.13619256200000002,
            0.131656125,
            0.14102564550000002,
            0.16375339649999998,
            0.13938095849999999,
            0.14678795849999998,
            0.148953167
          ]
        }
      },
      "memory": {
        "baseline": {
          "kv_owned_bytes": [
            32768
          ],
          "fixed_peak_increment_bytes": [
            100768,
            100768,
            100768,
            100768,
            100768,
            100768,
            100768,
            100768,
            100768,
            100768,
            100768,
            100768,
            100768,
            100768,
            100768,
            100768
          ],
          "natural_peak_increment_bytes": [
            98704,
            98704,
            98704,
            98704,
            98704,
            98704,
            98704,
            98704,
            98704,
            98704,
            98704,
            98704,
            98704,
            98704,
            98704,
            98704
          ],
          "all_retained_increments_zero": true
        },
        "candidate": {
          "kv_owned_bytes": [
            32768
          ],
          "fixed_peak_increment_bytes": [
            98304,
            98304,
            98304,
            98304,
            98304,
            98304,
            98304,
            98304,
            98304,
            98304,
            98304,
            98304,
            98304,
            98304,
            98304,
            98304
          ],
          "natural_peak_increment_bytes": [
            97792,
            97792,
            97792,
            97792,
            97792,
            97792,
            97792,
            97792,
            97792,
            97792,
            97792,
            97792,
            97792,
            97792,
            97792,
            97792
          ],
          "all_retained_increments_zero": true
        }
      },
      "candidate_cached_vs_uncached": {
        "uncertainty_unit": "outer process pair; two native repetitions clustered",
        "phases": {
          "prepare_seconds": {
            "uncached_median_seconds": 2.11355e-05,
            "cached_median_seconds": 2.21565e-05,
            "uncached_over_cached_ratio_of_cluster_medians": 0.9539187145984249,
            "paired_process_bootstrap_percentile_95": [
              0.802711903086549,
              1.1305700451451428
            ],
            "uncached_cluster_seconds": [
              2.11045e-05,
              2.11665e-05,
              4.1729e-05,
              2.0104e-05,
              1.93955e-05,
              2.0395499999999998e-05,
              2.41665e-05,
              2.4687499999999997e-05
            ],
            "cached_cluster_seconds": [
              2.13755e-05,
              2.13125e-05,
              3.03535e-05,
              2.2354e-05,
              2.6291499999999997e-05,
              2.45625e-05,
              2.1042e-05,
              2.1959e-05
            ]
          },
          "prefill_seconds": {
            "uncached_median_seconds": 0.00800308375,
            "cached_median_seconds": 0.0045598437500000005,
            "uncached_over_cached_ratio_of_cluster_medians": 1.755122365760888,
            "paired_process_bootstrap_percentile_95": [
              1.6262467344490612,
              1.9351356450866537
            ],
            "uncached_cluster_seconds": [
              0.0077908545,
              0.008102292,
              0.0076832919999999996,
              0.0079038755,
              0.009753542,
              0.0078976875,
              0.008543583,
              0.0083323335
            ],
            "cached_cluster_seconds": [
              0.004340791,
              0.0041869375,
              0.0044655625,
              0.005593812,
              0.004994396,
              0.004722188,
              0.004295103999999999,
              0.004654125
            ]
          },
          "decode_seconds": {
            "uncached_median_seconds": 0.26612468749999996,
            "cached_median_seconds": 0.14130157275,
            "uncached_over_cached_ratio_of_cluster_medians": 1.883380930025777,
            "paired_process_bootstrap_percentile_95": [
              1.7974951235091439,
              1.996673201112766
            ],
            "uncached_cluster_seconds": [
              0.2571021875,
              0.258596104,
              0.253075625,
              0.272168604,
              0.29345841650000004,
              0.260080771,
              0.291264146,
              0.276867833
            ],
            "cached_cluster_seconds": [
              0.13305110450000002,
              0.13288599950000002,
              0.1362165215,
              0.1546416665,
              0.15914818749999998,
              0.14033349950000001,
              0.142269646,
              0.1481893125
            ]
          },
          "fixed_scan_seconds": {
            "uncached_median_seconds": 0.27407359374999996,
            "cached_median_seconds": 0.1458586875,
            "uncached_over_cached_ratio_of_cluster_medians": 1.8790351020401164,
            "paired_process_bootstrap_percentile_95": [
              1.7888792687889286,
              1.9955798012317607
            ],
            "uncached_cluster_seconds": [
              0.2649344375,
              0.2667406875,
              0.2608219585,
              0.2801179585,
              0.303254354,
              0.268029229,
              0.299867562,
              0.2852731045
            ],
            "cached_cluster_seconds": [
              0.1374435835,
              0.13712718699999998,
              0.140735458,
              0.16028662500000002,
              0.164194583,
              0.14510818749999999,
              0.14660918750000002,
              0.15289041650000001
            ]
          },
          "natural_generation_seconds": {
            "uncached_median_seconds": 0.2659736665,
            "cached_median_seconds": 0.140203302,
            "uncached_over_cached_ratio_of_cluster_medians": 1.8970570785843544,
            "paired_process_bootstrap_percentile_95": [
              1.8647867153354032,
              1.950155291887379
            ],
            "uncached_cluster_seconds": [
              0.2663506875,
              0.255842438,
              0.2655966455,
              0.26180022950000004,
              0.281380167,
              0.264165271,
              0.3826487505,
              0.281904896
            ],
            "cached_cluster_seconds": [
              0.1371787085,
              0.13619256200000002,
              0.131656125,
              0.14102564550000002,
              0.16375339649999998,
              0.13938095849999999,
              0.14678795849999998,
              0.148953167
            ]
          }
        }
      }
    }
  ],
  "scope": "One host/build comparison of bounded newly initialized reference decoders, not language quality or universal speedup. All successful timed trials are retained; failures stop capture and keep raw files. Fixed scans force equal work without EOS; natural generation is measured separately with equal complete output IDs. Previous published evidence is unchanged."
}
