{
  "case_id": "ttl-row-processing-in-premium-cluster-during-sql-tail-latency-incident-window",
  "hook_runs": [
    {
      "args": [
        "resolve-window",
        "--cluster-id",
        "{{environment.cluster_id}}",
        "--cluster-label",
        "{{environment.cluster_label}}",
        "--local-hour",
        "11",
        "--local-minute",
        "0",
        "--duration-minutes",
        "5"
      ],
      "id": "resolve_runtime_window",
      "kind": "python_script",
      "output_id": "resolved_window",
      "output_path": "runtime/resolved_window.json",
      "path": "runtime_hook.py",
      "required": true,
      "stage": "before_acp",
      "status": "ok"
    },
    {
      "args": [
        "build-reference",
        "--cluster-id",
        "{{environment.cluster_id}}",
        "--cluster-label",
        "{{environment.cluster_label}}",
        "--start",
        "{{runtime.resolved_window.window.start}}",
        "--end",
        "{{runtime.resolved_window.window.end}}"
      ],
      "id": "build_runtime_reference",
      "kind": "python_script",
      "output_id": "reference_answer",
      "output_path": "runtime/reference_answer.json",
      "path": "runtime_hook.py",
      "required": true,
      "stage": "before_judge",
      "status": "ok"
    }
  ],
  "outputs": {
    "reference_answer": {
      "data": {
        "cluster_id": "10748116073341772391",
        "evidence_sufficient": true,
        "signals": {
          "ttl_insert_rows_delta": 1754729,
          "ttl_processed_expired_rows_delta": 567330
        },
        "ttl_activity_present": true,
        "window": {
          "end": "2026-07-21T03:05:00Z",
          "start": "2026-07-21T03:00:00Z"
        }
      },
      "path": "runtime/reference_answer.json",
      "stage": "before_judge"
    },
    "resolved_window": {
      "data": {
        "cluster_id": "10748116073341772391",
        "cluster_label": "premium-main",
        "window": {
          "end": "2026-07-21T03:05:00Z",
          "start": "2026-07-21T03:00:00Z"
        }
      },
      "path": "runtime/resolved_window.json",
      "stage": "before_acp"
    }
  },
  "schema_version": 1,
  "template_context": {
    "audit": {
      "dir": "/data/eval_audits/evalrun-dca9124193b04b2c873027cd9fb2ca6f/evalcase-62f2289b62dd466ebdeda9acf084dd67"
    },
    "case": {
      "case_version": "711bc62c8fa6",
      "id": "ttl-row-processing-in-premium-cluster-during-sql-tail-latency-incident-window"
    },
    "environment": {
      "cluster_id": "10748116073341772391",
      "cluster_label": "premium-main",
      "cluster_type": "premium",
      "parent_id": "2026948324023603200",
      "profile": "stable-premium",
      "tidb_version": "v8.5.x"
    },
    "time_window": {
      "incident_at": "2026-06-13T03:00:00Z",
      "resolved_by_output": "resolved_window"
    },
    "workspace": {
      "dir": "/data/workspaces/ws-eval-1784618394922-ee5c111b",
      "id": "ws-eval-1784618394922-ee5c111b"
    }
  },
  "workspace_id": "ws-eval-1784618394922-ee5c111b"
}
