Repository navigation
Roadmap and Releases
SergeyGer edited this page Nov 23, 2026
·
7 revisions
TopoMarket is delivered in eight numbered steps, each with acceptance checks from the technical
specification. A step is complete when its acceptance checks are demonstrated in CI and/or a
documented private run, the change is merged through a protected main, and a release is tagged.
| Step | Deliverables | Acceptance | Issue | Release |
|---|---|---|---|---|
| 1 | Package/CLI/Streamlit shell, demo + private profiles, deterministic synthetic fixtures, snapshot manifests, CI/security/branch protection | A1 | closed |
v0.1.0 Step 1 - Runnable scaffold |
| 2 | Seed adapters (OpenIntro, FRED, Cboe, French, OFR), raw hash registry, parser reports, normalized tables, spec-aligned demo schema | A2 | #3 (closed) |
v0.2.0 Step 2 - Seed import |
| 3 | HTTPS refresh, conditional GET, staging/validation, atomic snapshot publication, revisions and last-good recovery | A3 | #4 (closed) |
v0.3.0 Step 3 - Update and recovery |
| 4 | Causal windows, delay embeddings, Rips H0/H1, anomaly score, warm-up, frozen configuration registry | A4 | #5 (closed) |
v0.4.0 Step 4 - Persistent homology and anomaly score |
| 5 | Industry 60x12 cloud and Mapper graph with stable layout and inspection | A5 | #6 (closed) |
v0.5.0 Step 5 - Industry explorer |
| 6 | Labels, event matching, alert policy, comparator selection, bootstrap uncertainty, private ledger | A6 | #7 (closed) |
v0.6.0 Step 6 - Chronological evaluation and warning evidence |
| 7 | Four-screen interactive dashboard, global selection, keyboard/mobile/accessibility | A7 | #8 (closed) |
v0.7.0 Step 7 - Interactive research dashboard |
| 8 | Release rehearsal: release checks, clean installs, showcase walkthrough, notices and dependency lock | A8 | #9 (closed) |
v0.8.0 Step 8 - Package and rehearse the public release |
Supporting work: license and data-notice confirmation (#10), CI/security bootstrap (#2 closed), dependency updates via Dependabot.
- Offline
topomarket release-check: version consistency, repository hygiene, packaged resources, canonical/packaged config parity, pinned dependency lock, committed showcase hashes, deterministic synthetic fixtures and public-mode smoke commands - all PASS. - sdist + wheel built and
twine checkPASSED; installed-wheel smoke in a clean venv passes for--version,demo,synthetic,validate,statusandrelease-check; no private inputs in the wheel. - Release workflow retains
dist/*,test-report.xmlandrelease-check-report.json; the public suite reports 531 passed / 21 skipped and the opt-in private acceptance 20 passed (A2-A8). - Synthetic
showcase/fixture (5,673 sessions) supports replay and alert inspection without a key; walkthrough and release runbooks are documented.
- Four screens over one persistent selection: Overview, Topology, Validation, Data.
- Replay safety: March 2020 blind -> reveal -> blind keeps score/cutoff identical; reveal adds only the 20-session outcome layer; hide removes it.
- Keyboard equivalents for session/member/reveal/blind; labelled inputs, table alternatives, shape+text alert marks, reduced-motion support, contrast-checked tokens, 2D default/3D optional.
- Performance: cached date-change p95 0.054 ms over 100 changes (limit 500 ms) and cached demo startup 17.6 ms (limit 5 s), with environment/build recorded.
- Public suite 519 passed; private acceptance 19 passed (A2-A7).
- Labels/episodes: 10% / 20-session target with inclusive boundary, day-20 vs day-21 semantics, pending labels, chained episodes, early/post-onset/duplicate/false/missed classification.
- Alert policy: TDA/VIX/20-session realized volatility on shared dates, 20-session cooldown, 2005-2013 percentile calibration with the documented preference rules and frozen policy hashes.
- Out-of-sample 2014+ report: metrics with explicit undefined handling, purge/censoring, matched/missed/false examples, snapshot-id provenance on every table.
- Paired moving-block bootstrap (60-session blocks, 1,000 replicates, shared draws), return-shuffled and unscaled-topology ablations, evidence wording rules, append-only private ledger.
- Real snapshot: 28 episodes, 9 evaluable held-out episodes, TDA recall 1/9, 1.03 false alerts/year,
AP 0.1625, median lead 10 sessions; wording
Experimental market anomaly(documented limitation). - Public tests 443 passed; private acceptance 15 passed (A2-A6).
- Industry cloud: 60 sessions x 12 industries, robust per-industry scaling, complete Rips H0/H1 and deterministic PCA projection with explained variance and axis labels.
- Mapper: correlation distance
sqrt(2*(1-rho)), annualized volatility lens, three inclusive overlapping intervals (width = lens range / 2.2,stride = 0.6 * width), threshold-1.0 components with singletons, duplicate merge, shared-member edges, deterministic circular layout, measurements and tooltips; singleton correlations report"Not applicable". - Verified on the real snapshot: 60 dates/12 members, every edge has a non-empty intersection,
repeated runs identical (dates/memberships/positions), deterministic JSON and
--outbytes. - Public tests 401 passed; private acceptance 13 passed (A2+A3+A4+A5).
- Frozen topology configuration registry with verified hash and explicit exploratory custom configs.
- Robust median/MAD scaling, causal delay embedding (56 points for 60 returns), complete
Vietoris-Rips H0/H1 persistence via
ripser,L = largest finite H1 lifetime. - Causal score:
Ddeviation against the previous 252 validL, midrank against the previous 252 validD, warm-up/gap states based on consecutive finite returns (no interpolation, no calendar inference), deterministic cache identity and collision-safe CSV export. - Real private snapshot: 9,250 rows, 59 unavailable, 504 warming up, 8,687 scored (first 1992-03-25, latest 2026-09-30 score 54.1667); reproducibility and causality verified.
- CLI
topomarket topologywith--config/--out/--json; public offline tests 344 passed.
- Refresh runs over the four fixed HTTPS providers (FRED, Cboe, Kenneth French, OFR); conditional GET returns 304 and preserves the active snapshot.
- Atomic snapshot publication with single-writer lock; a failed required source keeps the last good snapshot readable and records the failure per source.
- Shorter FRED exports keep older price history;
tda_dailystays at 9,250 rows; revisions are recorded for changed overlapping observations. - Offline public tests cover 304/retries/revisions/broken archives/concurrency/recovery; opt-in private acceptance adds three A3 checks (8/8 total).
- Live refresh evidence: all four providers HTTP 200; second refresh all 304 without publication;
validatepasses on the active snapshot.
- Changes land on a branch and open a pull request against
main. - Required checks must be green:
tests (py3.11),tests (py3.12),dependency audit,analyze (python). - The PR is squash-merged (linear history); the branch is deleted automatically.
- A release is created with notes that summarize the delivered step and its acceptance evidence.
- Milestones are closed as their steps complete.
No release dates or schedules are published in the repository, issues or releases - releases are identified by step number and semantic version only.
- A1: clean checkout starts the synthetic demo offline; profile/source labels are visible; no private data or secrets are tracked.
- A2: 19,343 price rows, 9,250 complete study rows, the 2018-11-29 source discrepancy and 96 blank FRED cells, 2020-03-16 golden values and byte-identical re-import.
- A3+: defined in the corresponding issue and demonstrated by tests/documented runs.