Skip to content

Step 2 - Seed import

Choose a tag to compare

@SergeyGer SergeyGer released this 21 Nov 17:29
· 8 commits to main since this release
b654eeb

Step 2 - Seed import

Local seed-file import with normalized analysis tables and a specification-aligned synthetic demo.

Delivered

  • Five seed adapters: OpenIntro S&P 500, FRED SP500, Cboe VIX, Kenneth French 12 industry
    portfolios (daily value-weighted block) and optional OFR FSI.
  • Raw hash registry, per-source parser reports and deterministic normalized tables:
    sp500_daily, industries_daily, tda_daily.
  • CLI: topomarket import --input-dir/--input-zip, topomarket report, extended
    status/validate; demo/synthetic commands emit the same normalized schema from synthetic
    data (seed 42) with latest_data_date in the manifest.
  • Public tests use synthetic fixtures only; the private seed archive stays outside the repository.

Acceptance A2 evidence

Check Result
sp500_daily rows 19,343
tda_daily rows 9,250
2020-03-16 close 2,386.13, VIX 82.69, NoDur -0.0896
2018-11-29 discrepancy and 96 blank FRED cells confirmed by the private acceptance test
Re-import of identical bytes identical normalized table hashes
Private data tracked in git none

Fixes

  • French weighting-section detection corrected (the archive preamble had been read as a section
    marker, leaving value-weighted returns empty).
  • CLI wired to the spec-aligned demo generator and latest-date reporting.

Public test suite: 181 passed / 6 skipped; private acceptance: 5 passed; CI, security and CodeQL
green; main protected (PR + required checks + linear history). Next: Step 3 - update and recovery
paths (issue #4).