Files
MosaicIQ/claude.md
francy51 56b30dc276 Remove crabrl dependency and fix MSFT DEI fiscal period extraction
Remove crabrl dependency completely:
- Remove crabrl from Cargo.toml dependencies
- Remove crabrl Parser usage from facts.rs and xbrl.rs
- Remove latestXbrlParsed field from SourceStatus across TypeScript and Rust

Improve DEI fiscal period extraction:
- Add fallback logic for missing DEI facts in filings
- Add helper functions to extract fiscal year from period end dates
- Add helper functions to infer fiscal period from filing dates
- Update test fixtures to include proper DEI facts
- Make extraction more robust by using context period information

This fixes the "No eligible annual filings were found for MSFT" error
by making the DEI extraction more tolerant of incomplete metadata.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-12 14:23:22 -04:00

1 line
10 B
Markdown