feat(label): add king:defeat label#1618
Merged
Merged
Conversation
e35ventura
approved these changes
Jul 11, 2026
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
Tunes the
Autovara/kataentry inmaster_repositories.jsonso a newly crowned king clearly out-earns the king it replaced, and rewards fade over a shorter window.Changes
kata:defeat: 0.25— when a new king is promoted, the previous king's PR is relabeledkata:defeat. At0.25it sits below the smallest reward tier (kata:reward:s= 1.5), so a dethroned king always earns less than any current king (winner-take-all, with a small residual instead of zero).kata:evaluating— Kata never emits this label, and at0.0it duplicateddefault_label_multiplier: 0.0. Removing it also keeps the entry within the 10-label limit enforced by the live-config test.pr_lookback_days: 14 → 7 — shorter reward memory.sigmoid_midpoint_days2 → 3,sigmoid_steepness1.0 → 0.75. Gentle curve that reaches the 5% floor right at the 7-day edge (no cliff): ~0.90 (day 0) → 0.50 (day 3) → 0.05 (day 7).Notes
emission_shareis unchanged; total shares still sum to 1.0.kata:defeatmultiplier only takes effect once the Kata bot strips the ex-king'skata:winner:*/kata:reward:*labels (label scoring uses the max of matching labels). That change ships separately in the Kata repo.Testing
master_repositories.jsonparses and loads viaload_master_repo_weights.