Point-in-Time Discipline Across SEC Filings, Revisions, and Microstructure
Engineering bitemporal storage schemas, EDGAR acceptance indexing, macro vintage isolation, and corporate-action symbology maps so historical agent evaluation stays strictly free of lookahead leakage.
Lookahead bias is the quietest failure mode in quantitative research. In traditional numerical backtesting, it typically arrives through restated accounting numbers, survivorship-filtered equity universes, or split-adjusted prices lacking corporate-action provenance. When reasoning models read primary documents—10-Ks, 8-Ks, Form 4 insider notices, and central bank statements—temporal hygiene becomes an order of magnitude more subtle.
If an agent evaluating a historical trade in February accidentally retrieves a subsequent April amendment, a revised payroll print, or a later-reassigned ticker symbol, the replay produces illusory insight that collapses on day one of live capital.
1. Bitemporal Time Axes: Event Time vs. Knowledge Time
Every fundamental, textual, and macro record in our store carries two independent timestamps:
- Valid Period (
period_start,period_end): The economic window the fact describes (for instance, Q3 fiscal revenue). - Knowledge Timestamp (
known_at_utc): The exact second the information became publicly observable—such as the SEC EDGARACCEPTANCE-DATETIMEheader or wire release timestamp.
Replay sandboxes never filter on fiscal period end. Every query issued by a scout or
verifier agent is rewritten at the storage proxy to enforce
known_at_utc <= simulation_clock_utc.
SELECT
entity_cik,
section_code,
accession_number,
known_at_utc,
section_text
FROM sec_filing_sections
WHERE entity_cik = :cik
AND section_code IN ('10K_ITEM_1A', '10K_ITEM_7', '10Q_ITEM_2')
AND known_at_utc <= :decision_clock_utc
AND (superseded_at_utc IS NULL OR superseded_at_utc > :decision_clock_utc)
ORDER BY known_at_utc DESC
LIMIT 1;
2. Restatements & Macroeconomic Vintages
Corporations routinely restate prior-year comparatives inside newer filings, and statistical agencies revise GDP, PCE, and non-farm payroll releases for months after the initial headline. Overwriting the older number erases the exact uncertainty that drove asset prices on release day.
Our ingestion pipeline is strictly append-only. Whenever a revision arrives, the prior
vintage is closed by setting superseded_at_utc to the new release timestamp
rather than mutating the original row. An agent replaying an FOMC week sees only the
preliminary data vintage market participants actually traded against.
3. Section-Level Provenance & Deterministic Parsing
Feeding raw 200-page HTML filings directly into reasoning context windows wastes tokens, degrades recall, and makes citations brittle. Instead, our parser segments every filing at ingestion time into canonical sections—Item 1A Risk Factors, Item 7 MD&A, as-reported financial tables, and Form 4 / 144 transaction blocks—tagging each span with its exact accession ID and byte offset.
4. Symbology, Mergers, and Delistings
Ticker strings are mutable labels, not permanent primary keys. Companies merge, change
tickers, spin off divisions, and delist. Every equity time series and filing table in our
database joins through a permanent internal entity identifier mapped to historical ticker
intervals [effective_from, effective_to). Delisted issuers remain first-class
members of historical scouting universes so agents learn from distressed and acquired
names rather than only today's survivors.
5. Guarding Against Parametric Leakage in Pretrained Weights
One final nuance unique to modern AI funds: foundation models trained on historical web corpora already contain memories of major past market outcomes. Even with clean data pipes, an LLM replaying 2022 or 2024 may suffer from parametric hindsight. We mitigate this by evaluating structural hypotheses on anonymized/relabeled ticker contexts during research validation, and by emphasizing live forward paper-testing alongside human PM review before new agent modules receive capital.