Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions DATA.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,15 +256,16 @@ Input: a report written by the `report-fuzz` action, such as core's

Input, either shape:

- generation's `features.json`:
- a code generator's `features.json` (comline-rust and comline-typescript each publish their own, with the
same `features` list and only their own entry in `generators`):
`{ features: [{id,title,description}], generators: [{ name, support: { "<feature>": { state, proven_by, note, since, tracking, failing? } } }] }`;
- a runtime report: `{ runtime, support: { "<feature>": { state, proven_by, note?, tracking?, failing? } } }`.

- Metric rows: `key` = `<subject>/<feature>` (subject = the generator's `name`,
or the value of the report's `runtime` field, e.g. `rust`), `metric` = `"state"`, `type` = `"state"`, values `"supported"` /
`"partial"` / `"ignored"` / `"unsupported"` / `null` (also for any other
value).
- generation's own `features` list (from the latest version) fills `index.features` there; a runtime
- the generator file's own `features` list (from the latest version) fills `index.features` there; a runtime
report takes them from `features` in `sources.toml`.
- Shard: `{ "subjects": { "<subject>": { "<feature>": { state, proven_by, note, tracking, failing } } } }`
with absent fields as `null` and `proven_by` / `failing` as sorted lists
Expand All @@ -274,7 +275,7 @@ Input, either shape:
`matrix` as one table. Their histories are separate, so a matrix "version" is
a point in time: each source at its newest version on or before that date.
Labels can repeat across sources, so the site's URLs name a version as
`<source id>:<label>` (`?a=codegen:unreleased-dev.1`).
`<source id>:<label>` (`?a=codegen-rust:unreleased-dev.1`).

### `size`

Expand Down
19 changes: 15 additions & 4 deletions sources.toml
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,24 @@ path = "core.fuzz.json"

# Conformance

# Each generator publishes its own `features.json`; the sources share a
# matrix, so the site shows them as one table.
[[source]]
id = "codegen"
id = "codegen-rust"
kind = "conformance"
matrix = "codegen"
title = "Code generators"
repo = "generation"
branch = "master"
title = "Rust generator"
repo = "comline-rust"
branch = "main"
path = "features.json"

[[source]]
id = "codegen-typescript"
kind = "conformance"
matrix = "codegen"
title = "TypeScript generator"
repo = "comline-typescript"
branch = "main"
path = "features.json"

[[source]]
Expand Down
Loading