{
  "run_id": "grantjenks--python-diskcache-claude-haiku-5-5-1793086229600398234",
  "date": "2026-10-27T07:43:35.362360+00:00",
  "repo": "grantjenks/python-diskcache",
  "kind": "repo",
  "source": "https://github.com/grantjenks/python-diskcache",
  "commit": "ebfa37cd99d7ef716ec452ad8af4b4276a8e2233",
  "model": "claude-haiku-5-5",
  "model_version": "claude-haiku-5-5",
  "test_version": "readme-7b45bc806d9264dc108ae6e1f61f5d665e5494413f227ffc7946c638ea53ee2e",
  "pass": true,
  "outcome": "pass",
  "time_to_working_s": 752.4046320769703,
  "total_s": 785.7619459629059,
  "steps": [
    "cd <guest-path> && pwd && ls -la && git status 2>&1 | head -3; id -u; python3 --version; cat README.md 2>/dev/null | head -150",
    "ls /inputs 2>/dev/null; ls <guest-path>; curl -s -m 10 -i $CDP_URL/json/version; echo \"exit=$?\"",
    "cd <guest-path> && sed -n 1,200p README.rst",
    "cd <guest-path> && cat requirements-dev.txt requirements.txt tox.ini | head -80; ls .coldpass tests; cat .coldpass/* 2>/dev/null | head -20",
    "cd <guest-path> && grep -n \"python_requires\\|version\" setup.py | head; grep -n \"Cache('\\|>>> \\|\\.set(\\|\\.get(\" README.rst | head -40; sed -n 200,400p README.rst | grep -n \"pip\\|test\\|pytest\" | head",
    "cd /tmp && (python3 -m venv <guest-path> 2>&1 || (sudo -n apt-get -o DPkg::Lock::Timeout=300 install -y python3-venv >/tmp/apt.log 2>&1 && python3 -m venv <guest-path>)); <guest-path> --version && <guest-path> --version",
    "cd /tmp && <guest-path> install <guest-path> 2>&1 | tail -5; <guest-path> -c \"import diskcache,sys;print(diskcache.__version__, diskcache.__file__)\"",
    "cd <guest-path> && grep -n \"entry_points\\|console\" setup.py; ls diskcache; ls docs | head -30; sed -n 1,30p tests/test_core.py | head -30",
    "cd <guest-path> && cat diskcache/cli.py | head -60; grep -rn \"cli\\|command line\\|python -m\" docs/*.rst README.rst | head",
    "cd <guest-path> && sed -n 1,60p docs/development.rst; grep -n \"pytest\\|python -m\" docs/development.rst; cat .github/workflows/*.yml | grep -n \"run:\" | head -20",
    "cd <guest-path> && sed -n 60,200p docs/development.rst",
    "cd /tmp && <guest-path> install \"django==4.2.*\" pytest pytest-cov pytest-django pytest-xdist 2>&1 | tail -2",
    "cd <guest-path> && DJANGO_SETTINGS_MODULE=tests.settings PYTHONPATH=<guest-path> timeout 900 <guest-path> -q -p no:cacheprovider 2>&1 | tail -15; echo \"exit=${PIPESTATUS[0]}\"",
    "mkdir -p <guest-path> && cd <guest-path> && timeout 600 <guest-path> -m tests.stress_test_core -n 2000 -k 10 -s 1 2>&1 | tail -15; echo \"exit=${PIPESTATUS[0]}\"",
    "cd <guest-path> && grep -n \"'least-frequently-used'\\|least-recently-used'\" diskcache/core.py | head -4; grep -n \"eviction_policy\\|Directory\\|dc.Cache(\" tests/stress_test_core.py | head -20; ls -la tests | head -3; git check-ignore -v tmp 2>/dev/null; ls -d tmp* 2>/dev/null",
    "cd <guest-path> && timeout 600 <guest-path> -m tests.stress_test_core -n 2000 -k 10 -s 1 -v least-frequently-used 2>&1 | tail -10; echo \"exit=${PIPESTATUS[0]}\"; ls -d tmp 2>/dev/null; echo done",
    "cd <guest-path> && timeout 600 <guest-path> -m tests.stress_test_core -n 200 -k 10 -s 1 -v least-frequently-used 2>&1 | grep \"Timings for\"; grep -rniE \"cron|webhook|schedul|--once|--now\" diskcache/ README.rst | head -5; echo scan-done",
    "cd <guest-path> && cat > claims.json <<'EOF'\n[{\"kind\":\"claim\",\"claim\":\"DiskCache supports multiple eviction policies including LFU\",\"source\":\"Supports multiple eviction policies (LRU and LFU included)\",\"input\":\"stress_test_core run with -v least-frequently-used\",\"expected\":\"stress run reports least-frequently-used timings\",\"probe_kind\":\"cli\",\"argv\":[\"<guest-path>\",\"-m\",\"tests.stress_test_core\",\"-n\",\"2000\",\"-k\",\"10\",\"-s\",\"1\",\"-v\",\"least-frequently-used\"],\"expected_text\":\"Timings for least-frequently-used\",\"cwd\":\"<guest-path>\"}]\nEOF\ncat > probe.json <<'EOF'\n{\"kind\":\"cli\",\"argv\":[\"<guest-path>\",\"-m\",\"tests.stress_test_core\",\"-n\",\"2000\",\"-k\",\"10\",\"-s\",\"1\",\"-v\",\"least-frequently-used\"],\"cwd\":\"<guest-path>\",\"expected_text\":\"Timings for least-frequently-used\"}\nEOF\ncat > examples.json <<'EOF'\n[{\"kind\":\"example\",\"claim\":\"Test suite runs and passes (tox py env equivalent: pytest with tests.settings)\",\"source\":\"tox.ini [testenv] commands=pytest\",\"input\":\"pytest in checkout with DJANGO_SETTINGS_MODULE=tests.settings PYTHONPATH=checkout\",\"expected\":\"all tests pass\",\"argv\":[\"<guest-path>\",\"-q\",\"-p\",\"no:cacheprovider\"],\"cwd\":\"<guest-path>\",\"env\":{\"DJANGO_SETTINGS_MODULE\":\"tests.settings\",\"PYTHONPATH\":\"<guest-path>\"},\"expected_text\":\"251 passed\"},{\"kind\":\"example\",\"claim\":\"Stress test runs documented operations\",\"source\":\"docs/development.rst Stress testing\",\"input\":\"-n 2000 -k 10 -s 1\",\"expected\":\"timings table printed\",\"argv\":[\"<guest-path>\",\"-m\",\"tests.stress_test_core\",\"-n\",\"2000\",\"-k\",\"10\",\"-s\",\"1\"],\"cwd\":\"<guest-path>\",\"expected_text\":\"Timings for least-recently-stored\"}]\nEOF\ncat > cycles.json <<'EOF'\n{\"detected\":false,\"reason\":\"Entry points inspected (diskcache/*.py, diskcache/cli.py is docstring-only, setup.py has no entry_points, README). DiskCache is a Python library with no scheduler, cron, loop, webhook or --once/--now trigger; it runs only when a caller uses the Cache API.\",\"checks\":[]}\nEOF\nfor f in claims probe examples cycles; do <guest-path> -I -c \"import json,sys;json.load(open('$f.json'));print('$f ok')\" ; done",
    "cd /tmp && <env-var>=<guest-path> timeout 1500 python3 -I <guest-path> --validate --replay 2>&1 | tail -60; echo \"exit=${PIPESTATUS[0]}\"",
    "cd <guest-path> && sed -i 's/\"cwd\":\"<guest-path>\"}\\]/\"cwd\":\"<guest-path>\",\"source_file\":\"README.rst\"}]/' claims.json && cat claims.json && <guest-path> -I -c \"import json;json.load(open('claims.json'));print('ok')\" && cd /tmp && <env-var>=<guest-path> timeout 1500 python3 -I <guest-path> --validate --replay 2>&1 | tail -60; echo \"exit=${PIPESTATUS[0]}\"",
    "cd <guest-path> && cat > report.json <<'EOF'\n{\"outcome\":\"working\",\"fault_owner\":null,\"operation\":\"Use diskcache (pure-Python disk-backed cache) from the pinned checkout: run the documented test suite and the documented stress script that performs cache get/set/delete, including the LFU eviction policy promised in the README.\",\"operation_scope\":\"Linux guest, Python 3.12.3 in venv <guest-path>; pip install of the checkout (diskcache 5.6.3); test deps django==4.2.* pytest pytest-cov pytest-django pytest-xdist per tox.ini. No browser, network service, or credentials needed.\",\"steps\":[\"pip install <guest-path> (README: pip install diskcache, from pinned checkout)\",\"pip install django==4.2.* pytest pytest-cov pytest-django pytest-xdist (tox.ini testenv deps)\",\"DJANGO_SETTINGS_MODULE=tests.settings PYTHONPATH=workspace pytest (tox.ini commands=pytest): 251 passed, 3 warnings\",\"python -m tests.stress_test_core -n 2000 -k 10 -s 1 (docs/development.rst stress testing): timings table printed, exit 0\",\"python -m tests.stress_test_core ... -v least-frequently-used: prints 'Timings for least-frequently-used', exit 0\",\"checker --validate --replay: valid=true, claim replayed PASS\"],\"deviations\":[\"README is README.rst, not README.md; claim includes source_file README.rst so checker reads it.\",\"diskcache ships no command-line interface for get/set (diskcache/cli.py is docstring-only; docs list CLI as a future contribution). Probe therefore drives the documented stress_test_core module, which exercises the cache API.\",\"Python 3.12.3 used; README/tox list 3.6-3.11, setup.py python_requires>=3. Works in practice.\",\"Test deps installed with pip directly rather than tox (tox not installed); same commands and deps as tox.ini [testenv].\",\"Browser CDP endpoint was checked (HTTP 200) but not needed; library has no browser operation.\"],\"stuck_step\":null,\"main_blocker\":null,\"plain_failure\":null,\"suggested_fix\":\"None required. Optional: add a CLI for get/set/delete as listed in docs/development.rst to allow direct CLI probes.\"}\nEOF\n<guest-path> -I -c \"import json;json.load(open('report.json'));print('report ok')\"; cd <guest-path> && ls -a; ls -d *.egg-info build 2>/dev/null; echo checked",
    "cd <guest-path> && rm -rf build diskcache.egg-info .coverage .cache && cd /tmp && <env-var>=<guest-path> timeout 1500 python3 -I <guest-path> --validate --replay 2>&1 | python3 -c \"import json,sys; d=json.load(sys.stdin); print(d['valid'], d['problems'], d['replay']['status'])\"; cd <guest-path> && ls -a | tr '\\n' ' '"
  ],
  "stuck_step": null,
  "error_excerpt": null,
  "what_it_did": "Use diskcache (pure-Python disk-backed cache) from the pinned checkout: run the documented test suite and the documented stress script that performs cache get/set/delete, including the LFU eviction policy promised in the README.",
  "suggested_fix": null,
  "tokens_in": 466870,
  "tokens_out": 12448,
  "cost_usd": 0.01726281,
  "usage_complete": true,
  "checks": [
    {
      "check": "operation",
      "status": "PASS",
      "details": {
        "working": true,
        "argv": [
          "<guest-path>",
          "-m",
          "tests.stress_test_core",
          "-n",
          "2000",
          "-k",
          "10",
          "-s",
          "1",
          "-v",
          "least-frequently-used"
        ],
        "kind": "cli",
        "returncode": 0,
        "stdout": "\n========= ========= ========= ========= ========= ========= ========= =========\nTimings for least-frequently-used\n-------------------------------------------------------------------------------\n   Action     Count      Miss    Median       P90       P99       Max     Total\n========= ========= ========= ========= ========= ========= ========= =========\n      get      1962         0   1.079ms   1.172ms   2.022ms  11.636ms   2.210s \n      set        26         0   2.191ms   3.798ms   5.825ms  11.423ms  68.727ms\n   delete         1         0   2.480ms   2.480ms   2.480ms   2.480ms   2.480ms\n    Total      1989                                                     2.281s \n========= ========= ========= ========= ========= ========= ========= =========\n\n[excerpt truncated]",
        "stderr": "",
        "needs_credentials": false,
        "needs_browser": false,
        "scope": "product operation"
      }
    }
  ],
  "safety": {
    "version": "z2x-1",
    "rules_version": "z2x-1",
    "summary": "No problems traced to this repository code in these checks.",
    "expected": "Reviewed as expected for a test run: attempted writes that failed, so nothing was written.",
    "findings": [],
    "context": [],
    "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."
    ],
    "static": {
      "dependency_note": "OSV scanned supported lockfiles; unpinned dependencies and unsupported formats are outside this check."
    },
    "evidence_url": "/safety/?run=grantjenks--python-diskcache-claude-haiku-5-5-1793086229600398234",
    "evidence_file": "/data/safety/grantjenks--python-diskcache-claude-haiku-5-5-1793086229600398234.json.gz"
  },
  "agent_execution": "native_agent",
  "agent_runtime": "claude-code",
  "agent_runtime_version": "2.1.310 (Claude Code)",
  "tool_transport": "mcp-assigned-vm",
  "platform": "linux",
  "reasoning": "low",
  "service_tier": null,
  "resources": {
    "cpus": 2,
    "memory_mib": 4096,
    "disk_mib": 32768
  },
  "native_tool_calls": 22,
  "native_bundle": null,
  "architecture": null,
  "backend": "hyperv",
  "platform_details": {
    "backend": "hyperv",
    "os": "linux"
  },
  "platform_conflicts": null,
  "sandbox_source": null,
  "source_pin": {
    "commit": "ebfa37cd99d7ef716ec452ad8af4b4276a8e2233",
    "url": "https://github.com/grantjenks/python-diskcache"
  },
  "purpose": "initial",
  "profile": {
    "model": "claude-haiku-5-5",
    "reasoning": "low"
  },
  "fault": {
    "owner": null,
    "status": "resolved",
    "reason": null
  },
  "fix_id": null,
  "verifies_run_id": null,
  "hosting": null,
  "operation_scope": "product operation",
  "tool_calls": 22,
  "guest_setup": null,
  "runtime": null,
  "runtime_version": null,
  "runtime_revision": null,
  "source_revision": null,
  "evidence_version": null,
  "failure_origin": null,
  "evidence_strength": "readme_checked",
  "works": "yes",
  "install_s": null,
  "first_use_s": null,
  "mcp": "none",
  "needs": [],
  "needs_which": null,
  "agent_interface": [
    "cli"
  ],
  "license": "NOASSERTION",
  "repo_url": "https://github.com/grantjenks/python-diskcache",
  "cost_to_try": "free",
  "hardware": null,
  "what_failed": null,
  "local_or_hosted": "local",
  "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": "Entry points inspected (diskcache/*.py, diskcache/cli.py is docstring-only, setup.py has no entry_points, README). DiskCache is a Python library with no scheduler, cron, loop, webhook or --once/--now trigger; it runs only when a caller uses the Cache API.",
      "evidence": "Entry points inspected (diskcache/*.py, diskcache/cli.py is docstring-only, setup.py has no entry_points, README). DiskCache is a Python library with no scheduler, cron, loop, webhook or --once/--now trigger; it runs only when a caller uses the Cache API.",
      "command": ""
    }
  ],
  "claims": [
    {
      "kind": "claim",
      "claim": "DiskCache supports multiple eviction policies including LFU",
      "source": "Supports multiple eviction policies (LRU and LFU included)",
      "input": "stress_test_core run with -v least-frequently-used",
      "expected": "stress run reports least-frequently-used timings",
      "command": "<guest-path> -m tests.stress_test_core -n 2000 -k 10 -s 1 -v least-frequently-used",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: Timings for least-frequently-used",
      "evidence": "Timings for least-frequently-used\n-------------------------------------------------------------------------------\n   Action     Count      Miss    Median       P90       P99       Max     Total\n========= ========= ========= ========= ========= ========= ========= =========\n      get      1962         0   1.061ms   1.175ms   1.968ms  10.981ms   2.178s \n      set        26         0   2.103ms   3.708ms   5.404ms  11.168ms  67.870ms\n   delete         1         0   2.408ms   2.408ms   2.408ms   2.408ms   2.408ms\n    Total      1989                                                     2.249s \n======",
      "returncode": 0,
      "source_checked": true,
      "source_file": "README.rst"
    }
  ],
  "claims_note": null,
  "example_checks": [
    {
      "kind": "example",
      "claim": "Test suite runs and passes (tox py env equivalent: pytest with tests.settings)",
      "source": "tox.ini [testenv] commands=pytest",
      "input": "pytest in checkout with DJANGO_SETTINGS_MODULE=tests.settings PYTHONPATH=checkout",
      "command": "<guest-path> -q -p no:cacheprovider",
      "evidence": "9->456, 670-673, 1190->1192, 1202->1204, 1876->1879, 2439, 2446-2449\ndiskcache/djangocache.py      99      0     10      1    99%   437->447\ndiskcache/fanout.py          220      0     16      0   100%\ndiskcache/persistent.py      312      0     72      2    99%   33->36, 174->182\ndiskcache/recipes.py         172      0     18      0   100%\n----------------------------------------------------------------------\nTOTAL                       1744      9    438     13    99%\nRequired test coverage of 98% reached. Total coverage: 98.81%\n251 passed, 3 warnings, 12 subtests passed in 162.12s (0:02:42)",
      "deferred": false,
      "expected": "all tests pass",
      "returncode": 0,
      "verdict": "yes",
      "outcome": "command completed successfully"
    },
    {
      "kind": "example",
      "claim": "Stress test runs documented operations",
      "source": "docs/development.rst Stress testing",
      "input": "-n 2000 -k 10 -s 1",
      "command": "<guest-path> -m tests.stress_test_core -n 2000 -k 10 -s 1",
      "evidence": "--\n   Action     Count      Miss    Median       P90       P99       Max     Total\n========= ========= ========= ========= ========= ========= ========= =========\n      get      1962         0 264.168us 293.016us   1.038ms   1.369ms 558.519ms\n      set        26         0   1.663ms   2.619ms   3.614ms   4.998ms  48.087ms\n   delete         1         0   2.260ms   2.260ms   2.260ms   2.260ms   2.260ms\n    Total      1989                                                   608.866ms\n========= ========= ========= ========= ========= ========= ========= =========\n\nTotal wall clock time: 0.870 seconds",
      "deferred": false,
      "expected": "timings table printed",
      "returncode": 0,
      "verdict": "yes",
      "outcome": "command completed successfully"
    }
  ],
  "does_what_it_says": "yes",
  "maintenance": {
    "last_commit_at": "2024-03-03T01:19:29Z",
    "commits_90d": 0,
    "merged_prs_90d": 0,
    "open_issues": 54,
    "open_prs": 39,
    "reply_share": 0.06,
    "reply_threads": 48,
    "median_reply_hours": 1681.0,
    "last_release_at": null,
    "archived": false,
    "verdict": "abandoned",
    "note": "abandoned: last commit 968 days ago; 0 commits and 0 merged PRs in 90 days; 54 open issues, 39 open PRs; 3 of 48 recent threads got a maintainer reply, median first reply 1681.0h; no releases"
  },
  "maintenance_verdict": "abandoned",
  "maintenance_note": "abandoned: last commit 968 days ago; 0 commits and 0 merged PRs in 90 days; 54 open issues, 39 open PRs; 3 of 48 recent threads got a maintainer reply, median first reply 1681.0h; no releases",
  "maintained": "dormant",
  "maintained_note": "last commit 807 days ago; 3 open issues, 2 answered or closed",
  "last_commit_at": "2024-08-10T14:33:59Z",
  "last_release_at": null,
  "open_issues": 3,
  "answered_issues": 2,
  "platforms_claimed": [
    "linux",
    "mac",
    "windows"
  ],
  "topic": "coding",
  "agent_interfaces": [
    {
      "interface": "cli",
      "evidence": "independent checker",
      "observed": true,
      "operation_checked": true
    }
  ],
  "agent_interfaces_note": "README metadata is a discovery hint, not pinned documentation proof. Observed interfaces were exercised in this run. An empty list means unknown.",
  "mcp_context": null,
  "tested_at": "2026-10-27T07:43:35.362360+00:00",
  "tested_commit": "ebfa37cd99d7ef716ec452ad8af4b4276a8e2233",
  "tested_with": {
    "agent": "claude-code",
    "agent_version": "2.1.310 (Claude Code)",
    "model": "claude-haiku-5-5",
    "model_route": "claude-haiku-5-5",
    "reasoning": "low",
    "os": "linux",
    "backend": "hyperv",
    "transport": "mcp-assigned-vm"
  },
  "setup_identity": {
    "repo": "grantjenks/python-diskcache",
    "source": "https://github.com/grantjenks/python-diskcache",
    "commit": "ebfa37cd99d7ef716ec452ad8af4b4276a8e2233",
    "source_revision": null,
    "os": "linux",
    "architecture": null,
    "backend": "hyperv",
    "model": "claude-haiku-5-5",
    "model_version": "claude-haiku-5-5",
    "agent_execution": "native_agent",
    "agent_runtime": "claude-code",
    "agent_runtime_version": "2.1.310 (Claude Code)",
    "tool_transport": "mcp-assigned-vm",
    "runtime": null,
    "runtime_version": null,
    "runtime_revision": null,
    "sandbox_source": null,
    "guest_setup": null,
    "source_pin": {
      "commit": "ebfa37cd99d7ef716ec452ad8af4b4276a8e2233",
      "url": "https://github.com/grantjenks/python-diskcache"
    },
    "platform_details": {
      "os": "linux",
      "backend": "hyperv"
    },
    "platform_conflicts": null,
    "reasoning": "low",
    "service_tier": null,
    "resources": {
      "cpus": 2,
      "memory_mib": 4096,
      "disk_mib": 32768
    },
    "operation": "Use diskcache (pure-Python disk-backed cache) from the pinned checkout: run the documented test suite and the documented stress script that performs cache get/set/delete, including the LFU eviction policy promised in the README.",
    "operation_scope": "product operation",
    "hosting": null,
    "kind": "repo",
    "test_version": "readme-7b45bc806d9264dc108ae6e1f61f5d665e5494413f227ffc7946c638ea53ee2e",
    "evidence_version": null
  },
  "other_model": null,
  "other_run_id": null,
  "models_agree": null,
  "furthest_model": null,
  "transcript_url": "/transcripts/grantjenks--python-diskcache-claude-haiku-5-5-1793086229600398234.txt",
  "report_url": "/reports/grantjenks--python-diskcache-claude-haiku-5-5-1793086229600398234.json"
}
