Skip to content

Commit

Permalink
Import: Increase usage threshold for RBYNU & RBYPU
Browse files Browse the repository at this point in the history
  • Loading branch information
thejetou committed Feb 25, 2024
1 parent ddf9964 commit b8560ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion import/src/set-import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function getUsageThreshold(formatID: ID, count: number): number {
if (count < 100) return Infinity;
if (count < 400) return 0.05;
// These formats are deemed to have playerbases of lower quality than normal
return /uber|anythinggoes|doublesou/.test(formatID) ? 0.03 : 0.01;
return /uber|anythinggoes|doublesou|rbynu|rbupu/.test(formatID) ? 0.03 : 0.01;
}

function fromSpread(spread: string): {nature: string; evs: Partial<StatsTable>} {
Expand Down

0 comments on commit b8560ca

Please sign in to comment.