{
  "schema_version": 1,
  "run_id": "yogvidwankhede--depsense-gpt-6-luna-1796463685918470547",
  "date": "2026-12-05T09:48:33.090392+00:00",
  "repo": "yogvidwankhede/depsense",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "46a2c7137890071f4775402117b0dc0ee8b80766",
  "outcome": "pass",
  "time_to_working_s": 310.6841257949709,
  "install_s": 28.155,
  "first_use_s": 81.396,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "depsense scan examples/legacy_numpy.py",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Identify Python and library requirements from source code.",
      "source": "Figure out which Python version and which library versions a script actually needs, by reading the code.",
      "input": "examples/legacy_numpy.py",
      "expected": "Python: <3.12, with package constraints including numpy<1.24 and scikit-learn<1.2.",
      "command": "<guest-path> scan examples/legacy_numpy.py",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: numpy<1.24",
      "evidence": "…numpy<1.24 installs numpy 1.23.5, which has wheels up to CPython 3.11 (PyPI)\n    <3.12    line 9: pandas<2.0 installs pandas 1.5.3, which has wheels up to CPython 3.11 (PyPI)  [medium confidence]\n    <3.16    line 4: PyYAML installs PyYAML 6.0.4, which has wheels up to CPython 3.15 (PyPI)\n\nPackages:\n  numpy<1.24                   (import numpy, line 1)\n      <1.24    line 6: `numpy.float` was removed in NumPy 1.24 (use the builtin type)\n      <2.0     line 3: scikit-learn<1.2 was built against NumPy 1.x and fails to import under NumPy 2\n      <2.0     line 7: `numpy.NaN` was removed in NumPy 2",
      "cwd": "<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "-learn<1.2 was built against NumPy 1.x and fails to import under NumPy 2\n      <2.0     line 7: `numpy.NaN` was removed in NumPy 2.0\n      <2.0     line 9: pandas<2.0 was built against NumPy 1.x and fails to import under NumPy 2  [medium confidence]\n  pandas<2.0                   (import pandas, line 2)\n      <2.0     line 9: `.iteritems()` was removed in pandas 2.0 (use .items())  [medium confidence]\n  scikit-learn<1.2             (import sklearn, line 3)\n      <1.2     line 3: `sklearn.datasets.load_boston` was removed in scikit-learn 1.2\n  PyYAML                       (import yaml, line 4)\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Detect source imports, removed library APIs, and syntax or standard library version requirements.",
      "source": "- **Packages**: absolute imports minus stdlib and local modules, with import→PyPI name mapping (`cv2` → `opencv-python`, `sklearn` → `scikit-learn`, ...).\n- **Library versions**: APIs that were added or removed in specific releases of 19 libraries (numpy, pandas, scikit-learn, scipy, torch, tensorflow, transformers, httpx, ... see below), resolved through import aliases, so `np.float` and `from numpy import float` both count. Some rules look at keyword arguments, like `read_csv(error_bad_lines=...)`.\n- **Python version**: syntax (walrus, `match`, `except*`, `type` aliases, generics `[T]`, t-strings, ...), stdlib additions (`tomllib`, `itertools.batched`, ...), and stdlib removals (`distutils`, `imp`, `collections.Mapping`, ...).",
      "input": "examples/modern.py",
      "expected": "Python: >=3.12,<3.16 and numpy>=2.0, with evidence for match, tomllib, itertools.batched, a type alias, and numpy.trapezoid.",
      "command": "<guest-path> scan examples/modern.py",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: numpy>=2.0",
      "evidence": "…numpy>=2.0: every allowed release needs Python >=3.9 (numpy 2.0.0, from PyPI)\n    >=3.9    line 6: uses builtin generic `tuple[...]`\n    >=3.9    line 9: uses builtin generic `list[...]`\n    >=3.10   line 15: uses `match` statement\n    >=3.11   line 1: `tomllib` was added in Python 3.11\n    >=3.12   line 2, 15: `itertools.batched` was added in Python 3.12\n    >=3.12   line 6: uses `type X = ...` alias statement\n    <3.16    line 4: numpy>=2.0 installs numpy 2.5.5, which has wheels up to CPython 3.15 (PyPI)\n\nPackages:\n  numpy>=2.0                   (import numpy, line 4)\n      >=2.0    line 12:",
      "cwd": "<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "thon >=3.9 (numpy 2.0.0, from PyPI)\n    >=3.9    line 6: uses builtin generic `tuple[...]`\n    >=3.9    line 9: uses builtin generic `list[...]`\n    >=3.10   line 15: uses `match` statement\n    >=3.11   line 1: `tomllib` was added in Python 3.11\n    >=3.12   line 2, 15: `itertools.batched` was added in Python 3.12\n    >=3.12   line 6: uses `type X = ...` alias statement\n    <3.16    line 4: numpy>=2.0 installs numpy 2.5.5, which has wheels up to CPython 3.15 (PyPI)\n\nPackages:\n  numpy>=2.0                   (import numpy, line 4)\n      >=2.0    line 12: `numpy.trapezoid` was added in NumPy 2.0\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Scan a legacy script for its dependencies and compatibility constraints.",
      "source": "README.md opening scan example: depsense scan examples/legacy_numpy.py",
      "input": "examples/legacy_numpy.py",
      "command": "<guest-path> scan examples/legacy_numpy.py",
      "evidence": "t-learn<1.2 was built against NumPy 1.x and fails to import under NumPy 2\n      <2.0     line 7: `numpy.NaN` was removed in NumPy 2.0\n      <2.0     line 9: pandas<2.0 was built against NumPy 1.x and fails to import under NumPy 2  [medium confidence]\n  pandas<2.0                   (import pandas, line 2)\n      <2.0     line 9: `.iteritems()` was removed in pandas 2.0 (use .items())  [medium confidence]\n  scikit-learn<1.2             (import sklearn, line 3)\n      <1.2     line 3: `sklearn.datasets.load_boston` was removed in scikit-learn 1.2\n  PyYAML                       (import yaml, line 4)",
      "deferred": false,
      "expected": "The report includes numpy<1.24 and scikit-learn<1.2.",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "-learn<1.2 was built against NumPy 1.x and fails to import under NumPy 2\n      <2.0     line 7: `numpy.NaN` was removed in NumPy 2.0\n      <2.0     line 9: pandas<2.0 was built against NumPy 1.x and fails to import under NumPy 2  [medium confidence]\n  pandas<2.0                   (import pandas, line 2)\n      <2.0     line 9: `.iteritems()` was removed in pandas 2.0 (use .items())  [medium confidence]\n  scikit-learn<1.2             (import sklearn, line 3)\n      <1.2     line 3: `sklearn.datasets.load_boston` was removed in scikit-learn 1.2\n  PyYAML                       (import yaml, line 4)\n",
      "stderr": "",
      "output_truncated": true,
      "verdict": "yes",
      "outcome": "command completed successfully"
    },
    {
      "kind": "example",
      "claim": "Scan a script that uses modern Python features and current library APIs.",
      "source": "README.md Commands: depsense scan script.py",
      "input": "examples/modern.py",
      "command": "<guest-path> scan examples/modern.py",
      "evidence": "ython >=3.9 (numpy 2.0.0, from PyPI)\n    >=3.9    line 6: uses builtin generic `tuple[...]`\n    >=3.9    line 9: uses builtin generic `list[...]`\n    >=3.10   line 15: uses `match` statement\n    >=3.11   line 1: `tomllib` was added in Python 3.11\n    >=3.12   line 2, 15: `itertools.batched` was added in Python 3.12\n    >=3.12   line 6: uses `type X = ...` alias statement\n    <3.16    line 4: numpy>=2.0 installs numpy 2.5.5, which has wheels up to CPython 3.15 (PyPI)\n\nPackages:\n  numpy>=2.0                   (import numpy, line 4)\n      >=2.0    line 12: `numpy.trapezoid` was added in NumPy 2.0",
      "deferred": false,
      "expected": "The report includes Python >=3.12,<3.16, numpy>=2.0, and numpy.trapezoid evidence.",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "thon >=3.9 (numpy 2.0.0, from PyPI)\n    >=3.9    line 6: uses builtin generic `tuple[...]`\n    >=3.9    line 9: uses builtin generic `list[...]`\n    >=3.10   line 15: uses `match` statement\n    >=3.11   line 1: `tomllib` was added in Python 3.11\n    >=3.12   line 2, 15: `itertools.batched` was added in Python 3.12\n    >=3.12   line 6: uses `type X = ...` alias statement\n    <3.16    line 4: numpy>=2.0 installs numpy 2.5.5, which has wheels up to CPython 3.15 (PyPI)\n\nPackages:\n  numpy>=2.0                   (import numpy, line 4)\n      >=2.0    line 12: `numpy.trapezoid` was added in NumPy 2.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's documented CLI commands and src/depsense/cli.py entrypoint. Scan, pin, run, bench and suggest are invoked on demand; no recurring cycle or webhook trigger is documented.",
      "evidence": "Inspected README's documented CLI commands and src/depsense/cli.py entrypoint. Scan, pin, run, bench and suggest are invoked on demand; no recurring cycle or webhook trigger is documented.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "5b7d52630eead5e0cae4f1dadbcee13afd97c7c3",
    "ci_read_at": "2026-12-05T08:33:47Z",
    "ci_state": "PENDING",
    "commits_90d": 20,
    "last_commit_at": "2026-12-05T08:33:30Z",
    "last_release_at": null,
    "median_reply_hours": null,
    "merged_prs_90d": 1,
    "note": "actively maintained: last commit 0 days ago; 20 commits and 1 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",
    "uv 0.13.13",
    "depsense editable install in .venv"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 1 connection review.",
    "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": true,
    "lookups_recorded": true,
    "unsorted_blocked_ports": [],
    "contacts": [
      {
        "to": "151.101.0.223",
        "port": "443",
        "rule": null,
        "programs": [
          "depsense"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      },
      {
        "to": "151.101.128.223",
        "port": "443",
        "rule": null,
        "programs": [
          "depsense"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      },
      {
        "to": "151.101.64.223",
        "port": "443",
        "rule": null,
        "programs": [
          "depsense"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      }
    ],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "http"
        ],
        "names": [
          "_http._tcp.archive.ubuntu.com",
          "archive.ubuntu.com",
          "security.ubuntu.com",
          "our local network"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "python"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      },
      {
        "owner": "repo",
        "programs": [
          "depsense"
        ],
        "names": [
          "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": 10,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 5,
      "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",
        "security.ubuntu.com"
      ],
      "blocked_hosts": [
        "185.125.190.56",
        "185.125.190.57",
        "185.125.190.58"
      ],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "185.125.190.56",
        "185.125.190.57",
        "185.125.190.58",
        "files.pythonhosted.org",
        "pypi.org",
        "security.ubuntu.com"
      ],
      "package_registries": [
        "files.pythonhosted.org",
        "pypi.org",
        "security.ubuntu.com"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "unanswered_hosts": [],
      "unattributed": [
        "185.125.190.56",
        "185.125.190.57",
        "185.125.190.58",
        "files.pythonhosted.org"
      ],
      "hosts_withheld": 4
    },
    "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"
}
