Skip to content

Validate and stream dataset transformations with actionable errors - #5

Merged
lmlearning merged 1 commit into
mainfrom
fix/validated-streaming-transform
Sep 25, 2026
Merged

lmlearning merged 1 commit into
mainfrom
fix/validated-streaming-transform

Conversation

@lmlearning

Copy link
Copy Markdown
Owner

Dataset transformation previously accumulated all records in memory and silently accepted a missing answer as an empty expected answer. Transform lazily, validate each record with its position, and report unknown templates and formatting failures clearly through the CLI. Atomic output replacement preserves an existing dataset if a later record fails.

Validation: 81 tests pass, including 9 new cases covering lazy consumption, missing/empty answers, invalid records, empty prompts, zero-valued answers, late failure preservation and CLI exit behavior.

@lmlearning
lmlearning merged commit f0f5c81 into main Sep 25, 2026
3 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.

1 participant