{
  "schema_version": 1,
  "run_id": "ApacheWang--inferdiff-gpt-6-luna-1795657874513581004",
  "date": "2026-11-26T01:55:45.350896+00:00",
  "repo": "ApacheWang/inferdiff",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "487740650badd65b5677c2d11eba78fc37326b1a",
  "outcome": "pass",
  "time_to_working_s": 225.77751137095038,
  "install_s": null,
  "first_use_s": 142.199,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Compare the bundled Case 3 SGLang baseline and target traces with inferdiff diff",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Wireshark and protocol bill-checker for streaming LLM APIs",
      "source": "**Wireshark & protocol bill-checker for streaming LLM APIs.**",
      "input": "bundled Case 3 before and after traces",
      "expected": "[P1] D3 SILENT_SHORT_GENERATION: Fixed-length request (ignore_eos=true, budget=8000) produced only 8/8000 completion tokens (finish_reason=length)",
      "command": "<guest-path> diff examples/case3_sglang_8_of_8000_short_gen/baseline.trace.jsonl examples/case3_sglang_8_of_8000_short_gen/target.trace.jsonl",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: [P1] D3 SILENT_SHORT_GENERATION: Fixed-length request (ignore_eos=true, budget=8000) produced only 8/8000 completion tokens (finish_reason=length)",
      "evidence": "…[P1] D3 SILENT_SHORT_GENERATION: Fixed-length request (ignore_eos=true, budget=8000) produced only 8/8000 completion tokens (finish_reason=length)\n  [P1] D5 BENCHMARK_ILLUSION_ALERT: Benchmark speedup >50% flagged as potential illusion: D5b output token collapse (8/8000 tokens)\n  PASS (exit 0; gate passed, non-blocking diff/warning shown above)\n",
      "cwd": "<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "rid linear-attention and paged KV cache throughput steady-state trace. \",\"meta_info\":{\"prompt...\n    + after  #0 (+92.4 ms): data: {\"text\":\"Section 1: Hybrid linear-attention\",\"meta_info\":{\"prompt_tokens\":32768,\"completion_tokens\":8,\"finish_reason...\n  [P1] D3 SILENT_SHORT_GENERATION: Fixed-length request (ignore_eos=true, budget=8000) produced only 8/8000 completion tokens (finish_reason=length)\n  [P1] D5 BENCHMARK_ILLUSION_ALERT: Benchmark speedup >50% flagged as potential illusion: D5b output token collapse (8/8000 tokens)\n  PASS (exit 0; gate passed, non-blocking diff/warning shown above)\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Flag short generation and benchmark cache illusions in streaming LLM traces",
      "source": "Separates empty handshake `ttff_ms` from real `ttft_effective_ms` and flags short-generation & cache-pollution illusions (`D3`, `D5`).",
      "input": "Case 3 baseline and target trace files",
      "expected": "[P1] D3 SILENT_SHORT_GENERATION: Fixed-length request (ignore_eos=true, budget=8000) produced only 8/8000 completion tokens (finish_reason=length)",
      "command": "<guest-path> diff examples/case3_sglang_8_of_8000_short_gen/baseline.trace.jsonl examples/case3_sglang_8_of_8000_short_gen/target.trace.jsonl",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: [P1] D3 SILENT_SHORT_GENERATION: Fixed-length request (ignore_eos=true, budget=8000) produced only 8/8000 completion tokens (finish_reason=length)",
      "evidence": "…[P1] D3 SILENT_SHORT_GENERATION: Fixed-length request (ignore_eos=true, budget=8000) produced only 8/8000 completion tokens (finish_reason=length)\n  [P1] D5 BENCHMARK_ILLUSION_ALERT: Benchmark speedup >50% flagged as potential illusion: D5b output token collapse (8/8000 tokens)\n  PASS (exit 0; gate passed, non-blocking diff/warning shown above)\n",
      "cwd": "<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "rid linear-attention and paged KV cache throughput steady-state trace. \",\"meta_info\":{\"prompt...\n    + after  #0 (+92.4 ms): data: {\"text\":\"Section 1: Hybrid linear-attention\",\"meta_info\":{\"prompt_tokens\":32768,\"completion_tokens\":8,\"finish_reason...\n  [P1] D3 SILENT_SHORT_GENERATION: Fixed-length request (ignore_eos=true, budget=8000) produced only 8/8000 completion tokens (finish_reason=length)\n  [P1] D5 BENCHMARK_ILLUSION_ALERT: Benchmark speedup >50% flagged as potential illusion: D5b output token collapse (8/8000 tokens)\n  PASS (exit 0; gate passed, non-blocking diff/warning shown above)\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Case 3 short generation detection",
      "source": "Case 3: Silent Short Generation & Benchmark Illusion (D3 + D5b)",
      "input": "bundled Case 3 baseline and target trace files",
      "command": "<guest-path> diff examples/case3_sglang_8_of_8000_short_gen/baseline.trace.jsonl examples/case3_sglang_8_of_8000_short_gen/target.trace.jsonl",
      "evidence": "brid linear-attention and paged KV cache throughput steady-state trace. \",\"meta_info\":{\"prompt...\n    + after  #0 (+92.4 ms): data: {\"text\":\"Section 1: Hybrid linear-attention\",\"meta_info\":{\"prompt_tokens\":32768,\"completion_tokens\":8,\"finish_reason...\n  [P1] D3 SILENT_SHORT_GENERATION: Fixed-length request (ignore_eos=true, budget=8000) produced only 8/8000 completion tokens (finish_reason=length)\n  [P1] D5 BENCHMARK_ILLUSION_ALERT: Benchmark speedup >50% flagged as potential illusion: D5b output token collapse (8/8000 tokens)\n  PASS (exit 0; gate passed, non-blocking diff/warning shown above)",
      "deferred": false,
      "expected": "[P1] D3 SILENT_SHORT_GENERATION: Fixed-length request (ignore_eos=true, budget=8000) produced only 8/8000 completion tokens (finish_reason=length)",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "rid linear-attention and paged KV cache throughput steady-state trace. \",\"meta_info\":{\"prompt...\n    + after  #0 (+92.4 ms): data: {\"text\":\"Section 1: Hybrid linear-attention\",\"meta_info\":{\"prompt_tokens\":32768,\"completion_tokens\":8,\"finish_reason...\n  [P1] D3 SILENT_SHORT_GENERATION: Fixed-length request (ignore_eos=true, budget=8000) produced only 8/8000 completion tokens (finish_reason=length)\n  [P1] D5 BENCHMARK_ILLUSION_ALERT: Benchmark speedup >50% flagged as potential illusion: D5b output token collapse (8/8000 tokens)\n  PASS (exit 0; gate passed, non-blocking diff/warning shown above)\n",
      "stderr": "",
      "output_truncated": true,
      "verdict": "yes",
      "outcome": "command completed successfully"
    }
  ],
  "cycle_checks": [
    {
      "kind": "cycle",
      "claim": "Scheduled or looping main behavior",
      "source": "repository entry points",
      "input": "source inspection",
      "expected": "identify the product trigger",
      "verdict": "yes",
      "outcome": "Inspected README quickstarts, CLI entry point and package source; no cron, periodic loop, webhook, --once or --now cycle trigger is documented.",
      "evidence": "Inspected README quickstarts, CLI entry point and package source; no cron, periodic loop, webhook, --once or --now cycle trigger is documented.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "487740650badd65b5677c2d11eba78fc37326b1a",
    "ci_read_at": "2026-11-26T01:44:26Z",
    "ci_state": "SUCCESS",
    "commits_90d": 7,
    "last_commit_at": "2026-11-26T01:38:43Z",
    "last_release_at": "2026-11-26T01:17:26Z",
    "median_reply_hours": null,
    "merged_prs_90d": 0,
    "note": "actively maintained: last commit 0 days ago; 7 commits and 0 merged PRs in 90 days; 0 open issues, 0 open PRs; latest release 2026-11-26",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3",
    "pip/setuptools build tooling"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [],
  "safety": {
    "version": "z2x-1",
    "summary": "Nothing suspicious seen in this run.",
    "limitations": [
      "A short run cannot establish that code is safe.",
      "Connections show IP addresses; proxies can hide the final hostname.",
      "Tracing covers dispatched commands and their children, not the whole OS; guest root can interfere with tracing."
    ]
  },
  "observed": {
    "traced": true,
    "trace_truncated": false,
    "network_rule": true,
    "unsorted_contacts": false,
    "protocols_recorded": false,
    "lookups_recorded": true,
    "unsorted_blocked_ports": [],
    "contacts": [],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "python3"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [],
    "secrets": 4,
    "secrets_in_tests": 4,
    "download_lines_in_tests": 0,
    "dependency_versions": 0,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 3,
      "malicious": [],
      "vulnerabilities": [
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-4xh5-x5gv-qwph"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-58qw-9mgm-455v"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-6vgw-5pg2-w6jp"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-jp4c-xjxw-mgf9"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-qwm4-qh6w-59xr"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-wf93-45jw-7689"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-1795"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-1796"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-196"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-2875"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-2876"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-3721"
        }
      ]
    },
    "installed_inventory": true,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-e4bd161b68432ecb5883acb6dad0bb64750fe2ad07102796b05c93b4f38e26cd",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "package_registries": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "unanswered_hosts": [],
      "unattributed": [],
      "hosts_withheld": 2
    },
    "secret_files": {
      "opened_by_agent": [],
      "opened_by_other": [],
      "opened_by_repo": [],
      "planted": [
        "~/.env",
        "~/.ssh/id_ed25519",
        "~/.aws/credentials",
        "~/.config/gh/hosts.yml"
      ],
      "recorded": true
    },
    "version": 1
  },
  "evidence_strength": "readme_checked"
}
