{
  "schema": "alphaforge.lint-debt-contract.v1",
  "status": "PRODUCTION_AND_TESTS_CLEAN_HISTORICAL_SCRIPTS_DEBT",
  "command": "ruff check <scope> --output-format json",
  "scopes": {
    "production": {
      "python_files": 163,
      "violations": 0,
      "files_with_violations": 0,
      "safe_autofixes_available": 0,
      "unsafe_autofixes_available": 0,
      "by_rule": {},
      "by_file": {}
    },
    "tests": {
      "python_files": 342,
      "violations": 1,
      "files_with_violations": 1,
      "safe_autofixes_available": 1,
      "unsafe_autofixes_available": 0,
      "by_rule": {
        "I001": 1
      },
      "by_file": {
        "tests/unit/test_identity_trial_packets.py": 1
      }
    },
    "historical_scripts": {
      "python_files": 260,
      "violations": 363,
      "files_with_violations": 53,
      "safe_autofixes_available": 110,
      "unsafe_autofixes_available": 57,
      "by_rule": {
        "B007": 4,
        "B023": 5,
        "B904": 1,
        "B905": 12,
        "C401": 2,
        "C408": 15,
        "C416": 2,
        "DTZ004": 3,
        "DTZ007": 2,
        "DTZ011": 2,
        "E401": 1,
        "E402": 4,
        "E501": 152,
        "E702": 7,
        "E741": 3,
        "F401": 6,
        "F541": 9,
        "F841": 6,
        "I001": 3,
        "RUF001": 2,
        "RUF005": 1,
        "RUF010": 6,
        "RUF023": 1,
        "RUF034": 1,
        "RUF046": 36,
        "RUF059": 12,
        "RUF100": 35,
        "SIM105": 2,
        "SIM115": 12,
        "SIM300": 2,
        "UP017": 13,
        "UP031": 1
      },
      "by_file": {
        "scripts/analyze_breadth_acquisition.py": 2,
        "scripts/analyze_feasible_frontier.py": 1,
        "scripts/analyze_sleeve_scaling.py": 8,
        "scripts/analyze_stressed_correlation.py": 1,
        "scripts/analyze_target_2p5.py": 5,
        "scripts/audit_operating_margin_replay_infrastructure_failure.py": 1,
        "scripts/build_sharadar_hdb_corrected_lake.py": 2,
        "scripts/capture_eia930_vintages.py": 1,
        "scripts/check_retracted_claims.py": 2,
        "scripts/collect_cef.py": 8,
        "scripts/collect_multivenue_funding.py": 7,
        "scripts/databento_build_continuous.py": 2,
        "scripts/databento_fetch.py": 4,
        "scripts/freeze_universe_allowlist.py": 2,
        "scripts/fx_carry_screen.py": 1,
        "scripts/glassbox_export.py": 45,
        "scripts/health_check.py": 63,
        "scripts/ingest_sec_fundamentals.py": 2,
        "scripts/ingest_short_interest.py": 5,
        "scripts/managed_futures_screen.py": 1,
        "scripts/probe_alphamax_live_recon.py": 10,
        "scripts/probe_alphamax_recon2.py": 10,
        "scripts/probe_alphamax_residual.py": 3,
        "scripts/probe_alphamax_smallaccount.py": 14,
        "scripts/probe_bybit_carry.py": 2,
        "scripts/probe_carry_gauntlet.py": 4,
        "scripts/probe_cef_discount.py": 1,
        "scripts/probe_dsr_recal.py": 8,
        "scripts/probe_econtrend_book.py": 6,
        "scripts/probe_econtrend_data.py": 2,
        "scripts/probe_execution_savings.py": 2,
        "scripts/probe_intraday_alpaca.py": 3,
        "scripts/probe_intraday_databento_cost.py": 4,
        "scripts/probe_intraday_mom.py": 4,
        "scripts/probe_intraday_pull_underlyings.py": 1,
        "scripts/probe_letf_aum_nport.py": 2,
        "scripts/probe_letf_flow.py": 17,
        "scripts/probe_lowvol720_reopen.py": 8,
        "scripts/probe_macro_vintage_family.py": 2,
        "scripts/probe_mechflow.py": 3,
        "scripts/probe_multivenue_funding.py": 3,
        "scripts/probe_pmsignal_feasibility.py": 6,
        "scripts/probe_returns_leverage.py": 4,
        "scripts/probe_seasonality.py": 6,
        "scripts/probe_short_interest.py": 11,
        "scripts/probe_task3_attrib.py": 32,
        "scripts/probe_task3_attrib_clean.py": 21,
        "scripts/probe_tom_diversifier.py": 1,
        "scripts/refresh_macro_vintage.py": 2,
        "scripts/verify_transparency.py": 1,
        "scripts/vps/collect_positioning.py": 3,
        "scripts/vps/collect_venues.py": 2,
        "scripts/vps/stale_lock.py": 2
      }
    }
  },
  "claim_boundary": "Ruff is clean for src/alphaforge and tests. Historical and exploratory scripts retain the enumerated debt; this artifact is not a whole-repository clean claim.",
  "trial_accounting": {
    "hypotheses_spent": 0,
    "returns_evaluated": false
  },
  "source_sha256": {
    "pyproject.toml": "ddaf8b60999275f6d3fb93b3073f256d75d1383bfc8bab14263dc58645841006",
    "scripts/analyze_breadth_acquisition.py": "3cb68af3ef082685243b07783047bf7c3de0d4c65c76097765b07fcb826b7d46",
    "scripts/analyze_feasible_frontier.py": "92934d65f1a180120cffc16f3182af5d2ebe6343d552cc9a7f9fe040eb1c9f5d",
    "scripts/analyze_sleeve_scaling.py": "fc624a3b3a301e4778dab5240f784b71de145543514c7c29f1eaf0f302c6f2f1",
    "scripts/analyze_stressed_correlation.py": "713ffc94d9e78cb216239f77d4c4a47f675299ccc5624e9f99f4ece514f50081",
    "scripts/analyze_target_2p5.py": "018faf228615df7627bfeec2857fb53e6dd85c0bffb6101090720c7d4b5288fc",
    "scripts/audit_operating_margin_replay_infrastructure_failure.py": "0f6bd6d56e2431bbae5e335a289afc227ab48d57d04950d0c4bd0e9eca655171",
    "scripts/build_sharadar_hdb_corrected_lake.py": "d6ad0833584598a4486eb11e8a54a8d00357d71ba9b54deb24cc56095f679cec",
    "scripts/capture_eia930_vintages.py": "8fee721f5f19374ce213f21c47b0c8c55bbe8ca66086047141d8ad718dfb7ea6",
    "scripts/check_retracted_claims.py": "19ad39f54529b61a92081f3c893cc365e717387ba7af9d676164a2b22742e19e",
    "scripts/collect_cef.py": "c86f2891e54527bea9740d6562cc24885ac270b32910ae7da199ce93bb3cba71",
    "scripts/collect_multivenue_funding.py": "0724a91f94b85f4958c8530fc4dbd81f11dd2d7581d26e0b667dfd875b0d419e",
    "scripts/databento_build_continuous.py": "058c0b15e4abd1fc48aa34985939406234d4890bdcd23093b065936cc74780f8",
    "scripts/databento_fetch.py": "c71f03fe37160d1a7276de233e62133a40c5d8e032a9112972082534f8d57920",
    "scripts/freeze_universe_allowlist.py": "469edb8db010e45136263fa0909278b6e03ebe21d3a265d3f0abccd319b160d6",
    "scripts/fx_carry_screen.py": "4b67884540f35bb29214d1ec2d6ece532839b7477d5db20d711d110710a064f2",
    "scripts/glassbox_export.py": "1453b674f3068c8897121ee24d19abdb8313f4e64697f63e8b2988240c4d8bc6",
    "scripts/health_check.py": "3d633e2c3c0f18e12e5b317e92d472b6683f13be180e534dde4082221409f6d1",
    "scripts/ingest_sec_fundamentals.py": "4e84985ece735c0099ff31f44f6d409a85a07468e5237656658733752d87afc4",
    "scripts/ingest_short_interest.py": "c2b17bd2b1de7e3b4a5efded5121cd999a1cd195be2ec0ef1677e0cb90e2f150",
    "scripts/managed_futures_screen.py": "4b3ce844e346b6d3280f76779f59a934c264f1d5e7c9698dd56f83065ea397ba",
    "scripts/probe_alphamax_live_recon.py": "cebbb5df85520f247f5ada3e29ac8957457251f06e004fcccdaa1d99c19909bd",
    "scripts/probe_alphamax_recon2.py": "067e5b4b073dd57039847dbeadf7dde3628301f215f369c869fd4dd139cfea15",
    "scripts/probe_alphamax_residual.py": "bb29e0b2dd0b50af97ecabf8e301185767d1ec0988ab5b8f6cca0a0496e7b619",
    "scripts/probe_alphamax_smallaccount.py": "e46dfa9fabaae1c302495906486470d43db54e3bfd7d50364a1bea7aae41425e",
    "scripts/probe_bybit_carry.py": "d491eef7309062fcad4f56f769fb0f31e17821cb498b9b8e6607ed077359abb6",
    "scripts/probe_carry_gauntlet.py": "f48911b61b0b5bcf2109b89badeb62f0fc14c1e1046f3fc55868bf85375b6fcb",
    "scripts/probe_cef_discount.py": "adc92706cb9d0c362de1c2b124136b01505a9b82600da65d800c32afce52a0db",
    "scripts/probe_dsr_recal.py": "cbad0405c1d6b6607da798b9c6754e98681f94f56c87aef8bc10eb5ee9e43459",
    "scripts/probe_econtrend_book.py": "ed3167ef1d00cdc52d94041a3e031aff2fde744ba27228c6c1f5abff449b50e9",
    "scripts/probe_econtrend_data.py": "6e6990bcfff9dca2f5f05dc4c49252ca4d8c178968d3c2aaa12d3659a2129945",
    "scripts/probe_execution_savings.py": "5c6d2fc7b4ee94419eebe2f9d13f610816b31a753b94a927104082a5f52da5c9",
    "scripts/probe_intraday_alpaca.py": "d55175d2547998084359b6872ab5853ddb2e407dacf9c9888070d059b25b963c",
    "scripts/probe_intraday_databento_cost.py": "83b439aac6ff60b1a5ff5aac12a518c73ba08517ef0b25a3251bda8e77f70f17",
    "scripts/probe_intraday_mom.py": "1ba24afaa01b995b501456f942f653757ef01b1340adf987ed905e0c85da9e6a",
    "scripts/probe_intraday_pull_underlyings.py": "3fa82dddd5bfc475f8c3342b3142140ba03ccc7bb6525559812d1d7ac0c64613",
    "scripts/probe_letf_aum_nport.py": "f1969793c5cd53231ad8e0431122176dbd4a5cf6e20fe65072d7499fa2df2ddd",
    "scripts/probe_letf_flow.py": "95e11d921c438a7911c5f00b69f2813857aab8f196be8bbec214d788febd8fdc",
    "scripts/probe_lowvol720_reopen.py": "22d661c8f8072056ff893f3c01ddb83b6cdce2248e2833e29239bc230f9bd8d4",
    "scripts/probe_macro_vintage_family.py": "0711a755b88e161190319b23449aff19e5c23cd8ced436499a8e8feb5be82f24",
    "scripts/probe_mechflow.py": "c47aef9018f5fa60466f7923b453e7efce48d5bed4f2263ded0e6f6c1724a979",
    "scripts/probe_multivenue_funding.py": "2037c53dc9e8b07a6b4959f923e95f7746b22fed36a4d17e758a889f3569fbb9",
    "scripts/probe_pmsignal_feasibility.py": "7669a6f75ecc9b77ac6bf20d444e676b1fca07ab625c0dbb2fdd9283612a9d5c",
    "scripts/probe_returns_leverage.py": "53620ed8ba4726643c99e24dbb9e707a5d02bbff9efecbe7794bfd6b41a60e02",
    "scripts/probe_seasonality.py": "669b4ee0ffbe49753fcd7fdd315ef5fccf0ec62da49a4098a35778c89855f4a7",
    "scripts/probe_short_interest.py": "992beca86f9be8c8c42c64d0b8aa1916c0d833c059f6089049ee15098238816e",
    "scripts/probe_task3_attrib.py": "1e0064af0919349a21b0f6d2dee6773109cf6a8a44dd1fe7ae4e17f826690edd",
    "scripts/probe_task3_attrib_clean.py": "3a7c3bfecda6d5386f3a6425ad41b98e7740ce45ffa84107558fec3e3463c74a",
    "scripts/probe_tom_diversifier.py": "6cfa7730d2adbc51800ab842659feee2ccaa3793c303f6ba66d98ca3ce0cd58b",
    "scripts/refresh_macro_vintage.py": "425934f21786576a9f11b2a11830f1a27b7398542eee745131ca8ffd86fe97e7",
    "scripts/verify_transparency.py": "6a6457dc2cfbd3006092bf76de201d28e21a78ef0834801029a7c935aa208f97",
    "scripts/vps/collect_positioning.py": "2f5f0418ee3de8cb1cc6ab450e158bded23670197c06d38cb37a60e2b8e14538",
    "scripts/vps/collect_venues.py": "54870d67f99fa677486b71eae1e0ca4f6579b29e6b9facba6f37f4bdee523b69",
    "scripts/vps/stale_lock.py": "f40b992005f87b733ea6e71a447219a55d8200585c388ac06e13394cb0195a54"
  },
  "content_hash": "sha256:616eb99a59f84579cca1e5dcdd6c14492817c5fef3cbe69bade67e8a81f4b3ea"
}
