feat: add turn-indicator false-positive (spurious-transition) rate metric - #418
Draft
MasatoSaeki wants to merge 1 commit into
Draft
feat: add turn-indicator false-positive (spurious-transition) rate metric#418MasatoSaeki wants to merge 1 commit into
MasatoSaeki wants to merge 1 commit into
Conversation
…tric Mirrors the existing turn_indicator_transition_accuracy metric (which asks "when GT changes, does the model follow?") with its complement: "when GT holds steady, does the model flip anyway?" Both live in the same _score_turn_indicator scoring function and partition the same population of scored steps, so transition_total + fp_total always equals the number of scored steps in a segment. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Summary
Adds a closed-loop turn-indicator false-positive (spurious-transition) rate metric, the complement of the existing turn_indicator_transition_accuracy (#403).
Both are computed in the same _score_turnpopulation of real-inference (scored) steps, and are mutually exclusive per step: transition_total + fp_total always equals the number of scored steps a segment.
Metric details
Test plan
🤖 Generated with Claude Code