Skip to content

[0.3.7 TASK 3297] Develop to Main#61

Merged
sujata-m merged 2 commits intomainfrom
develop
Apr 30, 2026
Merged

[0.3.7 TASK 3297] Develop to Main#61
sujata-m merged 2 commits intomainfrom
develop

Conversation

@sujata-m
Copy link
Copy Markdown
Contributor

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.

sujata-m and others added 2 commits April 29, 2026 21:45
## 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.
[0.3.7 ISSUE-3297 & 3469] Fixed Issue with FIFA dataset validation - "null"
@sujata-m sujata-m requested review from MashB and susrisha April 30, 2026 10:28
@sujata-m sujata-m merged commit 2e90ff8 into main Apr 30, 2026
7 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.

3 participants