desloppify icon indicating copy to clipboard operation
desloppify copied to clipboard

CLI still threatens target-match score resets although integrity policy is disabled

Open afiler-sp opened this issue 1 month ago • 0 comments

The review importer and next still warn that multiple subjective dimensions near target_strict_score indicate gaming, and the importer says the next scan will reset them to 0.0. However, engine/_scoring/state_integration_subjective.py::_apply_subjective_integrity_policy explicitly disables that policy because blind reviews cannot see the target. Its result is unchanged assessments with status: disabled and no reset dimensions.

Generic reproduction on source baseline 3a7735d:

from desloppify.engine._scoring.state_integration_subjective import _apply_subjective_integrity_policy
sample = {name: {"score": 90.0} for name in ("a", "b", "c")}
assessments, metadata = _apply_subjective_integrity_policy(sample, target=90)
assert assessments == sample
assert metadata["status"] == "disabled"
assert metadata["reset_dimensions"] == []

With a configured target of 90 and a trusted review --run-batches --runner codex --parallel --no-retrospective import that happens to return several 90s, app/commands/review/importing/output.py::print_review_import_scores_and_integrity nevertheless prints the reset threat; app/commands/scan/reporting/subjective.py::_at_target_integrity_notice_lines repeats the gaming warning in the execution queue.

Expected: reporting should reflect the effective integrity policy and should not instruct redundant review reruns or threaten a reset that the scorer no longer performs. This is a reporting inconsistency; no score adjustment is requested. Please align the reporters with the intended current policy.

afiler-sp avatar Oct 31 '26 03:10 afiler-sp