Skip to content

Commit b604ddb

Browse files
committed
test(mvn): tighten verify savings threshold to 90%
Actual savings on the trimmed fixture are 97%+. The 60% floor left a large regression window — bump to 90% so meaningful degradation fails the test while still giving headroom.
1 parent 223666f commit b604ddb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/cmds/java/mvn_cmd.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1855,8 +1855,8 @@ mod tests {
18551855
let savings = 100.0 - (output_tokens as f64 / input_tokens as f64 * 100.0);
18561856

18571857
assert!(
1858-
savings >= 60.0,
1859-
"mvn verify auth: expected >=60% savings, got {:.1}% ({} -> {} tokens)",
1858+
savings >= 90.0,
1859+
"mvn verify auth: expected >=90% savings, got {:.1}% ({} -> {} tokens)",
18601860
savings,
18611861
input_tokens,
18621862
output_tokens,

0 commit comments

Comments
 (0)