[BUG] Cash flow statement items appearing as unmapped #25
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Many cash flow statement line items are appearing in the unmapped section rather than being properly categorized under Operating, Investing, or Financing activities.
Current Template Coverage
From
lib/server/financials/standard-template.ts:1030-1471, the cash flow template includes:Operating Activities (category: 'operating')
Investing Activities (category: 'investing')
Financing Activities (category: 'financing')
Calculated (category: 'free_cash_flow')
Problem
Despite comprehensive template definitions, many cash flow items may be unmapped because:
Common Unmapped Concepts to Investigate
NetCashProvidedByUsedInOperatingActivitiesDiscontinuedOperationsCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsProposed Fix
Files Affected
lib/server/financials/standard-template.tslib/server/financials/surface.tsUpdate: Root Cause Analysis
The Rust sidecar IS being used. Cash flow definitions ARE in
rust/taxonomy/fiscal/v1/core.surface.json(lines 883-1527).Current Coverage:
The cash flow section in
core.surface.jsonincludes comprehensive definitions:Operating Activities (category: "operating"):
Investing Activities (category: "investing"):
Financing Activities (category: "financing"):
Free Cash Flow (category: "free_cash_flow"):
Why Items May Be Unmapped:
Common Unmapped Concepts to Add:
Based on SEC filing patterns, these concepts should be added to
allowed_source_concepts:Fix Required:
allowed_source_conceptsarrays incore.surface.jsonfor cash flow itemsFiles to Update:
rust/taxonomy/fiscal/v1/core.surface.json- Add missing conceptsrust/fiscal-xbrl-core/src/surface_mapper.rs- Consider pattern matching