Corpus by contract kind: pin the fence and escaping rules, hold two questions
CI / gate (push) Successful in 3s

This commit is contained in:
2026-08-24 11:40:11 +02:00
parent 7195cd9f49
commit fc92bf8bf5
37 changed files with 84 additions and 75 deletions
@@ -0,0 +1,29 @@
{
"content": [
{
"content": [
{
"content": [
{
"text": "Ship it.",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "Then tell them.",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "blockquote"
}
],
"type": "doc",
"version": 1
}
@@ -0,0 +1,3 @@
> Ship it.
>
> Then tell them.
@@ -0,0 +1,72 @@
{
"content": [
{
"content": [
{
"content": [
{
"content": [
{
"text": "Bolt M8",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "listItem"
},
{
"content": [
{
"content": [
{
"text": "Nut M8",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "listItem"
},
{
"content": [
{
"content": [
{
"text": "Washer M8",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"content": [
{
"content": [
{
"text": "Fibre",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "listItem"
}
],
"type": "bulletList"
}
],
"type": "listItem"
}
],
"type": "bulletList"
}
],
"type": "doc",
"version": 1
}
@@ -0,0 +1,4 @@
- Bolt M8
- Nut M8
- Washer M8
- Fibre
@@ -0,0 +1,18 @@
{
"content": [
{
"attrs": {
"language": "bash"
},
"content": [
{
"text": "echo \"```\" >> notes.md",
"type": "text"
}
],
"type": "codeBlock"
}
],
"type": "doc",
"version": 1
}
@@ -0,0 +1,3 @@
````bash
echo "```" >> notes.md
````
@@ -0,0 +1,18 @@
{
"content": [
{
"attrs": {
"language": "markdown"
},
"content": [
{
"text": "```\ncode\n```",
"type": "text"
}
],
"type": "codeBlock"
}
],
"type": "doc",
"version": 1
}
@@ -0,0 +1,5 @@
````markdown
```
code
```
````
@@ -0,0 +1,18 @@
{
"content": [
{
"attrs": {
"language": "sql"
},
"content": [
{
"text": "SELECT id\nFROM part\nWHERE qty > 0;",
"type": "text"
}
],
"type": "codeBlock"
}
],
"type": "doc",
"version": 1
}
@@ -0,0 +1,5 @@
```sql
SELECT id
FROM part
WHERE qty > 0;
```
@@ -0,0 +1,118 @@
{
"content": [
{
"content": [
{
"text": "Run ",
"type": "text"
},
{
"marks": [
{
"type": "code"
}
],
"text": "npm ci",
"type": "text"
},
{
"text": " first.",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "Nested backticks: ",
"type": "text"
},
{
"marks": [
{
"type": "code"
}
],
"text": "run `date` twice",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "A span holding ",
"type": "text"
},
{
"marks": [
{
"type": "code"
}
],
"text": "`code`",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "Held: ",
"type": "text"
},
{
"marks": [
{
"type": "code"
}
],
"text": " spaced ",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "Three: ",
"type": "text"
},
{
"marks": [
{
"type": "code"
}
],
"text": " ",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "Literal: ",
"type": "text"
},
{
"marks": [
{
"type": "code"
}
],
"text": "~~not strike~~",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
"version": 1
}
@@ -0,0 +1,11 @@
Run `npm ci` first.
Nested backticks: ``run `date` twice``
A span holding `` `code` ``
Held: ` spaced `
Three: ` `
Literal: `~~not strike~~`
@@ -0,0 +1,4 @@
{
"type": "doc",
"version": 1
}
@@ -0,0 +1,76 @@
{
"content": [
{
"content": [
{
"text": "Read the ",
"type": "text"
},
{
"marks": [
{
"type": "em"
}
],
"text": "manual",
"type": "text"
},
{
"text": " before ",
"type": "text"
},
{
"marks": [
{
"type": "strong"
}
],
"text": "wiring",
"type": "text"
},
{
"text": " the ",
"type": "text"
},
{
"marks": [
{
"type": "strike"
}
],
"text": "relay",
"type": "text"
},
{
"text": ".",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "An un",
"type": "text"
},
{
"marks": [
{
"type": "em"
}
],
"text": "real",
"type": "text"
},
{
"text": "istic goal.",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
"version": 1
}
@@ -0,0 +1,3 @@
Read the _manual_ before **wiring** the ~~relay~~.
An un*real*istic goal.
@@ -0,0 +1,53 @@
{
"content": [
{
"content": [
{
"text": "Line one",
"type": "text"
},
{
"type": "hardBreak"
},
{
"text": "Line two",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "Trailing",
"type": "text"
},
{
"type": "hardBreak"
}
],
"type": "paragraph"
},
{
"attrs": {
"level": 2
},
"content": [
{
"text": "Two",
"type": "text"
},
{
"type": "hardBreak"
},
{
"text": "lines",
"type": "text"
}
],
"type": "heading"
}
],
"type": "doc",
"version": 1
}
@@ -0,0 +1,6 @@
Line one\
Line two
Trailing:hardBreak{}
## Two:hardBreak{}lines
@@ -0,0 +1,78 @@
{
"content": [
{
"attrs": {
"level": 1
},
"content": [
{
"text": "Assembly",
"type": "text"
}
],
"type": "heading"
},
{
"attrs": {
"level": 2
},
"content": [
{
"text": "Parts",
"type": "text"
}
],
"type": "heading"
},
{
"attrs": {
"level": 3
},
"content": [
{
"text": "Fasteners",
"type": "text"
}
],
"type": "heading"
},
{
"attrs": {
"level": 4
},
"content": [
{
"text": "Bolts",
"type": "text"
}
],
"type": "heading"
},
{
"attrs": {
"level": 5
},
"content": [
{
"text": "Sizes",
"type": "text"
}
],
"type": "heading"
},
{
"attrs": {
"level": 6
},
"content": [
{
"text": "M8",
"type": "text"
}
],
"type": "heading"
}
],
"type": "doc",
"version": 1
}
@@ -0,0 +1,11 @@
# Assembly
## Parts
### Fasteners
#### Bolts
##### Sizes
###### M8
@@ -0,0 +1,116 @@
{
"content": [
{
"content": [
{
"text": "See ",
"type": "text"
},
{
"marks": [
{
"attrs": {
"href": "https://example.com/changelog"
},
"type": "link"
}
],
"text": "the changelog",
"type": "text"
},
{
"text": ".",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"marks": [
{
"attrs": {
"href": "https://example.com/"
},
"type": "link"
}
],
"text": "https://example.com/",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "Read ",
"type": "text"
},
{
"marks": [
{
"attrs": {
"href": "https://example.com/guide",
"title": "Setup guide"
},
"type": "link"
}
],
"text": "the guide",
"type": "text"
},
{
"text": ".",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "Open ",
"type": "text"
},
{
"marks": [
{
"attrs": {
"href": "https://example.com/the plan.pdf"
},
"type": "link"
}
],
"text": "the plan",
"type": "text"
},
{
"text": ".",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"marks": [
{
"attrs": {
"href": "/parts/m8"
},
"type": "link"
}
],
"text": "/parts/m8",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
"version": 1
}
@@ -0,0 +1,9 @@
See [the changelog](https://example.com/changelog).
<https://example.com/>
Read [the guide](https://example.com/guide "Setup guide").
Open [the plan](<https://example.com/the plan.pdf>).
[/parts/m8](/parts/m8)
@@ -0,0 +1,65 @@
{
"content": [
{
"attrs": {
"order": 9
},
"content": [
{
"content": [
{
"content": [
{
"text": "Bolt M8",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "listItem"
},
{
"content": [
{
"content": [
{
"text": "Nut M8",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "Zinc-plated.",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "listItem"
},
{
"content": [
{
"content": [
{
"text": "Washer M8",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "listItem"
}
],
"type": "orderedList"
}
],
"type": "doc",
"version": 1
}
@@ -0,0 +1,5 @@
9. Bolt M8
10. Nut M8
Zinc-plated.
11. Washer M8
@@ -0,0 +1,27 @@
{
"content": [
{
"content": [
{
"text": "First.",
"type": "text"
}
],
"type": "paragraph"
},
{
"type": "paragraph"
},
{
"content": [
{
"text": "Second.",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
"version": 1
}
@@ -0,0 +1,5 @@
First.
::paragraph
Second.
@@ -0,0 +1,24 @@
{
"content": [
{
"content": [
{
"text": "The converter emits every paragraph on a single line, however long it runs, because a soft line break in input carries no meaning ADF can hold.",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "Blocks are separated by exactly one blank line.",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
"version": 1
}
@@ -0,0 +1,3 @@
The converter emits every paragraph on a single line, however long it runs, because a soft line break in input carries no meaning ADF can hold.
Blocks are separated by exactly one blank line.
@@ -0,0 +1,27 @@
{
"content": [
{
"content": [
{
"text": "Before.",
"type": "text"
}
],
"type": "paragraph"
},
{
"type": "rule"
},
{
"content": [
{
"text": "After.",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
"version": 1
}
@@ -0,0 +1,5 @@
Before.
---
After.
@@ -0,0 +1,51 @@
{
"content": [
{
"content": [
{
"text": "# Not a heading",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "- not a bullet",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "2 * 3 * 4 = 24",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "snake_case_name",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "*not emphasis*",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
"version": 1
}
@@ -0,0 +1,9 @@
\# Not a heading
\- not a bullet
2 * 3 * 4 = 24
snake_case_name
\*not emphasis*