Repository navigation
test(sudoku_validate_outputs): add 46 mutation-killing tests (See #2149) - #2386
Merged
Merged
Conversation
Cover validate_notebook (JSON errors, metadata extraction, null_exec_count, empty_outputs, error_outputs, forbidden_patterns, cell counting, index tracking, source format) and classify_kernel (dotnet/python/other classification, case insensitivity, missing keys). 0 -> 46 tests, full suite 1552 passed.
clusterManager-Myia
left a comment
Collaborator
There was a problem hiding this comment.
[NanoClaw] LGTM.
46 mutation-killing tests across 11 classes. Coverage is thorough: JSON errors, metadata extraction, null_exec_count, empty_outputs, error_outputs (truncation, first-only), forbidden_patterns (word-boundary edge cases, commented code behavior documented), cell counting, classify_kernel, source format. No security concerns. Clean structure.
jsboige
added a commit
that referenced
this pull request
Jun 4, 2026
…) (#2386) Cover validate_notebook (JSON errors, metadata extraction, null_exec_count, empty_outputs, error_outputs, forbidden_patterns, cell counting, index tracking, source format) and classify_kernel (dotnet/python/other classification, case insensitivity, missing keys). 0 -> 46 tests, full suite 1552 passed.
jsboige
added a commit
that referenced
this pull request
Jun 5, 2026
…) (#2386) Cover validate_notebook (JSON errors, metadata extraction, null_exec_count, empty_outputs, error_outputs, forbidden_patterns, cell counting, index tracking, source format) and classify_kernel (dotnet/python/other classification, case insensitivity, missing keys). 0 -> 46 tests, full suite 1552 passed.
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
Add comprehensive mutation-killing tests for
sudoku_validate_outputs.py(190 lines, previously 0 tests).Coverage (0% -> tested)
validate_notebook(L12-84)classify_kernel(L87-95)Metrics
Survivors (low-value, not tested)
main()(L98-186): CLI filesystem-dependent entry pointprint_group()(L116-159): Print formatting onlyCumul #2149 mutation testing (6 PRs, 288 tests)
See #2149