Fix #364: [milestone Milestone 6 ] Add examples/divergence_demo.py: load two pre-recorded dumps, invoke `replay_d... - #369
Open
telleroutlook wants to merge 1 commit into
Open
Fix #364: [milestone Milestone 6 ] Add examples/divergence_demo.py: load two pre-recorded dumps, invoke `replay_d...#369telleroutlook wants to merge 1 commit into
examples/divergence_demo.py: load two pre-recorded dumps, invoke `replay_d...#369telleroutlook wants to merge 1 commit into
Conversation
… load two pre-recorded dumps, invoke `replay_d...
Contributor
Author
SummaryInternally consistent diff: replay_diff correctly loads two dumps, rank-aligns action streams, and reports the first divergence; tests verify the asserted outputs and the restricted-unpickler round-trip. No blockers. Severitylow Blocking findings
Verdict✅ Approved Merge risklow Audit
{
"approved": true,
"severity": "low",
"summary": "Internally consistent diff: replay_diff correctly loads two dumps, rank-aligns action streams, and reports the first divergence; tests verify the asserted outputs and the restricted-unpickler round-trip. No blockers.",
"findings": [
{
"file": "train_replay/replay/replayer.py",
"line": 158,
"issue": "replay_diff uses no instance state — every helper it calls (_load_bundle, _group_actions_by_rank, _first_divergence) is a @staticmethod, so the graph passed to EpochReplayer is unused for this operation. Could be a staticmethod or standalone function; current shape works but couples the API to an instance needlessly.",
"kind": "suggestion"
},
{
"file": "train_replay/replay/replayer.py",
"line": 233,
"issue": "The length-mismatch branch (_first_divergence at the `len(baseline) != len(candidate)` check, which triggers _missing_record sentinel records) is not exercised by any test — tests only cover value divergence and byte-identical dumps, leaving the missing-record path unverified.",
"kind": "suggestion"
}
],
"merge_risk": "low",
"Model": "opus",
"model": "claude-cli",
"effort": "high",
"tokens": {
"input_tokens": 0,
"output_tokens": 0
},
"same_verdict_count": 1
} |
Contributor
Author
|
Merge gate failed: |
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.
Fixes #364
Generated by claude-bot-go worker.