Skip to content

Blocker: high-severity data correctness fixes before first model #48

Description

@gabrool

Blocker before first model training.

Please fix the five high-severity audit items as stacked PRs:

  1. Correct B3 DI curve math: DI1 settlement must be treated as PU/discounted notional and converted to 252-business-day annual effective rates/discount factors before interpolation.
  2. Make FRED point-in-time safe: use realtime/vintage handling for revised series or exclude them from model-usable outputs.
  3. Correct Tesouro Direto sales/redemptions availability: sales must use the official two-business-day lag; redemptions must be verified and conservatively lagged if timing is not documented.
  4. Add cross-source revision/first-seen policy: revision-prone datasets must expose vintage/first-seen/availability-basis fields and cannot silently use current-snapshot revised values in historical as-of panels.
  5. Expand BCB SGS coverage beyond Selic/IPCA to broad rates, activity, credit, fiscal/debt, external, reserves, and monetary/liquidity series with documented availability timing.

A detailed implementation plan will follow in comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions