{
  "design": {
    "study": "Does CFTC positioning improve energy-market models?",
    "designed_on": "2026-11-01",
    "markets": [
      "WTI",
      "Gasoline",
      "ULSD"
    ],
    "training_starts": "2014-01-01",
    "evaluation_starts": "2018-01-01",
    "last_decision_date": "2024-04-05",
    "primary_report": "disaggregated_futures",
    "timing": {
      "cftc": "Information becomes eligible eight calendar days after position date; Wednesday decisions; affected report dates 2018-12-24 through 2019-03-05 and 2023-01-31 through 2023-03-21 excluded; maximum position age 21 days. This is a conservative availability convention, not reconstructed release timestamps.",
      "prices": "Use observations dated strictly before the decision date; forward outcomes start on the next observed price date after the decision, at most four calendar days later.",
      "inventories": "Use official EIA archive release dates, strictly before the decision date; revised historical values remain a limitation.",
      "training": "Quarterly expanding refits. Every training outcome must have ended before the quarter begins. Minimum 156 mature observations. Feature clipping and scaling fit on training data only."
    },
    "hypotheses": {
      "H1": "Incremental prediction of one-, four- and eight-week spot-reference log price changes.",
      "H2": "Incremental prediction of four-week annualized realized volatility and a fall of at least 10% below the starting price within four weeks; CFTC block includes positioning/fundamental interactions.",
      "H3": "Does adding momentum-by-positioning interactions improve four-week predictions beyond the baseline plus CFTC main effects? Also describe future returns by prior momentum and trailing positioning quintile regimes.",
      "H4": "Four-week changes in two physical crack references and three published first-minus-second futures price differentials. These are price references, not executable spread P&L.",
      "H5": "Conditional prediction of whole-release-day price changes using a past-data inventory-forecast error proxy and positioning interactions. No analyst consensus or intraday prices are available; this is a partial test of the announcement-response idea."
    },
    "estimators": {
      "regression": "Ridge alpha=100",
      "classification": "Logistic regression C=0.1, no class reweighting",
      "inventory_expectation_proxy": "Ridge alpha=10; quarterly past-only refits; minimum 104 mature observations"
    },
    "features": "Momentum, past volatility, nearby curve slope, seasonal inventory deviation, latest stock change, calendar seasonality; add managed-money net/gross shares, changes, trailing percentile, producer and swap-dealer net shares.",
    "regimes": {
      "short": "Trailing net-share percentile <=20",
      "neutral": "20<percentile<80",
      "long": "percentile >=80"
    },
    "uncertainty": "1000 paired moving-block bootstrap samples, blocks of 12 sequential weekly observations, seed 20261101; two-sided centered-bootstrap p values; Benjamini-Hochberg correction across all primary forecast comparisons.",
    "sensitivity": "Four-week H1 repeated with ridge alpha 10 and 1000, and separately with the disaggregated combined report; no selection among sensitivities.",
    "negative_prices": "Log price features and realized log-return volatility require positive quotes. No invalid log value is filled or clipped into a valid price. Report dropped observations.",
    "scope": "Historical revised-data research, not a real-time vintage reconstruction or a trading-strategy backtest. All planned primary results, including failures, will be published."
  },
  "input_sha256": {
    "data/cftc/curated/disaggregated_futures.parquet": "ba8711ff21b6e82aa4baf48889b97b0e084e766babb4afc3f39d1eaa1b3fce53",
    "data/cftc/curated/disaggregated_combined.parquet": "1719fe47b251a665eb40f1dddf4e0c1b3ecfea292b175596211bc48f8693a778",
    "data/eia/petroleum/data/petroleum__pri__spt__daily.csv": "4d668a931c4aa63f6d221e46da824b28263ddb3e2cef40eac232ab28d7d880f2",
    "data/eia/petroleum/data/petroleum__pri__fut__daily.csv": "d73ae5e029733c68a73a74558e99718658885989f3a5be535cc5c4bfe9228b0a",
    "dashboard/data/eia_weekly_model.csv": "0a584c3245ad81497d85c38cf8eab0117a4174f447351452a30c94447b3ea856",
    "cftc_research/source/eia_archive.html": "dfcc56fe4adc74acc041b5884ccc1ef9ffadd1500beba4eec6860e1b6b5fe058",
    "cftc_research/analysis_plan.json": "f05b09c190869e93653dd1e8c95eeefdf1711ea8de8f753a2269954d6f0513e0",
    "cftc_research/study.py": "478b9ff83112d1ab7808199be7a549004ccb93a443636463ee8afbe3d9c7eb38",
    "cftc_research/source/cftc_announcements.html": "0ba1804cdf4df95e17e3d0f1b695a8edf6a0ad313255a3f3c1963d9680b5367e"
  },
  "primary_comparisons": 26,
  "supported_improvements": 0,
  "negative_quote_counts": {
    "WTI": 1,
    "Gasoline": 0,
    "ULSD": 0
  },
  "curve_last_date": "2024-04-05",
  "eia_calendar_rows": 794,
  "decision_rows": {
    "WTI": 519,
    "Gasoline": 519,
    "ULSD": 519
  },
  "software_versions": {
    "python": "3.13.9",
    "numpy": "2.3.5",
    "pandas": "2.3.3",
    "scikit_learn": "1.7.2",
    "statsmodels": "0.14.5"
  },
  "validation": {
    "all_35_comparisons_reproduced_from_saved_panels": true,
    "forecast_records_audited": 10550,
    "future_training_outcomes": 0,
    "design_tests_passed": 5
  }
}
