{
  "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": 187,
      "violations": 0,
      "files_with_violations": 0,
      "safe_autofixes_available": 0,
      "unsafe_autofixes_available": 0,
      "by_rule": {},
      "by_file": {}
    },
    "tests": {
      "python_files": 492,
      "violations": 0,
      "files_with_violations": 0,
      "safe_autofixes_available": 0,
      "unsafe_autofixes_available": 0,
      "by_rule": {},
      "by_file": {}
    },
    "historical_scripts": {
      "python_files": 433,
      "violations": 856,
      "files_with_violations": 100,
      "safe_autofixes_available": 141,
      "unsafe_autofixes_available": 62,
      "by_rule": {
        "B007": 5,
        "B023": 5,
        "B904": 1,
        "B905": 12,
        "C401": 2,
        "C408": 15,
        "C416": 2,
        "DTZ004": 3,
        "DTZ007": 2,
        "DTZ011": 2,
        "E401": 9,
        "E402": 4,
        "E501": 423,
        "E701": 52,
        "E702": 123,
        "E731": 3,
        "E741": 4,
        "F401": 11,
        "F541": 8,
        "F821": 1,
        "F841": 6,
        "I001": 26,
        "RUF001": 19,
        "RUF005": 2,
        "RUF010": 5,
        "RUF046": 36,
        "RUF059": 12,
        "RUF100": 35,
        "SIM105": 2,
        "SIM115": 12,
        "SIM300": 2,
        "UP017": 11,
        "UP031": 1
      },
      "by_file": {
        "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_alphamax_covariance_basis.py": 6,
        "scripts/audit_alphamax_extended_reference.py": 6,
        "scripts/audit_alphamax_full2022_v2.py": 6,
        "scripts/audit_alphamax_path_accounting.py": 6,
        "scripts/audit_alphamax_session_cooldown.py": 6,
        "scripts/audit_alphamax_share_ratio.py": 6,
        "scripts/audit_alphamax_total_return_accounting.py": 6,
        "scripts/audit_crypto_extended_boundaries.py": 18,
        "scripts/audit_crypto_extended_horizon.py": 1,
        "scripts/audit_crypto_full2022_horizon.py": 1,
        "scripts/audit_crypto_funded_quantities_v4.py": 37,
        "scripts/audit_crypto_observed_boundaries.py": 18,
        "scripts/audit_crypto_observed_horizon.py": 1,
        "scripts/audit_crypto_retention_boundaries.py": 18,
        "scripts/audit_crypto_retention_horizon.py": 1,
        "scripts/audit_crypto_risk_rank_boundaries.py": 18,
        "scripts/audit_crypto_risk_rank_horizon.py": 1,
        "scripts/audit_operating_margin_replay_infrastructure_failure.py": 1,
        "scripts/build_sharadar_hdb_corrected_lake.py": 2,
        "scripts/capture_eia930_vintages.py": 1,
        "scripts/close_alphamax_covariance_basis.py": 8,
        "scripts/close_alphamax_extended_reference.py": 10,
        "scripts/close_alphamax_failed_baseline_20260913.py": 2,
        "scripts/close_alphamax_full2022_v2.py": 7,
        "scripts/close_alphamax_path_momentum.py": 11,
        "scripts/close_alphamax_session_cooldown.py": 10,
        "scripts/close_alphamax_share_ratio.py": 8,
        "scripts/close_alphamax_total_return_momentum.py": 13,
        "scripts/close_bil_cash_2022_trial.py": 31,
        "scripts/close_bil_cash_trial.py": 31,
        "scripts/close_bil_funded_trial.py": 31,
        "scripts/close_combined_path_momentum.py": 15,
        "scripts/close_combined_total_return_momentum.py": 15,
        "scripts/close_crypto_extended_arm.py": 6,
        "scripts/close_crypto_extended_arm_v2.py": 5,
        "scripts/close_crypto_observed_arm.py": 5,
        "scripts/close_crypto_retention_arm.py": 5,
        "scripts/close_crypto_risk_rank_arm.py": 5,
        "scripts/close_crypto_terminal_arm.py": 2,
        "scripts/close_crypto_terminal_arm_v2.py": 2,
        "scripts/close_earnings_failed_trial.py": 31,
        "scripts/close_group_risk_identity.py": 31,
        "scripts/collect_cef.py": 8,
        "scripts/collect_multivenue_funding.py": 7,
        "scripts/continuous_crypto_runner.py": 24,
        "scripts/databento_build_continuous.py": 2,
        "scripts/databento_fetch.py": 4,
        "scripts/derive_cost_charged_live_curves.py": 3,
        "scripts/export_validation_api_vectors.py": 4,
        "scripts/freeze_universe_allowlist.py": 2,
        "scripts/fx_carry_screen.py": 1,
        "scripts/glassbox_export.py": 44,
        "scripts/health_check.py": 61,
        "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/run_combined_2022_corrected_max.py": 2,
        "scripts/run_combined_2022_diagnostic.py": 1,
        "scripts/run_combined_2022_eligible_core.py": 7,
        "scripts/run_combined_crypto_observed_carry.py": 4,
        "scripts/run_combined_crypto_retention.py": 4,
        "scripts/run_combined_crypto_risk_rank.py": 4,
        "scripts/run_combined_extended_reference.py": 4,
        "scripts/run_combined_session_cooldown.py": 4,
        "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_feasible_frontier.py": "92934d65f1a180120cffc16f3182af5d2ebe6343d552cc9a7f9fe040eb1c9f5d",
    "scripts/analyze_sleeve_scaling.py": "fc624a3b3a301e4778dab5240f784b71de145543514c7c29f1eaf0f302c6f2f1",
    "scripts/analyze_stressed_correlation.py": "713ffc94d9e78cb216239f77d4c4a47f675299ccc5624e9f99f4ece514f50081",
    "scripts/analyze_target_2p5.py": "018faf228615df7627bfeec2857fb53e6dd85c0bffb6101090720c7d4b5288fc",
    "scripts/audit_alphamax_covariance_basis.py": "d9466f39df9ade45932a899b2245f90e6948b1b42ce99c9f0d19a1b88b2bad60",
    "scripts/audit_alphamax_extended_reference.py": "47cdaf7f84381764d18ce7998be8c97b7e845c292f9f1f5b4c04e4091dc7b0cb",
    "scripts/audit_alphamax_full2022_v2.py": "fa0b0e6621c0b476ff1a2bde6775a4dd2607b15591b57359b066ba52efbc273d",
    "scripts/audit_alphamax_path_accounting.py": "5211be562f32b775af991134eab6b2eb3ab24cc3e1ead54655992236ce3cda95",
    "scripts/audit_alphamax_session_cooldown.py": "3af8e967b068b608120eb9d3965aada6e66391c2b6fbdf48670bb8db71fcc72c",
    "scripts/audit_alphamax_share_ratio.py": "10926b74b75529701865ce7ad1f699db78814c0dc29a028e68c0f3d2e3ee43b2",
    "scripts/audit_alphamax_total_return_accounting.py": "b71b33b806f7e9312edc16de7ea5026fe334c1c6a9e8965609ac5ff332184835",
    "scripts/audit_crypto_extended_boundaries.py": "7abf1f991c2fba2e1371cc7857d9d950ec8d94e37169ee47c7fc87bd0eecda4d",
    "scripts/audit_crypto_extended_horizon.py": "0e0d634ec884ae5f2205986b7014ea9c166259b2d1cf1b089f756de6afe0a229",
    "scripts/audit_crypto_full2022_horizon.py": "6efa1316ba2ed2ec8bead413fcb2018bdde5a22911e1a03fa1b87010577f161c",
    "scripts/audit_crypto_funded_quantities_v4.py": "61abc6ed3fd30ab28c51d4cbb6d30effaf1f11adbfd03fd534f1d36d1491c12b",
    "scripts/audit_crypto_observed_boundaries.py": "c59c259d4d54b30280b50bfdc7d9edf4c9e8094b03968e61c6cc9fb6d7d1c92a",
    "scripts/audit_crypto_observed_horizon.py": "0ea6ade1cd386568e9c223f412f69531316f4115ae875e15db9a9e883a6e13c8",
    "scripts/audit_crypto_retention_boundaries.py": "5f32d6b312588b2b9ae5b8e57407b4c5594e75ec756d02322749b8e21faad15e",
    "scripts/audit_crypto_retention_horizon.py": "44a32a020e45ff11cfe6b543ec04f32fea1d16d966aa12ec5c1671ea0a017297",
    "scripts/audit_crypto_risk_rank_boundaries.py": "5a835c8451903ad4360d44a6a0c3455921962ad4242cd44ae980ad692760035e",
    "scripts/audit_crypto_risk_rank_horizon.py": "f6eb1bc71e1048828c3a1d7d14d8f02f9bae5aa6907b4c838dcc07e7b58bc015",
    "scripts/audit_operating_margin_replay_infrastructure_failure.py": "0f6bd6d56e2431bbae5e335a289afc227ab48d57d04950d0c4bd0e9eca655171",
    "scripts/build_sharadar_hdb_corrected_lake.py": "d6ad0833584598a4486eb11e8a54a8d00357d71ba9b54deb24cc56095f679cec",
    "scripts/capture_eia930_vintages.py": "8fee721f5f19374ce213f21c47b0c8c55bbe8ca66086047141d8ad718dfb7ea6",
    "scripts/close_alphamax_covariance_basis.py": "0bb7c8bd037ee36aa145139a3346f81b91d8bd89503a962a08aaef2c05abbd2d",
    "scripts/close_alphamax_extended_reference.py": "a43e12b134f928169dfe1e2b446a1bad1cafd5628cb65e050723941bf344036f",
    "scripts/close_alphamax_failed_baseline_20260913.py": "9655e0ef88259656e904b38a9d9d17ef48a53947c80fc396edbe3aa266c49a72",
    "scripts/close_alphamax_full2022_v2.py": "cf868dcaec4268c0c656162555d41b662249fc73d5aa72d441edad6e20ca5eb3",
    "scripts/close_alphamax_path_momentum.py": "1f8b4ba62d0ba240001cabc54e51d0e52cb2ad818170b2173226a21a4c3a099d",
    "scripts/close_alphamax_session_cooldown.py": "3b795522e36ddab273482de637478971fdee73577a3f7149873db760e6c0f51f",
    "scripts/close_alphamax_share_ratio.py": "bdd41b83d636efa9aae7fe3c666d5a43db132068498d1c800a29c36b86c894d9",
    "scripts/close_alphamax_total_return_momentum.py": "630a70368158686af1cc12a42cc71adff062a4cce378e7d8b8a08bddfc682bb8",
    "scripts/close_bil_cash_2022_trial.py": "d8980ab7186763cb71950cdebc14ae90365448050a4d1254f8a60dd2cd63fa55",
    "scripts/close_bil_cash_trial.py": "4b95a4ab899e87b55b367fda14704e17c8f7c0598e0ca12ef46f6e429b904544",
    "scripts/close_bil_funded_trial.py": "0985e9b3b50b8617951e12bd0564cda465747d0f909b1b1ac1ba7a536d16b0fd",
    "scripts/close_combined_path_momentum.py": "386ba9edee5c7fd0e0e4388b7e9dd51e7d7d07f60726e28cdb48dd5d383c411b",
    "scripts/close_combined_total_return_momentum.py": "3ba0f33c8aa67316f1baa0e278d54533928514ec75511fae555d1a322b3fc6e7",
    "scripts/close_crypto_extended_arm.py": "c221e6df36139ef18841854eddbd124717ae50823ccb5136903818ede8d95592",
    "scripts/close_crypto_extended_arm_v2.py": "d92e7e5121526b5290a620405c3e5f95e9bf68ec4039eecae95548f2a1c4561d",
    "scripts/close_crypto_observed_arm.py": "5f4c3cf610355f505cae065e08c0a17985314b73f6cbfb5caf95ddb56f18c8a7",
    "scripts/close_crypto_retention_arm.py": "95b4f096cb1d13436da13a947bef8279f409c008cbd7061ff790a2fecf2035db",
    "scripts/close_crypto_risk_rank_arm.py": "6178ad6e4e142484ae986e966eb8664f26e9a2c261390ec47bf78754d98f33f6",
    "scripts/close_crypto_terminal_arm.py": "f85a15de9fe13dd1eeb6bb4bb53fc94318f53bb6a4cb84f3f660643900d2d299",
    "scripts/close_crypto_terminal_arm_v2.py": "9df127b1a867f52ddd9627b695e9f3b31d8f7f1404bb541b035c9b76ce8b36bb",
    "scripts/close_earnings_failed_trial.py": "85d4b19d38db9c9cf2be2698ea34289e53b13a8724f6d03b1ab6bcbc760b22a3",
    "scripts/close_group_risk_identity.py": "38e245bb89e6383516c4bb124aa00a2880d805442ae6b027764d52a892dc6a03",
    "scripts/collect_cef.py": "c86f2891e54527bea9740d6562cc24885ac270b32910ae7da199ce93bb3cba71",
    "scripts/collect_multivenue_funding.py": "0724a91f94b85f4958c8530fc4dbd81f11dd2d7581d26e0b667dfd875b0d419e",
    "scripts/continuous_crypto_runner.py": "f25e8256198b4258e9de43ad21b3eb4894974653134127d651aed48604db1b27",
    "scripts/databento_build_continuous.py": "058c0b15e4abd1fc48aa34985939406234d4890bdcd23093b065936cc74780f8",
    "scripts/databento_fetch.py": "c71f03fe37160d1a7276de233e62133a40c5d8e032a9112972082534f8d57920",
    "scripts/derive_cost_charged_live_curves.py": "83a4c887b849aa4e5ca98669bb2e38995dab1eca41566880edfe1320b8203db7",
    "scripts/export_validation_api_vectors.py": "bec8ba2fea90ee2d5a4e1befd347251fe7ab0deb471868efb2c42619d9d5fec3",
    "scripts/freeze_universe_allowlist.py": "469edb8db010e45136263fa0909278b6e03ebe21d3a265d3f0abccd319b160d6",
    "scripts/fx_carry_screen.py": "4b67884540f35bb29214d1ec2d6ece532839b7477d5db20d711d110710a064f2",
    "scripts/glassbox_export.py": "9db647c73392f8f19c3b7b99a2292ae77c53c4d62ed5dfb5c681bb1127e9ca5e",
    "scripts/health_check.py": "8e64dd39a89b9a72834d04b769dd5ebdc80239baa7455aeafa0f5cec37c50ad3",
    "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/run_combined_2022_corrected_max.py": "b8b2f7aa5dd75a44c6f2fe66c28cda9e179a577cab15d35f52096ac9810910b4",
    "scripts/run_combined_2022_diagnostic.py": "b805f6edb11fd8b53cadb21ec854a8aebba1554213d4ac40a993175a0c21314f",
    "scripts/run_combined_2022_eligible_core.py": "e7ad2697b10f70a472b579449b07351f3576696db7b695f6d72f00c96a5d9179",
    "scripts/run_combined_crypto_observed_carry.py": "dd15340a24c03937583113f7a7b5aeea49a8778395fb375d0c6223e7ec8b1470",
    "scripts/run_combined_crypto_retention.py": "9f16df7f18e82a46fa74d7da3e4768720e8d11e05850ac2284cd7571055a53ac",
    "scripts/run_combined_crypto_risk_rank.py": "1b4c322ee48f398a1f13959c337bc1a2b1bac71d53d4c65caf4751f42bedcd8f",
    "scripts/run_combined_extended_reference.py": "8600ffa2c7db055ddadf9b915495b944c2c6f3643784f3e227a2f14514ca843e",
    "scripts/run_combined_session_cooldown.py": "460a9da08c475d4ddf8957534c56bb37e7b574000e09fd146c4613fd9583ba8b",
    "scripts/vps/collect_positioning.py": "2f5f0418ee3de8cb1cc6ab450e158bded23670197c06d38cb37a60e2b8e14538",
    "scripts/vps/collect_venues.py": "54870d67f99fa677486b71eae1e0ca4f6579b29e6b9facba6f37f4bdee523b69",
    "scripts/vps/stale_lock.py": "f40b992005f87b733ea6e71a447219a55d8200585c388ac06e13394cb0195a54"
  },
  "content_hash": "sha256:d5cfb238af60c57e542e08309e2e8277939ad7d09d198b97ff9475b0d7f7d794"
}
