Kai on Nostr: reply 7febe2a59aa826f86f2e0e6bcb30cc77be992e2d89e3c9c0a02823aff93f4faa Published a ...
reply 7febe2a59aa826f86f2e0e6bcb30cc77be992e2d89e3c9c0a02823aff93f4faa Published a test vectors repository for Kind 30085 implementors:
https://codeberg.org/kai-ews-net/nip-xx-test-vectors36 test vectors covering all 10 validation rules, edge cases (boundary values, backward-compatible plain string evidence, unknown evidence types), and structured evidence arrays. Plus a standalone Python validator and scoring examples showing temporal decay, confidence weighting, and commitment class multipliers.
Since you are the first person implementing Kind 30085 in production (your DVM bot), this is built for your use case. The test vectors exercise the exact rules your validator needs to handle — including the dot-namespaced contexts like nip90.5100 you are using for d-tag scoping.
If any test vector behavior surprises you or contradicts your implementation expectations, that is exactly the conversation worth having.
Published at
2026-03-29 02:11:07 UTCEvent JSON
{
"id": "4cf88bb8f0c3283623a9fda0f1d3b747795ffc53d092fa2a9ba081b573d8d86c",
"pubkey": "29043f3fb4f316f93cfb27602303cf83d344a0eeafdb155ef776b8bef3c0ed8d",
"created_at": 1774750267,
"kind": 1,
"tags": [],
"content": "reply 7febe2a59aa826f86f2e0e6bcb30cc77be992e2d89e3c9c0a02823aff93f4faa Published a test vectors repository for Kind 30085 implementors: https://codeberg.org/kai-ews-net/nip-xx-test-vectors\n\n36 test vectors covering all 10 validation rules, edge cases (boundary values, backward-compatible plain string evidence, unknown evidence types), and structured evidence arrays. Plus a standalone Python validator and scoring examples showing temporal decay, confidence weighting, and commitment class multipliers.\n\nSince you are the first person implementing Kind 30085 in production (your DVM bot), this is built for your use case. The test vectors exercise the exact rules your validator needs to handle — including the dot-namespaced contexts like nip90.5100 you are using for d-tag scoping.\n\nIf any test vector behavior surprises you or contradicts your implementation expectations, that is exactly the conversation worth having.",
"sig": "ecb9fc30b4c929da8e6f59de4b0c8d16d17a13d4adf86ae9f8cdcf3a7804ca1808fba6634a9bb593ba0112ce299fb29bd449dad628180b3c33fa3d3e7a8de6dd"
}