Skip to content

Keep ordinal fit labels consistent with their probabilities - #44

Merged
sarthakagrawal927 merged 3 commits into
mainfrom
agent/meme-lab-compact-ranking-20261005
Oct 5, 2026
Merged

sarthakagrawal927 merged 3 commits into
mainfrom
agent/meme-lab-compact-ranking-20261005

Conversation

@sarthakagrawal927

Copy link
Copy Markdown
Member

Live perspective ranking returned an 88/100 fit score with a weak label, incorrectly making the entire response low-confidence. The managed adapter trusted a generated label index that contradicted the returned probabilities. Derive the label from the maximum validated probability, retain the first label on exact ties (the lower ordinal fit), and preserve score normalization, malformed-index rejection and existing retry limits.

This corrects both falsely low and falsely high labels. It adds no model calls, changes no confidence threshold, and keeps genuinely weak public results low-confidence. Compact and earlier object-shaped ordinal answers follow the same rule. The separate serious-input categorical decision and generic perspective contract are preserved.

Validation: 62 focused tests pass, including the exact 88/100 contradiction, conservative ties, opposite-direction false confidence and the real public Worker response. The preceding full 222-test suite and quality/build gates passed; final exact-source CI is required before release, followed by unchanged strict production qualification. Refs #30 and sass-maker/free-ai#95.

@sarthakagrawal927
sarthakagrawal927 merged commit 50e96dd into main Oct 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant