Skip to content

test: cover DataFrame feature names in MovesManagementClassifier - #146

Merged
shivamlalakiya merged 6 commits into
PhilanthroPy-Project:mainfrom
stoppo22:test-dataframe-feature-names
Aug 24, 2026
Merged

test: cover DataFrame feature names in MovesManagementClassifier#146
shivamlalakiya merged 6 commits into
PhilanthroPy-Project:mainfrom
stoppo22:test-dataframe-feature-names

Conversation

@stoppo22

@stoppo22 stoppo22 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

What & why

Adds regression coverage for MovesManagementClassifier.fit when the feature matrix is provided as a pandas.DataFrame.

The new test verifies that fitting on named DataFrame columns correctly preserves those names in feature_names_in_.

Closes #54.

Local CI completed successfully:

uv run make ci

Result:

  • 1909 passed
  • 25 skipped
  • 97.09% total coverage

Checklist

  • make ci passes locally (lint → collection → tests → coverage ≥ 92%)
  • New/changed public API has docstrings and is exported in the subpackage __init__.py
  • Tests added or updated
  • CHANGELOG.md updated under [Unreleased]
  • Added yourself to CONTRIBUTORS.md (skip if you would rather not be listed)

shivamlalakiya and others added 4 commits August 24, 2026 14:52
The changelog line landed as a sub-bullet of the CRMCleaner entry under
### Fixed; test coverage is an addition, so move it to ### Added at top
level. The CONTRIBUTORS line was indented two spaces, rendering as a
child of the entry above it.
@shivamlalakiya
shivamlalakiya merged commit 57ff94c into PhilanthroPy-Project:main Aug 24, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test: MovesManagementClassifier.fit never exercises the DataFrame feature_names_in_ branch

2 participants