Reject fractional marks in the data file #137
All Vouch review confidence checks passed
Residual risk 0.29 = Change Risk (0.35) × (1 − Review Confidence (0.18)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 172 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 19% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.308
Real PR Conversation Timeline
1 comments
"Review active on #137"
general
weight: 0.35
copilot-pull-request-reviewer[bot]
Fixes #132
A hand-edited participation score or grade such as
5.9or100.9intassist.jsonloads as5or100without any warning, and the next save writes the truncated value back. The UG requires whole numbers, and an invalid file should be protected rather than changed.What changed
JsonUtilturns off Jackson'sACCEPT_FLOAT_AS_INT, so a fractional number in a whole-number field makes the file invalid. The existing invalid-file protection then applies: data-changing commands are rejected and the file is left as it is.JsonTAssistStorageTestcover a fractional participation score and a fractional grade. Both fail without the fix.@arav31, heads-up on grades: this also changes how assignment grades are read. A
gradesuch as87.5in the data file is now rejected instead of being loaded as87. Entering grades throughassignment gradeis unchanged.Notes for reviewers
preferences.json.5.0are also rejected. Accepting them while rejecting5.9would need custom parsing code.