{
 "campaign": "stage600_b",
 "arms": {
  "B0_nospec_tp8": {
   "cfg": {
    "method": "none",
    "k": null,
    "head": null,
    "argmax": false,
    "kv": "fp8_e4m3",
    "ml": 16384,
    "tp": 8
   },
   "cmd": "vllm serve /models/Kimi-K2.6-NVFP4 --tensor-parallel-size 4 --gpu-memory-utilization 0.90 --quantization modelopt_fp4 --max-model-len 16384 --kv-cache-dtype fp8_e4m3 --compilation-config {\"cudagraph_mode\": \"FULL_AND_PIECEWISE\", \"cudagraph_capture_sizes\": [1, 2, 3, 4, 5, 8, 12, 16, 32, 64, 128]} --attention-config {\"disable_flashinfer_q_quantization\": true} --chat-template /cache/kimi_chat_template.jinja --limit-mm-per-prompt {\"image\":0,\"video\":0} --async-scheduling --trust-remote-code --port 8000",
   "cells": {
    "tool_nothink_10k": {
     "n": 4,
     "tok_s_median": 153.1,
     "tok_s_first8_median": null,
     "tok_s_agg": 153.0,
     "tok_s_all_sorted": [
      153.0,
      153.0,
      153.1,
      153.1
     ],
     "ctok_median": 2048,
     "aa_len_ok": true,
     "ttft_ms_median": 335.0,
     "prefix_cache_suspect": false,
     "tau": null,
     "per_pos": null,
     "power": null,
     "rows": [
      {
       "ctok": 2048,
       "ttft_ms": 339.0,
       "tok_s": 153.0,
       "text": " ```json\n[\n  {\n    \"endpoint\": \"PUT /v1/invoices/{id}/archive\",\n    \"method\": \"PUT\",\n    \"test_name\": \"archive_invoice_happy_path\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440001\", \"as_of\": \"2024-01-15T10:30:00Z\"},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"archived\",\n    \"cleanup\": \"PUT /v1/invoices/{id}/archive with as_of rollback date\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/invoices/{id}/archive\",\n    \"method\": \"PUT\",\n    \"test_name\": \"archive_invoice_gone_error\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440999\", \"as_of\": \"2024-01-15T10:30:00Z\"},\n    \"expected_status\": 410,\n    \"expected_body_contains\": \"Gone\",\n    \"cleanup\": \"none - resource already deleted\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/customers/{id}/verify\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"verify_customer_delete_happy_path\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440002\", \"idempotency-key\": \"idem-cust-001-20240115\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"accepted\",\n    \"cleanup\": \"POST /v2/customers/{id}/retry to restore customer\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/customers/{id}/verify\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"verify_customer_not_found\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440999\", \"idempotency-key\": \"idem-cust-999-20240115\"},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"Not Found\",\n    \"cleanup\": \"none - resource does not exist\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/subscriptions/{id}/retry\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"retry_subscription_delete_happy_path\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440003\", \"idempotency-key\": \"idem-sub-001-20240115\"},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"retried\",\n    \"cleanup\": \"POST /v1/subscriptions/{id}/retry to recreate subscription\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/subscriptions/{id}/retry\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"retry_subscription_precondition_required\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440003\", \"idempotency-key\": \"idem-sub-001-20240115\"},\n    \"expected_status\": 428,\n    \"expected_body_contains\": \"Precondition Required\",\n    \"cleanup\": \"none - 2FA context missing, retry with MFA token\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/webhooks/{id}/approve\",\n    \"method\": \"PUT\",\n    \"test_name\": \"approve_webhook_happy_path\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440004\", \"cursor\": \"eyJpZCI6MX0\", \"limit\": 50},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"approved\",\n    \"cleanup\": \"DELETE /v1/webhooks/{id}/approve to reverse approval\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/webhooks/{id}/approve\",\n    \"method\": \"PUT\",\n    \"test_name\": \"approve_webhook_conflict\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440004\", \"cursor\": \"eyJpZCI6MX0\", \"limit\": 50},\n    \"expected_status\": 409,\n    \"expected_body_contains\": \"Conflict\",\n    \"cleanup\": \"none - webhook already in approved state\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/reports/{id}/archive\",\n    \"method\": \"PUT\",\n    \"test_name\": \"archive_report_happy_path\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440005\", \"dry_run\": false},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"archived\",\n    \"cleanup\": \"PUT /v2/reports/{id}/archive with dry_run false to unarchive\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/reports/{id}/archive\",\n    \"method\": \"PUT\",\n    \"test_name\": \"archive_report_conflict\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440005\", \"dry_run\": false},\n    \"expected_status\": 409,\n    \"expected_body_contains\": \"Conflict\",\n    \"cleanup\": \"none - report already archived\"\n  },\n  {\n    \"endpoint\": \"GET /v3/tokens/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"archive_token_get_happy_path\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440006\"},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"token\",\n    \"cleanup\": \"DELETE /v1/tokens/{id}/rotate to deactivate archived token\"\n  },\n  {\n    \"endpoint\": \"GET /v3/tokens/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"archive_token_precondition_failed\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440006\"},\n    \"expected_status\": 412,\n    \"expected_body_contains\": \"Precondition Failed\",\n    \"cleanup\": \"none - token state incompatible with archive\"\n  },\n  {\n    \"endpoint\": \"GET /v3/audits/{id}/retry\",\n    \"method\": \"GET\",\n    \"test_name\": \"retry_audit_happy_path\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440007\", \"as_of\": \"2024-01-15T10:30:00Z\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"retry\",\n    \"cleanup\": \"PATCH /v2/audits/{id}/retry to reset audit state\"\n  },\n  {\n    \"endpoint\": \"GET /v3/audits/{id}/retry\",\n    \"method\": \"GET\",\n    \"test_name\": \"retry_audit_payment_required\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440007\", \"as_of\": \"2024-01-15T10:30:00Z\"},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"Payment Required\",\n    \"cleanup\": \"none - billing issue must be resolved first\"\n  },\n  {\n    \"endpoint\": \"PATCH /v1/exports/{id}/retry\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"retry_export_happy_path\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440008\", \"cursor\": \"eyJpZCI6MX0\", \"limit\": 100},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"export\",\n    \"cleanup\": \"PATCH /v1/exports/{id}/retry with reset cursor\"\n  },\n  {\n    \"endpoint\": \"PATCH /v1/exports/{id}/retry\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"retry_export_precondition_required\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440008\", \"cursor\": \"eyJpZCI6MX0\", \"limit\": 100},\n    \"expected_status\": 428,\n    \"expected_body_contains\": \"Precondition Required\",\n    \"cleanup\": \"none - export in unrecoverable state\"\n  },\n  {\n    \"endpoint\": \"GET /v1/plans/{id}/finalize\",\n    \"method\": \"GET\",\n    \"test_name\": \"finalize_plan_happy_path\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440009\", \"cursor\": \"eyJpZCI6MX0\", \"limit\": 25},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"finalized\",\n    \"cleanup\": \"none - finalize is terminal state\"\n  },\n  {\n    \"endpoint\": \"GET /v1/plans/{id}/finalize\",\n    \"method\": \"GET\",\n    \"test_name\": \"finalize_plan_not_found\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440999\", \"cursor\": \"eyJpZCI6MX0\", \"limit\": 25},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"",
       "slot": 0,
       "is_10k": true
      },
      {
       "ctok": 2048,
       "ttft_ms": 335.0,
       "tok_s": 153.1,
       "text": " ```json\n[\n  {\n    \"endpoint\": \"PATCH /v2/invoices/{id}/archive\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"happy_path_archive_invoice\",\n    \"payload\": {\n      \"id\": \"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11\",\n      \"status\": \"done\",\n      \"amount_cents\": 10000,\n      \"currency\": \"USD\",\n      \"metadata\": {\"reason\": \"customer-request\"},\n      \"version\": 1\n    },\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"archived\",\n    \"cleanup\": \"PATCH /v2/invoices/{id}/archive (restore status to pending)\"\n  },\n  {\n    \"endpoint\": \"PATCH /v2/invoices/{id}/archive\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"failure_payment_required_402\",\n    \"payload\": {\n      \"id\": \"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11\",\n      \"status\": \"failed\",\n      \"amount_cents\": -100,\n      \"currency\": \"USD\",\n      \"metadata\": {},\n      \"version\": 1\n    },\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"payment required\",\n    \"cleanup\": \"none required\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/customers/{id}/finalize\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_finalize_customer\",\n    \"payload\": {\n      \"id\": \"b1eebc99-9c0b-4ef8-bb6d-6bb9bd380a22\",\n      \"status\": \"closed\",\n      \"amount_cents\": 5000,\n      \"currency\": \"EUR\",\n      \"metadata\": {\"source\": \"web\"},\n      \"version\": 2,\n      \"dry_run\": false\n    },\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"finalized\",\n    \"cleanup\": \"PUT /v1/customers/{id}/finalize (reopen with status open)\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/customers/{id}/finalize\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_not_found_404\",\n    \"payload\": {\n      \"id\": \"00000000-0000-0000-0000-000000000000\",\n      \"status\": \"closed\",\n      \"amount_cents\": 5000,\n      \"currency\": \"EUR\",\n      \"metadata\": {},\n      \"version\": 1,\n      \"dry_run\": false\n    },\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"not found\",\n    \"cleanup\": \"none required\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/subscriptions/{id}/finalize\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_finalize_subscription_async\",\n    \"payload\": {\n      \"id\": \"c2eebc99-9c0b-4ef8-bb6d-6bb9bd380a33\",\n      \"status\": \"done\",\n      \"amount_cents\": 15000,\n      \"currency\": \"GBP\",\n      \"metadata\": {\"term\": \"annual\"},\n      \"version\": 3,\n      \"dry_run\": false\n    },\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"job_id\",\n    \"cleanup\": \"DELETE /v1/subscriptions/{id}/finalize (revert with dry_run true, then recreate)\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/subscriptions/{id}/finalize\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"failure_conflict_409\",\n    \"payload\": {\n      \"id\": \"c2eebc99-9c0b-4ef8-bb6d-6bb9bd380a33\",\n      \"status\": \"pending\",\n      \"amount_cents\": 15000,\n      \"currency\": \"GBP\",\n      \"metadata\": {\"term\": \"annual\"},\n      \"version\": 1,\n      \"dry_run\": false\n    },\n    \"expected_status\": 409,\n    \"expected_body_contains\": \"conflict\",\n    \"cleanup\": \"none required\"\n  },\n  {\n    \"endpoint\": \"PATCH /v3/webhooks/{id}/preview\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"happy_path_preview_webhooks_paginated\",\n    \"payload\": {\n      \"id\": \"d3eebc99-9c0b-4ef8-bb6d-6bb9bd380a44\",\n      \"status\": \"closed\",\n      \"amount_cents\": 0,\n      \"currency\": \"USD\",\n      \"metadata\": {\"url\": \"https://example.com/hook\"},\n      \"version\": 2,\n      \"cursor\": \"eyJpZCI6ImFiYzEyMyJ9\",\n      \"limit\": 50\n    },\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"preview\",\n    \"cleanup\": \"PATCH /v3/webhooks/{id}/preview (reset with empty preview)\"\n  },\n  {\n    \"endpoint\": \"PATCH /v3/webhooks/{id}/preview\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"failure_precondition_required_428\",\n    \"payload\": {\n      \"id\": \"d3eebc99-9c0b-4ef8-bb6d-6bb9bd380a44\",\n      \"status\": \"open\",\n      \"amount_cents\": 0,\n      \"currency\": \"USD\",\n      \"metadata\": {},\n      \"version\": 1,\n      \"cursor\": \"invalid-cursor\",\n      \"limit\": 1000\n    },\n    \"expected_status\": 428,\n    \"expected_body_contains\": \"precondition required\",\n    \"cleanup\": \"none required\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/reports/{id}/approve\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_approve_report_idempotent\",\n    \"payload\": {\n      \"id\": \"e4eebc99-9c0b-4ef8-bb6d-6bb9bd380a55\",\n      \"status\": \"held\",\n      \"amount_cents\": 2500,\n      \"currency\": \"USD\",\n      \"metadata\": {\"report_type\": \"monthly\"},\n      \"version\": 1\n    },\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"approved\",\n    \"cleanup\": \"DELETE /v2/reports/{id}/approve (unapprove with idempotency-key reuse)\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/reports/{id}/approve\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"failure_payment_required_402\",\n    \"payload\": {\n      \"id\": \"e4eebc99-9c0b-4ef8-bb6d-6bb9bd380a55\",\n      \"status\": \"open\",\n      \"amount_cents\": -500,\n      \"currency\": \"USD\",\n      \"metadata\": {},\n      \"version\": 1\n    },\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"payment required\",\n    \"cleanup\": \"none required\"\n  },\n  {\n    \"endpoint\": \"GET /v2/tokens/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_archive_token_idempotent\",\n    \"payload\": {\n      \"id\": \"f5eebc99-9c0b-4ef8-bb6d-6bb9bd380a66\",\n      \"status\": \"closed\",\n      \"amount_cents\": 0,\n      \"currency\": \"USD\",\n      \"metadata\": {\"type\": \"api\"},\n      \"version\": 5\n    },\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"archived\",\n    \"cleanup\": \"GET /v2/tokens/{id}/archive (restore active status)\"\n  },\n  {\n    \"endpoint\": \"GET /v2/tokens/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"failure_bad_request_400\",\n    \"payload\": {\n      \"id\": \"not-a-uuid\",\n      \"status\": \"open\",\n      \"amount_cents\": 0,\n      \"currency\": \"INVALID\",\n      \"metadata\": {},\n      \"version\": 1\n    },\n    \"expected_status\": 400,\n    \"expected_body_contains\": \"bad request\",\n    \"cleanup\": \"none required\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/audits/{id}/preview\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_preview_audit_paginated\",\n    \"payload\": {\n      \"id\": \"g6eebc99-9c0b-4ef8-bb6d-6bb9bd380a77\",\n      \"status\": \"past_due\",\n      \"amount_cents\": 0,\n      \"currency\": \"USD\",\n      \"metadata\": {\"retention\": \"7y\"},\n      \"version\": 2,\n      \"cursor\": \"eyJ0aW1lc3RhbXAiOiIyMDI1LTAxLTAxVDAwOjAwOjAwWiJ9\",\n      \"limit\": 25\n    },\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"preview\",\n    \"cleanup\": \"DELETE /v2/",
       "slot": 1,
       "is_10k": true
      },
      {
       "ctok": 2048,
       "ttft_ms": 297.0,
       "tok_s": 153.0,
       "text": " ```json\n[\n  {\n    \"endpoint\": \"DELETE /v2/invoices/{id}/rotate\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_rotate_invoice\",\n    \"payload\": {\"id\": \"inv-2f4a8b1c-5d3e-4f8a-9b2c-1d3e5f7a9b2c\"},\n    \"expected_status\": 200,\n    \"expected_body_contains\": {\"status\": \"active\", \"amount_cents\": 5000, \"currency\": \"USD\"},\n    \"cleanup\": \"POST /v2/invoices/{id}/rotate (no such endpoint; use PUT /v2/invoices/{id}/archive if exists, else manual revert via admin)\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/invoices/{id}/rotate\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"failure_payment_required_402\",\n    \"payload\": {\"id\": \"inv-00000000-0000-0000-0000-000000000000\", \"simulate_error\": \"payment_required\"},\n    \"expected_status\": 402,\n    \"expected_body_contains\": {\"error\": \"Payment Required\"},\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"POST /v2/customers/{id}/cancel\",\n    \"method\": \"POST\",\n    \"test_name\": \"happy_path_cancel_customer\",\n    \"payload\": {\"id\": \"cus-2f4a8b1c-5d3e-4f8a-9b2c-1d3e5f7a9b2c\", \"idempotency-key\": \"idem-2024-001-cancel-cust\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": {\"status\": \"canceled\", \"id\": \"cus-2f4a8b1c-5d3e-4f8a-9b2c-1d3e5f7a9b2c\"},\n    \"cleanup\": \"POST /v2/customers/{id}/reinstate (no such endpoint; use PATCH /v2/customers/{id}/activate if exists, else manual admin restore)\"\n  },\n  {\n    \"endpoint\": \"POST /v2/customers/{id}/cancel\",\n    \"method\": \"POST\",\n    \"test_name\": \"failure_precondition_failed_412\",\n    \"payload\": {\"id\": \"cus-2f4a8b1c-5d3e-4f8a-9b2c-1d3e5f7a9b2c\", \"idempotency-key\": \"idem-2024-412-test\", \"simulate_error\": \"precondition_failed\"},\n    \"expected_status\": 412,\n    \"expected_body_contains\": {\"error\": \"Precondition Failed\"},\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"POST /v2/subscriptions/{id}/verify\",\n    \"method\": \"POST\",\n    \"test_name\": \"happy_path_verify_subscription\",\n    \"payload\": {\"id\": \"sub-2f4a8b1c-5d3e-4f8a-9b2c-1d3e5f7a9b2c\", \"idempotency-key\": \"idem-2024-001-verify-sub\"},\n    \"expected_status\": 201,\n    \"expected_body_contains\": {\"status\": \"done\", \"amount_cents\": 999, \"currency\": \"USD\"},\n    \"cleanup\": \"POST /v2/subscriptions/{id}/unverify (no such endpoint; use PATCH /v2/subscriptions/{id}/pend if exists, else admin revert)\"\n  },\n  {\n    \"endpoint\": \"POST /v2/subscriptions/{id}/verify\",\n    \"method\": \"POST\",\n    \"test_name\": \"failure_not_found_404\",\n    \"payload\": {\"id\": \"sub-00000000-0000-0000-0000-000000000000\", \"idempotency-key\": \"idem-2024-404-test\"},\n    \"expected_status\": 404,\n    \"expected_body_contains\": {\"error\": \"Not Found\"},\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/webhooks/{id}/rotate\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_rotate_webhook_dry_run\",\n    \"payload\": {\"id\": \"whk-2f4a8b1c-5d3e-4f8a-9b2c-1d3e5f7a9b2c\", \"dry_run\": true},\n    \"expected_status\": 200,\n    \"expected_body_contains\": {\"dry_run\": true, \"status\": \"open\", \"metadata\": {}},\n    \"cleanup\": \"PUT /v3/webhooks/{id}/rotate with dry_run:false to apply, then PUT /v3/webhooks/{id}/rotate to regenerate secret\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/webhooks/{id}/rotate\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_not_found_404\",\n    \"payload\": {\"id\": \"whk-00000000-0000-0000-0000-000000000000\", \"dry_run\": false},\n    \"expected_status\": 404,\n    \"expected_body_contains\": {\"error\": \"Not Found\"},\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/reports/{id}/cancel\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_cancel_report_with_pagination\",\n    \"payload\": {\"id\": \"rpt-2f4a8b1c-5d3e-4f8a-9b2c-1d3e5f7a9b2c\", \"cursor\": \"eyJwYWdlIjoxfQ==\", \"limit\": 50},\n    \"expected_status\": 202,\n    \"expected_body_contains\": {\"status\": \"canceled\", \"cursor\": \"eyJwYWdlIjoxfQ==\", \"limit\": 50},\n    \"cleanup\": \"PUT /v2/reports/{id}/generate (no such endpoint; use POST /v2/reports/{id}/create if exists, else admin restore)\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/reports/{id}/cancel\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_not_found_404\",\n    \"payload\": {\"id\": \"rpt-00000000-0000-0000-0000-000000000000\", \"cursor\": \"eyJwYWdlIjoxfQ==\", \"limit\": 50},\n    \"expected_status\": 404,\n    \"expected_body_contains\": {\"error\": \"Not Found\"},\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/tokens/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_preview_token_with_date\",\n    \"payload\": {\"id\": \"tok-2f4a8b1c-5d3e-4f8a-9b2c-1d3e5f7a9b2c\", \"as_of\": \"2024-06-15T10:30:00Z\", \"2fa_context\": {\"verified\": true, \"method\": \"totp\"}},\n    \"expected_status\": 202,\n    \"expected_body_contains\": {\"status\": \"pending\", \"as_of\": \"2024-06-15T10:30:00Z\", \"amount_cents\": 10000},\n    \"cleanup\": \"PUT /v1/tokens/{id}/preview with as_of: null to clear preview state (no exact reverse; admin revoke if needed)\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/tokens/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_payment_required_402\",\n    \"payload\": {\"id\": \"tok-2f4a8b1c-5d3e-4f8a-9b2c-1d3e5f7a9b2c\", \"as_of\": \"2024-06-15T10:30:00Z\", \"2fa_context\": {\"verified\": true}, \"simulate_error\": \"payment_required\"},\n    \"expected_status\": 402,\n    \"expected_body_contains\": {\"error\": \"Payment Required\"},\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"POST /v1/audits/{id}/rotate\",\n    \"method\": \"POST\",\n    \"test_name\": \"happy_path_rotate_audit\",\n    \"payload\": {\"id\": \"adt-2f4a8b1c-5d3e-4f8a-9b2c-1d3e5f7a9b2c\", \"idempotency-key\": \"idem-2024-001-rotate-audit\"},\n    \"expected_status\": 201,\n    \"expected_body_contains\": {\"status\": \"active\", \"metadata\": {}, \"version\": 2},\n    \"cleanup\": \"POST /v1/audits/{id}/rotate with same idempotency-key (idempotent, no true reverse; admin archive to reset)\"\n  },\n  {\n    \"endpoint\": \"POST /v1/audits/{id}/rotate\",\n    \"method\": \"POST\",\n    \"test_name\": \"failure_conflict_409\",\n    \"payload\": {\"id\": \"adt-2f4a8b1c",
       "slot": 2,
       "is_10k": true
      },
      {
       "ctok": 2048,
       "ttft_ms": 294.0,
       "tok_s": 153.1,
       "text": " ```json\n[\n  {\n    \"endpoint\": \"GET /v1/invoices/{id}/cancel\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_cancel_invoice\",\n    \"payload\": {\"id\": \"inv-2024-001\", \"cursor\": \"eyJpZCI6InN0YXJ0In0\", \"limit\": 50},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"cancelled\",\n    \"cleanup\": \"POST /v1/invoices/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"GET /v1/invoices/{id}/cancel\",\n    \"method\": \"GET\",\n    \"test_name\": \"failure_payment_required\",\n    \"payload\": {\"id\": \"inv-2024-002\", \"cursor\": \"eyJpZCI6InN0YXJ0In0\", \"limit\": 50},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"Payment Required\",\n    \"cleanup\": \"POST /v1/invoices/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"PATCH /v1/customers/{id}/preview\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"happy_path_preview_customer\",\n    \"payload\": {\"id\": \"cust-2024-001\", \"status\": \"active\", \"metadata\": {\"preview\": \"true\"}},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"preview\",\n    \"cleanup\": \"PUT /v1/customers/{id}/retry\"\n  },\n  {\n    \"endpoint\": \"PATCH /v1/customers/{id}/preview\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"failure_customer_not_found\",\n    \"payload\": {\"id\": \"cust-2024-999\", \"status\": \"active\", \"metadata\": {}},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"Not Found\",\n    \"cleanup\": \"PUT /v1/customers/{id}/retry\"\n  },\n  {\n    \"endpoint\": \"GET /v2/subscriptions/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_archive_subscription\",\n    \"payload\": {\"id\": \"sub-2024-001\", \"cursor\": \"eyJpZCI6InN0YXJ0In0\", \"limit\": 20},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"archived\",\n    \"cleanup\": \"PATCH /v2/subscriptions/{id}/cancel\"\n  },\n  {\n    \"endpoint\": \"GET /v2/subscriptions/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"failure_payment_required\",\n    \"payload\": {\"id\": \"sub-2024-002\", \"cursor\": \"eyJpZCI6InN0YXJ0In0\", \"limit\": 20},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"Payment Required\",\n    \"cleanup\": \"PATCH /v2/subscriptions/{id}/cancel\"\n  },\n  {\n    \"endpoint\": \"POST /v2/webhooks/{id}/cancel\",\n    \"method\": \"POST\",\n    \"test_name\": \"happy_path_cancel_webhook\",\n    \"payload\": {\"id\": \"wh-2024-001\", \"status\": \"pending\"},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"cancelled\",\n    \"cleanup\": \"GET /v2/webhooks/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"POST /v2/webhooks/{id}/cancel\",\n    \"method\": \"POST\",\n    \"test_name\": \"failure_precondition_failed\",\n    \"payload\": {\"id\": \"wh-2024-002\", \"status\": \"done\"},\n    \"expected_status\": 412,\n    \"expected_body_contains\": \"Precondition Failed\",\n    \"cleanup\": \"GET /v2/webhooks/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"PATCH /v2/reports/{id}/cancel\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"happy_path_cancel_report\",\n    \"payload\": {\"id\": \"rep-2024-001\", \"as_of\": \"2024-06-15T00:00:00Z\", \"status\": \"pending\"},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"job_id\",\n    \"cleanup\": \"DELETE /v3/reports/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"PATCH /v2/reports/{id}/cancel\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"failure_conflict\",\n    \"payload\": {\"id\": \"rep-2024-002\", \"as_of\": \"2024-06-15T00:00:00Z\", \"status\": \"done\"},\n    \"expected_status\": 409,\n    \"expected_body_contains\": \"Conflict\",\n    \"cleanup\": \"DELETE /v3/reports/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/tokens/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_preview_token\",\n    \"payload\": {\"id\": \"tok-2024-001\", \"as_of\": \"2024-06-15T00:00:00Z\", \"status\": \"open\", \"amount_cents\": 1000},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"job_id\",\n    \"cleanup\": \"GET /v2/tokens/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/tokens/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_gone\",\n    \"payload\": {\"id\": \"tok-2024-002\", \"as_of\": \"2024-06-15T00:00:00Z\", \"status\": \"closed\", \"amount_cents\": 0},\n    \"expected_status\": 410,\n    \"expected_body_contains\": \"Gone\",\n    \"cleanup\": \"GET /v2/tokens/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"PATCH /v2/audits/{id}/cancel\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"happy_path_cancel_audit\",\n    \"payload\": {\"id\": \"aud-2024-001\", \"status\": \"pending\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"cancelled\",\n    \"cleanup\": \"PATCH /v1/audits/{id}/rotate\"\n  },\n  {\n    \"endpoint\": \"PATCH /v2/audits/{id}/cancel\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"failure_precondition_failed\",\n    \"payload\": {\"id\": \"aud-2024-002\", \"status\": \"done\"},\n    \"expected_status\": 412,\n    \"expected_body_contains\": \"Precondition Failed\",\n    \"cleanup\": \"PATCH /v1/audits/{id}/rotate\"\n  },\n  {\n    \"endpoint\": \"GET /v3/exports/{id}/finalize\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_finalize_export\",\n    \"payload\": {\"id\": \"exp-2024-001\", \"idempotency-key\": \"finalize-001-uuid\"},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"finalized\",\n    \"cleanup\": \"DELETE /v1/exports/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"GET /v3/exports/{id}/finalize\",\n    \"method\": \"GET\",\n    \"test_name\": \"failure_conflict\",\n    \"payload\": {\"id\": \"exp-2024-002\", \"idempotency-key\": \"finalize-002-uuid\"},\n    \"expected_status\": 409,\n    \"expected_body_contains\": \"Conflict\",\n    \"cleanup\": \"DELETE /v1/exports/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"DELETE /v3/plans/{id}/preview\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_preview_plan\",\n    \"payload\": {\"id\": \"plan-2024-001\", \"as_of\": \"2024-06-15T00:00:00Z\", \"status\": \"active\"},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"preview\",\n    \"cleanup\": \"PATCH /v3/plans/{id}/retry\"\n  },\n  {\n    \"endpoint\": \"DELETE /v3/plans/{id}/preview\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"failure_conflict\",\n    \"payload\": {\"id\": \"plan-2024-002\", \"as_of\": \"2024-06-15T00:00:00Z\", \"status\": \"past_due\"},\n    \"expected_status\": 409,\n    \"expected_body_contains\": \"Conflict\",\n    \"cleanup\": \"PATCH /v3/plans/{id}/retry\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/usage/{id}/cancel\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_cancel_usage\",\n    \"payload\": {\"id\": \"usage-2024-001\", \"cursor\": \"eyJpZCI6InN0YXJ0In0\", \"limit\": 100},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"cancelled\",\n    \"cleanup\": \"PUT /v3/usage/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/usage/{id}/cancel\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"failure_pre",
       "slot": 3,
       "is_10k": true
      }
     ],
     "mean_proposed": null
    }
   }
  },
  "B1_k5_tp8": {
   "cfg": {
    "method": "eagle3",
    "k": 5,
    "head": "lightseekorg/kimi-k2.6-eagle3.1-mla",
    "argmax": true,
    "kv": "fp8_e4m3",
    "ml": 16384,
    "tp": 8
   },
   "cmd": "vllm serve /models/Kimi-K2.6-NVFP4 --tensor-parallel-size 4 --gpu-memory-utilization 0.90 --quantization modelopt_fp4 --max-model-len 16384 --kv-cache-dtype fp8_e4m3 --speculative-config {\"model\": \"lightseekorg/kimi-k2.6-eagle3.1-mla\", \"method\": \"eagle3\", \"num_speculative_tokens\": 5, \"use_local_argmax_reduction\": true} --compilation-config {\"cudagraph_mode\": \"FULL_AND_PIECEWISE\", \"cudagraph_capture_sizes\": [1, 2, 3, 4, 5, 6, 12, 18, 24, 48, 96, 192]} --attention-config {\"disable_flashinfer_q_quantization\": true} --chat-template /cache/kimi_chat_template.jinja --limit-mm-per-prompt {\"image\":0,\"video\":0} --async-scheduling --trust-remote-code --port 8000",
   "cells": {
    "tool_nothink_10k": {
     "n": 8,
     "tok_s_median": 393.1,
     "tok_s_first8_median": 393.1,
     "tok_s_agg": 390.8,
     "tok_s_all_sorted": [
      337.2,
      363.3,
      380.0,
      390.7,
      395.5,
      410.6,
      431.7,
      438.2
     ],
     "ctok_median": 2048,
     "aa_len_ok": true,
     "ttft_ms_median": 318.0,
     "prefix_cache_suspect": false,
     "tau": 4.816,
     "per_pos": {
      "0": 0.913,
      "1": 0.8296,
      "2": 0.7543,
      "3": 0.695,
      "4": 0.6242
     },
     "power": null,
     "rows": [
      {
       "ctok": 2048,
       "ttft_ms": 361.0,
       "tok_s": 337.2,
       "text": " ```json\n[\n  {\n    \"endpoint\": \"PUT /v1/invoices/{id}/archive\",\n    \"method\": \"PUT\",\n    \"test_name\": \"archive_invoice_happy_path\",\n    \"payload\": {\"id\": \"inv_7a3f9c2e-5d1b-4e8a-9f6c-2b4d8e1a5c3f\", \"as_of\": \"2026-01-15T10:30:00Z\"},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"archived\",\n    \"cleanup\": \"PUT /v1/invoices/{id}/archive with as_of reset\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/invoices/{id}/archive\",\n    \"method\": \"PUT\",\n    \"test_name\": \"archive_invoice_gone_error\",\n    \"payload\": {\"id\": \"inv_00000000-0000-0000-0000-000000000000\", \"as_of\": \"2026-01-15T10:30:00Z\"},\n    \"expected_status\": 410,\n    \"expected_body_contains\": \"gone\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/customers/{id}/verify\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"verify_customer_soft_delete_happy\",\n    \"payload\": {\"id\": \"cus_8b4e1d3a-7f2c-4e9b-8d5a-3c6f9e2b7d1a\", \"idempotency-key\": \"idemp_12345abc-6789-def0-1234-567890abcdef\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"accepted\",\n    \"cleanup\": \"POST /v2/customers/{id}/restore (if exists) or recreate customer\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/customers/{id}/verify\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"verify_customer_not_found\",\n    \"payload\": {\"id\": \"cus_00000000-0000-0000-0000-000000000000\", \"idempotency-key\": \"idemp_00000abc-0000-0000-0000-000000000000\"},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"not found\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/subscriptions/{id}/retry\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"retry_subscription_admin_happy\",\n    \"payload\": {\"id\": \"sub_9c5f2e4b-8a1d-4f7c-9e6b-4d8a1c3e5f2b\", \"idempotency-key\": \"idemp_sub_admin_12345abc-6789-def0-1234-567890abcdef\"},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"retried\",\n    \"cleanup\": \"PUT /v1/subscriptions/{id}/cancel to reset state\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/subscriptions/{id}/retry\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"retry_subscription_precondition_failed\",\n    \"payload\": {\"id\": \"sub_9c5f2e4b-8a1d-4f7c-9e6b-4d8a1c3e5f2b\", \"idempotency-key\": \"idemp_sub_admin_duplicate_12345abc-6789-def0-1234-567890abcdef\"},\n    \"expected_status\": 428,\n    \"expected_body_contains\": \"precondition\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/webhooks/{id}/approve\",\n    \"method\": \"PUT\",\n    \"test_name\": \"approve_webhook_happy\",\n    \"payload\": {\"id\": \"whk_a2b4c6d8-0e1f-4a3b-9c5d-7e8f9a0b1c2d\", \"cursor\": \"cur_abc123\", \"limit\": 50},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"approved\",\n    \"cleanup\": \"PUT /v3/webhooks/{id}/revoke to unapprove\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/webhooks/{id}/approve\",\n    \"method\": \"PUT\",\n    \"test_name\": \"approve_webhook_payment_required\",\n    \"payload\": {\"id\": \"whk_a2b4c6d8-0e1f-4a3b-9c5d-7e8f9a0b1c2d\", \"cursor\": \"cur_def456\", \"limit\": 50},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"payment required\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/reports/{id}/archive\",\n    \"method\": \"PUT\",\n    \"test_name\": \"archive_report_dry_run_happy\",\n    \"payload\": {\"id\": \"rpt_3d7e9f1a-5b2c-4e8d-9f6a-1c3e5b7d9f2a\", \"dry_run\": true},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"dry_run\",\n    \"cleanup\": \"PUT /v2/reports/{id}/archive with dry_run=false to complete\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/reports/{id}/archive\",\n    \"method\": \"PUT\",\n    \"test_name\": \"archive_report_conflict\",\n    \"payload\": {\"id\": \"rpt_3d7e9f1a-5b2c-4e8d-9f6a-1c3e5b7d9f2a\", \"dry_run\": false},\n    \"expected_status\": 409,\n    \"expected_body_contains\": \"conflict\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v3/tokens/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"archive_token_admin_happy\",\n    \"payload\": {\"id\": \"tok_4e8a0b2c-6d3e-5f9a-0b1c-2d4e6f8a0b2c\"},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"archived\",\n    \"cleanup\": \"PUT /v3/tokens/{id}/unarchive to restore\"\n  },\n  {\n    \"endpoint\": \"GET /v3/tokens/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"archive_token_precondition_failed\",\n    \"payload\": {\"id\": \"tok_4e8a0b2c-6d3e-5f9a-0b1c-2d4e6f8a0b2c\"},\n    \"expected_status\": 412,\n    \"expected_body_contains\": \"precondition\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v3/audits/{id}/retry\",\n    \"method\": \"GET\",\n    \"test_name\": \"retry_audit_happy\",\n    \"payload\": {\"id\": \"adt_5f9b1c3d-7e4a-6g0b-1c2d-3e5f7g9b1c3d\", \"as_of\": \"2026-01-10T08:00:00Z\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"retry\",\n    \"cleanup\": \"GET /v3/audits/{id}/cancel to abort retry\"\n  },\n  {\n    \"endpoint\": \"GET /v3/audits/{id}/retry\",\n    \"method\": \"GET\",\n    \"test_name\": \"retry_audit_too_many_requests\",\n    \"payload\": {\"id\": \"adt_5f9b1c3d-7e4a-6g0b-1c2d-3e5f7g9b1c3d\", \"as_of\": \"2026-01-10T08:00:00Z\"},\n    \"expected_status\": 429,\n    \"expected_body_contains\": \"too many requests\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PATCH /v1/exports/{id}/retry\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"retry_export_admin_happy\",\n    \"payload\": {\"id\": \"exp_6g0c2d4e-8f5b-7h1c-2d3e-4f6g8h0c2d4e\", \"cursor\": \"cur_exp001\", \"limit\": 100},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"retried\",\n    \"cleanup\": \"PATCH /v1/exports/{id}/cancel to stop\"\n  },\n  {\n    \"endpoint\": \"PATCH /v1/exports/{id}/retry\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"retry_export_precondition_failed\",\n    \"payload\": {\"id\": \"exp_6g0c2d4e-8f5b-7h1c-2d3",
       "slot": 0,
       "is_10k": true,
       "dr": 490.0,
       "ac": 1560.0,
       "dtok": 2450.0,
       "pp_raw": {
        "0": 416.0,
        "1": 353.0,
        "2": 291.0,
        "3": 260.0,
        "4": 240.0
       },
       "tau": 4.1837
      },
      {
       "ctok": 2048,
       "ttft_ms": 353.0,
       "tok_s": 390.7,
       "text": " ```json\n[\n  {\n    \"endpoint\": \"PATCH /v2/invoices/{id}/archive\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"happy_path_archive_invoice\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440001\", \"status\": \"done\", \"metadata\": {\"archived_by\": \"system\", \"reason\": \"payment_completed\"}, \"version\": 2},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"archived\",\n    \"cleanup\": \"PATCH /v2/invoices/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"PATCH /v2/invoices/{id}/archive\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"failure_payment_required\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440001\", \"status\": \"pending\", \"metadata\": {}, \"version\": 1},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"payment\",\n    \"cleanup\": \"PATCH /v2/invoices/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/customers/{id}/finalize\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_finalize_customer\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440002\", \"status\": \"closed\", \"amount_cents\": 5000, \"currency\": \"USD\", \"metadata\": {\"finalized\": \"true\"}, \"version\": 3, \"dry_run\": false},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"closed\",\n    \"cleanup\": \"PUT /v1/customers/{id}/finalize\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/customers/{id}/finalize\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_customer_not_found\",\n    \"payload\": {\"id\": \"00000000-0000-0000-0000-000000000000\", \"status\": \"closed\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {}, \"version\": 1, \"dry_run\": false},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"not found\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/subscriptions/{id}/finalize\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_finalize_subscription\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440003\", \"status\": \"done\", \"amount_cents\": 9900, \"currency\": \"USD\", \"metadata\": {\"termination_reason\": \"user_request\"}, \"version\": 5, \"dry_run\": false},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"job\",\n    \"cleanup\": \"DELETE /v1/subscriptions/{id}/finalize\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/subscriptions/{id}/finalize\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"failure_conflict_active_usage\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440003\", \"status\": \"pending\", \"amount_cents\": 9900, \"currency\": \"USD\", \"metadata\": {}, \"version\": 4, \"dry_run\": false},\n    \"expected_status\": 409,\n    \"expected_body_contains\": \"conflict\",\n    \"cleanup\": \"DELETE /v1/subscriptions/{id}/finalize\"\n  },\n  {\n    \"endpoint\": \"PATCH /v3/webhooks/{id}/preview\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"happy_path_preview_webhook\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440004\", \"status\": \"open\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {\"event_type\": \"invoice.paid\"}, \"version\": 1, \"cursor\": \"eyJpZCI6MX0\", \"limit\": 10},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"preview\",\n    \"cleanup\": \"PATCH /v3/webhooks/{id}/preview\"\n  },\n  {\n    \"endpoint\": \"PATCH /v3/webhooks/{id}/preview\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"failure_precondition_required\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440004\", \"status\": \"held\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {}, \"version\": 1, \"cursor\": \"\", \"limit\": 10},\n    \"expected_status\": 428,\n    \"expected_body_contains\": \"precondition\",\n    \"cleanup\": \"PATCH /v3/webhooks/{id}/preview\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/reports/{id}/approve\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_approve_report\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440005\", \"status\": \"open\", \"amount_cents\": 10000, \"currency\": \"USD\", \"metadata\": {\"report_type\": \"monthly\"}, \"version\": 2},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"approved\",\n    \"cleanup\": \"DELETE /v2/reports/{id}/approve\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/reports/{id}/approve\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"failure_payment_required\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440005\", \"status\": \"held\", \"amount_cents\": 10000, \"currency\": \"USD\", \"metadata\": {}, \"version\": 1},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"payment\",\n    \"cleanup\": \"DELETE /v2/reports/{id}/approve\"\n  },\n  {\n    \"endpoint\": \"GET /v2/tokens/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_archive_token\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440006\", \"status\": \"closed\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {\"token_type\": \"api_key\"}, \"version\": 1},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"archived\",\n    \"cleanup\": \"GET /v2/tokens/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"GET /v2/tokens/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"failure_bad_request_invalid_id\",\n    \"payload\": {\"id\": \"invalid-uuid-format\", \"status\": \"open\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {}, \"version\": 0},\n    \"expected_status\": 400,\n    \"expected_body_contains\": \"invalid\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/audits/{id}/preview\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_preview_audit\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440007\", \"status\": \"active\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {\"audit_scope\": \"full\"}, \"version\": 3, \"cursor\": \"eyJpZCI6MX0\", \"limit\": 20},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"preview\",\n    \"cleanup\": \"DELETE /v2/audits/{id}/preview\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/audits/{id}/preview\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"failure_gone_expired\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440007\", \"status\": \"canceled\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {}, \"version\": 2, \"cursor\": \"\", \"limit\": 20},\n    \"expected_status\": 410,\n    \"expected_body_contains\": \"gone\",\n    \"cleanup\": \"DELETE /v2/audits/{id}/preview\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/exports/{id}/archive\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_archive_export\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440008\", \"status\": \"done\", \"amount_cents\": 500, \"currency\": \"USD\", \"metadata\": {\"export_format\": \"csv\"}, \"version\": 1, \"as_of\": \"2026-06-15T00:00:00Z\"},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"archived\",\n    \"cleanup\": \"DELETE /v1/exports/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"",
       "slot": 1,
       "is_10k": true,
       "dr": 425.0,
       "ac": 1625.0,
       "dtok": 2125.0,
       "pp_raw": {
        "0": 390.0,
        "1": 354.0,
        "2": 319.0,
        "3": 300.0,
        "4": 262.0
       },
       "tau": 4.8235
      },
      {
       "ctok": 2048,
       "ttft_ms": 316.0,
       "tok_s": 431.7,
       "text": " ```json\n[\n  {\n    \"endpoint\": \"DELETE /v2/invoices/{id}/rotate\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_invoice_rotate\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440001\"},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"rotated\",\n    \"cleanup\": \"POST /v2/invoices/{id}/rotate\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/invoices/{id}/rotate\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"failure_payment_required\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440001\"},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"Payment Required\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"POST /v2/customers/{id}/cancel\",\n    \"method\": \"POST\",\n    \"test_name\": \"happy_path_customer_cancel\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440002\", \"idempotency-key\": \"idem-001\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"cancelled\",\n    \"cleanup\": \"PUT /v2/customers/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"POST /v2/customers/{id}/cancel\",\n    \"method\": \"POST\",\n    \"test_name\": \"failure_precondition_failed\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440002\", \"idempotency-key\": \"idem-002\"},\n    \"expected_status\": 412,\n    \"expected_body_contains\": \"Precondition Failed\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"POST /v2/subscriptions/{id}/verify\",\n    \"method\": \"POST\",\n    \"test_name\": \"happy_path_subscription_verify\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440003\", \"idempotency-key\": \"idem-003\"},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"verified\",\n    \"cleanup\": \"PATCH /v1/subscriptions/{id}/finalize\"\n  },\n  {\n    \"endpoint\": \"POST /v2/subscriptions/{id}/verify\",\n    \"method\": \"POST\",\n    \"test_name\": \"failure_not_found\",\n    \"payload\": {\"id\": \"00000000-0000-0000-0000-000000000000\", \"idempotency-key\": \"idem-004\"},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"Not Found\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/webhooks/{id}/rotate\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_webhook_rotate\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440004\", \"dry_run\": false},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"rotated\",\n    \"cleanup\": \"POST /v2/webhooks/{id}/cancel\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/webhooks/{id}/rotate\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_not_found\",\n    \"payload\": {\"id\": \"00000000-0000-0000-0000-000000000000\", \"dry_run\": true},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"Not Found\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/reports/{id}/cancel\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_report_cancel\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440005\", \"cursor\": \"c1\", \"limit\": 10},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"cancelled\",\n    \"cleanup\": \"DELETE /v2/reports/{id}/rotate\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/reports/{id}/cancel\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_precondition_failed\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440005\", \"cursor\": \"c2\", \"limit\": 10},\n    \"expected_status\": 412,\n    \"expected_body_contains\": \"Precondition Failed\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/tokens/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_token_preview\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440006\", \"as_of\": \"2024-01-15T00:00:00Z\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"preview\",\n    \"cleanup\": \"GET /v3/tokens/{id}/approve\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/tokens/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_gone\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440006\", \"as_of\": \"2023-01-01T00:00:00Z\"},\n    \"expected_status\": 410,\n    \"expected_body_contains\": \"Gone\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"POST /v1/audits/{id}/rotate\",\n    \"method\": \"POST\",\n    \"test_name\": \"happy_path_audit_rotate\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440007\", \"idempotency-key\": \"idem-005\"},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"rotated\",\n    \"cleanup\": \"GET /v1/audits/{id}/verify\"\n  },\n  {\n    \"endpoint\": \"POST /v1/audits/{id}/rotate\",\n    \"method\": \"POST\",\n    \"test_name\": \"failure_not_found\",\n    \"payload\": {\"id\": \"00000000-0000-0000-0000-000000000000\", \"idempotency-key\": \"idem-006\"},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"Not Found\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"POST /v3/exports/{id}/archive\",\n    \"method\": \"POST\",\n    \"test_name\": \"happy_path_export_archive\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440008\"},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"archived\",\n    \"cleanup\": \"DELETE /v2/exports/{id}/approve\"\n  },\n  {\n    \"endpoint\": \"POST /v3/exports/{id}/archive\",\n    \"method\": \"POST\",\n    \"test_name\": \"failure_payment_required\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440008\"},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"Payment Required\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v2/plans/{id}/approve\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_plan_approve\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440009\", \"dry_run\": false},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"approved\",\n    \"cleanup\": \"POST /v2/plans/{id}/preview\"\n  },\n  {\n    \"endpoint\": \"GET /v2/plans/{id}/approve\",\n    \"method\": \"GET\",\n    \"test_name\": \"failure_bad_request\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440009\", \"dry_run\": \"invalid\"},\n    \"expected_status\": 400,\n    \"expected_body_contains\": \"Bad Request\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v3/usage/{id}/preview\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_usage_preview\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440010\", \"dry_run\": false},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"preview\",\n    \"cleanup\": \"PATCH /v3/usage/{id}/finalize\"\n  },\n  {\n    \"endpoint\": \"GET /v3/usage/{id}/preview\",\n    \"method\": \"GET\",\n    \"test_name\": \"failure_bad_request\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440010\", \"dry_run\": null},\n    \"expected_status\": 400,\n    \"expected_body_contains\": \"Bad Request\",\n    \"cleanup\":",
       "slot": 2,
       "is_10k": true,
       "dr": 385.0,
       "ac": 1662.0,
       "dtok": 1925.0,
       "pp_raw": {
        "0": 371.0,
        "1": 357.0,
        "2": 336.0,
        "3": 316.0,
        "4": 282.0
       },
       "tau": 5.3169
      },
      {
       "ctok": 2048,
       "ttft_ms": 315.0,
       "tok_s": 410.6,
       "text": " ```json\n[\n  {\n    \"endpoint\": \"GET /v1/invoices/{id}/cancel\",\n    \"method\": \"GET\",\n    \"test_name\": \"invoices_cancel_happy\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440000\", \"cursor\": \"eyJpZCI6IjEifQ==\", \"limit\": 50},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"cancelled\",\n    \"cleanup\": \"POST /v1/invoices/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"GET /v1/invoices/{id}/cancel\",\n    \"method\": \"GET\",\n    \"test_name\": \"invoices_cancel_410_gone\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440001\", \"cursor\": \"eyJpZCI6IjEifQ==\", \"limit\": 50},\n    \"expected_status\": 410,\n    \"expected_body_contains\": \"gone\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PATCH /v1/customers/{id}/preview\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"customers_preview_happy\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440002\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"preview\",\n    \"cleanup\": \"PUT /v1/customers/{id}/retry\"\n  },\n  {\n    \"endpoint\": \"PATCH /v1/customers/{id}/preview\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"customers_preview_404_not_found\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440003\"},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"not found\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v2/subscriptions/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"subscriptions_archive_happy\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440004\", \"cursor\": \"eyJpZCI6IjEifQ==\", \"limit\": 20},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"archived\",\n    \"cleanup\": \"PATCH /v2/subscriptions/{id}/cancel\"\n  },\n  {\n    \"endpoint\": \"GET /v2/subscriptions/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"subscriptions_archive_422_unprocessable\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440005\", \"cursor\": \"invalid-cursor\", \"limit\": 20},\n    \"expected_status\": 422,\n    \"expected_body_contains\": \"unprocessable\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"POST /v2/webhooks/{id}/cancel\",\n    \"method\": \"POST\",\n    \"test_name\": \"webhooks_cancel_happy\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440006\"},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"cancelled\",\n    \"cleanup\": \"GET /v2/webhooks/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"POST /v2/webhooks/{id}/cancel\",\n    \"method\": \"POST\",\n    \"test_name\": \"webhooks_cancel_412_precondition\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440007\"},\n    \"expected_status\": 412,\n    \"expected_body_contains\": \"precondition\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PATCH /v2/reports/{id}/cancel\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"reports_cancel_happy\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440008\", \"as_of\": \"2026-06-15T10:30:00Z\"},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"cancelled\",\n    \"cleanup\": \"DELETE /v3/reports/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"PATCH /v2/reports/{id}/cancel\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"reports_cancel_409_conflict\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440009\", \"as_of\": \"2026-06-15T10:30:00Z\"},\n    \"expected_status\": 409,\n    \"expected_body_contains\": \"conflict\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/tokens/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"tokens_preview_happy\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440010\", \"as_of\": \"2026-06-15T10:30:00Z\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"preview\",\n    \"cleanup\": \"GET /v2/tokens/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/tokens/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"tokens_preview_400_bad_request\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440011\", \"as_of\": \"invalid-date\"},\n    \"expected_status\": 400,\n    \"expected_body_contains\": \"bad request\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PATCH /v2/audits/{id}/cancel\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"audits_cancel_happy\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440012\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"cancelled\",\n    \"cleanup\": \"PATCH /v1/audits/{id}/rotate\"\n  },\n  {\n    \"endpoint\": \"PATCH /v2/audits/{id}/cancel\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"audits_cancel_428_precondition\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440013\"},\n    \"expected_status\": 428,\n    \"expected_body_contains\": \"precondition\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v3/exports/{id}/finalize\",\n    \"method\": \"GET\",\n    \"test_name\": \"exports_finalize_happy\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440014\", \"idempotency-key\": \"exp-final-001\"},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"finalized\",\n    \"cleanup\": \"DELETE /v1/exports/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"GET /v3/exports/{id}/finalize\",\n    \"method\": \"GET\",\n    \"test_name\": \"exports_finalize_409_conflict\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440015\", \"idempotency-key\": \"exp-final-002\"},\n    \"expected_status\": 409,\n    \"expected_body_contains\": \"conflict\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"DELETE /v3/plans/{id}/preview\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"plans_preview_happy\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440016\", \"as_of\": \"2026-06-15T10:30:00Z\"},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"preview\",\n    \"cleanup\": \"PATCH /v3/plans/{id}/retry\"\n  },\n  {\n    \"endpoint\": \"DELETE /v3/plans/{id}/preview\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"plans_preview_429_rate_limited\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440017\", \"as_of\": \"2026-06-15T10:30:00Z\"},\n    \"expected_status\": 429,\n    \"expected_body_contains\": \"rate limited\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/usage/{id}/cancel\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"usage_cancel_happy\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440018\", \"cursor\": \"eyJpZCI6IjEifQ==\", \"limit\": 100},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"cancelled\",\n    \"cleanup\": \"PUT /v3/usage/{id",
       "slot": 3,
       "is_10k": true,
       "dr": 406.0,
       "ac": 1643.0,
       "dtok": 2030.0,
       "pp_raw": {
        "0": 371.0,
        "1": 352.0,
        "2": 328.0,
        "3": 308.0,
        "4": 284.0
       },
       "tau": 5.0468
      },
      {
       "ctok": 2048,
       "ttft_ms": 313.0,
       "tok_s": 380.0,
       "text": " ```json\n[\n  {\n    \"endpoint\": \"DELETE /v2/invoices/{id}/retry\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_delete_invoice_retry\",\n    \"payload\": {\"id\": \"inv-2f4a8c1e-5d3b-4e9f-a6b2-1c8d7e3f5a09\"},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"retry_accepted\",\n    \"cleanup\": \"POST /v1/invoices/{id}/create\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/invoices/{id}/retry\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"failure_path_invoice_not_found\",\n    \"payload\": {\"id\": \"inv-00000000-0000-0000-0000-000000000000\"},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"invoice_not_found\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/customers/{id}/approve\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_approve_customer\",\n    \"payload\": {\"id\": \"cus-9e3b2f1a-4c5d-6e7f-8a9b-0c1d2e3f4a5b\", \"idempotency-key\": \"idem-2026-001-approve-cust\"},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"customer_approved\",\n    \"cleanup\": \"DELETE /v1/customers/{id}/cancel\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/customers/{id}/approve\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_path_customer_conflict\",\n    \"payload\": {\"id\": \"cus-9e3b2f1a-4c5d-6e7f-8a9b-0c1d2e3f4a5b\", \"idempotency-key\": \"idem-2026-001-approve-cust\"},\n    \"expected_status\": 409,\n    \"expected_body_contains\": \"customer_already_approved\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/subscriptions/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_preview_subscription\",\n    \"payload\": {\"id\": \"sub-1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d\", \"cursor\": \"c1_2026-01-01T00:00:00Z\", \"limit\": 20},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"preview_accepted\",\n    \"cleanup\": \"DELETE /v1/subscriptions/{id}/cancel\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/subscriptions/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_path_payment_required\",\n    \"payload\": {\"id\": \"sub-1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d\", \"cursor\": \"c1_2026-01-01T00:00:00Z\", \"limit\": 20},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"payment_required\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/webhooks/{id}/finalize\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_finalize_webhook\",\n    \"payload\": {\"id\": \"whk-7f8e9d0c-1b2a-3c4d-5e6f-7a8b9c0d1e2f\"},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"webhook_finalized\",\n    \"cleanup\": \"POST /v1/webhooks/{id}/create\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/webhooks/{id}/finalize\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"failure_path_webhook_conflict\",\n    \"payload\": {\"id\": \"whk-7f8e9d0c-1b2a-3c4d-5e6f-7a8b9c0d1e2f\"},\n    \"expected_status\": 409,\n    \"expected_body_contains\": \"webhook_already_finalized\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/reports/{id}/finalize\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_finalize_report\",\n    \"payload\": {\"id\": \"rpt-3a4b5c6d-7e8f-9a0b-1c2d-3e4f5a6b7c8d\", \"cursor\": \"c1_2026-01-01T00:00:00Z\", \"limit\": 50},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"report_finalized\",\n    \"cleanup\": \"POST /v2/reports/{id}/generate\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/reports/{id}/finalize\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"failure_path_report_bad_request\",\n    \"payload\": {\"id\": \"rpt-3a4b5c6d-7e8f-9a0b-1c2d-3e4f5a6b7c8d\", \"cursor\": \"invalid-cursor\", \"limit\": 9999},\n    \"expected_status\": 400,\n    \"expected_body_contains\": \"invalid_pagination\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/tokens/{id}/retry\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_retry_token\",\n    \"payload\": {\"id\": \"tok-5c6d7e8f-9a0b-1c2d-3e4f-5a6b7c8d9e0f\", \"idempotency-key\": \"idem-2026-002-retry-token\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"retry_accepted\",\n    \"cleanup\": \"DELETE /v1/tokens/{id}/revoke\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/tokens/{id}/retry\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_path_token_payment_required\",\n    \"payload\": {\"id\": \"tok-5c6d7e8f-9a0b-1c2d-3e4f-5a6b7c8d9e0f\", \"idempotency-key\": \"idem-2026-002-retry-token\"},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"payment_required\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v3/audits/{id}/cancel\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_cancel_audit\",\n    \"payload\": {\"id\": \"adt-9a0b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d\", \"dry_run\": false},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"cancel_accepted\",\n    \"cleanup\": \"POST /v3/audits/{id}/reopen\"\n  },\n  {\n    \"endpoint\": \"GET /v3/audits/{id}/cancel\",\n    \"method\": \"GET\",\n    \"test_name\": \"failure_path_audit_not_found\",\n    \"payload\": {\"id\": \"adt-00000000-0000-0000-0000-000000000000\", \"dry_run\": false},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"audit_not_found\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v1/exports/{id}/verify\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_verify_export\",\n    \"payload\": {\"id\": \"exp-1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d\", \"dry_run\": true},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"verification_initiated\",\n    \"cleanup\": \"DELETE /v1/exports/{id}/cancel\"\n  },\n  {\n    \"endpoint\": \"GET /v1/exports/{id}/verify\",\n    \"method\": \"GET\",\n    \"test_name\": \"failure_path_export_not_found\",\n    \"payload\": {\"id\": \"exp-00000000-0000-0000-0000-000000000000\", \"dry_run\": true},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"export_not_found\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v2/plans/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_archive_plan\",\n    \"payload\": {\"id\": \"pl",
       "slot": 4,
       "is_10k": true,
       "dr": 438.0,
       "ac": 1609.0,
       "dtok": 2190.0,
       "pp_raw": {
        "0": 391.0,
        "1": 347.0,
        "2": 321.0,
        "3": 292.0,
        "4": 258.0
       },
       "tau": 4.6735
      },
      {
       "ctok": 2048,
       "ttft_ms": 349.0,
       "tok_s": 363.3,
       "text": " ```json\n[\n  {\n    \"endpoint\": \"GET /v2/invoices/{id}/approve\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_approve_invoice\",\n    \"payload\": {\"id\": \"inv-2f4a8c1e-5d3b-4e6f-9a0c-1d2e3f4a5b6c\", \"headers\": {\"idempotency-key\": \"idem-2024-001\", \"Authorization\": \"Bearer token_invoices_admin\"}},\n    \"expected_status\": 201,\n    \"expected_body_contains\": {\"status\": \"pending\", \"job_id\": null},\n    \"cleanup\": \"POST /v2/invoices/{id}/cancel\"\n  },\n  {\n    \"endpoint\": \"GET /v2/invoices/{id}/approve\",\n    \"method\": \"GET\",\n    \"test_name\": \"failure_path_payment_required\",\n    \"payload\": {\"id\": \"inv-failed-payment-001\", \"headers\": {\"idempotency-key\": \"idem-2024-002\", \"Authorization\": \"Bearer token_invoices_admin\"}},\n    \"expected_status\": 402,\n    \"expected_body_contains\": {\"error\": \"Payment Required\"},\n    \"cleanup\": null\n  },\n  {\n    \"endpoint\": \"PUT /v2/customers/{id}/verify\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_verify_customer\",\n    \"payload\": {\"id\": \"cust-3a5b7c9d-1e2f-4a6b-8c0d-2e4f6a8b0c2d\", \"query\": {\"cursor\": \"c1\", \"limit\": 50}, \"headers\": {\"Authorization\": \"Bearer token_customers_write\"}},\n    \"expected_status\": 202,\n    \"expected_body_contains\": {\"status\": \"done\", \"audit_event_id\": null},\n    \"cleanup\": \"PUT /v2/customers/{id}/unverify\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/customers/{id}/verify\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_path_conflict\",\n    \"payload\": {\"id\": \"cust-already-verified-001\", \"query\": {\"cursor\": \"c1\", \"limit\": 50}, \"headers\": {\"Authorization\": \"Bearer token_customers_write\"}},\n    \"expected_status\": 409,\n    \"expected_body_contains\": {\"error\": \"Conflict\"},\n    \"cleanup\": null\n  },\n  {\n    \"endpoint\": \"PUT /v3/subscriptions/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_preview_subscription\",\n    \"payload\": {\"id\": \"sub-4b6c8d0e-2f3a-5b7c-9d1e-3f5a7b9c1d3e\", \"headers\": {\"Authorization\": \"Bearer token_subscriptions_admin\"}},\n    \"expected_status\": 200,\n    \"expected_body_contains\": {\"status\": \"pending\", \"amount_cents\": 0},\n    \"cleanup\": \"DELETE /v3/subscriptions/{id}\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/subscriptions/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_path_conflict\",\n    \"payload\": {\"id\": \"sub-cancelled-001\", \"headers\": {\"Authorization\": \"Bearer token_subscriptions_admin\"}},\n    \"expected_status\": 409,\n    \"expected_body_contains\": {\"error\": \"Conflict\"},\n    \"cleanup\": null\n  },\n  {\n    \"endpoint\": \"DELETE /v1/webhooks/{id}/cancel\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_cancel_webhook\",\n    \"payload\": {\"id\": \"whk-5c7d9e1f-3a4b-6c8d-0e2f-4a6b8c0d2e4f\", \"query\": {\"cursor\": \"c1\", \"limit\": 100}, \"headers\": {\"Authorization\": \"Bearer token_webhooks_write\"}},\n    \"expected_status\": 202,\n    \"expected_body_contains\": {\"status\": \"canceled\"},\n    \"cleanup\": \"POST /v1/webhooks/{id}/reactivate\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/webhooks/{id}/cancel\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"failure_path_conflict\",\n    \"payload\": {\"id\": \"whk-already-cancelled-001\", \"query\": {\"cursor\": \"c1\", \"limit\": 100}, \"headers\": {\"Authorization\": \"Bearer token_webhooks_write\"}},\n    \"expected_status\": 409,\n    \"expected_body_contains\": {\"error\": \"Conflict\"},\n    \"cleanup\": null\n  },\n  {\n    \"endpoint\": \"PUT /v2/reports/{id}/cancel\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_cancel_report\",\n    \"payload\": {\"id\": \"rpt-6d8e0f2a-4b5c-7d9e-1f3a-5b7c9d1e3f5a\", \"headers\": {\"idempotency-key\": \"idem-2024-003\", \"Authorization\": \"Bearer token_reports_admin\"}},\n    \"expected_status\": 200,\n    \"expected_body_contains\": {\"status\": \"closed\"},\n    \"cleanup\": \"PUT /v2/reports/{id}/reopen\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/reports/{id}/cancel\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_path_precondition_failed\",\n    \"payload\": {\"id\": \"rpt-precondition-fail-001\", \"headers\": {\"idempotency-key\": \"idem-2024-004\", \"Authorization\": \"Bearer token_reports_admin\"}},\n    \"expected_status\": 412,\n    \"expected_body_contains\": {\"error\": \"Precondition Failed\"},\n    \"cleanup\": null\n  },\n  {\n    \"endpoint\": \"PUT /v3/tokens/{id}/rotate\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_rotate_token\",\n    \"payload\": {\"id\": \"tok-7e9f1a3b-5c6d-8e0f-2a4b-6c8d0e2f4a6b\", \"headers\": {\"idempotency-key\": \"idem-2024-005\", \"Authorization\": \"Bearer token_tokens_read\", \"X-2FA-Context\": \"totp-verified\"}},\n    \"expected_status\": 200,\n    \"expected_body_contains\": {\"status\": \"done\", \"new_token\": null},\n    \"cleanup\": \"PUT /v3/tokens/{id}/revoke\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/tokens/{id}/rotate\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_path_not_found\",\n    \"payload\": {\"id\": \"tok-nonexistent-001\", \"headers\": {\"idempotency-key\": \"idem-2024-006\", \"Authorization\": \"Bearer token_tokens_read\", \"X-2FA-Context\": \"totp-verified\"}},\n    \"expected_status\": 404,\n    \"expected_body_contains\": {\"error\": \"Not Found\"},\n    \"cleanup\": null\n  },\n  {\n    \"endpoint\": \"POST /v3/audits/{id}/verify\",\n    \"method\": \"POST\",\n    \"test_name\": \"happy_path_verify_audit\",\n    \"payload\": {\"id\": \"adt-8f0a2b4c-6d7e-9f1a-3b5c-7d9e1f3a5b7c\", \"headers\": {\"Authorization\": \"Bearer token_audits_write\"}},\n    \"expected_status\": 200,\n    \"expected_body_contains\": {\"status\": \"closed\", \"verified\": true},\n    \"cleanup\": \"POST /v3/audits/{id}/unverify\"\n  },\n  {\n    \"endpoint\": \"POST /v3/audits/{id}/verify\",\n    \"method\": \"POST\",\n    \"test_name\": \"failure_path_not_found\",\n    \"payload\": {\"id\": \"adt-nonexistent-001\", \"headers\": {\"Authorization\": \"Bearer token_audits_write\"}},\n    \"expected_status\": 404,\n    \"expected_body_contains\": {\"error\": \"Not Found\"},\n    \"cleanup\": null\n  },\n  {\n    \"endpoint\": \"GET /v3/exports/{id}/verify\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_verify_export\",\n    \"payload\": {\"id\": \"exp-9a1b3c5d-7e8f-0a2b-4c6d-8e0f2a4b6c8d\", \"query\": {\"as_of\": \"2024-06-15T10:30:00Z\"}, \"headers\": {\"Authorization\": \"Bearer token_exports_admin\"}},\n    \"expected_status\": 202,\n    \"expected_body_contains\": {\"status\": \"closed\", \"as_of\": \"2024-06-15T10:30:00Z\"},\n    \"cleanup\": \"GET /v3/exports/{id}/invalidate\"\n  },\n  {\n    \"endpoint\": \"GET /v3/exports/{id}/verify\",\n    \"method\": \"GET\",\n    \"test_name\": \"failure_path_bad_request\",\n    \"payload\": {\"id\": \"exp-invalid-date-001\", \"query\": {\"as_of\": \"not-a-date\"}, \"headers\": {\"Authorization\":",
       "slot": 5,
       "is_10k": true,
       "dr": 457.0,
       "ac": 1590.0,
       "dtok": 2285.0,
       "pp_raw": {
        "0": 415.0,
        "1": 361.0,
        "2": 320.0,
        "3": 269.0,
        "4": 225.0
       },
       "tau": 4.4792
      },
      {
       "ctok": 2048,
       "ttft_ms": 318.0,
       "tok_s": 395.5,
       "text": " ```json\n[\n  {\n    \"endpoint\": \"PUT /v1/invoices/{id}/cancel\",\n    \"method\": \"PUT\",\n    \"test_name\": \"invoices_cancel_happy_path\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440001\", \"dry_run\": false, \"status\": \"canceled\", \"amount_cents\": 1000, \"currency\": \"USD\", \"metadata\": {\"reason\": \"customer_request\"}, \"version\": 1},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"canceled\",\n    \"cleanup\": \"PUT /v1/invoices/{id}/cancel with dry_run=false to revert status or create replacement invoice\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/invoices/{id}/cancel\",\n    \"method\": \"PUT\",\n    \"test_name\": \"invoices_cancel_not_found\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440999\", \"dry_run\": false, \"status\": \"canceled\", \"amount_cents\": 1000, \"currency\": \"USD\", \"metadata\": {}, \"version\": 1},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"not found\",\n    \"cleanup\": \"none required\"\n  },\n  {\n    \"endpoint\": \"POST /v1/customers/{id}/finalize\",\n    \"method\": \"POST\",\n    \"test_name\": \"customers_finalize_happy_path\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440002\", \"dry_run\": false, \"status\": \"active\", \"amount_cents\": 5000, \"currency\": \"USD\", \"metadata\": {\"tier\": \"enterprise\"}, \"version\": 1},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"active\",\n    \"cleanup\": \"DELETE /v2/customers/{id}/archive or PATCH to reset status\"\n  },\n  {\n    \"endpoint\": \"POST /v1/customers/{id}/finalize\",\n    \"method\": \"POST\",\n    \"test_name\": \"customers_finalize_gone\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440002\", \"dry_run\": false, \"status\": \"canceled\", \"amount_cents\": 5000, \"currency\": \"USD\", \"metadata\": {}, \"version\": 1},\n    \"expected_status\": 410,\n    \"expected_body_contains\": \"gone\",\n    \"cleanup\": \"none required\"\n  },\n  {\n    \"endpoint\": \"PATCH /v2/subscriptions/{id}/archive\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"subscriptions_archive_happy_path\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440003\", \"status\": \"done\", \"amount_cents\": 2500, \"currency\": \"USD\", \"metadata\": {\"plan\": \"annual\"}, \"version\": 2},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"done\",\n    \"cleanup\": \"PATCH /v2/subscriptions/{id}/archive with status=pending to unarchive\"\n  },\n  {\n    \"endpoint\": \"PATCH /v2/subscriptions/{id}/archive\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"subscriptions_archive_conflict\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440003\", \"status\": \"done\", \"amount_cents\": 2500, \"currency\": \"USD\", \"metadata\": {}, \"version\": 999},\n    \"expected_status\": 409,\n    \"expected_body_contains\": \"conflict\",\n    \"cleanup\": \"none required\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/webhooks/{id}/cancel\",\n    \"method\": \"PUT\",\n    \"test_name\": \"webhooks_cancel_happy_path\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440004\", \"status\": \"closed\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {}, \"version\": 1, \"idempotency-key\": \"webhook-cancel-001\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"closed\",\n    \"cleanup\": \"POST /v3/webhooks to recreate webhook with same configuration\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/webhooks/{id}/cancel\",\n    \"method\": \"PUT\",\n    \"test_name\": \"webhooks_cancel_rate_limit\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440004\", \"status\": \"closed\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {}, \"version\": 1, \"idempotency-key\": \"webhook-cancel-002\"},\n    \"expected_status\": 429,\n    \"expected_body_contains\": \"rate limit\",\n    \"cleanup\": \"none required\"\n  },\n  {\n    \"endpoint\": \"GET /v2/reports/{id}/finalize\",\n    \"method\": \"GET\",\n    \"test_name\": \"reports_finalize_happy_path\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440005\", \"as_of\": \"2025-06-15T00:00:00Z\", \"status\": \"closed\", \"amount_cents\": 10000, \"currency\": \"USD\", \"metadata\": {\"period\": \"Q2\"}, \"version\": 1},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"closed\",\n    \"cleanup\": \"DELETE /v3/reports/{id}/retry to reset report state\"\n  },\n  {\n    \"endpoint\": \"GET /v2/reports/{id}/finalize\",\n    \"method\": \"GET\",\n    \"test_name\": \"reports_finalize_precondition_failed\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440005\", \"as_of\": \"2026-01-01T00:00:00Z\", \"status\": \"open\", \"amount_cents\": 10000, \"currency\": \"USD\", \"metadata\": {}, \"version\": 1},\n    \"expected_status\": 412,\n    \"expected_body_contains\": \"precondition\",\n    \"cleanup\": \"none required\"\n  },\n  {\n    \"endpoint\": \"POST /v2/tokens/{id}/retry\",\n    \"method\": \"POST\",\n    \"test_name\": \"tokens_retry_happy_path\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440006\", \"status\": \"done\", \"amount_cents\": 100, \"currency\": \"USD\", \"metadata\": {}, \"version\": 2, \"idempotency-key\": \"token-retry-001\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"done\",\n    \"cleanup\": \"POST /v2/tokens/{id}/retry to re-establish token state if needed\"\n  },\n  {\n    \"endpoint\": \"POST /v2/tokens/{id}/retry\",\n    \"method\": \"POST\",\n    \"test_name\": \"tokens_retry_payment_required\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440006\", \"status\": \"failed\", \"amount_cents\": -100, \"currency\": \"USD\", \"metadata\": {}, \"version\": 1, \"idempotency-key\": \"token-retry-002\"},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"payment\",\n    \"cleanup\": \"none required\"\n  },\n  {\n    \"endpoint\": \"PATCH /v3/audits/{id}/retry\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"audits_retry_happy_path\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440007\", \"dry_run\": false, \"status\": \"done\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {\"source\": \"automated\"}, \"version\": 3},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"done\",\n    \"cleanup\": \"PATCH /v3/audits/{id}/retry with status=pending to reset audit\"\n  },\n  {\n    \"endpoint\": \"PATCH /v3/audits/{id}/retry\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"audits_retry_gone\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440007\", \"dry_run\": false, \"status\": \"done\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {}, \"version\": 3},\n    \"expected_status\": 410,\n    \"expected_body_contains\": \"gone\",\n    \"cleanup\": \"none required\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/exports/{id}/preview\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"exports_preview_happy_path\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440008\", \"status\": \"open\", \"amount_cents\": 500,",
       "slot": 6,
       "is_10k": true,
       "dr": 420.0,
       "ac": 1627.0,
       "dtok": 2100.0,
       "pp_raw": {
        "0": 383.0,
        "1": 351.0,
        "2": 318.0,
        "3": 301.0,
        "4": 274.0
       },
       "tau": 4.8738
      },
      {
       "ctok": 2048,
       "ttft_ms": 309.0,
       "tok_s": 438.2,
       "text": " ```json\n[\n  {\n    \"endpoint\": \"PUT /v3/invoices/{id}/cancel\",\n    \"method\": \"PUT\",\n    \"test_name\": \"invoice_cancel_happy_path\",\n    \"payload\": {\"id\": \"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11\", \"as_of\": \"2026-06-30T12:00:00Z\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"cancelled\",\n    \"cleanup\": \"POST /v1/invoices/{id}/rotate\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/invoices/{id}/cancel\",\n    \"method\": \"PUT\",\n    \"test_name\": \"invoice_cancel_not_found\",\n    \"payload\": {\"id\": \"00000000-0000-0000-0000-000000000000\", \"as_of\": \"2026-06-30T12:00:00Z\"},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"not found\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"POST /v2/customers/{id}/approve\",\n    \"method\": \"POST\",\n    \"test_name\": \"customer_approve_happy_path\",\n    \"payload\": {\"id\": \"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a12\"},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"approved\",\n    \"cleanup\": \"DELETE /v1/customers/{id}/preview\"\n  },\n  {\n    \"endpoint\": \"POST /v2/customers/{id}/approve\",\n    \"method\": \"POST\",\n    \"test_name\": \"customer_approve_payment_required\",\n    \"payload\": {\"id\": \"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a12\"},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"payment required\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/subscriptions/{id}/retry\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"subscription_retry_happy_path\",\n    \"payload\": {\"id\": \"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a13\", \"cursor\": \"abc123\", \"limit\": 50},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"retried\",\n    \"cleanup\": \"POST /v1/subscriptions/{id}/approve\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/subscriptions/{id}/retry\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"subscription_retry_conflict\",\n    \"payload\": {\"id\": \"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a13\", \"cursor\": \"abc123\", \"limit\": 50},\n    \"expected_status\": 409,\n    \"expected_body_contains\": \"conflict\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"POST /v3/webhooks/{id}/verify\",\n    \"method\": \"POST\",\n    \"test_name\": \"webhook_verify_happy_path\",\n    \"payload\": {\"id\": \"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a14\", \"dry_run\": true},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"verified\",\n    \"cleanup\": \"DELETE /v3/webhooks/{id}/retry\"\n  },\n  {\n    \"endpoint\": \"POST /v3/webhooks/{id}/verify\",\n    \"method\": \"POST\",\n    \"test_name\": \"webhook_verify_precondition_failed\",\n    \"payload\": {\"id\": \"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a14\", \"dry_run\": false},\n    \"expected_status\": 412,\n    \"expected_body_contains\": \"precondition failed\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v2/reports/{id}/verify\",\n    \"method\": \"GET\",\n    \"test_name\": \"report_verify_happy_path\",\n    \"payload\": {\"id\": \"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a15\", \"dry_run\": true},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"verified\",\n    \"cleanup\": \"PATCH /v1/reports/{id}/retry\"\n  },\n  {\n    \"endpoint\": \"GET /v2/reports/{id}/verify\",\n    \"method\": \"GET\",\n    \"test_name\": \"report_verify_bad_request\",\n    \"payload\": {\"id\": \"invalid-uuid\", \"dry_run\": true},\n    \"expected_status\": 400,\n    \"expected_body_contains\": \"bad request\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v2/tokens/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"token_archive_happy_path\",\n    \"payload\": {\"id\": \"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a16\", \"cursor\": \"abc123\", \"limit\": 100},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"archived\",\n    \"cleanup\": \"DELETE /v1/tokens/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"GET /v2/tokens/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"token_archive_gone\",\n    \"payload\": {\"id\": \"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a16\", \"cursor\": \"abc123\", \"limit\": 100},\n    \"expected_status\": 410,\n    \"expected_body_contains\": \"gone\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/audits/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"audit_preview_happy_path\",\n    \"payload\": {\"id\": \"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a17\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"preview\",\n    \"cleanup\": \"POST /v1/audits/{id}/cancel\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/audits/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"audit_preview_payment_required\",\n    \"payload\": {\"id\": \"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a17\"},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"payment required\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v3/exports/{id}/verify\",\n    \"method\": \"GET\",\n    \"test_name\": \"export_verify_happy_path\",\n    \"payload\": {\"id\": \"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a18\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"verified\",\n    \"cleanup\": \"PATCH /v1/exports/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"GET /v3/exports/{id}/verify\",\n    \"method\": \"GET\",\n    \"test_name\": \"export_verify_bad_request\",\n    \"payload\": {\"id\": \"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a18\"},\n    \"expected_status\": 400,\n    \"expected_body_contains\": \"bad request\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PATCH /v1/plans/{id}/finalize\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"plan_finalize_happy_path\",\n    \"payload\": {\"id\": \"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a19\", \"cursor\": \"abc123\", \"limit\": 25},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"finalized\",\n    \"cleanup\": \"GET /v2/plans/{id}/cancel\"\n  },\n  {\n    \"endpoint\": \"PATCH /v1/plans/{id}/finalize\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"plan_finalize_not_found\",\n    \"payload\": {\"id\": \"00000000-0000-0000-0000-000000000000\", \"cursor\": \"abc123\", \"limit\": 25},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"not found\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"POST /v1/usage/{id}/finalize\",\n    \"method\": \"POST\",\n    \"test_name\": \"usage_finalize_happy_path\",\n    \"payload\": {\"id\": \"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a20\"},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"finalized",
       "slot": 7,
       "is_10k": true,
       "dr": 382.0,
       "ac": 1670.0,
       "dtok": 1910.0,
       "pp_raw": {
        "0": 370.0,
        "1": 348.0,
        "2": 334.0,
        "3": 319.0,
        "4": 299.0
       },
       "tau": 5.3717
      }
     ],
     "mean_proposed": 5.0
    }
   }
  },
  "B2_k6_tp8": {
   "cfg": {
    "method": "eagle3",
    "k": 6,
    "head": "lightseekorg/kimi-k2.6-eagle3.1-mla",
    "argmax": true,
    "kv": "fp8_e4m3",
    "ml": 16384,
    "tp": 8
   },
   "cmd": "vllm serve /models/Kimi-K2.6-NVFP4 --tensor-parallel-size 4 --gpu-memory-utilization 0.90 --quantization modelopt_fp4 --max-model-len 16384 --kv-cache-dtype fp8_e4m3 --speculative-config {\"model\": \"lightseekorg/kimi-k2.6-eagle3.1-mla\", \"method\": \"eagle3\", \"num_speculative_tokens\": 6, \"use_local_argmax_reduction\": true} --compilation-config {\"cudagraph_mode\": \"FULL_AND_PIECEWISE\", \"cudagraph_capture_sizes\": [1, 2, 3, 4, 5, 7, 14, 21, 28, 56, 112, 224]} --attention-config {\"disable_flashinfer_q_quantization\": true} --chat-template /cache/kimi_chat_template.jinja --limit-mm-per-prompt {\"image\":0,\"video\":0} --async-scheduling --trust-remote-code --port 8000",
   "cells": {
    "tool_nothink_10k": {
     "n": 8,
     "tok_s_median": 397.6,
     "tok_s_first8_median": 397.6,
     "tok_s_agg": 394.2,
     "tok_s_all_sorted": [
      372.2,
      383.2,
      384.7,
      394.6,
      400.6,
      400.7,
      409.8,
      411.0
     ],
     "ctok_median": 2048,
     "aa_len_ok": true,
     "ttft_ms_median": 323.0,
     "prefix_cache_suspect": false,
     "tau": 5.3671,
     "per_pos": {
      "0": 0.8986,
      "1": 0.8217,
      "2": 0.7467,
      "3": 0.6908,
      "4": 0.6315,
      "5": 0.5779
     },
     "power": null,
     "rows": [
      {
       "ctok": 2048,
       "ttft_ms": 363.0,
       "tok_s": 400.6,
       "text": " ```json\n[\n  {\n    \"endpoint\": \"PUT /v1/invoices/{id}/archive\",\n    \"method\": \"PUT\",\n    \"test_name\": \"invoices_archive_happy_path\",\n    \"payload\": {\n      \"id\": \"550e8400-e29b-41d4-a716-446655440001\",\n      \"as_of\": \"2024-01-15T10:30:00Z\"\n    },\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"archived\",\n    \"cleanup\": \"PUT /v1/invoices/{id}/archive with as_of to restore (idempotent)\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/invoices/{id}/archive\",\n    \"method\": \"PUT\",\n    \"test_name\": \"invoices_archive_gone_error\",\n    \"payload\": {\n      \"id\": \"550e8400-e29b-41d4-a716-446655440999\",\n      \"as_of\": \"2024-01-15T10:30:00Z\"\n    },\n    \"expected_status\": 410,\n    \"expected_body_contains\": \"gone\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/customers/{id}/verify\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"customers_verify_soft_delete_happy\",\n    \"payload\": {\n      \"id\": \"550e8400-e29b-41d4-a716-446655440002\",\n      \"idempotency-key\": \"ik-2024-001-abc123\"\n    },\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"accepted\",\n    \"cleanup\": \"POST /v2/customers/{id}/verify to reactivate (soft-delete reversal)\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/customers/{id}/verify\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"customers_verify_not_found_error\",\n    \"payload\": {\n      \"id\": \"550e8400-e29b-41d4-a716-446655440999\",\n      \"idempotency-key\": \"ik-2024-002-abc123\"\n    },\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"not found\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/subscriptions/{id}/retry\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"subscriptions_retry_2fa_happy\",\n    \"payload\": {\n      \"id\": \"550e8400-e29b-41d4-a716-446655440003\",\n      \"idempotency-key\": \"ik-2024-003-abc123\",\n      \"x-2fa-context\": \"totp-verified-2024\"\n    },\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"retried\",\n    \"cleanup\": \"DELETE /v1/subscriptions/{id}/retry to reset state\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/subscriptions/{id}/retry\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"subscriptions_retry_precondition_failed\",\n    \"payload\": {\n      \"id\": \"550e8400-e29b-41d4-a716-446655440003\",\n      \"idempotency-key\": \"ik-2024-004-abc123\"\n    },\n    \"expected_status\": 428,\n    \"expected_body_contains\": \"precondition required\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/webhooks/{id}/approve\",\n    \"method\": \"PUT\",\n    \"test_name\": \"webhooks_approve_paginated_happy\",\n    \"payload\": {\n      \"id\": \"550e8400-e29b-41d4-a716-446655440004\",\n      \"cursor\": \"c1\",\n      \"limit\": 50\n    },\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"approved\",\n    \"cleanup\": \"PUT /v3/webhooks/{id}/approve with cursor reset to reverse\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/webhooks/{id}/approve\",\n    \"method\": \"PUT\",\n    \"test_name\": \"webhooks_approve_payment_required\",\n    \"payload\": {\n      \"id\": \"550e8400-e29b-41d4-a716-446655440004\",\n      \"cursor\": \"c1\",\n      \"limit\": 50\n    },\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"payment required\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/reports/{id}/archive\",\n    \"method\": \"PUT\",\n    \"test_name\": \"reports_archive_dry_run_happy\",\n    \"payload\": {\n      \"id\": \"550e8400-e29b-41d4-a716-446655440005\",\n      \"dry_run\": false\n    },\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"archived\",\n    \"cleanup\": \"PUT /v2/reports/{id}/archive with dry_run to restore (idempotent)\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/reports/{id}/archive\",\n    \"method\": \"PUT\",\n    \"test_name\": \"reports_archive_conflict_error\",\n    \"payload\": {\n      \"id\": \"550e8400-e29b-41d4-a716-446655440005\",\n      \"dry_run\": false\n    },\n    \"expected_status\": 409,\n    \"expected_body_contains\": \"conflict\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v3/tokens/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"tokens_archive_admin_happy\",\n    \"payload\": {\n      \"id\": \"550e8400-e29b-41d4-a716-446655440006\"\n    },\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"created\",\n    \"cleanup\": \"GET /v3/tokens/{id}/archive to re-archive (idempotent)\"\n  },\n  {\n    \"endpoint\": \"GET /v3/tokens/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"tokens_archive_precondition_failed\",\n    \"payload\": {\n      \"id\": \"550e8400-e29b-41d4-a716-446655440006\"\n    },\n    \"expected_status\": 412,\n    \"expected_body_contains\": \"precondition failed\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v3/audits/{id}/retry\",\n    \"method\": \"GET\",\n    \"test_name\": \"audits_retry_beta_happy\",\n    \"payload\": {\n      \"id\": \"550e8400-e29b-41d4-a716-446655440007\",\n      \"as_of\": \"2024-01-15T10:30:00Z\"\n    },\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"retried\",\n    \"cleanup\": \"GET /v3/audits/{id}/retry with as_of to reset\"\n  },\n  {\n    \"endpoint\": \"GET /v3/audits/{id}/retry\",\n    \"method\": \"GET\",\n    \"test_name\": \"audits_retry_payment_required\",\n    \"payload\": {\n      \"id\": \"550e8400-e29b-41d4-a716-446655440007\",\n      \"as_of\": \"2024-01-15T10:30:00Z\"\n    },\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"payment required\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PATCH /v1/exports/{id}/retry\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"exports_retry_paginated_happy\",\n    \"payload\": {\n      \"id\": \"550e8400-e29b-41d4-a716-446655440008\",\n      \"cursor\": \"c1\",\n      \"limit\": 50\n    },\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"retried\",\n    \"cleanup\": \"PATCH /v1/exports/{id}/retry with cursor reset\"\n  },\n  {\n    \"endpoint\": \"PATCH /v1/exports/{id}/retry\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"exports_retry_precondition_required\",\n    \"payload\": {\n      \"id\": \"550e8400-e29b-41d4-a716-446655440008\",\n      \"cursor\": \"c1\",\n      \"limit\": 50\n    },\n    \"expected_status\": 428,\n    \"expected_body_contains\": \"precondition required\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v1/plans/{id}/finalize\",\n    \"method\": \"GET\",\n    \"test_name\": \"plans_finalize_paginated_happy\",\n    \"payload\": {\n      \"id\": \"550e8400-e29b-41d4-a716-446655440009\",\n      \"cursor\": \"c1\",\n      \"limit\": 50\n    },\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"finalized\",\n    \"cleanup\": \"GET /v1/plans/{id}/finalize with soft-delete flag to reverse\"\n  },\n  {\n    \"endpoint\": \"GET /v1/plans/{id}/finalize\",\n    \"method",
       "slot": 0,
       "is_10k": true,
       "dr": 375.0,
       "ac": 1676.0,
       "dtok": 2250.0,
       "pp_raw": {
        "0": 335.0,
        "1": 306.0,
        "2": 282.0,
        "3": 264.0,
        "4": 251.0,
        "5": 238.0
       },
       "tau": 5.4693
      },
      {
       "ctok": 2048,
       "ttft_ms": 358.0,
       "tok_s": 383.2,
       "text": " ```json\n[\n  {\n    \"endpoint\": \"PATCH /v2/invoices/{id}/archive\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"happy_path_archive_invoice\",\n    \"payload\": {\"id\": \"inv-123e4567-e89b-12d3-a456-426614174000\", \"status\": \"done\", \"amount_cents\": 5000, \"currency\": \"USD\", \"metadata\": {\"reason\": \"archived\"}, \"version\": 2},\n    \"expected_status\": 200,\n    \"expected_body_contains\": {\"status\": \"done\"},\n    \"cleanup\": \"PATCH /v2/invoices/{id}/archive restore\"\n  },\n  {\n    \"endpoint\": \"PATCH /v2/invoices/{id}/archive\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"failure_rate_limit_exceeded\",\n    \"payload\": {\"id\": \"inv-123e4567-e89b-12d3-a456-426614174001\", \"status\": \"pending\", \"amount_cents\": 100, \"currency\": \"USD\", \"metadata\": {}, \"version\": 1},\n    \"expected_status\": 429,\n    \"expected_body_contains\": {\"error\": \"rate_limit_exceeded\"},\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/customers/{id}/finalize\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_finalize_customer\",\n    \"payload\": {\"id\": \"cus-123e4567-e89b-12d3-a456-426614174000\", \"status\": \"closed\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {\"finalized\": \"true\"}, \"version\": 3, \"dry_run\": false},\n    \"expected_status\": 200,\n    \"expected_body_contains\": {\"status\": \"closed\"},\n    \"cleanup\": \"PUT /v1/customers/{id}/finalize reopen\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/customers/{id}/finalize\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_customer_not_found\",\n    \"payload\": {\"id\": \"cus-00000000-0000-0000-0000-000000000000\", \"status\": \"closed\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {}, \"version\": 1, \"dry_run\": false},\n    \"expected_status\": 404,\n    \"expected_body_contains\": {\"error\": \"not_found\"},\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/subscriptions/{id}/finalize\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_finalize_subscription\",\n    \"payload\": {\"id\": \"sub-123e4567-e89b-12d3-a456-426614174000\", \"status\": \"done\", \"amount_cents\": 9900, \"currency\": \"USD\", \"metadata\": {\"plan\": \"premium\"}, \"version\": 5, \"dry_run\": false},\n    \"expected_status\": 202,\n    \"expected_body_contains\": {\"job_id\": \"job-\"},\n    \"cleanup\": \"DELETE /v1/subscriptions/{id}/finalize undo\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/subscriptions/{id}/finalize\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"failure_conflict_state\",\n    \"payload\": {\"id\": \"sub-123e4567-e89b-12d3-a456-426614174001\", \"status\": \"failed\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {}, \"version\": 1, \"dry_run\": false},\n    \"expected_status\": 409,\n    \"expected_body_contains\": {\"error\": \"conflict\"},\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PATCH /v3/webhooks/{id}/preview\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"happy_path_preview_webhook\",\n    \"payload\": {\"id\": \"whk-123e4567-e89b-12d3-a456-426614174000\", \"status\": \"open\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {\"url\": \"https://example.com\"}, \"version\": 2, \"cursor\": \"c1\", \"limit\": 10},\n    \"expected_status\": 202,\n    \"expected_body_contains\": {\"audit_event_id\": \"evt-\"},\n    \"cleanup\": \"PATCH /v3/webhooks/{id}/preview clear\"\n  },\n  {\n    \"endpoint\": \"PATCH /v3/webhooks/{id}/preview\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"failure_precondition_failed\",\n    \"payload\": {\"id\": \"whk-123e4567-e89b-12d3-a456-426614174001\", \"status\": \"held\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {}, \"version\": 1, \"cursor\": \"c1\", \"limit\": 10},\n    \"expected_status\": 412,\n    \"expected_body_contains\": {\"error\": \"precondition_failed\"},\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/reports/{id}/approve\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_approve_report\",\n    \"payload\": {\"id\": \"rpt-123e4567-e89b-12d3-a456-426614174000\", \"status\": \"open\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {\"type\": \"monthly\"}, \"version\": 4, \"idempotency-key\": \"idem-1234567890\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": {\"status\": \"approved\"},\n    \"cleanup\": \"DELETE /v2/reports/{id}/approve unapprove\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/reports/{id}/approve\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"failure_payment_required\",\n    \"payload\": {\"id\": \"rpt-123e4567-e89b-12d3-a456-426614174001\", \"status\": \"open\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {}, \"version\": 1, \"idempotency-key\": \"idem-0987654321\"},\n    \"expected_status\": 402,\n    \"expected_body_contains\": {\"error\": \"payment_required\"},\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v2/tokens/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_archive_token\",\n    \"payload\": {\"id\": \"tok-123e4567-e89b-12d3-a456-426614174000\", \"status\": \"closed\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {\"archived\": \"true\"}, \"version\": 3, \"idempotency-key\": \"idem-archive-1\"},\n    \"expected_status\": 200,\n    \"expected_body_contains\": {\"status\": \"closed\"},\n    \"cleanup\": \"GET /v2/tokens/{id}/archive unarchive\"\n  },\n  {\n    \"endpoint\": \"GET /v2/tokens/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"failure_bad_request\",\n    \"payload\": {\"id\": \"invalid-uuid\", \"status\": \"open\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {}, \"version\": 1, \"idempotency-key\": \"idem-bad-1\"},\n    \"expected_status\": 400,\n    \"expected_body_contains\": {\"error\": \"bad_request\"},\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/audits/{id}/preview\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_preview_audit\",\n    \"payload\": {\"id\": \"adt-123e4567-e89b-12d3-a456-426614174000\", \"status\": \"active\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {\"action\": \"delete\"}, \"version\": 2, \"cursor\": \"c1\", \"limit\": 20},\n    \"expected_status\": 202,\n    \"expected_body_contains\": {\"items\": []},\n    \"cleanup\": \"DELETE /v2/audits/{id}/preview restore\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/audits/{id}/preview\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"failure_gone\",\n    \"payload\": {\"id\": \"adt-00000000-0000-0000-0000-000000000000\", \"status\": \"past_due\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {}, \"version\": 1, \"cursor\": \"c1\", \"limit\": 20},\n    \"expected_status\": 410,\n    \"expected_body_contains\": {\"error\": \"gone\"},\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/exports/{id}/archive\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_archive_export\",\n    \"payload\": {\"id\": \"exp-123e4567-e89b-12d3-a456-426",
       "slot": 1,
       "is_10k": true,
       "dr": 392.0,
       "ac": 1660.0,
       "dtok": 2352.0,
       "pp_raw": {
        "0": 354.0,
        "1": 319.0,
        "2": 288.0,
        "3": 263.0,
        "4": 231.0,
        "5": 205.0
       },
       "tau": 5.2347
      },
      {
       "ctok": 2048,
       "ttft_ms": 322.0,
       "tok_s": 400.7,
       "text": " ```json\n[\n  {\n    \"endpoint\": \"DELETE /v2/invoices/{id}/rotate\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_invoice_rotate\",\n    \"payload\": {\"id\": \"inv-2f8a9c3e-1d4b-5e6f-7a8b-9c0d1e2f3a4b\"},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"rotated\",\n    \"cleanup\": \"POST /v2/invoices/{id}/rotate\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/invoices/{id}/rotate\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"failure_invoice_rotate_payment_required\",\n    \"payload\": {\"id\": \"inv-00000000-0000-0000-0000-000000000000\"},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"Payment Required\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"POST /v2/customers/{id}/cancel\",\n    \"method\": \"POST\",\n    \"test_name\": \"happy_path_customer_cancel\",\n    \"payload\": {\"id\": \"cus-3a9b4c5d-2e6f-7a8b-9c0d-1e2f3a4b5c6d\", \"idempotency-key\": \"idem-2024-001\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"accepted\",\n    \"cleanup\": \"POST /v2/customers/{id}/cancel\"\n  },\n  {\n    \"endpoint\": \"POST /v2/customers/{id}/cancel\",\n    \"method\": \"POST\",\n    \"test_name\": \"failure_customer_cancel_precondition_failed\",\n    \"payload\": {\"id\": \"cus-11111111-1111-1111-1111-111111111111\", \"idempotency-key\": \"idem-2024-002\"},\n    \"expected_status\": 412,\n    \"expected_body_contains\": \"Precondition Failed\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"POST /v2/subscriptions/{id}/verify\",\n    \"method\": \"POST\",\n    \"test_name\": \"happy_path_subscription_verify\",\n    \"payload\": {\"id\": \"sub-4b5c6d7e-3f8a-9b0c-1d2e-3f4a5b6c7d8e\", \"idempotency-key\": \"idem-2024-003\"},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"verified\",\n    \"cleanup\": \"DELETE /v2/subscriptions/{id}/verify\"\n  },\n  {\n    \"endpoint\": \"POST /v2/subscriptions/{id}/verify\",\n    \"method\": \"POST\",\n    \"test_name\": \"failure_subscription_verify_not_found\",\n    \"payload\": {\"id\": \"sub-00000000-0000-0000-0000-000000000000\", \"idempotency-key\": \"idem-2024-004\"},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"Not Found\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/webhooks/{id}/rotate\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_webhook_rotate_dry_run\",\n    \"payload\": {\"id\": \"whk-5c6d7e8f-4a9b-0c1d-2e3f-4a5b6c7d8e9f\", \"dry_run\": true},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"rotated\",\n    \"cleanup\": \"PUT /v3/webhooks/{id}/rotate\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/webhooks/{id}/rotate\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_webhook_rotate_not_found\",\n    \"payload\": {\"id\": \"whk-00000000-0000-0000-0000-000000000000\", \"dry_run\": false},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"Not Found\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/reports/{id}/cancel\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_report_cancel\",\n    \"payload\": {\"id\": \"rpt-6d7e8f9a-5b0c-1d2e-3f4a-5b6c7d8e9f0a\", \"cursor\": \"c1\", \"limit\": 50},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"accepted\",\n    \"cleanup\": \"PUT /v2/reports/{id}/cancel\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/reports/{id}/cancel\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_report_cancel_not_found\",\n    \"payload\": {\"id\": \"rpt-00000000-0000-0000-0000-000000000000\", \"cursor\": \"c1\", \"limit\": 50},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"Not Found\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/tokens/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_token_preview\",\n    \"payload\": {\"id\": \"tok-7e8f9a0b-6c1d-2e3f-4a5b-6c7d8e9f0a1b\", \"as_of\": \"2024-01-15T00:00:00Z\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"preview\",\n    \"cleanup\": \"PUT /v1/tokens/{id}/preview\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/tokens/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_token_preview_gone\",\n    \"payload\": {\"id\": \"tok-00000000-0000-0000-0000-000000000000\", \"as_of\": \"2024-01-15T00:00:00Z\"},\n    \"expected_status\": 410,\n    \"expected_body_contains\": \"Gone\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"POST /v1/audits/{id}/rotate\",\n    \"method\": \"POST\",\n    \"test_name\": \"happy_path_audit_rotate\",\n    \"payload\": {\"id\": \"adt-8f9a0b1c-7d2e-3f4a-5b6c-7d8e9f0a1b2c\", \"idempotency-key\": \"idem-2024-005\"},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"rotated\",\n    \"cleanup\": \"POST /v1/audits/{id}/rotate\"\n  },\n  {\n    \"endpoint\": \"POST /v1/audits/{id}/rotate\",\n    \"method\": \"POST\",\n    \"test_name\": \"failure_audit_rotate_conflict\",\n    \"payload\": {\"id\": \"adt-11111111-1111-1111-1111-111111111111\", \"idempotency-key\": \"idem-2024-006\"},\n    \"expected_status\": 409,\n    \"expected_body_contains\": \"Conflict\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"POST /v3/exports/{id}/archive\",\n    \"method\": \"POST\",\n    \"test_name\": \"happy_path_export_archive\",\n    \"payload\": {\"id\": \"exp-9a0b1c2d-8e3f-4a5b-6c7d-8e9f0a1b2c3d\"},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"archived\",\n    \"cleanup\": \"POST /v3/exports/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"POST /v3/exports/{id}/archive\",\n    \"method\": \"POST\",\n    \"test_name\": \"failure_export_archive_payment_required\",\n    \"payload\": {\"id\": \"exp-00000000-0000-0000-0000-000000000000\"},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"Payment Required\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v2/plans/{id}/approve\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_plan_approve_dry_run\",\n    \"payload\": {\"id\": \"pln-0b1c2d3e-9f4a-5b6c-7d8e-9f0a1b2c3d4e\", \"dry_run\": true},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"approved\",\n    \"cleanup\": \"GET /v2/plans/{id}/approve\"\n  },\n  {\n    \"endpoint\": \"GET /v2/plans/{id}/approve\",\n    \"method\": \"GET\",\n    \"test_name\": \"failure_plan_approve_bad_request\",\n    \"payload\": {\"id\": \"pln-00000000-0000-0000-",
       "slot": 2,
       "is_10k": true,
       "dr": 376.0,
       "ac": 1674.0,
       "dtok": 2256.0,
       "pp_raw": {
        "0": 348.0,
        "1": 322.0,
        "2": 289.0,
        "3": 258.0,
        "4": 238.0,
        "5": 219.0
       },
       "tau": 5.4521
      },
      {
       "ctok": 2048,
       "ttft_ms": 323.0,
       "tok_s": 372.2,
       "text": " ```json\n[\n  {\n    \"endpoint\": \"GET /v1/invoices/{id}/cancel\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_invoice_cancel\",\n    \"payload\": {\"id\": \"inv-7f8a9b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c\", \"cursor\": \"eyJpZCI6IjAwMDEiLCJ0cyI6IjIwMjYtMDEtMDFUMDA6MDA6MDBaIn0\", \"limit\": 50},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"{\\\"status\\\":\\\"cancelled\\\"\",\n    \"cleanup\": \"POST /v1/invoices/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"GET /v1/invoices/{id}/cancel\",\n    \"method\": \"GET\",\n    \"test_name\": \"failure_payment_required_invoice_cancel\",\n    \"payload\": {\"id\": \"inv-402-test-0000-0000-000000000000\", \"cursor\": null, \"limit\": 10},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"Payment Required\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PATCH /v1/customers/{id}/preview\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"happy_path_customer_preview\",\n    \"payload\": {\"id\": \"cus-7f8a9b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c\", \"2fa_context\": \"totp-verified-7d8f9a0b1c2d3e4f\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"{\\\"status\\\":\\\"preview_ready\\\"\",\n    \"cleanup\": \"PUT /v1/customers/{id}/retry\"\n  },\n  {\n    \"endpoint\": \"PATCH /v1/customers/{id}/preview\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"failure_not_found_customer_preview\",\n    \"payload\": {\"id\": \"cus-404-test-0000-0000-000000000000\", \"2fa_context\": \"totp-verified-7d8f9a0b1c2d3e4f\"},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"Not Found\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v2/subscriptions/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_subscription_archive\",\n    \"payload\": {\"id\": \"sub-7f8a9b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c\", \"cursor\": \"eyJpZCI6IjAwMDEiLCJ0cyI6IjIwMjYtMDEtMDFUMDA6MDA6MDBaIn0\", \"limit\": 25},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"{\\\"status\\\":\\\"archived\\\"\",\n    \"cleanup\": \"PATCH /v2/subscriptions/{id}/cancel\"\n  },\n  {\n    \"endpoint\": \"GET /v2/subscriptions/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"failure_payment_required_subscription_archive\",\n    \"payload\": {\"id\": \"sub-402-test-0000-0000-000000000000\", \"cursor\": null, \"limit\": 5},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"Payment Required\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"POST /v2/webhooks/{id}/cancel\",\n    \"method\": \"POST\",\n    \"test_name\": \"happy_path_webhook_cancel\",\n    \"payload\": {\"id\": \"whk-7f8a9b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c\", \"idempotency_key\": \"idemp-7d8f9a0b-1c2d-3e4f-5a6b-7c8d9e0f1a2b\"},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"{\\\"status\\\":\\\"cancelled\\\"\",\n    \"cleanup\": \"GET /v2/webhooks/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"POST /v2/webhooks/{id}/cancel\",\n    \"method\": \"POST\",\n    \"test_name\": \"failure_payment_required_webhook_cancel\",\n    \"payload\": {\"id\": \"whk-402-test-0000-0000-000000000000\", \"idempotency_key\": \"idemp-402-test-0000-0000-000000000001\"},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"Payment Required\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PATCH /v2/reports/{id}/cancel\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"happy_path_report_cancel\",\n    \"payload\": {\"id\": \"rpt-7f8a9b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c\", \"as_of\": \"2026-06-15T10:30:00Z\"},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"{\\\"job_id\\\":\\\"job-\",\n    \"cleanup\": \"DELETE /v3/reports/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"PATCH /v2/reports/{id}/cancel\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"failure_bad_request_report_cancel\",\n    \"payload\": {\"id\": \"rpt-400-test-0000-0000-000000000000\", \"as_of\": \"invalid-date-format\"},\n    \"expected_status\": 400,\n    \"expected_body_contains\": \"Bad Request\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/tokens/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_token_preview\",\n    \"payload\": {\"id\": \"tkn-7f8a9b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c\", \"as_of\": \"2026-06-15T10:30:00Z\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"{\\\"job_id\\\":\\\"job-\",\n    \"cleanup\": \"GET /v2/tokens/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/tokens/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_bad_request_token_preview\",\n    \"payload\": {\"id\": \"tkn-400-test-0000-0000-000000000000\", \"as_of\": \"\"},\n    \"expected_status\": 400,\n    \"expected_body_contains\": \"Bad Request\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PATCH /v2/audits/{id}/cancel\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"happy_path_audit_cancel\",\n    \"payload\": {\"id\": \"adt-7f8a9b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c\", \"idempotency_key\": \"idemp-7d8f9a0b-1c2d-3e4f-5a6b-7c8d9e0f1a2b\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"{\\\"status\\\":\\\"cancelled\\\"\",\n    \"cleanup\": \"PATCH /v1/audits/{id}/rotate\"\n  },\n  {\n    \"endpoint\": \"PATCH /v2/audits/{id}/cancel\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"failure_bad_request_audit_cancel\",\n    \"payload\": {\"id\": \"adt-400-test-0000-0000-000000000000\", \"idempotency_key\": null},\n    \"expected_status\": 400,\n    \"expected_body_contains\": \"Bad Request\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v3/exports/{id}/finalize\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_export_finalize\",\n    \"payload\": {\"id\": \"exp-7f8a9b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c\", \"idempotency_key\": \"idemp-7d8f9a0b-1c2d-3e4f-5a6b-7c8d9e0f1a2b\"},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"{\\\"status\\\":\\\"finalized\\\"\",\n    \"cleanup\": \"DELETE /v1/exports/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"GET /v3/exports/{id}/finalize\",\n    \"method\": \"GET\",\n    \"test_name\": \"failure_bad_request_export_finalize\",\n    \"payload\": {\"id\": \"",
       "slot": 3,
       "is_10k": true,
       "dr": 406.0,
       "ac": 1644.0,
       "dtok": 2436.0,
       "pp_raw": {
        "0": 342.0,
        "1": 312.0,
        "2": 287.0,
        "3": 258.0,
        "4": 231.0,
        "5": 214.0
       },
       "tau": 5.0493
      },
      {
       "ctok": 2048,
       "ttft_ms": 320.0,
       "tok_s": 411.0,
       "text": " ```json\n[\n  {\n    \"endpoint\": \"DELETE /v2/invoices/{id}/retry\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_retry_invoice\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440001\"},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"status\",\n    \"cleanup\": \"PUT /v2/invoices/{id}/finalize\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/invoices/{id}/retry\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"failure_invoice_not_found_404\",\n    \"payload\": {\"id\": \"00000000-0000-0000-0000-000000000000\"},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"not found\",\n    \"cleanup\": null\n  },\n  {\n    \"endpoint\": \"PUT /v1/customers/{id}/approve\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_approve_customer\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440002\", \"idempotency-key\": \"idem-001-abc\"},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"done\",\n    \"cleanup\": \"PATCH /v1/customers/{id}/verify\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/customers/{id}/approve\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_customer_conflict_409\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440002\", \"idempotency-key\": \"idem-001-abc\"},\n    \"expected_status\": 409,\n    \"expected_body_contains\": \"conflict\",\n    \"cleanup\": null\n  },\n  {\n    \"endpoint\": \"PUT /v1/subscriptions/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_preview_subscription\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440003\", \"cursor\": \"eyJwYWdlIjoxfQ==\", \"limit\": 20},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"active\",\n    \"cleanup\": \"DELETE /v1/subscriptions/{id}/retry\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/subscriptions/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_subscription_payment_required_402\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440003\", \"cursor\": \"eyJwYWdlIjoxfQ==\", \"limit\": 20},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"payment\",\n    \"cleanup\": null\n  },\n  {\n    \"endpoint\": \"DELETE /v1/webhooks/{id}/finalize\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_finalize_webhook\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440004\"},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"done\",\n    \"cleanup\": \"POST /v2/webhooks/{id}/finalize\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/webhooks/{id}/finalize\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"failure_webhook_conflict_409\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440004\"},\n    \"expected_status\": 409,\n    \"expected_body_contains\": \"conflict\",\n    \"cleanup\": null\n  },\n  {\n    \"endpoint\": \"DELETE /v2/reports/{id}/finalize\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_finalize_report\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440005\", \"cursor\": \"eyJwYWdlIjoxfQ==\", \"limit\": 10},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"pending\",\n    \"cleanup\": \"DELETE /v1/reports/{id}/approve\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/reports/{id}/finalize\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"failure_report_bad_request_400\",\n    \"payload\": {\"id\": \"invalid-uuid\", \"cursor\": \"eyJwYWdlIjoxfQ==\", \"limit\": 10},\n    \"expected_status\": 400,\n    \"expected_body_contains\": \"invalid\",\n    \"cleanup\": null\n  },\n  {\n    \"endpoint\": \"PUT /v1/tokens/{id}/retry\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_retry_token\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440006\", \"idempotency-key\": \"idem-token-001\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"pending\",\n    \"cleanup\": \"DELETE /v3/tokens/{id}/cancel\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/tokens/{id}/retry\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_token_payment_required_402\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440006\", \"idempotency-key\": \"idem-token-002\"},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"payment\",\n    \"cleanup\": null\n  },\n  {\n    \"endpoint\": \"GET /v3/audits/{id}/cancel\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_cancel_audit\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440007\", \"dry_run\": false},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"closed\",\n    \"cleanup\": \"PATCH /v2/audits/{id}/finalize\"\n  },\n  {\n    \"endpoint\": \"GET /v3/audits/{id}/cancel\",\n    \"method\": \"GET\",\n    \"test_name\": \"failure_audit_not_found_404\",\n    \"payload\": {\"id\": \"00000000-0000-0000-0000-000000000000\", \"dry_run\": false},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"not found\",\n    \"cleanup\": null\n  },\n  {\n    \"endpoint\": \"GET /v1/exports/{id}/verify\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_verify_export\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440008\", \"dry_run\": true},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"active\",\n    \"cleanup\": \"PUT /v3/exports/{id}/verify\"\n  },\n  {\n    \"endpoint\": \"GET /v1/exports/{id}/verify\",\n    \"method\": \"GET\",\n    \"test_name\": \"failure_export_not_found_404\",\n    \"payload\": {\"id\": \"00000000-0000-0000-0000-000000000000\", \"dry_run\": true},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"not found\",\n    \"cleanup\": null\n  },\n  {\n    \"endpoint\": \"GET /v2/plans/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_archive_plan\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440009\", \"as_of\": \"2026-01-15T10:30:00Z\"},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"active\",\n    \"cleanup\": \"GET /v1/plans/{id}/cancel\"\n  },\n  {\n    \"endpoint\": \"GET /v2/plans/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"failure_plan_bad_request_400\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440009\", \"as_of\": \"invalid-date\"},\n    \"expected_status\": 400,\n    \"expected_body_contains\": \"invalid\",\n    \"cleanup\": null\n  },\n  {\n    \"endpoint\": \"PUT /v2/usage/{id}/finalize\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_finalize_usage\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440010\", \"as_of\": \"2026-01-15T10:30:00Z\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"active\",\n    \"cleanup\": \"GET /v3/usage/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/usage/{id}/finalize\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_usage_not_found_404\",\n    \"payload\": {\"id\": \"00000000-0000-0000-0000-000000000000",
       "slot": 4,
       "is_10k": true,
       "dr": 368.0,
       "ac": 1683.0,
       "dtok": 2208.0,
       "pp_raw": {
        "0": 334.0,
        "1": 309.0,
        "2": 289.0,
        "3": 267.0,
        "4": 249.0,
        "5": 235.0
       },
       "tau": 5.5734
      },
      {
       "ctok": 2048,
       "ttft_ms": 352.0,
       "tok_s": 384.7,
       "text": " ```json\n[\n  {\n    \"endpoint\": \"GET /v2/invoices/{id}/approve\",\n    \"method\": \"GET\",\n    \"test_name\": \"invoices_approve_happy_path\",\n    \"payload\": {\n      \"id\": \"inv_7f8d9a2b-4c1e-4f5a-9b8c-3d2e1f0a5b6c\",\n      \"idempotency-key\": \"idem_key_2024_001\"\n    },\n    \"expected_status\": 201,\n    \"expected_body_contains\": {\"status\": \"pending\", \"job_id\": \"job_\"},\n    \"cleanup\": \"DELETE /v2/invoices/{id}/cancel\"\n  },\n  {\n    \"endpoint\": \"GET /v2/invoices/{id}/approve\",\n    \"method\": \"GET\",\n    \"test_name\": \"invoices_approve_payment_required\",\n    \"payload\": {\n      \"id\": \"inv_7f8d9a2b-4c1e-4f5a-9b8c-3d2e1f0a5b6c\",\n      \"idempotency-key\": \"idem_key_2024_002\"\n    },\n    \"expected_status\": 402,\n    \"expected_body_contains\": {\"error\": \"Payment Required\", \"code\": \"402\"},\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/customers/{id}/verify\",\n    \"method\": \"PUT\",\n    \"test_name\": \"customers_verify_happy_path\",\n    \"payload\": {\n      \"id\": \"cus_3a4b5c6d-7e8f-9a0b-1c2d-3e4f5a6b7c8d\",\n      \"cursor\": \"curs_abc123\",\n      \"limit\": 50\n    },\n    \"expected_status\": 202,\n    \"expected_body_contains\": {\"status\": \"pending\", \"verification_id\": \"ver_\"},\n    \"cleanup\": \"DELETE /v2/customers/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/customers/{id}/verify\",\n    \"method\": \"PUT\",\n    \"test_name\": \"customers_verify_conflict\",\n    \"payload\": {\n      \"id\": \"cus_3a4b5c6d-7e8f-9a0b-1c2d-3e4f5a6b7c8d\",\n      \"cursor\": \"curs_abc123\",\n      \"limit\": 50\n    },\n    \"expected_status\": 409,\n    \"expected_body_contains\": {\"error\": \"Conflict\", \"code\": \"409\"},\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/subscriptions/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"subscriptions_preview_happy_path\",\n    \"payload\": {\n      \"id\": \"sub_9a8b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d\"\n    },\n    \"expected_status\": 200,\n    \"expected_body_contains\": {\"status\": \"pending\", \"amount_cents\": 0, \"currency\": \"USD\"},\n    \"cleanup\": \"DELETE /v3/subscriptions/{id}/cancel\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/subscriptions/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"subscriptions_preview_rate_limited\",\n    \"payload\": {\n      \"id\": \"sub_9a8b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d\"\n    },\n    \"expected_status\": 429,\n    \"expected_body_contains\": {\"error\": \"Too Many Requests\", \"code\": \"429\"},\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/webhooks/{id}/cancel\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"webhooks_cancel_happy_path\",\n    \"payload\": {\n      \"id\": \"whk_1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d\",\n      \"cursor\": \"curs_def456\",\n      \"limit\": 100\n    },\n    \"expected_status\": 202,\n    \"expected_body_contains\": {\"status\": \"canceled\", \"canceled_at\": \"2024-\"},\n    \"cleanup\": \"POST /v1/webhooks/{id}/restore\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/webhooks/{id}/cancel\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"webhooks_cancel_precondition_required\",\n    \"payload\": {\n      \"id\": \"whk_1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d\",\n      \"cursor\": \"curs_def456\",\n      \"limit\": 100\n    },\n    \"expected_status\": 428,\n    \"expected_body_contains\": {\"error\": \"Precondition Required\", \"code\": \"428\"},\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/reports/{id}/cancel\",\n    \"method\": \"PUT\",\n    \"test_name\": \"reports_cancel_happy_path\",\n    \"payload\": {\n      \"id\": \"rpt_4d5e6f7a-8b9c-0d1e-2f3a-4b5c6d7e8f9a\",\n      \"idempotency-key\": \"idem_key_2024_003\"\n    },\n    \"expected_status\": 200,\n    \"expected_body_contains\": {\"status\": \"closed\", \"canceled_at\": \"2024-\"},\n    \"cleanup\": \"POST /v2/reports/{id}/reopen\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/reports/{id}/cancel\",\n    \"method\": \"PUT\",\n    \"test_name\": \"reports_cancel_precondition_failed\",\n    \"payload\": {\n      \"id\": \"rpt_4d5e6f7a-8b9c-0d1e-2f3a-4b5c6d7e8f9a\",\n      \"idempotency-key\": \"idem_key_2024_004\"\n    },\n    \"expected_status\": 412,\n    \"expected_body_contains\": {\"error\": \"Precondition Failed\", \"code\": \"412\"},\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/tokens/{id}/rotate\",\n    \"method\": \"PUT\",\n    \"test_name\": \"tokens_rotate_happy_path\",\n    \"payload\": {\n      \"id\": \"tok_2b3c4d5e-6f7a-8b9c-0d1e-2f3a4b5c6d7e\",\n      \"idempotency-key\": \"idem_key_2024_005\",\n      \"two_fa_context\": \"totp_verified_abc123\"\n    },\n    \"expected_status\": 200,\n    \"expected_body_contains\": {\"status\": \"pending\", \"new_token_id\": \"tok_\"},\n    \"cleanup\": \"DELETE /v3/tokens/{id}/revoke\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/tokens/{id}/rotate\",\n    \"method\": \"PUT\",\n    \"test_name\": \"tokens_rotate_not_found\",\n    \"payload\": {\n      \"id\": \"tok_00000000-0000-0000-0000-000000000000\",\n      \"idempotency-key\": \"idem_key_2024_006\",\n      \"two_fa_context\": \"totp_verified_def456\"\n    },\n    \"expected_status\": 404,\n    \"expected_body_contains\": {\"error\": \"Not Found\", \"code\": \"404\"},\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"POST /v3/audits/{id}/verify\",\n    \"method\": \"POST\",\n    \"test_name\": \"audits_verify_happy_path\",\n    \"payload\": {\n      \"id\": \"adt_5e6f7a8b-9c0d-1e2f-3a4b-5c6d7e8f9a0b\"\n    },\n    \"expected_status\": 200,\n    \"expected_body_contains\": {\"status\": \"open\", \"verified\": true},\n    \"cleanup\": \"PUT /v3/audits/{id}/archive\"\n  },\n  {\n    \"endpoint\": \"POST /v3/audits/{id}/verify\",\n    \"method\": \"POST\",\n    \"test_name\": \"audits_verify_gone\",\n    \"payload\": {\n      \"id\": \"adt_5e6f7a8b-9c0d-1e2f-3a4b-5c6d7e8f9a0b\"\n    },\n    \"expected_status\": 410,\n    \"expected_body_contains\": {\"error\": \"Gone\", \"code\": \"410\"},\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v3/exports/{id}/verify\",\n    \"method\": \"GET\",\n    \"test_name\": \"exports_verify_happy_path\",\n",
       "slot": 5,
       "is_10k": true,
       "dr": 391.0,
       "ac": 1659.0,
       "dtok": 2346.0,
       "pp_raw": {
        "0": 353.0,
        "1": 311.0,
        "2": 281.0,
        "3": 262.0,
        "4": 241.0,
        "5": 211.0
       },
       "tau": 5.243
      },
      {
       "ctok": 2048,
       "ttft_ms": 316.0,
       "tok_s": 409.8,
       "text": " ```json\n[\n  {\n    \"endpoint\": \"PUT /v1/invoices/{id}/cancel\",\n    \"method\": \"PUT\",\n    \"test_name\": \"invoice_cancel_happy_path\",\n    \"payload\": {\"id\": \"inv_550e8400-e29b-41d4-a716-446655440000\", \"dry_run\": false, \"status\": \"canceled\", \"amount_cents\": 10000, \"currency\": \"USD\", \"metadata\": {\"reason\": \"customer_request\"}, \"version\": 2},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"canceled\",\n    \"cleanup\": \"PUT /v1/invoices/{id}/cancel with status active\"\n  },\n  {\n    \"endpoint\": \"PUT /v1/invoices/{id}/cancel\",\n    \"method\": \"PUT\",\n    \"test_name\": \"invoice_cancel_not_found\",\n    \"payload\": {\"id\": \"inv_00000000-0000-0000-0000-000000000000\", \"dry_run\": false, \"status\": \"canceled\", \"amount_cents\": 10000, \"currency\": \"USD\", \"metadata\": {}, \"version\": 1},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"not found\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"POST /v1/customers/{id}/finalize\",\n    \"method\": \"POST\",\n    \"test_name\": \"customer_finalize_happy_path\",\n    \"payload\": {\"id\": \"cus_550e8400-e29b-41d4-a716-446655440001\", \"dry_run\": false, \"status\": \"active\", \"amount_cents\": 5000, \"currency\": \"USD\", \"metadata\": {\"plan\": \"premium\"}, \"version\": 1},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"active\",\n    \"cleanup\": \"POST /v1/customers/{id}/finalize with status past_due\"\n  },\n  {\n    \"endpoint\": \"POST /v1/customers/{id}/finalize\",\n    \"method\": \"POST\",\n    \"test_name\": \"customer_finalize_gone\",\n    \"payload\": {\"id\": \"cus_550e8400-e29b-41d4-a716-446655440001\", \"dry_run\": false, \"status\": \"active\", \"amount_cents\": 5000, \"currency\": \"USD\", \"metadata\": {}, \"version\": 999},\n    \"expected_status\": 410,\n    \"expected_body_contains\": \"gone\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PATCH /v2/subscriptions/{id}/archive\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"subscription_archive_happy_path\",\n    \"payload\": {\"id\": \"sub_550e8400-e29b-41d4-a716-446655440002\", \"status\": \"done\", \"amount_cents\": 15000, \"currency\": \"USD\", \"metadata\": {\"archived\": \"true\"}, \"version\": 3},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"done\",\n    \"cleanup\": \"PATCH /v2/subscriptions/{id}/archive with status pending\"\n  },\n  {\n    \"endpoint\": \"PATCH /v2/subscriptions/{id}/archive\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"subscription_archive_conflict\",\n    \"payload\": {\"id\": \"sub_550e8400-e29b-41d4-a716-446655440002\", \"status\": \"failed\", \"amount_cents\": 15000, \"currency\": \"USD\", \"metadata\": {}, \"version\": 1},\n    \"expected_status\": 409,\n    \"expected_body_contains\": \"conflict\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/webhooks/{id}/cancel\",\n    \"method\": \"PUT\",\n    \"test_name\": \"webhook_cancel_happy_path\",\n    \"payload\": {\"id\": \"whk_550e8400-e29b-41d4-a716-446655440003\", \"status\": \"closed\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {}, \"version\": 2, \"idempotency_key\": \"idmp_abc123\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"closed\",\n    \"cleanup\": \"PUT /v2/webhooks/{id}/cancel with status open\"\n  },\n  {\n    \"endpoint\": \"PUT /v2/webhooks/{id}/cancel\",\n    \"method\": \"PUT\",\n    \"test_name\": \"webhook_cancel_rate_limited\",\n    \"payload\": {\"id\": \"whk_550e8400-e29b-41d4-a716-446655440003\", \"status\": \"closed\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {}, \"version\": 1, \"idempotency_key\": \"idmp_def456\"},\n    \"expected_status\": 429,\n    \"expected_body_contains\": \"rate limit\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v2/reports/{id}/finalize\",\n    \"method\": \"GET\",\n    \"test_name\": \"report_finalize_happy_path\",\n    \"payload\": {\"id\": \"rpt_550e8400-e29b-41d4-a716-446655440004\", \"as_of\": \"2025-01-15T00:00:00Z\", \"status\": \"closed\", \"amount_cents\": 25000, \"currency\": \"USD\", \"metadata\": {\"period\": \"q4\"}, \"version\": 1},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"closed\",\n    \"cleanup\": \"GET /v2/reports/{id}/finalize with status open\"\n  },\n  {\n    \"endpoint\": \"GET /v2/reports/{id}/finalize\",\n    \"method\": \"GET\",\n    \"test_name\": \"report_finalize_precondition_failed\",\n    \"payload\": {\"id\": \"rpt_550e8400-e29b-41d4-a716-446655440004\", \"as_of\": \"2026-06-30T00:00:00Z\", \"status\": \"closed\", \"amount_cents\": 25000, \"currency\": \"USD\", \"metadata\": {}, \"version\": 999},\n    \"expected_status\": 412,\n    \"expected_body_contains\": \"precondition failed\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"POST /v2/tokens/{id}/retry\",\n    \"method\": \"POST\",\n    \"test_name\": \"token_retry_happy_path\",\n    \"payload\": {\"id\": \"tok_550e8400-e29b-41d4-a716-446655440005\", \"status\": \"done\", \"amount_cents\": 100, \"currency\": \"USD\", \"metadata\": {}, \"version\": 2, \"idempotency_key\": \"idmp_ghi789\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"done\",\n    \"cleanup\": \"POST /v2/tokens/{id}/retry with status pending\"\n  },\n  {\n    \"endpoint\": \"POST /v2/tokens/{id}/retry\",\n    \"method\": \"POST\",\n    \"test_name\": \"token_retry_payment_required\",\n    \"payload\": {\"id\": \"tok_550e8400-e29b-41d4-a716-446655440005\", \"status\": \"failed\", \"amount_cents\": 100, \"currency\": \"USD\", \"metadata\": {}, \"version\": 1, \"idempotency_key\": \"idmp_jkl012\"},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"payment required\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PATCH /v3/audits/{id}/retry\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"audit_retry_happy_path\",\n    \"payload\": {\"id\": \"adt_550e8400-e29b-41d4-a716-446655440006\", \"dry_run\": false, \"status\": \"done\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {\"audit_type\": \"compliance\"}, \"version\": 3},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"done\",\n    \"cleanup\": \"PATCH /v3/audits/{id}/retry with status pending\"\n  },\n  {\n    \"endpoint\": \"PATCH /v3/audits/{id}/retry\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"audit_retry_gone\",\n    \"payload\": {\"id\": \"adt_550e8400-e29b-41d4-a716-446655440006\", \"dry_run\": false, \"status\": \"done\", \"amount_cents\": 0, \"currency\": \"USD\", \"metadata\": {}, \"version\": 999},\n    \"expected_status\": 410,\n    \"expected_body_contains\": \"gone\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"DELETE /v2/exports/{id}/preview\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"export_preview_delete_happy_path\",\n    \"payload\": {\"id\": \"exp_550e8400-e29b-41d4-a716-446655440007\", \"status\": \"closed\", \"amount_c",
       "slot": 6,
       "is_10k": true,
       "dr": 367.0,
       "ac": 1683.0,
       "dtok": 2202.0,
       "pp_raw": {
        "0": 340.0,
        "1": 320.0,
        "2": 290.0,
        "3": 282.0,
        "4": 241.0,
        "5": 210.0
       },
       "tau": 5.5858
      },
      {
       "ctok": 2048,
       "ttft_ms": 321.0,
       "tok_s": 394.6,
       "text": " ```json\n[\n  {\n    \"endpoint\": \"PUT /v3/invoices/{id}/cancel\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_cancel_invoice_with_as_of\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440001\", \"as_of\": \"2026-06-28T12:00:00Z\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"cancelled\",\n    \"cleanup\": \"PUT /v3/invoices/{id}/cancel?as_of=2026-06-28T12:00:00Z&undo=true\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/invoices/{id}/cancel\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_path_invoice_not_found\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655449999\", \"as_of\": \"2026-06-28T12:00:00Z\"},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"not found\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"POST /v2/customers/{id}/approve\",\n    \"method\": \"POST\",\n    \"test_name\": \"happy_path_approve_customer\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440002\"},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"approved\",\n    \"cleanup\": \"DELETE /v2/customers/{id}/approve?undo=true\"\n  },\n  {\n    \"endpoint\": \"POST /v2/customers/{id}/approve\",\n    \"method\": \"POST\",\n    \"test_name\": \"failure_path_customer_payment_required\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440003\"},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"payment required\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/subscriptions/{id}/retry\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"happy_path_retry_subscription_with_pagination\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440004\", \"cursor\": \"eyJwYWdlIjoxfQ==\", \"limit\": 50},\n    \"expected_status\": 201,\n    \"expected_body_contains\": \"retried\",\n    \"cleanup\": \"POST /v1/subscriptions/{id}/retry?undo=true\"\n  },\n  {\n    \"endpoint\": \"DELETE /v1/subscriptions/{id}/retry\",\n    \"method\": \"DELETE\",\n    \"test_name\": \"failure_path_subscription_payment_required\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440005\", \"cursor\": \"eyJwYWdlIjoxfQ==\", \"limit\": 50},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"payment required\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"POST /v3/webhooks/{id}/verify\",\n    \"method\": \"POST\",\n    \"test_name\": \"happy_path_verify_webhook_dry_run\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440006\", \"dry_run\": true},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"verified\",\n    \"cleanup\": \"DELETE /v3/webhooks/{id}/verify?undo=true\"\n  },\n  {\n    \"endpoint\": \"POST /v3/webhooks/{id}/verify\",\n    \"method\": \"POST\",\n    \"test_name\": \"failure_path_webhook_payment_required\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440007\", \"dry_run\": false},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"payment required\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v2/reports/{id}/verify\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_verify_report_with_2fa\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440008\", \"dry_run\": false, \"x-2fa-context\": \"totp-validated\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"verified\",\n    \"cleanup\": \"POST /v2/reports/{id}/verify?undo=true\"\n  },\n  {\n    \"endpoint\": \"GET /v2/reports/{id}/verify\",\n    \"method\": \"GET\",\n    \"test_name\": \"failure_path_report_bad_request\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440009\", \"dry_run\": true, \"x-2fa-context\": \"invalid\"},\n    \"expected_status\": 400,\n    \"expected_body_contains\": \"bad request\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v2/tokens/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_archive_token_paginated\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440010\", \"cursor\": \"eyJwYWdlIjoxfQ==\", \"limit\": 100},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"archived\",\n    \"cleanup\": \"PUT /v2/tokens/{id}/archive?restore=true\"\n  },\n  {\n    \"endpoint\": \"GET /v2/tokens/{id}/archive\",\n    \"method\": \"GET\",\n    \"test_name\": \"failure_path_token_not_found\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655449999\", \"cursor\": \"eyJwYWdlIjoxfQ==\", \"limit\": 100},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"not found\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/audits/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"happy_path_preview_audit_cached\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440011\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"preview\",\n    \"cleanup\": \"DELETE /v3/audits/{id}/preview?clear_cache=true\"\n  },\n  {\n    \"endpoint\": \"PUT /v3/audits/{id}/preview\",\n    \"method\": \"PUT\",\n    \"test_name\": \"failure_path_audit_payment_required\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440012\"},\n    \"expected_status\": 402,\n    \"expected_body_contains\": \"payment required\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"GET /v3/exports/{id}/verify\",\n    \"method\": \"GET\",\n    \"test_name\": \"happy_path_verify_export_soft_delete\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440013\"},\n    \"expected_status\": 202,\n    \"expected_body_contains\": \"verified\",\n    \"cleanup\": \"POST /v3/exports/{id}/verify?undo=true\"\n  },\n  {\n    \"endpoint\": \"GET /v3/exports/{id}/verify\",\n    \"method\": \"GET\",\n    \"test_name\": \"failure_path_export_bad_request\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440014\", \"malformed\": true},\n    \"expected_status\": 400,\n    \"expected_body_contains\": \"bad request\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"PATCH /v1/plans/{id}/finalize\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"happy_path_finalize_plan_with_2fa\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655440015\", \"cursor\": \"eyJwYWdlIjoxfQ==\", \"limit\": 25, \"x-2fa-context\": \"totp-validated\"},\n    \"expected_status\": 200,\n    \"expected_body_contains\": \"finalized\",\n    \"cleanup\": \"PATCH /v1/plans/{id}/finalize?undo=true\"\n  },\n  {\n    \"endpoint\": \"PATCH /v1/plans/{id}/finalize\",\n    \"method\": \"PATCH\",\n    \"test_name\": \"failure_path_plan_not_found\",\n    \"payload\": {\"id\": \"550e8400-e29b-41d4-a716-446655449999\", \"cursor\": \"eyJwYWdlIjoxfQ==\", \"limit\": 25, \"x-2fa-context\": \"totp-validated\"},\n    \"expected_status\": 404,\n    \"expected_body_contains\": \"not found\",\n    \"cleanup\": \"none\"\n  },\n  {\n    \"endpoint\": \"POST /v1/usage/{id}/finalize\",\n    \"method\": \"POST\",\n    \"test",
       "slot": 7,
       "is_10k": true,
       "dr": 381.0,
       "ac": 1667.0,
       "dtok": 2286.0,
       "pp_raw": {
        "0": 340.0,
        "1": 312.0,
        "2": 276.0,
        "3": 257.0,
        "4": 248.0,
        "5": 234.0
       },
       "tau": 5.3753
      }
     ],
     "mean_proposed": 6.0
    }
   }
  }
 },
 "gates": {
  "t1_tp8_ms": 6.54,
  "step_k5_tp8_ms": 12.32,
  "step_k6_tp8_ms": 13.62,
  "thresholds": {
   "fund_tt": 4.8,
   "fund_step5": 10.4,
   "comm_bound_tt": 5.6
  },
  "fund_c": false,
  "comm_bound": true,
  "pred_tok_s_k5": 390.9,
  "pred_tok_s_kx": 394.1
 },
 "decisions": [
  "Tt(TP8) = 6.54ms (4x ref 6.6ms)",
  "GATES: fund_c=False comm_bound=True pred_k5=390.9 pred_k6=394.1",
  "DONE: gates=False/True best_n16=None $41.5"
 ],
 "hourly_usd": 50.0,
 "hard_cap_usd": 80.0,
 "bars": {
  "crusoe_median_2026_07_05": 438.1,
  "crusoe_peak": 449.0,
  "prior_record": 398.5
 },
 "ref_4x": {
  "t1_ms": 6.6,
  "step_k5_ms": 12.24
 },
 "protocol": "identical to brl11_record; TP8; probe cells slots 0-8",
 "prompt_sha256_10k": "be01fffdb4cf55d93e049edaf22c5099d29cace9bc5fea8e3df8dcb29848a6e8",
 "zero_init": "patched",
 "p0_manifest": {
  "vllm_version": "0.24.0",
  "vllm_sha": "UNKNOWN (compare version string manually)",
  "flashinfer": "0.6.12"
 },
 "ship": {
  "best_n16_cell": null,
  "vs": {
   "prior_record": 398.5,
   "crusoe": 438.1
  }
 },
 "total_spent_usd_est": 41.5
}