Repository navigation
Exclude skipped tests from apply_collection_inventory counts - #54
Open
samarmstrong wants to merge 1 commit into
Open
samarmstrong wants to merge 1 commit into
samarmstrong wants to merge 1 commit into
Conversation
Match CorrectnessResults.add_test_result so skipped tests remain in results.tests but do not contribute to total_counts or pass_counts. Backfilled missing tests still count as failed and flag infrastructure_failure.
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
apply_collection_inventoryinsrc/slop_code/evaluation/collection.pyto exclude tests withstatus == "skipped"fromtotal_countsandpass_counts, matchingCorrectnessResults.add_test_result's docstring andbackfill_reports._recalculate_evaluation_counts_dict.results.tests(and serialize under"skipped"), and missing collected tests still backfill asfailedand setinfrastructure_failure = True.tests/evaluation/collection_test.pycovering skipped-test count exclusion, policy parity, and missing-test backfill.Requested in #52 review so Regression non-pass counts (
total_counts["Regression"] - pass_counts["Regression"]) match the regression failure breakdown.Made with Cursor