Company Lens: from SEC filings to source-backed research

Historical performance, risk and filing changes, with scope-checked AI Q&A — built on auditable disclosure ranking.

COMPANY LENS / LIVE WORKSPACE

Start with the company. Follow the evidence.

The live workspace combines company snapshots, historical returns and drawdowns, filing changes, and cited AI Q&A. Choose core financials, company news, market context or all evidence; citations and numbers must pass checks for that scope.

Below is a historical evaluation from the committed evidence package. 19.8% is the mean share of material filings among the top five, not the probability of finding at least one per day. AP is 0.155 for open-anchored labels versus 0.397 for close-anchored labels; these answer different questions.

Leakage audit · real SEC data

An AUC of 0.841, and part of it was bugs

The real sample has a median of nine filings per session and an assumed reading budget of five. Ranking targets disclosure-related reaction magnitude, including movement before the open; it does not measure a trading opportunity.

Why not direction

Direction is a bet against desks with faster data, better models and more capital, and losing it quietly is the normal outcome. Which disclosures deserve a human read is answerable.

ROC AUC · naive pipeline

0.841

written the obvious way

ROC AUC · after its own audit

0.764

four bugs removed · 95% CI 0.745–0.781

real 8-K filings

11,716

193 issuers · 2022–2026

tests · leakage audit in CI

673

a leak fails the build

Audit the invariants as well as the score

An AUC of 0.84 on public disclosures would be a remarkable finding. A large part of it came from four separate defects, and not one of them announced itself — because the failure mode of leakage is not a crash. It is a result you are pleased with.

still leakingaudited clean
Naive pipeline
0.597
+ purged, embargoed CV
0.590
+ trailing windows shifted
0.439
+ point-in-time universe
0.439
+ point-in-time entry
0.397

Average precision. Each bar removes exactly one privilege the pipeline should never have had.

StageAvg precisionROC AUCGuards failing
Naive pipeline0.5970.8411
+ purged, embargoed CV0.5900.8381
+ trailing windows shifted0.4390.7821
+ point-in-time universe0.4390.7821
+ point-in-time entry0.3970.7640

The universe row does not move at all — 0.438913 before and after, to six decimals. That is the survivor sample confessing: when every issuer in the file still exists, a point-in-time membership filter has nothing to remove. The pipeline reports its own blind spot instead of hiding it.

The entry row barely moves the score (0.439 → 0.397), while entries priced before the filing existed fall from 11,224 to zero. Correcting the entry also changes the window the outcome is measured over, so that stage's score change says little — its real result is the invariant that goes to zero.

The bug no metric catches

EDGAR gives you three timestamps and only one of them is a knowledge time. Use the filing date instead of the acceptance timestamp and the score barely twitches — while the pipeline buys at an opening print that had already happened.

day 1 sessionday 209:3016:0020:0009:308-K accepted, 20:00after the close — 4 in 5 filings land outside market hoursnaive: enter at the filing date's open10.5 hours before the filing existedpoint-in-time: the first open after acceptance
The red arrow points backwards in time. That is the whole bug.

entries priced before the filing was public

95.8%

11,224 of 11,716, under the naive rule

median hindsight granted

10.6 h

between the opening print and the filing

after point-in-time entry

0

an invariant the test suite pins

There is a second trap inside the right field. EDGAR serves acceptance times as 2024-10-31T18:03:31.000Z — but the clock is the SEC's, which runs on America/New_York. Parsing that Z as UTC shifts every filing five hours earlier and silently reclassifies the after-hours population as intraday.

How the reaction is measured

A standard market-model event study, with one deliberate gap in it.

estimation window · 120 sessionsgap · 20event · 2entry sessionNot to scale — a two-session event window drawn against 120 would be nine pixels wide.Without the gap, pre-announcement drift contaminates the baseline and shrinks the abnormality being measured.

The reaction is |CAR| / residual sd — expressed in standard deviations of that issuer's own noise, so a sleepy utility and a biotech land on the same scale. A filing is worth reading if that reaches 2 standard deviations — a fixed threshold, never re-estimated inside a fold; the base rate among scored filings is 12.7%.

Features, and one leakage decision inside them

What kind of news

8-K item codes — assigned by the registrant, available the instant the filing lands.

When it landed

Pre-market, intraday, after the close, or a non-trading day. Release timing is a choice the issuer makes.

How unusual

Cosine distance from the issuer's own previous filings. Boilerplate scores near zero.

Issuer state

Trailing volatility, relative volume and filing cadence — all ending the session before entry.

Novelty uses a stateless HashingVectorizer, not TF-IDF — and that is a leakage decision, not a performance one. TF-IDF has to be fitted, and a vectorizer fitted over the whole corpus carries document frequencies computed from filings that had not been written yet.

What the audited model is worth

better than reading five at random

1.70×

19.8% hit rate in the top five vs 11.6% at random

filings per session, median

9

766 sessions crowded enough to rank

filings scored out of sample

9,721

purged walk-forward, 5 folds

A perfect ranking would hit 28.3%, so the model captures roughly half the distance from random to that ceiling; average precision is 0.397 (95% CI 0.365–0.430, session-clustered bootstrap). Useful. Not a trading strategy, and not claimed as one. The gap between those two sentences is most of what this project is about.

Where the other filings went

11,716 were ingested and 9,721 were scored. The difference is itemised rather than left as arithmetic for the reader, because an unexplained drop is indistinguishable from a bug — and a test asserts the ledger balances.

OutcomeFilings
Scored out of sample9,721
Held out by walk-forward as training-only1,944
Entry session had no price bar33
Event window ran past the end of the price data11
Missing price bars inside the event window7

The large line is the honest cost of the split: walk-forward tests folds 1…n, so the earliest block is only ever training data. Shuffled K-fold scores all 11,672 — by training on the future to do it.

What this does not claim

No return prediction. Disclosure ranking does not predict direction or issue buy/sell advice. Company Lens shows historical returns and risk as descriptive context, not strategy performance.

Survivorship is not controlled on the real-data path. The universe is 200 hand-picked large caps that still exist — which is why the point-in-time row above does not move. That leak is measured on the synthetic corpus instead, where membership is generated with issuers that join and leave. The universe file records the limitation in a sidecar, the ingest carries it into the run's provenance, and the report states it in a banner.

Daily bars only. The entry rule — first open at or after the decision time — is the most conservative convention available at that resolution.

All figures from a real EDGAR pull: 11,716 8-K filings, 193 issuers, 2022–2026, prices from yfinance. Source, methodology and the leakage write-up on GitHub.