{
  "schema_version": 1,
  "run_id": "a2o-labs--numdiff-kit-gpt-6-luna-1795183246177014086",
  "date": "2026-11-20T14:12:47.173850+00:00",
  "repo": "a2o-labs/numdiff-kit",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "9512290de21f1dcd8aa798d0f48b9bd81579519a",
  "outcome": "pass",
  "time_to_working_s": 675.9369338930119,
  "install_s": 456.095,
  "first_use_s": 53.871,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Run seeded TinyGPT perturbation analysis, compare two saved runs, and generate a thresholded numerical regression report",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Reports numerical reproducibility tools",
      "source": "`numdiff-kit` is a command-line tool and Python library for testing numerical reproducibility in PyTorch inference.",
      "input": "run --tag fresh_run --out .coldpass/claim_run --device cpu --n-layer 2 --d-model 64 --n-head 4 --vocab-size 512",
      "expected": "saved TinyGPT run artifact with schema numdiff-kit.run.v1",
      "command": "<guest-path> run --tag fresh_run --out <guest-path> --device cpu --n-layer 2 --d-model 64 --n-head 4 --vocab-size 512",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: numdiff-kit.run.v1",
      "evidence": "…numdiff-kit.run.v1\",\n  \"env\": {\n    \"schema_version\": \"numdiff-kit.fingerprint.v1\",\n    \"run_device\": \"cpu\",\n    \"framework\": {\n      \"python_version\": \"3.12.3\",\n      \"torch_version\": \"2.15.0+cu132\",\n      \"torch_git_version\": \"d0f2af8b66b20da4baa50644c0cd3f887a2eae2e\"\n    },\n    \"runtime\": {\n      \"backend\": \"cuda\",\n      \"driver_version\": null,\n      \"cuda_runtime\": \"13.2\",\n      \"hip_runtime\": null,\n      \"cudnn_version\": \"92600\",\n      \"cublas_version\": \"13.4.1\",\n      \"miopen_version\": null,\n      \"nccl_version\": \"2.30.7\",\n      \"rccl_version\": null\n    },\n    \"accelerator\": {\n      \"dev",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "   \"max_rel\": 0.0,\n      \"max_ulp\": 0,\n      \"argmax_flips\": 0,\n      \"positions\": 1\n    },\n    \"row_count_sweep_c_attn\": {\n      \"shape\": \"[M,64]x[64,192], row 0\",\n      \"identical_groups\": [\n        [\n          1,\n          2,\n          3,\n          4,\n          5,\n          8,\n          16,\n          32,\n          64,\n          128,\n          512\n        ]\n      ],\n      \"vs_M512_max_ulp\": {\n        \"1\": 0,\n        \"2\": 0,\n        \"3\": 0,\n        \"4\": 0,\n        \"5\": 0,\n        \"8\": 0,\n        \"16\": 0,\n        \"32\": 0,\n        \"64\": 0,\n        \"128\": 0,\n        \"512\": 0\n      }\n    }\n  }\n}\n",
      "stderr": "<guest-path> UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at /__w/pytorch/pytorch/torch/csrc/utils/tensor_numpy.cpp:82.)\n  cpu = _conversion_method_template(device=torch.device(\"cpu\"))\n",
      "output_truncated": true,
      "file_checked": true,
      "file_excerpt": "{\n  \"schema_version\": \"numdiff-kit.run.v1\",\n  \"env\": {\n    \"schema_version\": \"numdiff-kit.fingerprint.v1\",\n    \"run_device\": \"cpu\",\n    \"framework\": {\n      \"python_version\": \"3.12.3\",\n      \"torch_version\": \"2.15.0+cu132\",\n      \"torch_git_version\": \"d0f2af8b66b20da4baa50644c0cd3f887a2eae2e\"\n    },\n    \"runtime\": {\n      \"backend\": \"cuda\",\n      \"driver_version\": null,\n      \"cuda_runtime\": \"13.2\",\n      \"hip_runtime\": null,\n      \"cudnn_version\": \"92600\",\n      \"cublas_version\": \"13.4.1\",\n      \"miopen_version\": null,\n      \"nccl_version\": \"2.30.7\",\n      \"rccl_version\": null\n    },\n    \"acc",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Records allowlisted runtime fingerprint data",
      "source": "**`numdiff-kit fingerprint`** — Records runtime environment metadata strictly by key allowlist: actual execution device (`run_device`), driver version, CUDA or ROCm/HIP runtime, cuDNN or MIOpen, NCCL or RCCL, accelerator architecture (`gfx...` / `sm_...`), topology category, framework version, and deterministic switch states (`torch.are_deterministic_algorithms_enabled()`, `CUBLAS_WORKSPACE_CONFIG`, vLLM batch-invariance flag, SGLang deterministic flag, etc.). Uses `/sys/class/drm` and `/sys/module/amdgpu` sysfs fallbacks on AMD hosts when `rocm-smi` is unavailable. Never emits hostnames, IP addresses, usernames, home paths, serial numbers, device UUIDs, or performance numbers.",
      "input": "fingerprint --device cpu --out .coldpass/claim_fingerprint.json",
      "expected": "fingerprint JSON reports run_device cpu and framework/runtime allowlisted fields",
      "command": "<guest-path> fingerprint --device cpu --out <guest-path>",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: numdiff-kit.fingerprint.v1",
      "evidence": "…numdiff-kit.fingerprint.v1\",\n  \"run_device\": \"cpu\",\n  \"framework\": {\n    \"python_version\": \"3.12.3\",\n    \"torch_version\": \"2.15.0+cu132\",\n    \"torch_git_version\": \"d0f2af8b66b20da4baa50644c0cd3f887a2eae2e\"\n  },\n  \"runtime\": {\n    \"backend\": \"cuda\",\n    \"driver_version\": null,\n    \"cuda_runtime\": \"13.2\",\n    \"hip_runtime\": null,\n    \"cudnn_version\": \"92600\",\n    \"cublas_version\": \"13.4.1\",\n    \"miopen_version\": null,\n    \"nccl_version\": \"2.30.7\",\n    \"rccl_version\": null\n  },\n  \"accelerator\": {\n    \"device_type\": \"cpu\",\n    \"device_count\": 0,\n    \"arch_name\": null,\n    \"marketing_name\": null,\n ",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "tic_algorithms\": false,\n    \"torch_deterministic_fill_uninitialized_memory\": true,\n    \"cublas_workspace_config\": \"unset\",\n    \"cudnn_deterministic\": false,\n    \"cudnn_benchmark\": false,\n    \"cuda_matmul_allow_tf32\": false,\n    \"cudnn_allow_tf32\": true,\n    \"float32_matmul_precision\": \"highest\",\n    \"preferred_blas_library\": \"cublas\",\n    \"sdpa_backends_available\": [\n      \"math\"\n    ],\n    \"fp16_reduced_precision_reduction\": true,\n    \"bf16_reduced_precision_reduction\": true,\n    \"vllm_batch_invariant\": \"unset\",\n    \"sglang_deterministic\": \"unset\",\n    \"tokenizers_parallelism\": \"unset\"\n  }\n}\n",
      "stderr": "<guest-path> UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at /__w/pytorch/pytorch/torch/csrc/utils/tensor_numpy.cpp:82.)\n  cpu = _conversion_method_template(device=torch.device(\"cpu\"))\n",
      "output_truncated": true,
      "file_checked": true,
      "file_excerpt": "{\n  \"schema_version\": \"numdiff-kit.fingerprint.v1\",\n  \"run_device\": \"cpu\",\n  \"framework\": {\n    \"python_version\": \"3.12.3\",\n    \"torch_version\": \"2.15.0+cu132\",\n    \"torch_git_version\": \"d0f2af8b66b20da4baa50644c0cd3f887a2eae2e\"\n  },\n  \"runtime\": {\n    \"backend\": \"cuda\",\n    \"driver_version\": null,\n    \"cuda_runtime\": \"13.2\",\n    \"hip_runtime\": null,\n    \"cudnn_version\": \"92600\",\n    \"cublas_version\": \"13.4.1\",\n    \"miopen_version\": null,\n    \"nccl_version\": \"2.30.7\",\n    \"rccl_version\": null\n  },\n  \"accelerator\": {\n    \"device_type\": \"cpu\",\n    \"device_count\": 0,\n    \"arch_name\": null,\n    \"m",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Runs seeded TinyGPT perturbation experiments and saves artifacts",
      "source": "**`numdiff-kit run`** — Runs single-variable perturbation experiments against a baseline forward pass and saves `<out>/<tag>.pt` and `<out>/<tag>.json`. Defaults to a seeded random-weight GPT-2-shaped model (`TinyGPT`, no network download required); pass `--hf-model <repo_id>` to run on any public Hugging Face causal LM.",
      "input": "run --tag fresh_run --out .coldpass/claim_run2 --device cpu --n-layer 2 --d-model 64 --n-head 4 --vocab-size 512",
      "expected": "fresh_run.json contains run schema and single-variable experiments",
      "command": "<guest-path> run --tag fresh_run --out <guest-path> --device cpu --n-layer 2 --d-model 64 --n-head 4 --vocab-size 512",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: numdiff-kit.run.v1",
      "evidence": "…numdiff-kit.run.v1\",\n  \"env\": {\n    \"schema_version\": \"numdiff-kit.fingerprint.v1\",\n    \"run_device\": \"cpu\",\n    \"framework\": {\n      \"python_version\": \"3.12.3\",\n      \"torch_version\": \"2.15.0+cu132\",\n      \"torch_git_version\": \"d0f2af8b66b20da4baa50644c0cd3f887a2eae2e\"\n    },\n    \"runtime\": {\n      \"backend\": \"cuda\",\n      \"driver_version\": null,\n      \"cuda_runtime\": \"13.2\",\n      \"hip_runtime\": null,\n      \"cudnn_version\": \"92600\",\n      \"cublas_version\": \"13.4.1\",\n      \"miopen_version\": null,\n      \"nccl_version\": \"2.30.7\",\n      \"rccl_version\": null\n    },\n    \"accelerator\": {\n      \"dev",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "   \"max_rel\": 0.0,\n      \"max_ulp\": 0,\n      \"argmax_flips\": 0,\n      \"positions\": 1\n    },\n    \"row_count_sweep_c_attn\": {\n      \"shape\": \"[M,64]x[64,192], row 0\",\n      \"identical_groups\": [\n        [\n          1,\n          2,\n          3,\n          4,\n          5,\n          8,\n          16,\n          32,\n          64,\n          128,\n          512\n        ]\n      ],\n      \"vs_M512_max_ulp\": {\n        \"1\": 0,\n        \"2\": 0,\n        \"3\": 0,\n        \"4\": 0,\n        \"5\": 0,\n        \"8\": 0,\n        \"16\": 0,\n        \"32\": 0,\n        \"64\": 0,\n        \"128\": 0,\n        \"512\": 0\n      }\n    }\n  }\n}\n",
      "stderr": "<guest-path> UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at /__w/pytorch/pytorch/torch/csrc/utils/tensor_numpy.cpp:82.)\n  cpu = _conversion_method_template(device=torch.device(\"cpu\"))\n",
      "output_truncated": true,
      "file_checked": true,
      "file_excerpt": "{\n  \"schema_version\": \"numdiff-kit.run.v1\",\n  \"env\": {\n    \"schema_version\": \"numdiff-kit.fingerprint.v1\",\n    \"run_device\": \"cpu\",\n    \"framework\": {\n      \"python_version\": \"3.12.3\",\n      \"torch_version\": \"2.15.0+cu132\",\n      \"torch_git_version\": \"d0f2af8b66b20da4baa50644c0cd3f887a2eae2e\"\n    },\n    \"runtime\": {\n      \"backend\": \"cuda\",\n      \"driver_version\": null,\n      \"cuda_runtime\": \"13.2\",\n      \"hip_runtime\": null,\n      \"cudnn_version\": \"92600\",\n      \"cublas_version\": \"13.4.1\",\n      \"miopen_version\": null,\n      \"nccl_version\": \"2.30.7\",\n      \"rccl_version\": null\n    },\n    \"acc",
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Three-command Quickstart run and compare flow",
      "source": "README.md, 3-Line Quickstart",
      "input": "TinyGPT seeded runs on CPU",
      "command": "/bin/bash -c '<guest-path> run --tag run_a --out <guest-path> --device cpu --n-layer 2 --d-model 64 --n-head 4 --vocab-size 512 && <guest-path> run --tag run_b --out <guest-path> --device cpu --n-layer 2 --d-model 64 --n-head 4 --vocab-size 512 && <guest-path> compare <guest-path> <guest-path> --json <guest-path> && <guest-path> report <guest-path> --max-abs-threshold 0 --max-ulp-threshold 0 --max-argmax-flips 0 --out-json <guest-path> --out-md <guest-path>'",
      "evidence": "/python3.12/site-packages/torch/_subclasses/functional_tensor.py:377: UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at /__w/pytorch/pytorch/torch/csrc/utils/tensor_numpy.cpp:82.)\n  cpu = _conversion_method_template(device=torch.device(\"cpu\"))\n<guest-path> UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at /__w/pytorch/pytorch/torch/csrc/utils/tensor_numpy.cpp:82.)\n  cpu = _conversion_method_template(device=torch.device(\"cpu\"))",
      "deferred": false,
      "expected": "comparison report shows PASS for bitwise equal runs",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "\n## 2. Caller-Supplied Thresholds\n\n| Threshold | Caller Value |\n|---|---|\n| `max_abs` | `0.0` |\n| `max_ulp` | `0` |\n| `max_argmax_flips` | `0` |\n\n## 3. First Diverging Module\n\nNo module divergence detected (all recorded leaf modules are bitwise identical).\n\n## 4. Environment Summary\n\n| Field | Artifact A | Artifact B |\n|---|---|---|\n| Run Device (`run_device`) | `cpu` | `cpu` |\n| Python | `3.12.3` | `3.12.3` |\n| PyTorch | `2.15.0+cu132` | `2.15.0+cu132` |\n| Torch Build Backend | `cuda` | `cuda` |\n| Host Accelerator Arch | `None` | `None` |\n| Host Topology Category | `cpu_only` | `cpu_only` |\n\n",
      "stderr": "python3.12/site-packages/torch/_subclasses/functional_tensor.py:377: UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at /__w/pytorch/pytorch/torch/csrc/utils/tensor_numpy.cpp:82.)\n  cpu = _conversion_method_template(device=torch.device(\"cpu\"))\n<guest-path> UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at /__w/pytorch/pytorch/torch/csrc/utils/tensor_numpy.cpp:82.)\n  cpu = _conversion_method_template(device=torch.device(\"cpu\"))\n",
      "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 operation entrypoints and CLI subcommands: fingerprint, run, compare, and report are explicitly invoked by user commands; no cron, scheduled loop, webhook, --once, or --now cycle is documented.",
      "evidence": "Inspected README operation entrypoints and CLI subcommands: fingerprint, run, compare, and report are explicitly invoked by user commands; no cron, scheduled loop, webhook, --once, or --now cycle is documented.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "9512290de21f1dcd8aa798d0f48b9bd81579519a",
    "ci_read_at": "2026-11-20T13:32:19Z",
    "ci_state": "SUCCESS",
    "commits_90d": 3,
    "last_commit_at": "2026-11-09T00:02:18Z",
    "last_release_at": null,
    "median_reply_hours": null,
    "merged_prs_90d": 0,
    "note": "actively maintained: last commit 11 days ago; 3 commits and 0 merged PRs in 90 days; 0 open issues, 0 open PRs; no releases",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3",
    "PyTorch 2.15.0+cu132",
    "numdiff-kit editable install"
  ],
  "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": [
          "python"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [],
    "secrets": 0,
    "secrets_in_tests": 0,
    "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": 31,
      "malicious": []
    },
    "installed_inventory": true,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-03b65652cf264ca845291865a65636c3df8b61470a082c3591bbc5319a5df252",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "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": [],
      "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"
}
