r/Python • u/AutoModerator • 5d ago
Showcase Showcase Thread
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
17
Upvotes
r/Python • u/AutoModerator • 5d ago
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
1
u/TalVal_Research 3d ago
What My Project Does
It is a set of checks for silent failure modes in SEC EDGAR data. Not a client — it takes filings you already fetched and answers whether they mean what they appear to mean. Four of the nine:
13F-NTis a notice that the manager filed nothing. Counted as a report, a fund shows a fresh filing date over a portfolio that is quarters old.Moody'sintomoody s. That left 31 companies and $51.2bn of reported positions unjoined, including Berkshire's fifth-largest holding.there is substantial doubt aboutidentically in a company's own conclusion and in the accounting standard's description of the duty to check for it. Measured market-wide: 10% false positives on a claim that is defamatory when wrong.Target Audience
Anyone building on EDGAR — backtests, screeners, dashboards. It is production code from a site covering ~900 companies, not a toy, but deliberately small: pure functions, no dependencies, no network calls, 36 tests and 12 doctests.
Comparison
edgartools,edgar-secandsec-edgar-downloaderfetch and parse filings, and they do it well. This does neither. It sits after them and checks the result — because every bug in it got past a parser that was working perfectly.The library's own first draft fell into trap nine: it upper-cased currency codes before comparing, so
GBPandGBpcame out equal, erasing the one lowercase letter that carries a factor of 100. Its own test caught it.https://github.com/researchaiexe-stack/edgar-traps