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
4 changes: 3 additions & 1 deletion build/just/trope.just
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@
check: haec-examples

haec-examples:
bash tests/check-examples.sh
# justfile_directory() so the recipe is cwd-robust: older just (≤1.32) runs
# imported recipes from THIS file's directory, newer just from the root.
bash {{justfile_directory()}}/tests/check-examples.sh
8 changes: 6 additions & 2 deletions design/trope-ir.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
"properties": {
"$schema": { "type": "string" },
"$comment": { "type": "string" },
"version": { "type": "string", "const": "0.1" },
"version": {
"type": "string",
"enum": ["0.1", "0.2"],
"$comment": "0.2 is current (R-2026-07-07, ADR 0004: A1 two-sided deceptive zeros, A2 chain retention order, A3 Attenuated(0)->Present normalization at ingest — verdict semantics changed, wire format unchanged). 0.1 documents remain accepted and are normalized and graded identically under 0.2 semantics."
},
"profile": {
"type": "string",
"const": "prevent",
Expand All @@ -31,7 +35,7 @@
"fieldName": { "enum": ["quality", "bearer", "context", "record"] },

"delta": {
"$comment": "A fidelity element of N union {inf, top}. Finite delta is tropical (min-plus) quantified loss; inf is total quantified loss; top is loss of unknown amount.",
"$comment": "A fidelity element of N union {inf, top}. Finite delta is tropical (min-plus) quantified loss; inf is total quantified loss; top is loss of unknown amount. Attenuated(0) is wire-legal and is normalized to Present at IR ingest (R-2026-07-07-03, A3): validators rewrite it before grading.",
"oneOf": [
{ "type": "integer", "minimum": 0 },
{ "type": "string", "enum": ["inf", "top"] }
Expand Down
2 changes: 1 addition & 1 deletion examples/faithful-record.ir.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://github.com/hyperpolymath/trope-checker/schemas/trope-ir.schema.json",
"$comment": "SPDX-FileCopyrightText: © 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>. SPDX-License-Identifier: MPL-2.0",
"version": "0.1",
"version": "0.2",
"profile": "prevent",
"nodes": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/station-average.ir.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://github.com/hyperpolymath/trope-checker/schemas/trope-ir.schema.json",
"$comment": "SPDX-FileCopyrightText: © 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>. SPDX-License-Identifier: MPL-2.0",
"version": "0.1",
"version": "0.2",
"profile": "prevent",
"nodes": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/survey-collapse.ir.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://github.com/hyperpolymath/trope-checker/schemas/trope-ir.schema.json",
"$comment": "SPDX-FileCopyrightText: © 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>. SPDX-License-Identifier: MPL-2.0",
"version": "0.1",
"version": "0.2",
"profile": "prevent",
"nodes": [
{
Expand Down
Loading