{
  "schema_version": 1,
  "run_id": "Dodaflop1--weir-gpt-6-luna-1796455492570015198",
  "date": "2026-12-05T07:27:53.552265+00:00",
  "repo": "Dodaflop1/weir",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "be11de03320abf5fc3b55e51fbd21961e5e54c4d",
  "outcome": "pass",
  "time_to_working_s": 142.73715082701528,
  "install_s": 58.854,
  "first_use_s": 51.867,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Run the documented quickstart signal through a whole-history backtest and tick-by-tick live updates, verifying identical outputs.",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Write a trading signal once.",
      "source": "**Write a trading signal once. Backtest it and run it live with the same compiled kernels, so the two can never disagree. Lookahead bias and unit mistakes are compile errors.**",
      "input": "examples/quickstart.py seeded signal input",
      "expected": "identical: True",
      "command": "<guest-path> examples/quickstart.py",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: identical: True",
      "evidence": "identical: True\n",
      "cwd": "<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "= gt(%0, %1)                         : bool\n  %3   = input close                        : price\n  %4   = ema(%3, 20)                        : price\n  %5   = sub(%3, %4)                        : price\n  %6   = rstd(%3, 20)                       : price\n  %7   = div(%5, %6)                        : ratio\n  %8   = const nan                          : ratio\n  %9   = where(%2, %7, %8)                  : ratio\n  return %9\nlive state: 87 floats (696 bytes), O(1) work per tick\nlast 3 backtest: [        nan         nan -2.14325228]\nlast 3 live:     [        nan         nan -2.14325228]\nidentical: True\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "backtest and live outputs agree bit for bit",
      "source": "Backtest = live, bit for bit",
      "input": "examples/quickstart.py seeded signal input",
      "expected": "identical: True",
      "command": "<guest-path> examples/quickstart.py",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: identical: True",
      "evidence": "identical: True\n",
      "cwd": "<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "= gt(%0, %1)                         : bool\n  %3   = input close                        : price\n  %4   = ema(%3, 20)                        : price\n  %5   = sub(%3, %4)                        : price\n  %6   = rstd(%3, 20)                       : price\n  %7   = div(%5, %6)                        : ratio\n  %8   = const nan                          : ratio\n  %9   = where(%2, %7, %8)                  : ratio\n  return %9\nlive state: 87 floats (696 bytes), O(1) work per tick\nlast 3 backtest: [        nan         nan -2.14325228]\nlast 3 live:     [        nan         nan -2.14325228]\nidentical: True\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "README demo contrasts lookahead and demonstrates backtest/live parity",
      "source": "README.md See it in 30 seconds",
      "input": "seeded synthetic data from examples/demo.py",
      "command": "<guest-path> examples/demo.py",
      "evidence": "  |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ center=True\n      |\n      = help: Weir windows always end at the current tick; drop `center=True`\n\n2. BACKTEST VS LIVE (same signal, same data)\n   pandas backtest vs hand-written live loop: 723 of 7,800 minutes differ (9.3%); P&L -1.56% backtest vs -3.50% live\n   Weir backtest vs Weir live:                0 minutes differ (bit-identical)\n\n3. ONE NEW TICK -> ONE SIGNAL VALUE\n   pandas recompute: 1,005 µs   Weir via Python: 12 µs   Weir engine: 14 µs\n\nwrote docs/demo_lookahead.svg, docs/demo_parity.svg, docs/demo_speed.svg  (engine: python)",
      "deferred": false,
      "expected": "Weir backtest vs Weir live:                0 minutes differ (bit-identical)",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": " |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ center=True\n      |\n      = help: Weir windows always end at the current tick; drop `center=True`\n\n2. BACKTEST VS LIVE (same signal, same data)\n   pandas backtest vs hand-written live loop: 723 of 7,800 minutes differ (9.3%); P&L -1.56% backtest vs -3.50% live\n   Weir backtest vs Weir live:                0 minutes differ (bit-identical)\n\n3. ONE NEW TICK -> ONE SIGNAL VALUE\n   pandas recompute: 1,005 µs   Weir via Python: 12 µs   Weir engine: 14 µs\n\nwrote docs/demo_lookahead.svg, docs/demo_parity.svg, docs/demo_speed.svg  (engine: python)\n",
      "stderr": "",
      "output_truncated": true,
      "verdict": "yes",
      "outcome": "command completed successfully"
    },
    {
      "kind": "example",
      "claim": "From a checkout quickstart executes a signal against history and live ticks",
      "source": "README.md From a checkout",
      "input": "seeded 5000 point data in examples/quickstart.py",
      "command": "<guest-path> examples/quickstart.py",
      "evidence": " = gt(%0, %1)                         : bool\n  %3   = input close                        : price\n  %4   = ema(%3, 20)                        : price\n  %5   = sub(%3, %4)                        : price\n  %6   = rstd(%3, 20)                       : price\n  %7   = div(%5, %6)                        : ratio\n  %8   = const nan                          : ratio\n  %9   = where(%2, %7, %8)                  : ratio\n  return %9\nlive state: 87 floats (696 bytes), O(1) work per tick\nlast 3 backtest: [        nan         nan -2.14325228]\nlast 3 live:     [        nan         nan -2.14325228]\nidentical: True",
      "deferred": false,
      "expected": "identical: True",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "= gt(%0, %1)                         : bool\n  %3   = input close                        : price\n  %4   = ema(%3, 20)                        : price\n  %5   = sub(%3, %4)                        : price\n  %6   = rstd(%3, 20)                       : price\n  %7   = div(%5, %6)                        : ratio\n  %8   = const nan                          : ratio\n  %9   = where(%2, %7, %8)                  : ratio\n  return %9\nlive state: 87 floats (696 bytes), O(1) work per tick\nlast 3 backtest: [        nan         nan -2.14325228]\nlast 3 live:     [        nan         nan -2.14325228]\nidentical: True\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 entrypoints, examples, scripts, and python package for cron, scheduled jobs, loops that trigger periodic work, webhooks, --once, and --now. The documented product operations are user-invoked signal backtests/live updates and CLI checks; no product scheduler or cycle trigger is documented.",
      "evidence": "Inspected README entrypoints, examples, scripts, and python package for cron, scheduled jobs, loops that trigger periodic work, webhooks, --once, and --now. The documented product operations are user-invoked signal backtests/live updates and CLI checks; no product scheduler or cycle trigger is documented.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "be11de03320abf5fc3b55e51fbd21961e5e54c4d",
    "ci_read_at": "2026-12-05T07:24:17Z",
    "ci_state": null,
    "commits_90d": 120,
    "last_commit_at": "2026-12-05T07:17:59Z",
    "last_release_at": "2026-12-05T05:44:09Z",
    "median_reply_hours": null,
    "merged_prs_90d": 43,
    "note": "actively maintained: last commit 0 days ago; 120 commits and 43 merged PRs in 90 days; 2 open issues, 0 open PRs; latest release 2026-12-05",
    "open_issues": 2,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3",
    "numpy",
    "pandas",
    "Rust toolchain for native engine (not installed; pure-Python engine ran)"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [
    "The checkout ran using the pure-Python reference engine (engine: python), not the bundled Rust engine described for wheels."
  ],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 3 known vulnerability.",
    "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": [
      {
        "package": "pyarrow",
        "version": "14.0",
        "advisory": "GHSA-5wvp-7f3h-6wmm"
      },
      {
        "package": "pyarrow",
        "version": "14.0",
        "advisory": "PYSEC-2023-238"
      },
      {
        "package": "pyarrow",
        "version": "14.0",
        "advisory": "PYSEC-2024-161"
      }
    ],
    "secrets": 0,
    "secrets_in_tests": 0,
    "download_lines_in_tests": 0,
    "dependency_versions": 74,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 7,
      "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-4243f19282e59714a358f5d27849c5ebf3ef413d1667fe1ae5969f004abbb1d7",
  "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"
}
