Fix authenticated evaluator artifact JSON readback (#424) - #425
Merged
Merged
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe change normalizes authenticated evaluator artifacts through canonical JSON readback, adds a persistence and receipt-validation regression test, and updates pinned search policy snapshot identifiers in the BTC and SOL Polymarket mission examples. ChangesAuthenticated artifact digest stability
Mission snapshot updates
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Change contract
Normalize an authenticated evaluator artifact through the same canonical JSON typed representation used by durable readback before sealing its digest, so a valid artifact remains valid after content-addressed persistence.
Closes #424.
Out of scope
Metric formula changes, explicit metric rounding, repository-wide canonical JSON changes, the #325 three-event fixture, collectors, runtime/deployment, CEX, alpha-harness, and hft-search-kernel.
Dependency / merge order
Base:
mainat9d502944eede58508251b31714e58a8c78b10f55.Merge this PR before rebasing/resuming #325. The original #325 three-task E2E is the dependent post-merge acceptance check.
Focused validation
cargo test --locked -p ploy-research --features db evaluator_artifact_digest_survives_canonical_json_readback -- --nocapturefailed withheld-out evaluator artifact digest mismatch.cargo test --locked -p ploy-research --features db --lib: 357 passed, 1 database-dependent test ignored.rustfmt --edition 2021 --check crates/ploy-research/src/prediction_mcts_authenticated.rs: passed.git diff --check: passed.cargo clippy --locked -p ploy-research --features db --lib --no-deps -- -D warnings -A clippy::type_complexity: passed. The exact allow covers two unchanged pre-existing lib findings; unscoped--all-targetsremains blocked by unrelated existing warnings in examples and binaries.9d502944...4443c565: Standards 0 findings; Spec 0 findings.A PRD is unnecessary because #424 is a small, already-specified defect with one trust-boundary behavior and one deterministic regression test.
Rollout / rollback impact
Research artifact identity only. New artifacts receive the synchronized policy identity
sha256:76d4afe04854587a2883f06cdcf8a67563853f320630eafb700ef794b5ef9c33; existing mission inputs with the prior policy ID fail closed. Rollback is the single commit and its mechanical BTC/SOL policy digest sync. No live collector or execution state changes.Summary by CodeRabbit
Bug Fixes
Configuration