{
  "schema_version": 1,
  "run_id": "QuantConnect--quantconnect-stubs-generator-gpt-6-luna-1794949994853986907",
  "date": "2026-11-17T21:27:37.892499+00:00",
  "repo": "QuantConnect/quantconnect-stubs-generator",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "d4383cf4e30f659c94b1c7aa6bccf27063630a3c",
  "outcome": "pass",
  "time_to_working_s": 794.1212564170128,
  "install_s": 101.814,
  "first_use_s": 254.63,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Generate Python stubs from the Lean and dotnet/runtime repositories",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Generates Python stubs from Lean and dotnet/runtime for editor autocomplete and auto-imports in Python strategies.",
      "source": "QuantConnect Stubs Generator is a program which generates Python stubs based on the C# files in [QuantConnect/Lean](https://github.com/QuantConnect/Lean) and [dotnet/runtime](https://github.com/dotnet/runtime). These stubs can be used by editors to provide type-aware features like autocomplete and auto-imports in QuantConnect strategies written in Python.",
      "input": "QuantConnect/Lean and dotnet/runtime repositories",
      "expected": "Python stubs including AlgorithmImports and namespace stubs are generated",
      "command": "dotnet run <guest-path> <guest-path> <guest-path>",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: Generating AlgorithmImports stubs",
      "evidence": "Generating AlgorithmImports stubs\nGenerating setup.py\nProvided Lean path is not a Git repository with tags, setting version to 1.0.0\n",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "isories/GHSA-4f7c-pmjv-c25w\n<guest-path> : warning NU1902: Package 'log4net' 2.0.12 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-4f7c-pmjv-c25w\nParsing 5338 C# files\nRunning ClassParser on all syntax trees\nRunning PropertyParser on all syntax trees\nRunning MethodParser on all syntax trees\nGenerating .py and .pyi files for 222 namespaces\nGenerating clr stubs\nGenerating AlgorithmImports stubs\nGenerating setup.py\nProvided Lean path is not a Git repository with tags, setting version to 1.0.0\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Run the generator locally with Lean and runtime source trees",
      "source": "README.md, Development",
      "input": "generated/Lean and generated/runtime",
      "command": "dotnet run <guest-path> <guest-path> <guest-path>",
      "evidence": "visories/GHSA-4f7c-pmjv-c25w\n<guest-path> : warning NU1902: Package 'log4net' 2.0.12 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-4f7c-pmjv-c25w\nParsing 5338 C# files\nRunning ClassParser on all syntax trees\nRunning PropertyParser on all syntax trees\nRunning MethodParser on all syntax trees\nGenerating .py and .pyi files for 222 namespaces\nGenerating clr stubs\nGenerating AlgorithmImports stubs\nGenerating setup.py\nProvided Lean path is not a Git repository with tags, setting version to 1.0.0",
      "deferred": false,
      "expected": "stub output directory is created",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "isories/GHSA-4f7c-pmjv-c25w\n<guest-path> : warning NU1902: Package 'log4net' 2.0.12 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-4f7c-pmjv-c25w\nParsing 5338 C# files\nRunning ClassParser on all syntax trees\nRunning PropertyParser on all syntax trees\nRunning MethodParser on all syntax trees\nGenerating .py and .pyi files for 222 namespaces\nGenerating clr stubs\nGenerating AlgorithmImports stubs\nGenerating setup.py\nProvided Lean path is not a Git repository with tags, setting version to 1.0.0\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.md and the generator entrypoint Program.cs; they describe one finite dotnet run operation and no cron, loop, webhook, or scheduled cycle trigger.",
      "evidence": "Inspected README.md and the generator entrypoint Program.cs; they describe one finite dotnet run operation and no cron, loop, webhook, or scheduled cycle trigger.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "d4383cf4e30f659c94b1c7aa6bccf27063630a3c",
    "ci_read_at": "2026-11-16T19:56:30Z",
    "ci_state": "SUCCESS",
    "commits_90d": 5,
    "last_commit_at": "2026-11-04T20:25:34Z",
    "last_release_at": null,
    "median_reply_hours": 14.9,
    "merged_prs_90d": 5,
    "note": "actively maintained: last commit 11 days ago; 5 commits and 5 merged PRs in 90 days; 4 open issues, 0 open PRs; 17 of 32 recent threads got a maintainer reply, median first reply 14.9h; no releases",
    "open_issues": 4,
    "open_prs": 0,
    "reply_share": 0.53,
    "reply_threads": 32,
    "verdict": "maintained"
  },
  "dependencies": [
    ".NET SDK 10",
    "git",
    "Pyright",
    "Lean repository",
    "dotnet/runtime repository"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 1 connection review, 1 known vulnerability, 1 sensitive read.",
    "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": true,
    "protocols_recorded": false,
    "lookups_recorded": false,
    "unsorted_blocked_ports": [],
    "contacts": [],
    "contacts_not_listed": 0,
    "lookups": [],
    "credential_reads": [
      {
        "kind": "saved web login",
        "opened": false
      }
    ],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [
      {
        "package": "log4net",
        "version": "2.0.12",
        "advisory": "GHSA-4f7c-pmjv-c25w"
      }
    ],
    "secrets": 0,
    "secrets_in_tests": 0,
    "download_lines_in_tests": 0,
    "dependency_versions": 7,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": null,
    "installed": null,
    "installed_inventory": false,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-413a5297127908f40e5c7776ed34304d9819422583e1bea3392021627de50e27",
  "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": [],
      "package_registries": [],
      "private_address_attempts": 0,
      "recorded": true,
      "hosts_withheld": 11
    },
    "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"
}
