Repository navigation
t27o: rust_std.t27 function test coverage 88 % -> 100 % (Closes #10550) - #10553
Merged
Merged
Conversation
One test names digits_upto, parse_unsigned, parse_signed, sum_u64, sum_usize, sum_i32 and sum_f32 directly: both sides of every bound, a lone sign, i64::MIN, u64::MAX exactly, an empty slice. t27c coverage 59 of 59; t27b 11/11; test-report 11/11 with 0 vacuous; a mutant of the digits_upto overflow guard fails it (and one existing test). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gHashTag
enabled auto-merge (squash)
October 18, 2026 17:06
This was referenced Oct 18, 2026
Merged
Contributor
9 of 12 tasks
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.
Closes #10550. Part of #10522.
What
One test in
specs/tools/t27o/rust_std.t27,std_parse_helpers_and_the_other_sums_named_directly, naming the seven fns no test named:digits_upto,parse_unsigned,parse_signed,sum_u64,sum_usize,sum_i32,sum_f32. Each bound on both sides (the largest value that parses, the first that does not), a lone+/-, i64::MIN throughparse_signed,sum_u64reaching u64::MAX exactly, an empty slice, a negative i32 sum near the bound, an exact f32 sum. Seal re-saved.Evidence
t27c coveraget27b testt27c test-reportNegative control: a copy beside the spec with the
digits_uptooverflow guard loosened (/ 10 + 1) fails 2 of 11 (the new test at its"1000"vs max 999 case, andstd_parse_is_rusts_from_str). The copy was deleted.t27c seal specs/tools/t27o/rust_std.t27 --verify: all hashes MATCH. No generated file: rust_std.t27 is not compiled into a crate.🤖 Generated with Claude Code