Skip to content

feat: scope multisource daily assurance by input field - #382

Merged
Pigbibi merged 1 commit into
mainfrom
agent/field-scoped-multisource-assurance
Aug 25, 2026
Merged

feat: scope multisource daily assurance by input field#382
Pigbibi merged 1 commit into
mainfrom
agent/field-scoped-multisource-assurance

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Purpose

Allow a research-input contract to declare exactly which daily price fields and whether volume are required for independent source agreement. The field scope is embedded in the immutable policy digest.

Safety

  • Defaults remain strict and backward-compatible: all OHLC fields plus volume are still compared.
  • A caller must explicitly declare a narrower field set; there is no silent tolerance increase or source fallback.
  • This supports candidates whose downstream P3 consumes only a documented subset of fields, without treating irrelevant vendor rounding as full-input agreement.

Validation

  • uv run --no-sync pytest -q tests/test_multisource_assurance.py (10 passed)
  • uv run --no-sync ruff check src/quant_platform_kit/data/multisource_assurance.py tests/test_multisource_assurance.py (passed)

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi merged commit f30e7b1 into main Aug 25, 2026
1 check passed
@Pigbibi
Pigbibi deleted the agent/field-scoped-multisource-assurance branch August 25, 2026 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant