Closed
Conversation
Protocol-driven test suite replacing 75 files with 8, targeting ~1min default runtime. Covers approximator/explainer/tree/imputer protocols, tiering strategy, fixture design, and migration approach. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
10 tasks covering: pytest config, conftest, approximator/explainer/tree/ imputer/interaction_values/game_theory/plot/public_api tests, old test deletion, and final verification. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Track shared Claude Code settings (settings.json, agents, commands) while keeping local settings and worktrees gitignored. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replaces the per-module test files under tests_unit/, tests_integration_tests/, and tests_deprecation/ with the 8 protocol-driven files added in previous commits. Shared fixture plugins under tests/shapiq/fixtures/ are preserved because legacy tests in tests/shapiq_games still consume them. The new suite runs in ~25s and makes adding new components trivial: append a config dict to the relevant registry.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Adds a parametrized protocol test for SVR, SVC, and GaussianProcessRegressor models, checking that explain() returns an InteractionValues object, that sum(values) matches the regression prediction, and that explain_X handles batches. Also adds validation tests for the three documented error paths: max_order > 1, unsupported model type, and multiclass SVC. Lifts overall coverage from 60% to 62% and brings explainer/product_kernel/ from 0% to ~85% (game.py remains uncovered as it's a separate Game subclass not exercised by the explainer path).
4 tasks
Owner
Author
|
Consolidating into #512, which is a strict superset of this PR (contains every commit here plus two follow-ups: coverage-gap closure and the SOUM/ExactComputer cross-check pipeline). Closing this one. Generated by Claude Code |
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.
Protocol-driven test suite replacing 75 files with 8, targeting ~1min
default runtime. Covers approximator/explainer/tree/imputer protocols,
tiering strategy, fixture design, and migration approach.
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com