Claim check crate

Version 0.1-experimental. Permalink: https://reproducible.science/ro-crate/claim-check/0.1/

Experimental. This is the export format of one tool, repro, written by repro export ro-crate. It is not a standard, it is registered with no one, and any term here may change before 1.0.

What it is for

An RO-Crate 1.3 describes files, and the Process Run Crate 0.6 profile describes the runs of the software that made them. Neither has a term for a check of this kind: the value at an address inside a file was compared with the value a manuscript prints, and here is what was found. This profile adds the terms for that and no others. A crate that conforms to it holds one entity per checked assertion, and each entity states an observation. It states no verdict on whether a claim is true.

The profile is a projection of the check record, reproducible.science/claim-check/0.1-experimental, which section 7.10 of the specification defines and whose JSON Schema is published beside this page. Records written by 0.5.6 carry the same format under the name repro.check/0.1-experimental. Every field of a record has a place in the crate, and the tool reads its own crates back into the records they were written from.

Requirements

The key words MUST, SHOULD and MAY are to be read as in RFC 2119.

Terms taken from RO-Crate and schema.org

termused for
Claim, text, identifierthe claim, its sentence and its id in the manifest
CheckAction, instrument, object, endTime, descriptionthe check, the checker, the claim examined, when it ran, the checker's own message
SoftwareApplication, version, urlthe checker
PropertyValue, valuethe value stored at the address
File, sha256, encodingFormat, alternateName, identifiera file, the digest of its bytes, its media type, the path the manifest declares, its artifact id
HowToa declared command
CreateAction, object, result, startTime, endTime, actionStatus, errora recorded re-run, as in Process Run Crate
DefinedTerm, termCodean outcome or a check type

An example

{
  "@id": "#check/responders/0",
  "@type": ["CheckAction", "ClaimCheck"],
  "name": "responders metric responders",
  "instrument": {"@id": "#checker/repro/0.5.5"},
  "object": {"@id": "#claim/responders"},
  "endTime": "2026-10-13T12:00:00+00:00",
  "checkType": {"@id": "https://reproducible.science/ro-crate/claim-check/0.1/#value-comparison"},
  "fileRead": {"@id": "#check/responders/0/read/0"},
  "printedValue": "35",
  "comparisonMode": "printed_precision",
  "tolerance": "0",
  "outcome": {"@id": "https://reproducible.science/ro-crate/claim-check/0.1/#mismatch"},
  "nativeOutcome": "mismatch",
  "nativeReason": "value_mismatch"
},
{
  "@id": "#check/responders/0/read/0",
  "@type": ["PropertyValue", "FileRead"],
  "readsFile": {"@id": "totals.json"},
  "addressKind": "tree",
  "canonicalAddress": "{\"contract\":1,\"kind\":\"tree\",\"pointer\":\"/responders\"}",
  "value": "36"
}

Classes

ClaimCheck

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#ClaimCheck

Used with
http://schema.org/CheckAction

One assertion as it was checked. Used beside schema.org CheckAction.

FileRead

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#FileRead

Used with
http://schema.org/PropertyValue

One file a check read, the address it read and the value stored there. Used beside schema.org PropertyValue, whose value holds the stored value.

DeclaredCommand

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#DeclaredCommand

Used with
http://schema.org/HowTo

A command the manifest declares as producing a file: an argv, its declared inputs and its declared output. Used beside schema.org HowTo.

Properties

On a ClaimCheck

recordVersion

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#recordVersion

The version of the check record the entity was written from, as the record states it: reproducible.science/claim-check/0.1-experimental, or repro.check/0.1-experimental for a record written by 0.5.6.

manifest

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#manifest

The File the assertion was declared in.

assertionKind

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#assertionKind

The kind of assertion as the manifest writes it: metric, table, value, quote or correspondence.

assertionName

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#assertionName

The name the manifest gives the assertion.

assertionIndex

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#assertionIndex

Where the assertion is among all of the claim's assertions, from 0.

assertionPosition

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#assertionPosition

Which of the claim's assertions of this kind and name it is, from 0.

manifestLine

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#manifestLine

The line of the manifest a claim or an assertion is declared on. Also used on a Claim.

passageLine

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#passageLine

For a quotation, the line the passage starts on, where the file is text and holds the passage exactly once.

checkType

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#checkType

Which proposition was checked. A reference to one of the check types below.

fileRead

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#fileRead

A FileRead of this check. A correspondence has two, in the order the manifest declares its sides, and an aggregate has one for each member.

printedValue

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#printedValue

The value as the manuscript prints it, or the passage a quotation asserts. Absent for a correspondence.

comparisonMode

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#comparisonMode

The rule the two values were compared under: printed_precision, absolute or relative.

tolerance

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#tolerance

The tolerance of the comparison, as a decimal string.

declaredPlaces

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#declaredPlaces

The decimal places the assertion declares the manuscript reports the value to.

conversion

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#conversion

The conversion declared between what a file stores and what is printed: percent or fraction.

statistic

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#statistic

For an aggregate, what is computed over the values read, such as a mean.

memberCount

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#memberCount

For an aggregate, how many members the assertion declares, which is how many FileReads the check has.

computedValue

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#computedValue

That statistic of the values read, which is what was compared with the printed value.

tieLower

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#tieLower

Where the compared value lies exactly halfway between two values at the printed precision, the lower of the two.

tieUpper

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#tieUpper

The upper of those two values.

tiePrinted

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#tiePrinted

Which of the two the manuscript prints.

outcome

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#outcome

What the check found. A reference to one of the outcomes below.

nativeOutcome

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#nativeOutcome

The checker's own word for what it found, as it prints it.

nativeReason

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#nativeReason

The checker's own reason for the outcome.

executionStage

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#executionStage

Whether the check ran: completed, unavailable or failed.

extractionStage

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#extractionStage

Whether a value was located: extracted, absent, invalid or not_attempted.

comparisonStage

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#comparisonStage

Whether the values agreed: match, mismatch or not_applicable.

backend

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#backend

The backend that evaluated the assertion.

backendVersion

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#backendVersion

The version of that backend's interface.

extractionTool

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#extractionTool

The program that read the bytes.

extractionToolVersion

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#extractionToolVersion

The version that program reports.

extractionDigest

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#extractionDigest

sha256 of what the extraction produced.

checkWarning

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#checkWarning

A note about the evidence that does not bear on the outcome, such as short.

freshness

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#freshness

The state against the record of re-runs: current, stale, never_rerun, no_producer, undetermined or partly_outside_the_record. Also used on a DeclaredCommand.

upstream

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#upstream

A DeclaredCommand upstream of what the check reads, nearest first. The command and its re-run are described once, on their own entities.

historyStates

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#historyStates

How many states the project's record of checks holds for the assertion. Reserved.

historyLastChangedAt

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#historyLastChangedAt

When a check last found the assertion different from the state recorded before. Reserved.

On a Claim

whereStated

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#whereStated

Where the manuscript makes the claim, in the author's words.

claimDigest

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#claimDigest

sha256 over the claim's id, text and location, as the checker computes it.

On a FileRead

readsFile

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#readsFile

The File that was read.

side

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#side

Which side of a correspondence this is, in the author's word for it.

addressKind

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#addressKind

The kind of address: tree, table, table_position, sheet, sqlite, array, prose, or passage for a quotation.

convertedValue

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#convertedValue

The stored value under the conversion the check names, which is then the value compared. The stored value itself stays in schema.org value.

canonicalAddress

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#canonicalAddress

The address inside the file as canonical JSON: sorted keys and no whitespace. For a JSON file, {"contract":1,"kind":"tree","pointer":"/metrics/accuracy"}.

On a File

pinnedDigest

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#pinnedDigest

The sha256 the manifest pins for the file. The digest of the bytes on disk is schema.org sha256.

validity

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#validity

Whether the file read is the file that was pinned: authoritative, unpinned_artifact, broken_pin or artifact_absent. Stated apart from every outcome.

On a DeclaredCommand

argv

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#argv

The command as a JSON array of strings.

declaredInput

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#declaredInput

A File the manifest declares the command reads.

declaredOutput

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#declaredOutput

The File the manifest declares the command writes.

staleCause

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#staleCause

Why the command is not current, such as input_changed.

lastRerun

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#lastRerun

The CreateAction for the latest recorded re-run of the command.

On the CreateAction of a re-run

rerunState

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#rerunState

What the re-run found: reproduced, changed, unchecked or failed.

rerunReason

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#rerunReason

The reason recorded with that state.

checkerVersion

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#checkerVersion

The version of the tool that ran the command again.

exitCode

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#exitCode

The command's exit code.

durationSeconds

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#durationSeconds

How long the command ran, in seconds.

outputDigest

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#outputDigest

sha256 of the output the re-run wrote.

Outcomes

The values of outcome, each defined by what has to have happened.

match

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#match

The file was read, the address resolved, a comparison ran, and the two agreed.

mismatch

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#mismatch

The file was read, the address resolved, a comparison ran, and the two differed.

not-found

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#not-found

The file was readable and the address did not resolve to exactly one value of the kind the assertion needs. Nothing was compared.

not-checked

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#not-checked

No comparison occurred, because something it needed was absent or was skipped.

error

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#error

The tool failed.

Check types

The values of checkType. The tool writes the first four.

value-comparison

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#value-comparison

A value the manuscript prints, against the value at an address in a file.

passage-presence

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#passage-presence

A passage occurs in a file.

correspondence

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#correspondence

The values at two addresses, in two files, agree.

aggregate-comparison

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#aggregate-comparison

A value the manuscript prints, against a statistic computed over the values at several addresses. No one stored value is the value compared.

artifact-identity

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#artifact-identity

A file's bytes are the bytes that were recorded. Reserved; this tool writes none.

lineage-check

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#lineage-check

A file was produced by a recorded process from recorded inputs. Reserved.

rerun-comparison

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#rerun-comparison

What a command wrote when run again, against what it wrote before. Reserved.

coverage-check

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#coverage-check

Whether something the manuscript states has a claim declared for it. Reserved.

other

Permalink
https://reproducible.science/ro-crate/claim-check/0.1/#other

A proposition none of the other check types names. Never read as a match.