admin
7acd1297bb
feat: Implement separate financial extraction with few-shot examples
- Add processFinancialsOnly() method for focused financial extraction
- Integrate deterministic parser into simpleDocumentProcessor
- Add comprehensive few-shot examples showing PRIMARY vs subsidiary tables
- Enhance prompt with explicit PRIMARY table identification rules
- Fix maxTokens default from 3500 to 16000 to prevent truncation
- Add test script for Stax Holding Company CIM validation
Test Results:
✅ FY-3: 4M revenue, cd /home/jonathan/Coding/cim_summary && git commit -m "feat: Implement separate financial extraction with few-shot examples
- Add processFinancialsOnly() method for focused financial extraction
- Integrate deterministic parser into simpleDocumentProcessor
- Add comprehensive few-shot examples showing PRIMARY vs subsidiary tables
- Enhance prompt with explicit PRIMARY table identification rules
- Fix maxTokens default from 3500 to 16000 to prevent truncation
- Add test script for Stax Holding Company CIM validation
Test Results:
✅ FY-3: $64M revenue, $19M EBITDA (correct)
✅ FY-2: $71M revenue, $24M EBITDA (correct)
✅ FY-1: $71M revenue, $24M EBITDA (correct)
✅ LTM: $76M revenue, $27M EBITDA (correct)
All financial values now correctly extracted from PRIMARY table (millions format)
instead of subsidiary tables (thousands format)."9M EBITDA (correct)
✅ FY-2: 1M revenue, 4M EBITDA (correct)
✅ FY-1: 1M revenue, 4M EBITDA (correct)
✅ LTM: 6M revenue, 7M EBITDA (correct)
All financial values now correctly extracted from PRIMARY table (millions format)
instead of subsidiary tables (thousands format).
2025-11-10 02:17:40 -05:00
..
2025-08-02 15:12:33 -04:00
2025-11-09 21:07:22 -05:00
2025-11-10 02:17:40 -05:00
2025-07-31 16:18:53 -04:00
2025-11-09 21:07:22 -05:00
2025-11-09 21:07:22 -05:00
2025-07-31 16:18:53 -04:00
2025-07-27 13:29:26 -04:00
2025-07-28 19:46:46 -04:00
2025-07-30 22:02:17 -04:00
2025-07-31 09:55:14 -04:00
2025-07-30 22:02:17 -04:00
2025-07-31 09:55:14 -04:00
2025-11-09 21:07:22 -05:00
2025-07-27 20:25:46 -04:00
2025-07-31 16:18:53 -04:00
2025-11-09 21:07:22 -05:00
2025-11-09 21:07:22 -05:00
2025-07-31 09:55:14 -04:00
2025-08-01 17:51:45 -04:00
2025-08-01 17:51:45 -04:00
2025-07-31 09:55:14 -04:00
2025-08-01 14:57:56 -04:00
2025-08-01 17:51:45 -04:00
2025-11-09 21:07:22 -05:00
2025-11-06 20:58:26 -05:00
2025-07-31 16:18:53 -04:00
2025-08-01 17:51:45 -04:00
2025-11-09 21:07:22 -05:00