Skip to content

[0.3.7 ISSUE-3297 & 3469] Fixed Issue with FIFA dataset validation - "null"#60

Merged
sujata-m merged 1 commit intodevelopfrom
feature-3297
Apr 30, 2026
Merged

[0.3.7 ISSUE-3297 & 3469] Fixed Issue with FIFA dataset validation - "null"#60
sujata-m merged 1 commit intodevelopfrom
feature-3297

Conversation

@sujata-m
Copy link
Copy Markdown
Contributor

@sujata-m sujata-m commented Apr 29, 2026

Dev Board Ticket

Changes

  • Bumped package version from 0.3.6 to 0.3.7.
  • Updated CHANGELOG.md with 0.3.7 (2026-04-29) entry based on current changes.
  • Added upfront null/NaN placeholder detection in feature properties before schema validation (including string placeholders like "null" / "nan").
  • Improved validation message clarity:
    • Enum errors now use actionable field-level wording.
    • Type errors now use actionable datatype wording.
    • Enum value previews now show up to 5 values with | separator and and N more for long lists.
  • Removed field-specific enum hardcoding and made enum formatting generic/schema-driven.
  • Changed issues collection behavior to keep detailed per-feature issues and suppress noisy AnyOf summaries when specific field errors exist for the same feature.
  • Enforced consistent capping for both errors and issues:
    • Default cap: 20
    • Override supported via validate(max_errors=...)
  • Updated README to reflect current behavior:
    • null/NaN precheck,
    • detailed issues behavior,
    • capping semantics for errors and issues,
    • enum preview formatting.

Testing and unit test cases

  • ISSUE-3297 (tests/assets/issue_3297.zip) expected issue payload.
  • Nullish precheck behavior before schema validation test cases.
  • issues cap default and max_errors override behavior test case.
  • Updated helper unit test cases for formatting expectations for new message styles.

## Dev Board Ticket
- https://dev.azure.com/TDEI-UW/TDEI/_workitems/edit/3297

## Changes

- Bumped package version from `0.3.6` to `0.3.7`.
- Updated `CHANGELOG.md` with `0.3.7 (2026-04-29)` entry based on current changes.
- Added upfront null/NaN placeholder detection in feature `properties` before schema validation (including string placeholders like `"null"` / `"nan"`).
- Improved validation message clarity:
  - Enum errors now use actionable field-level wording.
  - Type errors now use actionable datatype wording.
  - Enum value previews now show up to 5 values with `|` separator and `and N more` for long lists.
- Removed field-specific enum hardcoding and made enum formatting generic/schema-driven.
- Changed issues collection behavior to keep detailed per-feature issues and suppress noisy `AnyOf` summaries when specific field errors exist for the same feature.
- Enforced consistent capping for both `errors` and `issues`:
  - Default cap: `20`
  - Override supported via `validate(max_errors=...)`
- Updated README to reflect current behavior:
  - null/NaN precheck,
  - detailed `issues` behavior,
  - capping semantics for `errors` and `issues`,
  - enum preview formatting.

## Testing and unit test cases
- ISSUE-3297 (`tests/assets/issue_3297.zip`) expected issue payload.
- Nullish precheck behavior before schema validation test cases.
- `issues` cap default and `max_errors` override behavior test case.
- Updated helper unit test cases for formatting expectations for new message styles.
@sujata-m sujata-m requested review from MashB and susrisha April 29, 2026 16:16
@sujata-m sujata-m changed the title [0.3.7 ISSUE-32973469] Fixed Issue with FIFA dataset validation - "null" [0.3.7 ISSUE-3297 & 3469] Fixed Issue with FIFA dataset validation - "null" Apr 30, 2026
@sujata-m sujata-m merged commit a212996 into develop Apr 30, 2026
4 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.

2 participants