Skip to content

fix: support documented date feature type alias - #28

Merged
dev-rinchin merged 1 commit into
masterfrom
fix/date-feature-type-alias
Oct 6, 2026
Merged

dev-rinchin merged 1 commit into
masterfrom
fix/date-feature-type-alias

Conversation

@dev-rinchin

Copy link
Copy Markdown
Collaborator

Summary

  • accept "date" in features_type as the default date configuration
  • normalize the alias to (None, ("wd", "m", "y", "d")) for training and inference
  • provide an actionable error for unsupported feature types
  • cover datetime, string-date, and AutoWoE.fit() cases

Tests

  • .tox/py312/bin/pytest tests/unit/test_types_handler.py tests/integration/test_dates_and_stat_model.py::test_date_feature_type_alias_works_in_fit -q

Closes #19

@dev-rinchin
dev-rinchin merged commit d26b1bb into master Oct 6, 2026
17 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.

fit() documents "date" feature type, but TypesHandler rejects it

1 participant