Add comprehensive spec audit results and pyMC_core issue reports
- CHANGELOG.md: Full audit findings organized by severity - PYMC_CORE_ISSUES.md: 7 evidence-based bug reports for pyMC_core (wrong constants, broken path_len decoding, wrong TRACE hash, wrong SNR calculation) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Add comprehensive spec audit results and pyMC_core issue reports - CHANGELOG.md: Full audit findings organized by severity - PYMC_CORE_ISSUES.md: 7 evidence-based bug reports for pyMC_core (wrong constants, broken path_len decoding, wrong TRACE hash, wrong SNR calculation) - Remove ERRATA.md: contents already covered by audit findings Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
79 files changed
+8923
No files matched your search
@@ -0,0 +1,108 @@
|
||||
{
|
||||
"$schema": "../../schema/test-vector.schema.json",
|
||||
"name": "Multipart Payload - Basic",
|
||||
"spec_ref": "spec/11-payload-multipart.md",
|
||||
"protocol_version": 0,
|
||||
"description": "Tests multipart payload encoding: first byte = (remaining << 4) | sub_type. Currently only multipart ACK (sub_type=3) is defined.",
|
||||
"vectors": [
|
||||
{
|
||||
"id": "mp-001",
|
||||
"description": "Multipart ACK with remaining=1, CRC 0xDEADBEEF",
|
||||
"type": "encode_decode",
|
||||
"structured": {
|
||||
"header": {
|
||||
"version": 0,
|
||||
"payload_type": "multipart",
|
||||
"route_type": "flood"
|
||||
},
|
||||
"path": {
|
||||
"hash_size": 1,
|
||||
"hash_count": 0,
|
||||
"hashes": []
|
||||
},
|
||||
"payload": {
|
||||
"remaining": 1,
|
||||
"sub_type": 3,
|
||||
"sub_payload": "EFBEADDE"
|
||||
}
|
||||
},
|
||||
"binary": "29 00 13 EFBEADDE",
|
||||
"notes": "First byte: (1<<4)|3 = 0x13. Sub-payload: ACK CRC 0xDEADBEEF as LE."
|
||||
},
|
||||
{
|
||||
"id": "mp-002",
|
||||
"description": "Multipart ACK with remaining=0 (last in sequence)",
|
||||
"type": "encode_decode",
|
||||
"structured": {
|
||||
"header": {
|
||||
"version": 0,
|
||||
"payload_type": "multipart",
|
||||
"route_type": "flood"
|
||||
},
|
||||
"path": {
|
||||
"hash_size": 1,
|
||||
"hash_count": 0,
|
||||
"hashes": []
|
||||
},
|
||||
"payload": {
|
||||
"remaining": 0,
|
||||
"sub_type": 3,
|
||||
"sub_payload": "01000000"
|
||||
}
|
||||
},
|
||||
"binary": "29 00 03 01000000",
|
||||
"notes": "First byte: (0<<4)|3 = 0x03."
|
||||
},
|
||||
{
|
||||
"id": "mp-003",
|
||||
"description": "Multipart ACK with remaining=15 (maximum)",
|
||||
"type": "encode_decode",
|
||||
"structured": {
|
||||
"header": {
|
||||
"version": 0,
|
||||
"payload_type": "multipart",
|
||||
"route_type": "flood"
|
||||
},
|
||||
"path": {
|
||||
"hash_size": 1,
|
||||
"hash_count": 0,
|
||||
"hashes": []
|
||||
},
|
||||
"payload": {
|
||||
"remaining": 15,
|
||||
"sub_type": 3,
|
||||
"sub_payload": "FFFFFFFF"
|
||||
}
|
||||
},
|
||||
"binary": "29 00 F3 FFFFFFFF",
|
||||
"notes": "First byte: (15<<4)|3 = 0xF3."
|
||||
},
|
||||
{
|
||||
"id": "mp-004",
|
||||
"description": "Multipart ACK via direct routing",
|
||||
"type": "encode_decode",
|
||||
"structured": {
|
||||
"header": {
|
||||
"version": 0,
|
||||
"payload_type": "multipart",
|
||||
"route_type": "direct"
|
||||
},
|
||||
"path": {
|
||||
"hash_size": 1,
|
||||
"hash_count": 2,
|
||||
"hashes": [
|
||||
"AA",
|
||||
"BB"
|
||||
]
|
||||
},
|
||||
"payload": {
|
||||
"remaining": 2,
|
||||
"sub_type": 3,
|
||||
"sub_payload": "78563412"
|
||||
}
|
||||
},
|
||||
"binary": "2A 02 AABB 23 78563412",
|
||||
"notes": "Header 0x2A = MULTIPART(10)+DIRECT(2). First byte: (2<<4)|3 = 0x23."
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user