SPB Git

spb/wp29_uqo

Public
3.0 KB

# Task card — T1-forecast

  • Family / split: transfer mini-project T1 (forecasting) / transfer
  • Question: real-time rolling-origin forecasts of US retail-sales year-over-year growth (RSAFS) at h = 1 and 3 months from ten ALFRED vintages (2025-10-31 … 2026-07-31), with PAYEMS vintages and UMCSENT as candidate predictors; naive, seasonal-naive and AR(1) baselines plus the executor's own model; errors against first-release actuals; Diebold–Mariano test (HAC) vs naive; revision measure; figure; short paper.
  • Data type: observed (FRED/ALFRED, retrieved 2026-10-30 UTC; 10 + 10 vintage files, 2 current files, a first-release table). Bundle ≈ 0.3 MB.
  • Scope / prerequisites: vintage handling, growth transformations, OLS/AR(1), direct or iterated multi-step forecasting, Newey–West long-run variance, matplotlib.
  • Allowed information: at origin V only the RSAFS and PAYEMS vintages dated V and UMCSENT months ≤ month of V; RSAFS_current.csv only for the revision measure; actuals from first_release.csv.
  • Expected artifacts: forecasts.csv (80 rows), results.json (41 keys), table1.csv, figure1.png, report.md (6 sections), analysis.py, claims.json.
  • Rubric summary: required criteria — naive and seasonal-naive errors exact (2e-3), AR(1) errors within 0.03 of the real-time reference, revision measure exact, forecasts.csv chronology and baseline rows (per-row), model errors and relative improvements consistent with forecasts.csv, DM statistic/p-value consistent with a recomputation under the stated convention, conclusion codes consistent, table/figure present. Critical checks — leakage (naive from current vintage; AR(1) from final vintage; perfect foresight / red-flag bound; target not after vintage), fabrication (row count, actual column, n_input_rows), false completion (feasibility), unreported substitution (origins).
  • Oracle provenance: independent_code (~/wp29-oracles/T1-forecast/build.py, leak-free and leaky implementations); validation set with a correct solution (own direct-projection model; honest negative result), a leaky solution (final vintage everywhere) and a fabricated solution — all verdicts as expected.
  • Difficulty rationale: end-to-end project; three vintages have irregular coverage, every last-month value was revised, so any shortcut through the current file is detectable; the DM test on ten origins forces a limited conclusion.
  • Budget class: transfer mini-project (12.00 USD cap, 60 min wall, 150 turns per session).
  • Anticipated failure modes: using the current vintage or the calendar ("month before the vintage") instead of the vintage content; evaluating against current rather than first-release actuals; using UMCSENT or PAYEMS values beyond the availability rule; misaligned predictors in the own model; adding the HLN factor to dm_stat; conclusion code from the sign alone; missing table1.csv/figure.
  • Contamination risk: low (fresh 2025–2026 vintages; no published analysis of this design).
Files · 452964ee0fbbaa40fbbed2c87a54ca798ffd6a85
Menu

Theme