1.2 KiB
1.2 KiB
The corpus
One directory per contract kind, each landing with its milestone:
round-trip/—<name>.json+<name>.md: the markdownadfToMarkdownmust emit for that document, byte for byte, and thatmarkdownToAdfmust read back to it (AGENTS.md §2). Grouped by what the fixture exercises.normalization/—<name>.md+<name>.json: markdown input, and the documentmarkdownToAdfmust build from it, which must in turn emit and read back to itself. The markdown is not canonical.errors/—<name>.md: markdown input that must not convert. A<name>.errorbeside it pins which error.real-payloads/—<name>.json: sanitized live ADF, round-tripped ADF→markdown→ADF. No expected markdown.commonmark-spec/—spec.json(the CommonMark 0.31.2 suite, vendored byte-exact) andexceptions.json(the examples a known divergence exempts, keyed bycheckandexamplewith areason).
JSON is editor-normal (AGENTS.md §2), two-space indent, keys sorted. spec.json is the vendored,
upstream machine-readable suite (CommonMark 0.31.2, CC-BY-SA-4.0, © John MacFarlane) and is not
re-serialized by the corpus gate.