Skip to content

Expand negative test vectors v0.9#18

Merged
DigiEmu merged 1 commit intomainfrom
docs/expand-negative-test-vectors-v0.9
May 7, 2026
Merged

Expand negative test vectors v0.9#18
DigiEmu merged 1 commit intomainfrom
docs/expand-negative-test-vectors-v0.9

Conversation

@DigiEmu
Copy link
Copy Markdown
Owner

@DigiEmu DigiEmu commented May 7, 2026

Summary

This PR expands docs/NEGATIVE_TEST_VECTORS_v0.9.md.

The previous file accidentally contained the PR summary instead of the full negative test vector document.

This PR replaces it with the full public review draft, including:

  • purpose and negative outcome definitions
  • base positive test vector
  • FAIL vectors for changed decision, risk level, and policy reference
  • ERROR vectors for malformed JSON, missing snapshot, missing expected hash, unsupported hash algorithm, unsupported canonicalization, and invalid field type
  • expected reason codes
  • conformance relevance
  • relationship to Test Vectors v0.9
  • relationship to Verify Report Schema v0.9

Why this matters

Negative test vectors are needed to verify that implementations correctly distinguish:

PASS  = computed hash matches expected hash
FAIL  = processable input with mismatched hash
ERROR = verification could not be completed

@DigiEmu DigiEmu merged commit 83db083 into main May 7, 2026
5 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