Skip to content

Fix #43: add ComplianceEvalRecord round-trip test - #49

Open
telleroutlook wants to merge 1 commit into
mainfrom
claude/issue-43
Open

Fix #43: add ComplianceEvalRecord round-trip test#49
telleroutlook wants to merge 1 commit into
mainfrom
claude/issue-43

Conversation

@telleroutlook

Copy link
Copy Markdown
Collaborator

Closes #43

Adds tests/test_compliance_roundtrip.py with 6 tests verifying that a ComplianceEvalRecord serialises to JSON / JSONL and deserialises back without field loss. Covers minimal records, full nested records, error field, enum string values, and the evomerge.io JSONL helper.

Verifies that a ComplianceEvalRecord produced against the canonical
schema serialises to JSON (and JSONL via evomerge.io) and deserialises
back to an equivalent object without field loss.

6 tests covering minimal/full records, nested enums, error field,
and JSONL write-read cycle.
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.

Fix WasmAgent/trace-pipeline#32 ([milestone Milestone 4 ] Add a round-trip test: a ComplianceEvalRecord produced again

1 participant