Repository navigation
feat(research): add source-aware nominal and real rates observer - #78
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope
Four new files only: one standard-library pure rates observation function, synthetic tests and bilingual contract. All 83 existing files remain byte-identical to base2d44bac. No provider fetching, runner registration, default macro changes, dependency changes, runtime pin/adoption or trading action.
Tracks caller-declared 10Y nominal/real/independently reported breakeven records with exact common endpoints, percent-to-bp changes, observation/availability/receipt/revision identity and freshness. Distinguishes approximate nominal-minus-real spread from independently reported breakeven. Rejects cross-role duplicate source+series identities, source/basis mismatches, nonfinite values, ambiguous visible revisions and unavailable endpoint evidence. Future/late records are excluded causally; no forward filling or invented release times.
Always UNVALIDATED_RESEARCH; historical_pit_verified/backtest_eligible/position_control_allowed=false. Declared availability only validates input consistency, not real data rights/PIT or economic effectiveness. True provider ingest, breadth and runtime consumption remain open.
Verification
44 guarded synthetic unittest checks pass, independently rerun by dot with zero external attempts. Root review found a cross-role identity error; new regression reproduced and fixed it. Existing files verified by Git blob identity; compile/whitespace checks pass. Local full suite/normal package import/Ruff/build not run due unavailable dependencies; await exact CI. No dependencies installed and no real provider data fixtures downloaded.