You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/reviewMulti-persona code review engine, verification, and findingstype/bugType bug: the code does not do what it must
During review execution, session completion crashed when generating ReviewProfile:
ValidationError: 1 validation error for ReviewProfile
verdict_distributions.citation_rates.unknown
Input should be a valid integer, got a number with a fractional part [type=int_from_float, input_value=0.61, input_type=float]
Root Cause
compute_verdict_distributions populates citation_rates: dict[str, float]. ReviewProfile.verdict_distributions in src/devops_cli/ai/review/profile.py is typed as dict[str, dict[str, int]]. Pydantic v2 rejects float values when int is specified.
Remediation
Update ReviewProfile.verdict_distributions and ReviewProfiler annotations to dict[str, dict[str, int | float]].
Add regression tests with citation_rates in ReviewProfile serialization.
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/reviewMulti-persona code review engine, verification, and findingstype/bugType bug: the code does not do what it must
Activity
fix(review): permit float citation rates in ReviewProfile verdict_dis…
dan-petty commentedon Sep 27, 2026
Closed by #641, merged into
release/v0.2.23.GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by
devops gh issues close-merged.