The Bridge specification's tests
The newest run on main of the tests of cascade-bridge-spec, read as a
tree of package, capability and situation, each with what it is for and each case linked to its source.
Failures come first within a capability, and the levels that hold one are open.
pytest over the specification's files, the adapter profile and the compatibility tool. For an agent: cascade-bridge-spec.ctrf.json.
The Bridge specification's own tests: what the vectors an engine must reproduce, an adapter package, and the compatibility tool are held to. Each heading names the files it is about.
Glossary
- accounting (source accounting, accountings)
- a Turtle file in which an adapter says, path by path, what becomes of each element and attribute of a source record.
- action (actions, start action)
- a reusable step of a GitHub workflow, kept in a folder of this repository; the start action is `.github/actions/start`.
- adapter (adapters, adapter package)
- here, a package of data for one XML or JSON source format, with no code in it: queries, schemas, sample inputs and what converting them must give.
- allowlist (allowlists)
- a list of what is permitted, so that anything not on it is refused.
- annotation (annotations, Web Annotation)
- a note about one thing, written in the W3C Web Annotation model: a body, a target and a motivation; a finding is one.
- arrival (arrivals)
- the node of a document's graph that says how one version arrived: from which document and where in it, in which import, and with the version and update time the source itself gave the record.
- artifact (artifacts)
- a named bundle of files a CI run keeps after it ends, which a person or a later job downloads by that name.
- attachment (attachments)
- an element or property of a source record that holds a file's bytes, such as the data of an HL7 V3 `ED` (encapsulated data) element, usually written in base64.
- base64
- a way of writing bytes as letters, digits, `+`, `/` and `=`, which a Bridge decodes to text when the attachment is of a text media type.
- blank node (blank nodes)
- a node of a graph with no IRI, so that it can be told from another only by what is stated of it.
- body (bodies)
- the part of a finding that says what kind of finding it is, as an IRI.
- Bridge (Bridges)
- a program that runs adapters: it reads a source document, runs the adapter's queries over it and writes records in the Cascade vocabulary, with findings.
- Bridge vocabulary
- `vocab/bridge.ttl`: the terms this specification defines, under `https://ns.cascadeprotocol.org/bridge/v1-draft#`, as distinct from the Cascade vocabulary a person's records are written in.
- C-CDA
- Consolidated Clinical Document Architecture: HL7's standard for the XML summary documents patient portals hand out.
- canonical content
- a version's statements written one to a line and sorted, with the placeholder standing for the version itself; the SHA-256 of these bytes is the version's name.
- census (census finding, census findings)
- what a Bridge reports of every path of a record that the accounting has no entry for.
- checkout (checkouts)
- a copy of a repository's files at one commit, placed in a folder.
- clock (clocks)
- in a benchmark result, a measurement of time: the kind of result that carries its samples and their range.
- concept map (concept maps)
- a table from a source's own values (each a notation) to Cascade terms, written as a SKOS concept scheme.
- conversion (conversions)
- one test of an adapter: an input, the envelope it arrives in, and the graph and findings converting it must give.
- counterpart (counterparts)
- a repository a run tests the repository under test with: for an engine an adapter, for an adapter an engine.
- crate (crates)
- an adapter's `ro-crate-metadata.json`, a file in the RO-Crate format that describes every file of the package; its root entity is the adapter itself.
- CTRF
- Common Test Report Format, an open JSON format for test results (ctrf.io).
- cycle (cycles, cycle member)
- pull requests that name each other on `Depends-On:` lines, directly or through others, and so must merge together.
- digest (digests)
- the SHA-256 hash of some bytes; in a name it follows `ni:///sha-256;`, written in base64url without padding.
- domain
- in RDF Schema, the kind of thing a term is stated of; a term with no domain may be stated of anything.
- dotfile (dotfiles)
- a file whose name begins with a dot, such as `.gitignore`.
- EARL
- the W3C's vocabulary for test results; a report in it gives each test one of five outcomes: passed, failed, cannot tell, inapplicable, untested.
- engine (engines)
- here, a Bridge as a compatibility run meets it: a repository that builds the program which runs adapters.
- entity (entities)
- in XML, a name written between `&` and `;` that stands for some text, such as `&` for an ampersand.
- entry (entries, path entry)
- one line of an accounting: a source path, its verdict, and what the verdict requires beside it; in a test manifest, one item of its list, which is a test, or an input-only entry.
- envelope (envelopes)
- one outer form a source document takes around its records, such as a set of records or one record alone.
- envelope skeleton (skeleton test, skeleton tests)
- the lift of a whole document with each record kept only in outline, which is all an adapter's detect query sees; a skeleton test is a vector of it.
- expected findings
- the findings a conversion must produce, as a Turtle file the test names.
- expected graph (expected graphs)
- the records a conversion must produce, as a Turtle file the test names.
- facts (supplied facts)
- statements about an input document that the document cannot make itself (who it came from, when it was imported), supplied to a Bridge with it.
- failure kind (failure kinds)
- one of the named ways a call on an engine's library fails, such as `bridge:documentFailure` for a document that cannot be read.
- fake engine
- `fixtures/fake-engine/engine.py`: a small program that offers an engine's three commands and is no Bridge, for testing the tools that run engines.
- fault (faults)
- one line a failing check prints: what was wanted and where it was not met.
- finding (findings)
- a note a Bridge writes about one node of one input: something not carried, a schema rule broken, a value outside a map.
- findings query (findings queries)
- a SPARQL CONSTRUCT an adapter names that writes findings about the record being converted.
- fixture (fixtures)
- here, a sample package the specification carries to test with, such as `fixtures/synthetic-adapter/`.
- focus node (focus nodes)
- in SHACL, a thing a shape is checked against.
- gap (gaps)
- a named reason that something in a source is not carried into the Cascade vocabulary.
- gap scheme (gap schemes)
- the SKOS concept scheme an adapter keeps its gaps in.
- graph (graphs)
- a set of RDF statements, each a subject, a predicate and an object; what a lift, a mapping or a whole conversion writes is one.
- harness (benchmark harness)
- a program that times an engine on the benchmark inputs and writes the results file `bench/result.schema.json` describes.
- hold (holds, held)
- of a report, to be one the judge finds no fault in.
- host (hosts)
- one way an engine or runtime is built and run, such as natively or under Node; `compatibility.json` gives each a name, a setup and a command.
- identity relation test
- a test over several conversions that says whether they must give the same record.
- import
- one run of a Bridge over one document, written in the document's graph as a node of its own that says which document it used and which adapter it applied.
- input-only entry (input-only entries)
- a manifest entry that only supplies an input to others, and so must not be reported as a test.
- IRI (IRIs)
- a web-style identifier, such as `https://ns.cascadeprotocol.org/cascade#Record`; every term and every record is named by one.
- JSON Pointer (JSON pointer, JSON pointers)
- a way of naming one value in a JSON document by the path to it, such as `/entry/0/resource`.
- JSONPath
- a language for picking values out of a JSON document, such as `$.entry[*]`.
- judge (judges, judged, judging)
- the part of the compatibility tool that reads an EARL report and the adapter's test manifest and prints the faults it finds, or none; `engine/faults-of-a-report.rq` is the query it asks.
- label (labels, labelled)
- a short name written for a thing, such as `rdfs:label` or `skos:prefLabel`; in a query, the name written after `_:` for a blank node.
- library
- what a program that loads an engine calls: describe, load, ask, convert and test, each taking bytes and returning bytes (`engine/library.md`).
- library case (library cases)
- a list of calls on an engine's library, in order, and what each must return or fail with, listed in `fixtures/library/manifest.ttl`.
- lift (lifted)
- the first step of a conversion: the source record written as statements, element by element, before any mapping runs.
- literal (literals)
- a value written in a statement as text with a datatype, such as `"2.00"^^xsd:decimal`, as distinct from an IRI that names a thing.
- local run
- a run on a developer's machine, outside CI: it reads no pull request and uses the checkouts beside it.
- lone surrogate (surrogate)
- in a JSON string, one half of the pair of numbers written with a u escape that stands for a single character; alone it stands for no character.
- lookup (lookups, looked up)
- an entry's statement that its path's values are found in a concept map, and which gap a value outside the map opens.
- lowercasing (lowercased)
- writing a value in lower-case letters; SPARQL does it letter by letter, where Unicode case folding goes further.
- manifest (manifests, test manifest)
- here, a list of test cases, a Turtle file in the W3C's test vocabulary: an adapter's, which its crate names, or the one in each folder of vectors.
- mapped graph (mapped graphs)
- what a mapping wrote for one source record, before a Bridge names its versions.
- mapping (mappings)
- a SPARQL CONSTRUCT an adapter names that writes records in the Cascade vocabulary from a lifted source record.
- merge gate
- the check `ready-to-merge`, which passes a pull request only once those it names have merged or are ready with it.
- N-Triples
- a W3C text format for writing statements, one to a line, with no abbreviations.
- name shorthand
- in a JSONPath, `.name` written for `['name']`, the short way to select a member.
- named pull request (named pull requests)
- a pull request reached from the one under test by `Depends-On:` lines, each a line of a description giving another pull request's address.
- namespace (namespaces)
- the common beginning of a vocabulary's IRIs, such as `https://ns.cascadeprotocol.org/cascade#`.
- naming rule (naming rules)
- a query the vocabulary publishes that gives the name of a thing from what it is made from, such as a record's name from its address on a server.
- nested node (nested nodes)
- a part of a version with an IRI of its own, the version's IRI followed by `#` and a fragment; it is renamed with its version.
- notation (notations)
- in SKOS, the code a concept is known by; in a concept map, a source's value.
- ontology file (ontology files)
- a Turtle file under `ontologies/` that declares terms.
- outcome (outcomes)
- what an EARL report says of one test: `passed`, `failed`, `cantTell`, `inapplicable` or `untested`.
- output (outputs)
- a named value an action gives back to the workflow that ran it, which a later step can read.
- placeholder
- `urn:cascade:this-version`, which stands for a version in its own canonical content, since the version's name is not known until that content is hashed.
- pod (pods)
- one person's records, and what that person has said about them, kept as files in one folder.
- profile
- the set of requirements an adapter package is validated against, under `adapter/profile/`.
- pull request (pull requests)
- a proposed change to a repository on GitHub, which is reviewed and then merged.
- rdflib
- the Python library that reads Turtle for the specification's checks.
- record (records, source record, source records)
- here, one repeated item of a source document, such as one `ExampleRecord` element of a set; a Bridge converts a document record by record. What a mapping writes for it is called a record too, and a naming rule names it; where the two must be told apart the item is the source record.
- record path (record paths)
- the JSONPath by which an envelope of a JSON adapter selects each record of a document, such as `$.entry[*]`; only `$`, `.name`, `['name']` and `[*]` may be used.
- reference lift
- `tests/specification/json_lift.py`: a JSON lift written from `engine/sparql.md` alone and sharing no code with any Bridge, which every JSON vector is run through.
- refinement (refined)
- the second half of a selector: a path from a record to one node inside it.
- release
- here, a build of an engine published on GitHub as `build-<commit>`, which an adapter's run uses instead of building the engine.
- repository under test
- the repository whose pull request or branch a run was started for.
- results directory
- the folder a compatibility run writes into: `record.json`, `table.md`, the EARL reports under `earl/`, and the case report. The start action uploads it.
- rocrate-validator
- the program that checks an adapter package against RO-Crate 1.2 and the profile, running each file under `adapter/profile/must/` as one requirement.
- run (runs)
- one execution of `scripts/compatibility.py` over a repository, in CI or locally.
- run record
- the file a run writes of each repository it used, its commit and how it was picked.
- runtime (runtimes)
- software that reads and writes pods as the vocabulary requires.
- same content
- two versions of a record whose canonical content is byte for byte alike, so that they get the one name.
- selector (selectors, record selector)
- the part of a finding's target that picks a node of the input: an XPath for XML, a JSON Pointer for JSON.
- severity
- how serious a finding is, one of `sh:Info`, `sh:Warning` and `sh:Violation`.
- shapes (Bridge shapes)
- here, the specification's requirements on a crate, a manifest, a findings file, a file of facts or an accounting, written in SHACL, the W3C language for checking data.
- sibling (siblings)
- a checkout in the folder beside the one a local run is given.
- SKOS
- the W3C's vocabulary for lists of named concepts, which a gap scheme and a concept map are written in.
- source path (source paths)
- a path from a record's element to one element or attribute under it, with no positions, as an accounting writes it.
- SPARQL
- the W3C query language for data written as statements, as Turtle writes them.
https://www.w3.org/TR/sparql11-query/ - stand-in (stand in, stand-ins)
- a made-up value written where a real one was removed, such as `Bench Hospital` for a hospital's name.
- summary page (run's summary)
- the page GitHub shows for a workflow run, to which a step may append Markdown; the compatibility table is appended there.
- superclass (superclasses, subclass)
- in RDF Schema, a class that another class is a kind of; a property defined for the superclass applies to the subclass.
- Synthea
- a program that invents people and writes health records for them, from which the benchmark inputs are made.
- synthetic adapter (synthetic adapters)
- `fixtures/synthetic-adapter/` (XML) and `fixtures/synthetic-json-adapter/` (JSON): made-up adapters that pass the profile, to copy and to test with.
- synthetic vocabularies
- `fixtures/synthetic-vocabularies/`: an invented stand-in for a checkout of the Cascade vocabulary, holding the ontology file and shapes the synthetic adapters name.
- table row (row, rows, table rows)
- one line of the table a run writes, for one repository the run used.
- term (terms)
- here, one word a vocabulary defines, named by an IRI; `bridge:` terms are the specification's, others are the Cascade vocabulary's.
- triple (triples)
- one statement of a graph: a subject, a property and a value.
- Turtle
- a W3C text format for writing statements in the vocabulary's terms.
https://www.w3.org/TR/turtle/ - vector (vectors, versioning vector, versioning vectors)
- a worked example an engine must reproduce: an input file and the output expected from it, listed in a manifest.
- verdict (verdicts)
- what an entry says becomes of its path, one of six: carried, carried in part, redundant with another path, consumed, no home, ignored.
- version (versions)
- what a record says at one time; when a source changes a record, the pod keeps the old version and adds a new one.
cascade:version - vocabulary (vocabularies, Cascade vocabulary)
- cascade-vocabulary, the project that defines the words health data is written in, the requirements every pod meets, and a set of ready-made questions.
https://ns.cascadeprotocol.org/cascade# - vouch (vouches, vouched)
- to give the digest of a file in a release's notes, saying the file is what it should be.
- well formed (well-formed)
- written by XML's own rules of syntax, whether or not it also meets a schema.
- whitespace
- characters that show nothing between words; XML counts only the space, tab, carriage return and line feed, where Unicode counts more, such as the no-break space.
- XPath (XPaths)
- the W3C language for picking nodes out of an XML document, such as `/ExampleRecord/Status`.
- XSD (XML Schema)
- the W3C's XML Schema language, in which a source's rules for an XML document are written, in `.xsd` files.
- Zuul
- a system that tests the changes of several repositories merged together, as this tool does for the pull requests a description names.
No entry matches.
Lifting a JSON document engine/sparql.md, fixtures/lift/ 27 passed
A Bridge lifts a JSON document to a graph as `engine/sparql.md` says, and must reproduce every vector: a document and the graph it lifts to. The reference lift is a second lift kept with these tests, written from that text alone, so a vector that passes here is one the text and the file agree on.
Source specification/test_a_reference_json_lift_reproduces_every_json_vector.py
given the lift manifest 1 passed
given a JSON vector 11 passed
- passed reproduces the vector's expected graph in the reference lift [json-scalars]4 ms
A vector of the envelope skeleton is lifted with its `bridge:jsonPathOfEachRecord`; the failure lists the triples only one side holds. The two graphs are the same when each triple of one is a triple of the other, blank nodes aside, which may be named differently.
- passed reproduces the vector's expected graph in the reference lift [skeleton-json]7 ms
A vector of the envelope skeleton is lifted with its `bridge:jsonPathOfEachRecord`; the failure lists the triples only one side holds. The two graphs are the same when each triple of one is a triple of the other, blank nodes aside, which may be named differently.
- passed reproduces the vector's expected graph in the reference lift [json-names]7 ms
A vector of the envelope skeleton is lifted with its `bridge:jsonPathOfEachRecord`; the failure lists the triples only one side holds. The two graphs are the same when each triple of one is a triple of the other, blank nodes aside, which may be named differently.
- passed reproduces the vector's expected graph in the reference lift [json-null]9 ms
A vector of the envelope skeleton is lifted with its `bridge:jsonPathOfEachRecord`; the failure lists the triples only one side holds. The two graphs are the same when each triple of one is a triple of the other, blank nodes aside, which may be named differently.
- passed reproduces the vector's expected graph in the reference lift [json-root-array]3 ms
A vector of the envelope skeleton is lifted with its `bridge:jsonPathOfEachRecord`; the failure lists the triples only one side holds. The two graphs are the same when each triple of one is a triple of the other, blank nodes aside, which may be named differently.
- passed reproduces the vector's expected graph in the reference lift [skeleton-json-record-root]3 ms
A vector of the envelope skeleton is lifted with its `bridge:jsonPathOfEachRecord`; the failure lists the triples only one side holds. The two graphs are the same when each triple of one is a triple of the other, blank nodes aside, which may be named differently.
- passed reproduces the vector's expected graph in the reference lift [json-escapes]4 ms
A vector of the envelope skeleton is lifted with its `bridge:jsonPathOfEachRecord`; the failure lists the triples only one side holds. The two graphs are the same when each triple of one is a triple of the other, blank nodes aside, which may be named differently.
- passed reproduces the vector's expected graph in the reference lift [json-duplicates]6 ms
A vector of the envelope skeleton is lifted with its `bridge:jsonPathOfEachRecord`; the failure lists the triples only one side holds. The two graphs are the same when each triple of one is a triple of the other, blank nodes aside, which may be named differently.
- passed reproduces the vector's expected graph in the reference lift [json-empty]6 ms
A vector of the envelope skeleton is lifted with its `bridge:jsonPathOfEachRecord`; the failure lists the triples only one side holds. The two graphs are the same when each triple of one is a triple of the other, blank nodes aside, which may be named differently.
- passed reproduces the vector's expected graph in the reference lift [skeleton-json-bracket-path]8 ms
A vector of the envelope skeleton is lifted with its `bridge:jsonPathOfEachRecord`; the failure lists the triples only one side holds. The two graphs are the same when each triple of one is a triple of the other, blank nodes aside, which may be named differently.
- passed reproduces the vector's expected graph in the reference lift [json-base64-attachment]28 ms
A vector of the envelope skeleton is lifted with its `bridge:jsonPathOfEachRecord`; the failure lists the triples only one side holds. The two graphs are the same when each triple of one is a triple of the other, blank nodes aside, which may be named differently.
- passed reproduces the vector's expected graph in the reference lift [json-scalars]4 ms
given a document that is no JSON text in UTF-8 holding an object or an array 14 passed
- passed lifts nothing from it [a lone surrogate in a name]1 ms
Each document is a library case on the synthetic JSON adapter, refused as a document failure.
- passed lifts nothing from it [a byte order mark]1 ms
Each document is a library case on the synthetic JSON adapter, refused as a document failure.
- passed lifts nothing from it [NaN]1 ms
Each document is a library case on the synthetic JSON adapter, refused as a document failure.
- passed lifts nothing from it [a string as the value]1 ms
Each document is a library case on the synthetic JSON adapter, refused as a document failure.
- passed lifts nothing from it [text that is not UTF-8]2 ms
Each document is a library case on the synthetic JSON adapter, refused as a document failure.
- passed lifts nothing from it [a number as the value]1 ms
Each document is a library case on the synthetic JSON adapter, refused as a document failure.
- passed lifts nothing from it [a lone surrogate in a string]3 ms
Each document is a library case on the synthetic JSON adapter, refused as a document failure.
- passed is a library case refused as a document failure [a string as the value]1 ms
- passed is a library case refused as a document failure [a lone surrogate in a name]1 ms
- passed is a library case refused as a document failure [a lone surrogate in a string]1 ms
- passed is a library case refused as a document failure [NaN]1 ms
- passed is a library case refused as a document failure [a byte order mark]2 ms
- passed is a library case refused as a document failure [text that is not UTF-8]1 ms
- passed is a library case refused as a document failure [a number as the value]4 ms
- passed lifts nothing from it [a lone surrogate in a name]1 ms
given a record path 1 passed
- passed selects the same records written `.name` or `['name']`1 ms
Text values the XML lift writes on an element engine/sparql.md, fixtures/lift/ 36 passed
Beside its children, the XML lift writes two readings of an element's text: its text content, every character under it in order, and its text with element breaks, a line for each run of text between the elements an adapter names as breaking text. Reference text values, written from `engine/sparql.md` alone, show that the text and the vectors agree.
Source specification/test_the_reference_text_values_reproduce_every_xml_vector.py
given the lift manifest 2 passed
given an XML vector 34 passed
states on each element holding text the text content the reference gives it 17 passed
- passed states on each element holding text the text content the reference gives it [attributes]4 ms
"States" is checked by equality: the expected graph writes the same text content, no more and no fewer, as the reference gives the elements of the document. The elements are counted by their type and their text together, since a blank node, the form an element takes in the graph, has no name to match it by.
- passed states on each element holding text the text content the reference gives it [text-with-element-breaks-inline]2 ms
"States" is checked by equality: the expected graph writes the same text content, no more and no fewer, as the reference gives the elements of the document. The elements are counted by their type and their text together, since a blank node, the form an element takes in the graph, has no name to match it by.
- passed states on each element holding text the text content the reference gives it [non-ascii]2 ms
"States" is checked by equality: the expected graph writes the same text content, no more and no fewer, as the reference gives the elements of the document. The elements are counted by their type and their text together, since a blank node, the form an element takes in the graph, has no name to match it by.
- passed states on each element holding text the text content the reference gives it [no-break-space]3 ms
"States" is checked by equality: the expected graph writes the same text content, no more and no fewer, as the reference gives the elements of the document. The elements are counted by their type and their text together, since a blank node, the form an element takes in the graph, has no name to match it by.
- passed states on each element holding text the text content the reference gives it [base64-attachment]4 ms
"States" is checked by equality: the expected graph writes the same text content, no more and no fewer, as the reference gives the elements of the document. The elements are counted by their type and their text together, since a blank node, the form an element takes in the graph, has no name to match it by.
- passed states on each element holding text the text content the reference gives it [text-with-element-breaks-table]6 ms
"States" is checked by equality: the expected graph writes the same text content, no more and no fewer, as the reference gives the elements of the document. The elements are counted by their type and their text together, since a blank node, the form an element takes in the graph, has no name to match it by.
- passed states on each element holding text the text content the reference gives it [entities]2 ms
"States" is checked by equality: the expected graph writes the same text content, no more and no fewer, as the reference gives the elements of the document. The elements are counted by their type and their text together, since a blank node, the form an element takes in the graph, has no name to match it by.
- passed states on each element holding text the text content the reference gives it [whitespace]3 ms
"States" is checked by equality: the expected graph writes the same text content, no more and no fewer, as the reference gives the elements of the document. The elements are counted by their type and their text together, since a blank node, the form an element takes in the graph, has no name to match it by.
- passed states on each element holding text the text content the reference gives it [mixed-content]2 ms
"States" is checked by equality: the expected graph writes the same text content, no more and no fewer, as the reference gives the elements of the document. The elements are counted by their type and their text together, since a blank node, the form an element takes in the graph, has no name to match it by.
- passed states on each element holding text the text content the reference gives it [dropped]5 ms
"States" is checked by equality: the expected graph writes the same text content, no more and no fewer, as the reference gives the elements of the document. The elements are counted by their type and their text together, since a blank node, the form an element takes in the graph, has no name to match it by.
- passed states on each element holding text the text content the reference gives it [text-content]3 ms
"States" is checked by equality: the expected graph writes the same text content, no more and no fewer, as the reference gives the elements of the document. The elements are counted by their type and their text together, since a blank node, the form an element takes in the graph, has no name to match it by.
- passed states on each element holding text the text content the reference gives it [base64-attachment-not-decoded]7 ms
"States" is checked by equality: the expected graph writes the same text content, no more and no fewer, as the reference gives the elements of the document. The elements are counted by their type and their text together, since a blank node, the form an element takes in the graph, has no name to match it by.
- passed states on each element holding text the text content the reference gives it [text-with-element-breaks-paragraphs]3 ms
"States" is checked by equality: the expected graph writes the same text content, no more and no fewer, as the reference gives the elements of the document. The elements are counted by their type and their text together, since a blank node, the form an element takes in the graph, has no name to match it by.
- passed states on each element holding text the text content the reference gives it [attributes-plus-xml]2 ms
"States" is checked by equality: the expected graph writes the same text content, no more and no fewer, as the reference gives the elements of the document. The elements are counted by their type and their text together, since a blank node, the form an element takes in the graph, has no name to match it by.
- passed states on each element holding text the text content the reference gives it [cdata]3 ms
"States" is checked by equality: the expected graph writes the same text content, no more and no fewer, as the reference gives the elements of the document. The elements are counted by their type and their text together, since a blank node, the form an element takes in the graph, has no name to match it by.
- passed states on each element holding text the text content the reference gives it [attributes-text-xml]2 ms
"States" is checked by equality: the expected graph writes the same text content, no more and no fewer, as the reference gives the elements of the document. The elements are counted by their type and their text together, since a blank node, the form an element takes in the graph, has no name to match it by.
- passed states on each element holding text the text content the reference gives it [namespaces]2 ms
"States" is checked by equality: the expected graph writes the same text content, no more and no fewer, as the reference gives the elements of the document. The elements are counted by their type and their text together, since a blank node, the form an element takes in the graph, has no name to match it by.
- passed states on each element holding text the text content the reference gives it [attributes]4 ms
states the text with element breaks the reference gives and none where no element is named 17 passed
- passed states the text with element breaks the reference gives and none where no element is named [whitespace]3 ms
The same equality, counted the same way: where the adapter names elements as breaking text, the expected graph writes each such element's text with element breaks as the reference gives it; where it names none, the expected graph writes none.
- passed states the text with element breaks the reference gives and none where no element is named [text-with-element-breaks-paragraphs]3 ms
The same equality, counted the same way: where the adapter names elements as breaking text, the expected graph writes each such element's text with element breaks as the reference gives it; where it names none, the expected graph writes none.
- passed states the text with element breaks the reference gives and none where no element is named [non-ascii]2 ms
The same equality, counted the same way: where the adapter names elements as breaking text, the expected graph writes each such element's text with element breaks as the reference gives it; where it names none, the expected graph writes none.
- passed states the text with element breaks the reference gives and none where no element is named [attributes]2 ms
The same equality, counted the same way: where the adapter names elements as breaking text, the expected graph writes each such element's text with element breaks as the reference gives it; where it names none, the expected graph writes none.
- passed states the text with element breaks the reference gives and none where no element is named [entities]2 ms
The same equality, counted the same way: where the adapter names elements as breaking text, the expected graph writes each such element's text with element breaks as the reference gives it; where it names none, the expected graph writes none.
- passed states the text with element breaks the reference gives and none where no element is named [text-with-element-breaks-inline]2 ms
The same equality, counted the same way: where the adapter names elements as breaking text, the expected graph writes each such element's text with element breaks as the reference gives it; where it names none, the expected graph writes none.
- passed states the text with element breaks the reference gives and none where no element is named [text-content]3 ms
The same equality, counted the same way: where the adapter names elements as breaking text, the expected graph writes each such element's text with element breaks as the reference gives it; where it names none, the expected graph writes none.
- passed states the text with element breaks the reference gives and none where no element is named [mixed-content]2 ms
The same equality, counted the same way: where the adapter names elements as breaking text, the expected graph writes each such element's text with element breaks as the reference gives it; where it names none, the expected graph writes none.
- passed states the text with element breaks the reference gives and none where no element is named [base64-attachment]4 ms
The same equality, counted the same way: where the adapter names elements as breaking text, the expected graph writes each such element's text with element breaks as the reference gives it; where it names none, the expected graph writes none.
- passed states the text with element breaks the reference gives and none where no element is named [dropped]2 ms
The same equality, counted the same way: where the adapter names elements as breaking text, the expected graph writes each such element's text with element breaks as the reference gives it; where it names none, the expected graph writes none.
- passed states the text with element breaks the reference gives and none where no element is named [namespaces]2 ms
The same equality, counted the same way: where the adapter names elements as breaking text, the expected graph writes each such element's text with element breaks as the reference gives it; where it names none, the expected graph writes none.
- passed states the text with element breaks the reference gives and none where no element is named [no-break-space]3 ms
The same equality, counted the same way: where the adapter names elements as breaking text, the expected graph writes each such element's text with element breaks as the reference gives it; where it names none, the expected graph writes none.
- passed states the text with element breaks the reference gives and none where no element is named [text-with-element-breaks-table]7 ms
The same equality, counted the same way: where the adapter names elements as breaking text, the expected graph writes each such element's text with element breaks as the reference gives it; where it names none, the expected graph writes none.
- passed states the text with element breaks the reference gives and none where no element is named [attributes-text-xml]2 ms
The same equality, counted the same way: where the adapter names elements as breaking text, the expected graph writes each such element's text with element breaks as the reference gives it; where it names none, the expected graph writes none.
- passed states the text with element breaks the reference gives and none where no element is named [attributes-plus-xml]3 ms
The same equality, counted the same way: where the adapter names elements as breaking text, the expected graph writes each such element's text with element breaks as the reference gives it; where it names none, the expected graph writes none.
- passed states the text with element breaks the reference gives and none where no element is named [base64-attachment-not-decoded]6 ms
The same equality, counted the same way: where the adapter names elements as breaking text, the expected graph writes each such element's text with element breaks as the reference gives it; where it names none, the expected graph writes none.
- passed states the text with element breaks the reference gives and none where no element is named [cdata]2 ms
The same equality, counted the same way: where the adapter names elements as breaking text, the expected graph writes each such element's text with element breaks as the reference gives it; where it names none, the expected graph writes none.
- passed states the text with element breaks the reference gives and none where no element is named [whitespace]3 ms
Naming the versions of a mapped graph engine/stages.md, fixtures/versioning/ 59 passed
A mapping writes each version of a record under an IRI of its own choosing; a Bridge renames the version to the SHA-256 of its canonical content, so the same content always gets the same name, and keeps one version of each record. A versioning vector is a mapped graph, the canonical content of each version, and the graph a Bridge writes from it; a second implementation kept with these tests shows each vector follows the rule.
Source specification/test_versioning_vectors.py
given a versioning vector 55 passed
states as each version's canonical content its statements in the mapped graph, the placeholder in place of its IRI 11 passed
- passed states as each version's canonical content its statements in the mapped graph, the placeholder in place of its IRI [allergy]1 ms
- passed states as each version's canonical content its statements in the mapped graph, the placeholder in place of its IRI [placeholder-prefix]1 ms
- passed states as each version's canonical content its statements in the mapped graph, the placeholder in place of its IRI [escaped-literals]1 ms
- passed states as each version's canonical content its statements in the mapped graph, the placeholder in place of its IRI [nested-nodes]1 ms
- passed states as each version's canonical content its statements in the mapped graph, the placeholder in place of its IRI [typed-literals-round-tripped]1 ms
- passed states as each version's canonical content its statements in the mapped graph, the placeholder in place of its IRI [allergy-on-another-record]2 ms
- passed states as each version's canonical content its statements in the mapped graph, the placeholder in place of its IRI [typed-literals]1 ms
- passed states as each version's canonical content its statements in the mapped graph, the placeholder in place of its IRI [allergy-again]1 ms
- passed states as each version's canonical content its statements in the mapped graph, the placeholder in place of its IRI [two-versions]2 ms
- passed states as each version's canonical content its statements in the mapped graph, the placeholder in place of its IRI [one-version-a-record]2 ms
- passed states as each version's canonical content its statements in the mapped graph, the placeholder in place of its IRI [one-version-a-record-same-content]2 ms
names each version `ni:///sha-256;` and the digest of its canonical content 11 passed
- passed names each version `ni:///sha-256;` and the digest of its canonical content [allergy-on-another-record]1 ms
- passed names each version `ni:///sha-256;` and the digest of its canonical content [allergy-again]1 ms
- passed names each version `ni:///sha-256;` and the digest of its canonical content [typed-literals-round-tripped]1 ms
- passed names each version `ni:///sha-256;` and the digest of its canonical content [typed-literals]1 ms
- passed names each version `ni:///sha-256;` and the digest of its canonical content [nested-nodes]2 ms
- passed names each version `ni:///sha-256;` and the digest of its canonical content [one-version-a-record]1 ms
- passed names each version `ni:///sha-256;` and the digest of its canonical content [one-version-a-record-same-content]2 ms
- passed names each version `ni:///sha-256;` and the digest of its canonical content [placeholder-prefix]1 ms
- passed names each version `ni:///sha-256;` and the digest of its canonical content [two-versions]1 ms
- passed names each version `ni:///sha-256;` and the digest of its canonical content [allergy]1 ms
- passed names each version `ni:///sha-256;` and the digest of its canonical content [escaped-literals]1 ms
keeps each canonical content sorted, one statement to a line 11 passed
- passed keeps each canonical content sorted, one statement to a line [nested-nodes]1 ms
Each literal is written as the mapping wrote it, with the datatype and the digits it had, never as a store gives it back; so `"2.00"` stays `"2.00"`. The lines are in the order that sorting their text gives.
- passed keeps each canonical content sorted, one statement to a line [typed-literals-round-tripped]2 ms
Each literal is written as the mapping wrote it, with the datatype and the digits it had, never as a store gives it back; so `"2.00"` stays `"2.00"`. The lines are in the order that sorting their text gives.
- passed keeps each canonical content sorted, one statement to a line [typed-literals]1 ms
Each literal is written as the mapping wrote it, with the datatype and the digits it had, never as a store gives it back; so `"2.00"` stays `"2.00"`. The lines are in the order that sorting their text gives.
- passed keeps each canonical content sorted, one statement to a line [allergy-again]1 ms
Each literal is written as the mapping wrote it, with the datatype and the digits it had, never as a store gives it back; so `"2.00"` stays `"2.00"`. The lines are in the order that sorting their text gives.
- passed keeps each canonical content sorted, one statement to a line [one-version-a-record-same-content]2 ms
Each literal is written as the mapping wrote it, with the datatype and the digits it had, never as a store gives it back; so `"2.00"` stays `"2.00"`. The lines are in the order that sorting their text gives.
- passed keeps each canonical content sorted, one statement to a line [escaped-literals]1 ms
Each literal is written as the mapping wrote it, with the datatype and the digits it had, never as a store gives it back; so `"2.00"` stays `"2.00"`. The lines are in the order that sorting their text gives.
- passed keeps each canonical content sorted, one statement to a line [placeholder-prefix]1 ms
Each literal is written as the mapping wrote it, with the datatype and the digits it had, never as a store gives it back; so `"2.00"` stays `"2.00"`. The lines are in the order that sorting their text gives.
- passed keeps each canonical content sorted, one statement to a line [allergy]2 ms
Each literal is written as the mapping wrote it, with the datatype and the digits it had, never as a store gives it back; so `"2.00"` stays `"2.00"`. The lines are in the order that sorting their text gives.
- passed keeps each canonical content sorted, one statement to a line [allergy-on-another-record]2 ms
Each literal is written as the mapping wrote it, with the datatype and the digits it had, never as a store gives it back; so `"2.00"` stays `"2.00"`. The lines are in the order that sorting their text gives.
- passed keeps each canonical content sorted, one statement to a line [two-versions]2 ms
Each literal is written as the mapping wrote it, with the datatype and the digits it had, never as a store gives it back; so `"2.00"` stays `"2.00"`. The lines are in the order that sorting their text gives.
- passed keeps each canonical content sorted, one statement to a line [one-version-a-record]2 ms
Each literal is written as the mapping wrote it, with the datatype and the digits it had, never as a store gives it back; so `"2.00"` stays `"2.00"`. The lines are in the order that sorting their text gives.
- passed keeps each canonical content sorted, one statement to a line [nested-nodes]1 ms
expects the mapped graph with every kept version and its nested nodes renamed 11 passed
- passed expects the mapped graph with every kept version and its nested nodes renamed [one-version-a-record-same-content]3 ms
Where a mapping wrote two versions of one record, the graph holds the one a Bridge keeps and nothing of the other.
- passed expects the mapped graph with every kept version and its nested nodes renamed [allergy]3 ms
Where a mapping wrote two versions of one record, the graph holds the one a Bridge keeps and nothing of the other.
- passed expects the mapped graph with every kept version and its nested nodes renamed [two-versions]2 ms
Where a mapping wrote two versions of one record, the graph holds the one a Bridge keeps and nothing of the other.
- passed expects the mapped graph with every kept version and its nested nodes renamed [placeholder-prefix]2 ms
Where a mapping wrote two versions of one record, the graph holds the one a Bridge keeps and nothing of the other.
- passed expects the mapped graph with every kept version and its nested nodes renamed [allergy-again]3 ms
Where a mapping wrote two versions of one record, the graph holds the one a Bridge keeps and nothing of the other.
- passed expects the mapped graph with every kept version and its nested nodes renamed [allergy-on-another-record]3 ms
Where a mapping wrote two versions of one record, the graph holds the one a Bridge keeps and nothing of the other.
- passed expects the mapped graph with every kept version and its nested nodes renamed [one-version-a-record]4 ms
Where a mapping wrote two versions of one record, the graph holds the one a Bridge keeps and nothing of the other.
- passed expects the mapped graph with every kept version and its nested nodes renamed [escaped-literals]2 ms
Where a mapping wrote two versions of one record, the graph holds the one a Bridge keeps and nothing of the other.
- passed expects the mapped graph with every kept version and its nested nodes renamed [nested-nodes]3 ms
Where a mapping wrote two versions of one record, the graph holds the one a Bridge keeps and nothing of the other.
- passed expects the mapped graph with every kept version and its nested nodes renamed [typed-literals-round-tripped]3 ms
Where a mapping wrote two versions of one record, the graph holds the one a Bridge keeps and nothing of the other.
- passed expects the mapped graph with every kept version and its nested nodes renamed [typed-literals]3 ms
Where a mapping wrote two versions of one record, the graph holds the one a Bridge keeps and nothing of the other.
- passed expects the mapped graph with every kept version and its nested nodes renamed [one-version-a-record-same-content]3 ms
leaves no placeholder in the expected graph 11 passed
- passed leaves no placeholder in the expected graph [placeholder-prefix]1 ms
- passed leaves no placeholder in the expected graph [nested-nodes]1 ms
- passed leaves no placeholder in the expected graph [one-version-a-record]1 ms
- passed leaves no placeholder in the expected graph [one-version-a-record-same-content]2 ms
- passed leaves no placeholder in the expected graph [typed-literals]1 ms
- passed leaves no placeholder in the expected graph [typed-literals-round-tripped]1 ms
- passed leaves no placeholder in the expected graph [allergy-on-another-record]1 ms
- passed leaves no placeholder in the expected graph [escaped-literals]1 ms
- passed leaves no placeholder in the expected graph [allergy-again]1 ms
- passed leaves no placeholder in the expected graph [allergy]1 ms
- passed leaves no placeholder in the expected graph [two-versions]2 ms
given two vectors that differ in one way 4 passed
- passed names the versions of `allergy` and of `allergy-again`, the same content converted twice, alike1 ms
- passed names the versions of `allergy-on-another-record`, the same content on another record, otherwise than `allergy`1 ms
- passed names `typed-literals` otherwise than `typed-literals-round-tripped`, whose `"2.00"` a store gave back as `"2"`1 ms
- passed names two versions in `two-versions`, one for each record its one source record gives1 ms
The graph a Bridge writes for a document engine/stages.md, fixtures/synthetic-adapter/, fixtures/synthetic-json-adapter/ 160 passed
Beside the records a mapping writes, a Bridge's graph for a document holds the document, the import that read it, and an arrival for each version: where in the document its record was read, and what the source said of it. Each conversion of the two synthetic adapters carries the graph an engine must write for it, and these hold each of those expected graphs to the rules of `engine/stages.md`.
Source specification/test_the_synthetic_adapters_graphs_are_the_records_layer.py
given a synthetic adapter 2 passed
given a conversion's expected graph 150 passed
names the document `ni:///sha-256;` and the digest of its bytes 15 passed
- passed names the document `ni:///sha-256;` and the digest of its bytes [synthetic-json-adapter:json-0009]1 ms
- passed names the document `ni:///sha-256;` and the digest of its bytes [synthetic-json-adapter:json-0008]1 ms
- passed names the document `ni:///sha-256;` and the digest of its bytes [synthetic-adapter:example-0008]1 ms
- passed names the document `ni:///sha-256;` and the digest of its bytes [synthetic-adapter:example-0003]2 ms
- passed names the document `ni:///sha-256;` and the digest of its bytes [synthetic-json-adapter:json-0005]1 ms
- passed names the document `ni:///sha-256;` and the digest of its bytes [synthetic-json-adapter:json-0004]1 ms
- passed names the document `ni:///sha-256;` and the digest of its bytes [synthetic-json-adapter:json-0006]1 ms
- passed names the document `ni:///sha-256;` and the digest of its bytes [synthetic-json-adapter:json-0007]1 ms
- passed names the document `ni:///sha-256;` and the digest of its bytes [synthetic-adapter:example-0001]1 ms
- passed names the document `ni:///sha-256;` and the digest of its bytes [synthetic-adapter:example-0004]1 ms
- passed names the document `ni:///sha-256;` and the digest of its bytes [synthetic-json-adapter:json-0002]1 ms
- passed names the document `ni:///sha-256;` and the digest of its bytes [synthetic-adapter:example-0005]1 ms
- passed names the document `ni:///sha-256;` and the digest of its bytes [synthetic-json-adapter:json-0003]1 ms
- passed names the document `ni:///sha-256;` and the digest of its bytes [synthetic-json-adapter:json-0001]1 ms
- passed names the document `ni:///sha-256;` and the digest of its bytes [synthetic-adapter:example-0006]1 ms
states on the document exactly the facts supplied about it, a server's base URL apart 15 passed
- passed states on the document exactly the facts supplied about it, a server's base URL apart [synthetic-json-adapter:json-0002]15 ms
A base URL is written normalised, as the Cascade vocabulary's naming vectors give it, so it is not compared.
- passed states on the document exactly the facts supplied about it, a server's base URL apart [synthetic-adapter:example-0004]9 ms
A base URL is written normalised, as the Cascade vocabulary's naming vectors give it, so it is not compared.
- passed states on the document exactly the facts supplied about it, a server's base URL apart [synthetic-json-adapter:json-0003]13 ms
A base URL is written normalised, as the Cascade vocabulary's naming vectors give it, so it is not compared.
- passed states on the document exactly the facts supplied about it, a server's base URL apart [synthetic-adapter:example-0005]12 ms
A base URL is written normalised, as the Cascade vocabulary's naming vectors give it, so it is not compared.
- passed states on the document exactly the facts supplied about it, a server's base URL apart [synthetic-json-adapter:json-0001]12 ms
A base URL is written normalised, as the Cascade vocabulary's naming vectors give it, so it is not compared.
- passed states on the document exactly the facts supplied about it, a server's base URL apart [synthetic-adapter:example-0006]8 ms
A base URL is written normalised, as the Cascade vocabulary's naming vectors give it, so it is not compared.
- passed states on the document exactly the facts supplied about it, a server's base URL apart [synthetic-adapter:example-0003]5 ms
A base URL is written normalised, as the Cascade vocabulary's naming vectors give it, so it is not compared.
- passed states on the document exactly the facts supplied about it, a server's base URL apart [synthetic-json-adapter:json-0005]8 ms
A base URL is written normalised, as the Cascade vocabulary's naming vectors give it, so it is not compared.
- passed states on the document exactly the facts supplied about it, a server's base URL apart [synthetic-json-adapter:json-0004]9 ms
A base URL is written normalised, as the Cascade vocabulary's naming vectors give it, so it is not compared.
- passed states on the document exactly the facts supplied about it, a server's base URL apart [synthetic-json-adapter:json-0006]8 ms
A base URL is written normalised, as the Cascade vocabulary's naming vectors give it, so it is not compared.
- passed states on the document exactly the facts supplied about it, a server's base URL apart [synthetic-json-adapter:json-0007]8 ms
A base URL is written normalised, as the Cascade vocabulary's naming vectors give it, so it is not compared.
- passed states on the document exactly the facts supplied about it, a server's base URL apart [synthetic-adapter:example-0001]6 ms
A base URL is written normalised, as the Cascade vocabulary's naming vectors give it, so it is not compared.
- passed states on the document exactly the facts supplied about it, a server's base URL apart [synthetic-adapter:example-0008]8 ms
A base URL is written normalised, as the Cascade vocabulary's naming vectors give it, so it is not compared.
- passed states on the document exactly the facts supplied about it, a server's base URL apart [synthetic-json-adapter:json-0009]7 ms
A base URL is written normalised, as the Cascade vocabulary's naming vectors give it, so it is not compared.
- passed states on the document exactly the facts supplied about it, a server's base URL apart [synthetic-json-adapter:json-0008]5 ms
A base URL is written normalised, as the Cascade vocabulary's naming vectors give it, so it is not compared.
- passed states on the document exactly the facts supplied about it, a server's base URL apart [synthetic-json-adapter:json-0002]15 ms
links the import to the document it used and to the adapter's identifier and version 15 passed
- passed links the import to the document it used and to the adapter's identifier and version [synthetic-adapter:example-0008]2 ms
- passed links the import to the document it used and to the adapter's identifier and version [synthetic-json-adapter:json-0008]2 ms
- passed links the import to the document it used and to the adapter's identifier and version [synthetic-json-adapter:json-0009]1 ms
- passed links the import to the document it used and to the adapter's identifier and version [synthetic-adapter:example-0006]3 ms
- passed links the import to the document it used and to the adapter's identifier and version [synthetic-json-adapter:json-0003]1 ms
- passed links the import to the document it used and to the adapter's identifier and version [synthetic-json-adapter:json-0002]2 ms
- passed links the import to the document it used and to the adapter's identifier and version [synthetic-adapter:example-0005]2 ms
- passed links the import to the document it used and to the adapter's identifier and version [synthetic-json-adapter:json-0001]1 ms
- passed links the import to the document it used and to the adapter's identifier and version [synthetic-adapter:example-0004]2 ms
- passed links the import to the document it used and to the adapter's identifier and version [synthetic-json-adapter:json-0004]1 ms
- passed links the import to the document it used and to the adapter's identifier and version [synthetic-adapter:example-0001]1 ms
- passed links the import to the document it used and to the adapter's identifier and version [synthetic-json-adapter:json-0005]1 ms
- passed links the import to the document it used and to the adapter's identifier and version [synthetic-json-adapter:json-0007]1 ms
- passed links the import to the document it used and to the adapter's identifier and version [synthetic-adapter:example-0003]1 ms
- passed links the import to the document it used and to the adapter's identifier and version [synthetic-json-adapter:json-0006]1 ms
leaves the name and version of the Bridge that ran unstated 15 passed
- passed leaves the name and version of the Bridge that ran unstated [synthetic-json-adapter:json-0008]1 ms
An engine writes its own name and version there, and a conversion's comparison leaves them out.
- passed leaves the name and version of the Bridge that ran unstated [synthetic-adapter:example-0008]2 ms
An engine writes its own name and version there, and a conversion's comparison leaves them out.
- passed leaves the name and version of the Bridge that ran unstated [synthetic-json-adapter:json-0009]1 ms
An engine writes its own name and version there, and a conversion's comparison leaves them out.
- passed leaves the name and version of the Bridge that ran unstated [synthetic-adapter:example-0003]1 ms
An engine writes its own name and version there, and a conversion's comparison leaves them out.
- passed leaves the name and version of the Bridge that ran unstated [synthetic-json-adapter:json-0003]2 ms
An engine writes its own name and version there, and a conversion's comparison leaves them out.
- passed leaves the name and version of the Bridge that ran unstated [synthetic-json-adapter:json-0002]1 ms
An engine writes its own name and version there, and a conversion's comparison leaves them out.
- passed leaves the name and version of the Bridge that ran unstated [synthetic-json-adapter:json-0001]1 ms
An engine writes its own name and version there, and a conversion's comparison leaves them out.
- passed leaves the name and version of the Bridge that ran unstated [synthetic-adapter:example-0001]1 ms
An engine writes its own name and version there, and a conversion's comparison leaves them out.
- passed leaves the name and version of the Bridge that ran unstated [synthetic-json-adapter:json-0004]1 ms
An engine writes its own name and version there, and a conversion's comparison leaves them out.
- passed leaves the name and version of the Bridge that ran unstated [synthetic-adapter:example-0004]1 ms
An engine writes its own name and version there, and a conversion's comparison leaves them out.
- passed leaves the name and version of the Bridge that ran unstated [synthetic-json-adapter:json-0005]1 ms
An engine writes its own name and version there, and a conversion's comparison leaves them out.
- passed leaves the name and version of the Bridge that ran unstated [synthetic-adapter:example-0005]1 ms
An engine writes its own name and version there, and a conversion's comparison leaves them out.
- passed leaves the name and version of the Bridge that ran unstated [synthetic-json-adapter:json-0007]1 ms
An engine writes its own name and version there, and a conversion's comparison leaves them out.
- passed leaves the name and version of the Bridge that ran unstated [synthetic-adapter:example-0006]1 ms
An engine writes its own name and version there, and a conversion's comparison leaves them out.
- passed leaves the name and version of the Bridge that ran unstated [synthetic-json-adapter:json-0006]1 ms
An engine writes its own name and version there, and a conversion's comparison leaves them out.
- passed leaves the name and version of the Bridge that ran unstated [synthetic-json-adapter:json-0008]1 ms
states on the import exactly the facts supplied about it 15 passed
- passed states on the import exactly the facts supplied about it [synthetic-adapter:example-0003]9 ms
- passed states on the import exactly the facts supplied about it [synthetic-adapter:example-0001]9 ms
- passed states on the import exactly the facts supplied about it [synthetic-json-adapter:json-0008]5 ms
- passed states on the import exactly the facts supplied about it [synthetic-adapter:example-0004]2 ms
- passed states on the import exactly the facts supplied about it [synthetic-json-adapter:json-0009]5 ms
- passed states on the import exactly the facts supplied about it [synthetic-adapter:example-0005]2 ms
- passed states on the import exactly the facts supplied about it [synthetic-adapter:example-0006]2 ms
- passed states on the import exactly the facts supplied about it [synthetic-json-adapter:json-0001]2 ms
- passed states on the import exactly the facts supplied about it [synthetic-json-adapter:json-0003]2 ms
- passed states on the import exactly the facts supplied about it [synthetic-json-adapter:json-0002]2 ms
- passed states on the import exactly the facts supplied about it [synthetic-json-adapter:json-0007]2 ms
- passed states on the import exactly the facts supplied about it [synthetic-json-adapter:json-0006]1 ms
- passed states on the import exactly the facts supplied about it [synthetic-json-adapter:json-0004]1 ms
- passed states on the import exactly the facts supplied about it [synthetic-adapter:example-0008]2 ms
- passed states on the import exactly the facts supplied about it [synthetic-json-adapter:json-0005]2 ms
names each record by the naming rule of the Cascade vocabulary its mapping chooses 15 passed
- passed names each record by the naming rule of the Cascade vocabulary its mapping chooses [synthetic-adapter:example-0006]245 ms
- passed names each record by the naming rule of the Cascade vocabulary its mapping chooses [synthetic-adapter:example-0005]4 ms
A record held inside another is named by `ContainedRecordNamingRule`; one whose accession its document holds once, by `RecordFromServerNamingRule`; any other, by `RecordFromDocumentNamingRule`. Run with the vocabulary's own query text, from the cascade-vocabulary checkout beside this repository.
- passed names each record by the naming rule of the Cascade vocabulary its mapping chooses [synthetic-adapter:example-0004]5 ms
A record held inside another is named by `ContainedRecordNamingRule`; one whose accession its document holds once, by `RecordFromServerNamingRule`; any other, by `RecordFromDocumentNamingRule`. Run with the vocabulary's own query text, from the cascade-vocabulary checkout beside this repository.
- passed names each record by the naming rule of the Cascade vocabulary its mapping chooses [synthetic-adapter:example-0001]8 ms
A record held inside another is named by `ContainedRecordNamingRule`; one whose accession its document holds once, by `RecordFromServerNamingRule`; any other, by `RecordFromDocumentNamingRule`. Run with the vocabulary's own query text, from the cascade-vocabulary checkout beside this repository.
- passed names each record by the naming rule of the Cascade vocabulary its mapping chooses [synthetic-json-adapter:json-0008]8 ms
A record held inside another is named by `ContainedRecordNamingRule`; one whose accession its document holds once, by `RecordFromServerNamingRule`; any other, by `RecordFromDocumentNamingRule`. Run with the vocabulary's own query text, from the cascade-vocabulary checkout beside this repository.
- passed names each record by the naming rule of the Cascade vocabulary its mapping chooses [synthetic-json-adapter:json-0009]174 ms
A record held inside another is named by `ContainedRecordNamingRule`; one whose accession its document holds once, by `RecordFromServerNamingRule`; any other, by `RecordFromDocumentNamingRule`. Run with the vocabulary's own query text, from the cascade-vocabulary checkout beside this repository.
- passed names each record by the naming rule of the Cascade vocabulary its mapping chooses [synthetic-adapter:example-0003]4 ms
A record held inside another is named by `ContainedRecordNamingRule`; one whose accession its document holds once, by `RecordFromServerNamingRule`; any other, by `RecordFromDocumentNamingRule`. Run with the vocabulary's own query text, from the cascade-vocabulary checkout beside this repository.
- passed names each record by the naming rule of the Cascade vocabulary its mapping chooses [synthetic-json-adapter:json-0003]5 ms
A record held inside another is named by `ContainedRecordNamingRule`; one whose accession its document holds once, by `RecordFromServerNamingRule`; any other, by `RecordFromDocumentNamingRule`. Run with the vocabulary's own query text, from the cascade-vocabulary checkout beside this repository.
- passed names each record by the naming rule of the Cascade vocabulary its mapping chooses [synthetic-json-adapter:json-0002]5 ms
A record held inside another is named by `ContainedRecordNamingRule`; one whose accession its document holds once, by `RecordFromServerNamingRule`; any other, by `RecordFromDocumentNamingRule`. Run with the vocabulary's own query text, from the cascade-vocabulary checkout beside this repository.
- passed names each record by the naming rule of the Cascade vocabulary its mapping chooses [synthetic-adapter:example-0008]7 ms
A record held inside another is named by `ContainedRecordNamingRule`; one whose accession its document holds once, by `RecordFromServerNamingRule`; any other, by `RecordFromDocumentNamingRule`. Run with the vocabulary's own query text, from the cascade-vocabulary checkout beside this repository.
- passed names each record by the naming rule of the Cascade vocabulary its mapping chooses [synthetic-json-adapter:json-0001]8 ms
A record held inside another is named by `ContainedRecordNamingRule`; one whose accession its document holds once, by `RecordFromServerNamingRule`; any other, by `RecordFromDocumentNamingRule`. Run with the vocabulary's own query text, from the cascade-vocabulary checkout beside this repository.
- passed names each record by the naming rule of the Cascade vocabulary its mapping chooses [synthetic-json-adapter:json-0004]4 ms
A record held inside another is named by `ContainedRecordNamingRule`; one whose accession its document holds once, by `RecordFromServerNamingRule`; any other, by `RecordFromDocumentNamingRule`. Run with the vocabulary's own query text, from the cascade-vocabulary checkout beside this repository.
- passed names each record by the naming rule of the Cascade vocabulary its mapping chooses [synthetic-json-adapter:json-0005]1 ms
A record held inside another is named by `ContainedRecordNamingRule`; one whose accession its document holds once, by `RecordFromServerNamingRule`; any other, by `RecordFromDocumentNamingRule`. Run with the vocabulary's own query text, from the cascade-vocabulary checkout beside this repository.
- passed names each record by the naming rule of the Cascade vocabulary its mapping chooses [synthetic-json-adapter:json-0007]7 ms
A record held inside another is named by `ContainedRecordNamingRule`; one whose accession its document holds once, by `RecordFromServerNamingRule`; any other, by `RecordFromDocumentNamingRule`. Run with the vocabulary's own query text, from the cascade-vocabulary checkout beside this repository.
- passed names each record by the naming rule of the Cascade vocabulary its mapping chooses [synthetic-json-adapter:json-0006]112 ms
A record held inside another is named by `ContainedRecordNamingRule`; one whose accession its document holds once, by `RecordFromServerNamingRule`; any other, by `RecordFromDocumentNamingRule`. Run with the vocabulary's own query text, from the cascade-vocabulary checkout beside this repository.
names each version by the digest of its content, nested nodes included 15 passed
- passed names each version by the digest of its content, nested nodes included [synthetic-adapter:example-0004]6 ms
- passed names each version by the digest of its content, nested nodes included [synthetic-adapter:example-0005]1 ms
- passed names each version by the digest of its content, nested nodes included [synthetic-adapter:example-0006]1 ms
- passed names each version by the digest of its content, nested nodes included [synthetic-adapter:example-0003]2 ms
- passed names each version by the digest of its content, nested nodes included [synthetic-json-adapter:json-0008]1 ms
- passed names each version by the digest of its content, nested nodes included [synthetic-adapter:example-0001]1 ms
- passed names each version by the digest of its content, nested nodes included [synthetic-json-adapter:json-0009]1 ms
- passed names each version by the digest of its content, nested nodes included [synthetic-json-adapter:json-0003]1 ms
- passed names each version by the digest of its content, nested nodes included [synthetic-json-adapter:json-0002]1 ms
- passed names each version by the digest of its content, nested nodes included [synthetic-adapter:example-0008]1 ms
- passed names each version by the digest of its content, nested nodes included [synthetic-json-adapter:json-0001]1 ms
- passed names each version by the digest of its content, nested nodes included [synthetic-json-adapter:json-0004]1 ms
- passed names each version by the digest of its content, nested nodes included [synthetic-json-adapter:json-0005]1 ms
- passed names each version by the digest of its content, nested nodes included [synthetic-json-adapter:json-0007]1 ms
- passed names each version by the digest of its content, nested nodes included [synthetic-json-adapter:json-0006]2 ms
points each arrival at its record in the document, at the document and at the import 15 passed
- passed points each arrival at its record in the document, at the document and at the import [synthetic-adapter:example-0008]7 ms
- passed points each arrival at its record in the document, at the document and at the import [synthetic-json-adapter:json-0009]2 ms
- passed points each arrival at its record in the document, at the document and at the import [synthetic-json-adapter:json-0008]2 ms
- passed points each arrival at its record in the document, at the document and at the import [synthetic-json-adapter:json-0002]1 ms
- passed points each arrival at its record in the document, at the document and at the import [synthetic-adapter:example-0006]1 ms
- passed points each arrival at its record in the document, at the document and at the import [synthetic-json-adapter:json-0003]2 ms
- passed points each arrival at its record in the document, at the document and at the import [synthetic-json-adapter:json-0001]3 ms
- passed points each arrival at its record in the document, at the document and at the import [synthetic-adapter:example-0005]2 ms
- passed points each arrival at its record in the document, at the document and at the import [synthetic-adapter:example-0004]1 ms
- passed points each arrival at its record in the document, at the document and at the import [synthetic-adapter:example-0001]2 ms
- passed points each arrival at its record in the document, at the document and at the import [synthetic-json-adapter:json-0005]1 ms
- passed points each arrival at its record in the document, at the document and at the import [synthetic-json-adapter:json-0004]1 ms
- passed points each arrival at its record in the document, at the document and at the import [synthetic-json-adapter:json-0006]2 ms
- passed points each arrival at its record in the document, at the document and at the import [synthetic-adapter:example-0003]1 ms
- passed points each arrival at its record in the document, at the document and at the import [synthetic-json-adapter:json-0007]2 ms
carries on each arrival the version the source gave its record, and none for a record held inside another 15 passed
- passed carries on each arrival the version the source gave its record, and none for a record held inside another [synthetic-json-adapter:json-0008]7 ms
- passed carries on each arrival the version the source gave its record, and none for a record held inside another [synthetic-json-adapter:json-0009]7 ms
- passed carries on each arrival the version the source gave its record, and none for a record held inside another [synthetic-adapter:example-0008]2 ms
- passed carries on each arrival the version the source gave its record, and none for a record held inside another [synthetic-json-adapter:json-0007]2 ms
- passed carries on each arrival the version the source gave its record, and none for a record held inside another [synthetic-adapter:example-0004]1 ms
- passed carries on each arrival the version the source gave its record, and none for a record held inside another [synthetic-json-adapter:json-0006]2 ms
- passed carries on each arrival the version the source gave its record, and none for a record held inside another [synthetic-adapter:example-0005]1 ms
- passed carries on each arrival the version the source gave its record, and none for a record held inside another [synthetic-json-adapter:json-0004]1 ms
- passed carries on each arrival the version the source gave its record, and none for a record held inside another [synthetic-json-adapter:json-0005]1 ms
- passed carries on each arrival the version the source gave its record, and none for a record held inside another [synthetic-adapter:example-0006]3 ms
- passed carries on each arrival the version the source gave its record, and none for a record held inside another [synthetic-adapter:example-0003]1 ms
- passed carries on each arrival the version the source gave its record, and none for a record held inside another [synthetic-json-adapter:json-0001]2 ms
- passed carries on each arrival the version the source gave its record, and none for a record held inside another [synthetic-json-adapter:json-0003]1 ms
- passed carries on each arrival the version the source gave its record, and none for a record held inside another [synthetic-adapter:example-0001]2 ms
- passed carries on each arrival the version the source gave its record, and none for a record held inside another [synthetic-json-adapter:json-0002]2 ms
states when the source last updated a record in the source's own characters, as a date-time with its time zone, and nothing where the source states less 15 passed
- passed states when the source last updated a record in the source's own characters, as a date-time with its time zone, and nothing where the source states less [synthetic-json-adapter:json-0007]9 ms
- passed states when the source last updated a record in the source's own characters, as a date-time with its time zone, and nothing where the source states less [synthetic-json-adapter:json-0006]7 ms
- passed states when the source last updated a record in the source's own characters, as a date-time with its time zone, and nothing where the source states less [synthetic-json-adapter:json-0004]6 ms
- passed states when the source last updated a record in the source's own characters, as a date-time with its time zone, and nothing where the source states less [synthetic-json-adapter:json-0005]5 ms
- passed states when the source last updated a record in the source's own characters, as a date-time with its time zone, and nothing where the source states less [synthetic-adapter:example-0008]2 ms
- passed states when the source last updated a record in the source's own characters, as a date-time with its time zone, and nothing where the source states less [synthetic-json-adapter:json-0001]2 ms
- passed states when the source last updated a record in the source's own characters, as a date-time with its time zone, and nothing where the source states less [synthetic-json-adapter:json-0003]1 ms
- passed states when the source last updated a record in the source's own characters, as a date-time with its time zone, and nothing where the source states less [synthetic-json-adapter:json-0002]1 ms
- passed states when the source last updated a record in the source's own characters, as a date-time with its time zone, and nothing where the source states less [synthetic-json-adapter:json-0008]2 ms
- passed states when the source last updated a record in the source's own characters, as a date-time with its time zone, and nothing where the source states less [synthetic-adapter:example-0005]2 ms
- passed states when the source last updated a record in the source's own characters, as a date-time with its time zone, and nothing where the source states less [synthetic-adapter:example-0004]2 ms
- passed states when the source last updated a record in the source's own characters, as a date-time with its time zone, and nothing where the source states less [synthetic-json-adapter:json-0009]2 ms
- passed states when the source last updated a record in the source's own characters, as a date-time with its time zone, and nothing where the source states less [synthetic-adapter:example-0006]1 ms
- passed states when the source last updated a record in the source's own characters, as a date-time with its time zone, and nothing where the source states less [synthetic-adapter:example-0003]2 ms
- passed states when the source last updated a record in the source's own characters, as a date-time with its time zone, and nothing where the source states less [synthetic-adapter:example-0001]2 ms
when the synthetic JSON adapter's mapping runs on a record 6 passed
- passed writes a last update as the xsd:dateTime the record states only where it states its time zone [a date-time with an offset]279 ms
The adapter's `example-table.rq` and `example-record.rq`, run by rdflib over the reference lift of one record.
- passed writes a last update as the xsd:dateTime the record states only where it states its time zone [an offset past fourteen hours]7 ms
The adapter's `example-table.rq` and `example-record.rq`, run by rdflib over the reference lift of one record.
- passed writes a last update as the xsd:dateTime the record states only where it states its time zone [a date-time with no time zone]5 ms
The adapter's `example-table.rq` and `example-record.rq`, run by rdflib over the reference lift of one record.
- passed writes a last update as the xsd:dateTime the record states only where it states its time zone [a date]7 ms
The adapter's `example-table.rq` and `example-record.rq`, run by rdflib over the reference lift of one record.
- passed writes a last update as the xsd:dateTime the record states only where it states its time zone [a time not written as hh:mm:ss]7 ms
The adapter's `example-table.rq` and `example-record.rq`, run by rdflib over the reference lift of one record.
- passed writes a last update as the xsd:dateTime the record states only where it states its time zone [a date-time in UTC]7 ms
The adapter's `example-table.rq` and `example-record.rq`, run by rdflib over the reference lift of one record.
- passed writes a last update as the xsd:dateTime the record states only where it states its time zone [a date-time with an offset]279 ms
given the synthetic JSON adapter's expected graphs 2 passed
A vocabulary checkout to run the synthetic adapters with fixtures/synthetic-vocabularies/ 32 passed
An adapter names the files of the Cascade vocabulary it writes with, and an engine is handed a checkout that holds them. The synthetic vocabularies are that checkout for the synthetic adapters: an invented ontology file and its shapes, enough for the adapters' expected graphs to be checked against.
Source specification/test_the_synthetic_vocabularies_hold_the_synthetic_adapters.py
given a vocabulary file the synthetic adapters name 2 passed
given an expected graph of a synthetic adapter 30 passed
- passed writes only predicates that those files or the Bridge vocabulary declare, or that `shapes/facts.shapes.ttl` lets a caller supply [json-0003.ttl]79 ms
- passed writes only predicates that those files or the Bridge vocabulary declare, or that `shapes/facts.shapes.ttl` lets a caller supply [example-0005.ttl]85 ms
- passed writes only predicates that those files or the Bridge vocabulary declare, or that `shapes/facts.shapes.ttl` lets a caller supply [json-0004.ttl]81 ms
- passed writes only predicates that those files or the Bridge vocabulary declare, or that `shapes/facts.shapes.ttl` lets a caller supply [json-0001.ttl]82 ms
- passed writes only predicates that those files or the Bridge vocabulary declare, or that `shapes/facts.shapes.ttl` lets a caller supply [json-0006.ttl]85 ms
- passed writes only predicates that those files or the Bridge vocabulary declare, or that `shapes/facts.shapes.ttl` lets a caller supply [json-0008.ttl]82 ms
- passed writes only predicates that those files or the Bridge vocabulary declare, or that `shapes/facts.shapes.ttl` lets a caller supply [example-0006.ttl]103 ms
- passed writes only predicates that those files or the Bridge vocabulary declare, or that `shapes/facts.shapes.ttl` lets a caller supply [json-0007.ttl]67 ms
- passed writes only predicates that those files or the Bridge vocabulary declare, or that `shapes/facts.shapes.ttl` lets a caller supply [example-0001.ttl]70 ms
- passed writes only predicates that those files or the Bridge vocabulary declare, or that `shapes/facts.shapes.ttl` lets a caller supply [json-0009.ttl]74 ms
- passed writes only predicates that those files or the Bridge vocabulary declare, or that `shapes/facts.shapes.ttl` lets a caller supply [example-0008.ttl]81 ms
- passed writes only predicates that those files or the Bridge vocabulary declare, or that `shapes/facts.shapes.ttl` lets a caller supply [json-0002.ttl]79 ms
- passed writes only predicates that those files or the Bridge vocabulary declare, or that `shapes/facts.shapes.ttl` lets a caller supply [example-0004.ttl]84 ms
- passed writes only predicates that those files or the Bridge vocabulary declare, or that `shapes/facts.shapes.ttl` lets a caller supply [example-0003.ttl]80 ms
- passed writes only predicates that those files or the Bridge vocabulary declare, or that `shapes/facts.shapes.ttl` lets a caller supply [json-0005.ttl]80 ms
- passed conforms to the shapes among those files [json-0005.ttl]9 ms
- passed conforms to the shapes among those files [json-0002.ttl]10 ms
- passed conforms to the shapes among those files [json-0009.ttl]10 ms
- passed conforms to the shapes among those files [example-0005.ttl]6 ms
- passed conforms to the shapes among those files [json-0007.ttl]6 ms
- passed conforms to the shapes among those files [json-0008.ttl]8 ms
- passed conforms to the shapes among those files [json-0006.ttl]8 ms
- passed conforms to the shapes among those files [example-0004.ttl]9 ms
- passed conforms to the shapes among those files [example-0003.ttl]9 ms
- passed conforms to the shapes among those files [json-0001.ttl]10 ms
- passed conforms to the shapes among those files [example-0008.ttl]11 ms
- passed conforms to the shapes among those files [example-0006.ttl]9 ms
- passed conforms to the shapes among those files [json-0004.ttl]9 ms
- passed conforms to the shapes among those files [json-0003.ttl]8 ms
- passed conforms to the shapes among those files [example-0001.ttl]9 ms
Library cases an engine is run through fixtures/library/manifest.ttl, shapes/bridge.shapes.ttl 16 passed
An engine's library is what a program calls: describe, load, ask, convert and test, bytes in and bytes out. A library case lists calls in order and what each must return or fail with, and the Bridge shapes refuse a case that could not be judged, with a sentence saying why.
Source specification/test_what_the_library_shapes_refuse.py
given a case of the library manifest broken in one way 15 passed
- passed reports the sentence that says why the case cannot be judged [a result on the case]684 ms
- passed reports the sentence that says why the case cannot be judged [a failing convert expecting findings]596 ms
- passed reports the sentence that says why the case cannot be judged [an ask expecting an answer and a failure]481 ms
- passed reports the sentence that says why the case cannot be judged [a convert asking for findings by a string]582 ms
- passed reports the sentence that says why the case cannot be judged [an ask before any load]610 ms
- passed reports the sentence that says why the case cannot be judged [a map with an unknown term]606 ms
- passed reports the sentence that says why the case cannot be judged [the missing-file kind naming no file]601 ms
- passed reports the sentence that says why the case cannot be judged [a manifest listing no entries]674 ms
- passed reports the sentence that says why the case cannot be judged [a map whose IRI is no directory]669 ms
- passed reports the sentence that says why the case cannot be judged [a document given no IRI]662 ms
- passed reports the sentence that says why the case cannot be judged [a convert in another format]647 ms
- passed reports the sentence that says why the case cannot be judged [a convert expecting findings it does not ask for]655 ms
- passed reports the sentence that says why the case cannot be judged [a convert expecting nothing]667 ms
- passed reports the sentence that says why the case cannot be judged [a missing file with another kind]756 ms
- passed reports the sentence that says why the case cannot be judged [a call of no type]672 ms
given a call that names a failure kind 1 passed
Commands an engine offers engine/command.md, fixtures/fake-engine/engine.py 14 passed
An engine offers three commands, `test`, `convert` and `library`, and the tooling runs every engine through them with the same arguments. The fake engine is the smallest program that meets `engine/command.md`, and no Bridge: each line here is something it does that a real engine must do too.
Source specification/test_the_fake_engine_offers_every_command.py
`test` 1 passed
- passed writes its EARL report to the file `--earl` names73 ms
`convert` 11 passed
- passed writes the graph alone to standard output, in the format `--format` names [ntriples]51 ms
- passed writes the graph alone to standard output, in the format `--format` names [turtle]45 ms
- passed says which document it read on standard error [ntriples]56 ms
- passed says which document it read on standard error [turtle]44 ms
- passed writes the graph to the file `--out` names, and nothing to standard output49 ms
- passed writes the findings to the file `--findings` names, and nothing to standard output [ntriples]52 ms
- passed writes the findings to the file `--findings` names, and nothing to standard output [turtle]46 ms
- passed writes no findings file it was not asked for66 ms
- passed exits non-zero with nothing on standard output for a document that is not there63 ms
- passed writes the graph when it is given no `--vocabularies`48 ms
- passed exits non-zero when asked for findings with no `--vocabularies`, writing neither graph nor findings50 ms
`library` 2 passed
Manifests that list the vectors fixtures/*/manifest.ttl, shapes/bridge.shapes.ttl 23 passed
Each folder of vectors has a manifest that names every test in it, the files the test reads and what it expects, and the Cascade vocabulary's naming vectors have one in the same form. The Bridge shapes say what each kind of test must state, so an entry that would leave an engine guessing is refused with a sentence saying what is wrong.
Source specification/test_vector_manifests.py
given a folder of vectors 6 passed
- passed conforms to the Bridge shapes [versioning]100 ms
- passed conforms to the Bridge shapes [library]766 ms
- passed conforms to the Bridge shapes [lift]208 ms
- passed leaves no test unlisted and no file unnamed or missing [library]36 ms
Every entry with an `mf:name` is typed and in `mf:entries`; every file the manifest names is in the folder; every file in the folder is named.
- passed leaves no test unlisted and no file unnamed or missing [versioning]10 ms
Every entry with an `mf:name` is typed and in `mf:entries`; every file the manifest names is in the folder; every file in the folder is named.
- passed leaves no test unlisted and no file unnamed or missing [lift]19 ms
Every entry with an `mf:name` is typed and in `mf:entries`; every file the manifest names is in the folder; every file in the folder is named.
given a lift or skeleton test broken in one way 4 passed
- passed reports the sentence that says what the test must name [a skeleton test naming neither]247 ms
- passed reports the sentence that says what the test must name [a lift test naming a media type neither lift applies to]223 ms
- passed reports the sentence that says what the test must name [a lift test naming no media type]223 ms
- passed reports the sentence that says what the test must name [a skeleton test naming both an element name and a JSON path]231 ms
given a versioning test broken in one way 2 passed
given a naming test, as the vocabulary's naming manifest writes one 10 passed
- passed conforms to the Bridge shapes73 ms
- passed reports, broken in one way, the sentence that says what is wrong [an input beside a query]344 ms
- passed reports, broken in one way, the sentence that says what is wrong [a blank node as the expected name]62 ms
- passed reports, broken in one way, the sentence that says what is wrong [no naming rule]61 ms
- passed reports, broken in one way, the sentence that says what is wrong [an empty list of name inputs]104 ms
- passed reports, broken in one way, the sentence that says what is wrong [a result on a base URL refusal test]98 ms
- passed reports, broken in one way, the sentence that says what is wrong [a name input that is not a plain string]63 ms
- passed reports, broken in one way, the sentence that says what is wrong [an integer as the expected name]99 ms
- passed reports, broken in one way, the sentence that says what is wrong [canonical content beside no input]110 ms
- passed reports, broken in one way, the sentence that says what is wrong [a nested list of name inputs beside a query]112 ms
given the cascade-vocabulary checkout beside this repository 1 passed
- passed conforms to the Bridge shapes in its naming manifest1.55 s
Terms of the Bridge vocabulary vocab/bridge.ttl 2 passed
The Bridge vocabulary declares the terms an adapter, a manifest and a finding are written in, every one under `https://ns.cascadeprotocol.org/bridge/v1-draft#`. The terms a person's records are written in belong to the Cascade vocabulary, and none is declared here.
Source specification/test_the_vocabulary_is_this_repositorys_own.py
given `vocab/bridge.ttl` 2 passed
- passed declares no term under `https://ns.cascadeprotocol.org/` outside its own namespace3 ms
- passed gives `bridge:sourceSchema` no domain54 ms
An envelope carries a source schema as an adapter does, so the term is not tied to either.
Results a benchmark harness writes bench/result.schema.json, bench/glossary.json, fixtures/bench/result.json 36 passed
A benchmark harness times an engine on the benchmark inputs and writes one JSON file: each result with its name, kind, unit and value, the commit of each repository measured, and the machine, its CPU model included. An output may carry the SHA-256 of its canonical form, which is how two engines are shown to have written the same thing. The schema refuses a file a reader could misread, and the example beside it is a file that passes.
Source specification/test_what_the_result_schema_refuses.py
given the schema's pattern for the name of a refused input's result 1 passed
given the example 3 passed
A schema cannot say that each result has a name of its own, or that a value lies within its range.
- passed conforms to the schema5 ms
- passed gives every result a name of its own2 ms
- passed keeps each value that has a range within it1 ms
given the example changed in one way 31 passed
A result's kind is `clock` (a time, which carries its samples and their range), `cost` or `output`; its unit is `s`, `By` or `{count}`. An input that timed out is an output in seconds named `<input>/timeout/<what>`, and an input the engine refused is an output counted once, named `<input>/refused/<failure kind>`. A keyword is the word of JSON Schema that states a rule, such as `enum`, `required` or `pattern`.
- passed refuses it at the member changed, by the keyword whose rule it breaks [a timeout written as a `clock`]7 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a `clock` without samples]5 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a negative value]5 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a timeout as a plain measure]6 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a digest on a time]5 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [an upper-case segment]5 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [no results]2 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a commit keyed by a record key]4 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a 7-hex commit]6 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a refusal counted twice]7 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [an env without a profile]6 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a unit of a rate]7 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a refusal in seconds]6 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a refusal that is a cost]7 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a digest that is not 64 lower-case hex digits]6 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a range with an exponent]6 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [an empty CPU model]6 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [an unknown entry member]7 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a one-segment name]6 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a refusal of a kind the library does not define]6 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a kind of time]6 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a refusal of a kind in the wrong case]6 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a commit as a bare string]5 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a kind removed]6 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a native host with a node version]6 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a unit of ms]6 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a `clock` without a range]6 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a node host without a node version]6 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a timeout in a count]6 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [an unknown top-level member]6 ms
- passed refuses it at the member changed, by the keyword whose rule it breaks [a four-segment name]6 ms
given the glossary 1 passed
`bench/glossary.json` says in a sentence what each kind of row is, and a harness writes the sentence as the row's `extra`. A stage's sentence is its engine's, and an input's is its adapter's.
- passed gives every entry a sentence1 ms
Checking an adapter package against the profile rocrate-validator, adapter/profile/must/ 9 passed
An adapter package conforms when `rocrate-validator` passes it against RO-Crate 1.2 and this profile. Each `.ttl` or `.py` file under `adapter/profile/must/` is one requirement, and a requirement that could not be checked fails the package and says why.
Source adapter_profile/test_validator.py, adapter_profile/test_what_the_profile_makes_a_check_of.py, adapter_profile/test_crate.py
given a package named by a `file:` URI 1 passed
- passed reads the package from the folder the URI names242 ms
given the synthetic adapters as committed 4 passed
- passed passes the XML adapter6.39 s
- passed passes the JSON adapter3.91 s
- passed runs every file the profile makes a check of, skipping none55 ms
- passed runs the checks of RO-Crate 1.2 as well1 ms
given a package at fault 2 passed
given the files under `adapter/profile/` 2 passed
- passed makes a check of each `.ttl` and `.py` under `must/`, and of nothing else95 ms
- passed makes a shapes file dropped into `must/` a check over every crate105 ms
What an adapter's crate names adapter/profile/must/adapter.ttl 14 passed
The crate's root entity is the adapter: it names its format id, its mappings, the vocabulary files it reads and, where it has them, its gap scheme and source accounting. A failing run prints the sentence of the shape that was broken.
Source adapter_profile/test_adapter.py
given a crate that names what it must 1 passed
- passed reports nothing for an adapter that conforms39 ms
given a crate that lacks or misstates one thing 13 passed
- passed reports a crate that does not name the adapter profile38 ms
- passed reports an identifier that is not a format id39 ms
- passed reports a crate that names no mapping36 ms
- passed reports a crate that does not require SPARQL 1.1200 ms
- passed reports a crate that names no element name of each record39 ms
- passed reports an element name breaking text that is not a string40 ms
- passed reports a crate that names no Cascade vocabulary repository39 ms
- passed reports a crate that names no vocabulary file40 ms
- passed reports a crate whose gap scheme is no file entity in it38 ms
- passed reports a crate whose gap scheme is declared in another media type42 ms
- passed reports source record types are identifiers that is not a boolean37 ms
- passed reports a crate whose source accounting is no file entity in it41 ms
- passed reports a crate whose source accounting is declared in another media type45 ms
Envelopes a source document arrives in adapter/profile/must/envelope.ttl 3 passed
An envelope is one outer form a source document takes around its records, such as a set of records or one record alone. The adapter lists each by a short name and the element at the document's root.
Source adapter_profile/test_envelope.py
given envelopes that conform 1 passed
- passed reports nothing for envelopes that conform31 ms
given an envelope at fault 2 passed
Where an envelope's content stands in a path adapter/profile/must/envelope.ttl, scripts/path_forms.py 21 passed
A format can write one place in a record that is its content, in a record that wraps it, and in each of those inside a record it contains. An envelope says where the content stands in its records, where the content of records nested in it stands, and which member names the kind of record, so that a tool reading only the declaration treats the forms as one place.
Source adapter_profile/test_envelope_path_forms.py
given envelopes that declare it 4 passed
- passed reports nothing for envelopes that say where their content stands77 ms
- passed reports nothing for an xml adapter whose path names an element in a namespace39 ms
- passed reports nothing for an envelope that declares none of it238 ms
- passed has every term of it in the vocabulary51 ms
given a declaration at fault 10 passed
- passed reports a path that is not one the source format writes [pathOfContainedContentBelowContent--bridge:pathOfContainedContentBelowContent]74 ms
- passed reports a path that is not one the source format writes [pathOfRecordKindBelowContent-/kind~2-bridge:pathOfRecordKindBelowContent]74 ms
- passed reports a path that is not one the source format writes [pathOfRecordKindBelowContent-/kind/-bridge:pathOfRecordKindBelowContent]74 ms
- passed reports a path that is not one the source format writes [pathOfContainedContentBelowContent-/contained//items-bridge:pathOfContainedContentBelowContent]75 ms
- passed reports a path that is not one the source format writes [pathOfContentInRecord-entry-bridge:pathOfContentInRecord]79 ms
- passed reports two envelopes that declare the same prefix170 ms
- passed names the empty reference token in what it reports of a path74 ms
- passed reports a second path for the same thing72 ms
- passed reports a record kind that stands inside the contained content77 ms
- passed reports a path of an xml adapter that does not begin with a step41 ms
given paths in two forms of one place 6 passed
- passed resolves a content path and the same path in a wrapped record to one place13 ms
- passed resolves a contained path in each form to the place it has in the content13 ms
- passed says which form a path was written in12 ms
- passed reads the path that names the kind of record in each form16 ms
- passed leaves a path in no form of a declared wrapper as its own place14 ms
- passed reads the longest form a path begins with12 ms
given an adapter that declares nothing 1 passed
- passed reads no form and each path as its own place10 ms
Media types a package may declare adapter/profile/must/media_types.ttl 5 passed
An adapter package is data with no code in it, so no file of it is declared in a media type that executes.
Source adapter_profile/test_media_types.py
given a media type a package may declare 3 passed
given a media type it may not 2 passed
- passed reports a media type that executes63 ms
- passed reports a suffix that is neither JSON nor XML61 ms
Files a package tracks adapter/profile/must/inventory.py 5 passed
Every file git tracks in an adapter's repository is described by the crate, or is one of the files that describe the repository itself.
Source adapter_profile/test_inventory.py
given a package whose tracked files are all accounted for 3 passed
- passed reports nothing when every tracked file is described or allowlisted19 ms
- passed allowlists the repository's documents and dotfiles64 ms
- passed allowlists an adapter's `compatibility.json`57 ms
given a package at fault 2 passed
- passed reports a tracked file the crate describes nowhere57 ms
- passed reports a package that is not a git checkout24 ms
Digests a crate records adapter/profile/must/digests.py 4 passed
A crate records a `sha256` of each committed file and may record the digest a publisher gave for an input. The two failures mean different things, and the report says which.
Source adapter_profile/test_digests.py
given a `sha256` that is not the file's 1 passed
- passed blames the crate20 ms
given a publisher's digest that disagrees 1 passed
- passed blames this copy of the file20 ms
given a digest recorded on a file that is not there 1 passed
- passed reports it without comparing it18 ms
given the crate of the synthetic adapter 1 passed
- passed records no digest on a file that is not there18 ms
Terms an adapter may write adapter/profile/must/declared_terms.py, vocab/bridge.ttl 8 passed
A `bridge:` term means something only once `vocab/bridge.ttl` declares it, so a misspelled one in a crate or a manifest is reported instead of being silently ignored.
Source adapter_profile/test_declared_terms.py
given a crate and manifest writing only declared terms 1 passed
given a `bridge:` term the vocabulary does not declare 2 passed
given `vocab/bridge.ttl` 4 passed
- passed declares every kind of gap in the scheme `bridge:gapKinds`, and no other concept there49 ms
- passed declares the five concerns in the scheme `bridge:concerns`, and no other concept there49 ms
- passed declares `bridge:concern`, by which an entry, a gap or a test names its concern54 ms
- passed declares `bridge:closedBy`, by which a gap names the term that would close it54 ms
given a shape listing the members of a scheme 1 passed
The crate and its test manifest as one graph adapter/profile/must/shapes.py, shapes/bridge.shapes.ttl 18 passed
The test manifest lists an adapter's cases: conversions of an input into an expected graph and expected findings, and identity relation tests over several conversions. The shapes are checked over the crate and the manifest together, since each names things in the other.
Source adapter_profile/test_shapes.py
given a crate and manifest that conform 1 passed
given a test tagged with its concern 7 passed
- passed reports nothing for a test tagged with one of the five concerns [bridge:concernIdentity]109 ms
- passed reports nothing for a test tagged with one of the five concerns [bridge:concernReferences]126 ms
- passed reports nothing for a test tagged with one of the five concerns [bridge:concernCodes]108 ms
- passed reports nothing for a test tagged with one of the five concerns [bridge:concernDates]114 ms
- passed reports nothing for a test tagged with one of the five concerns [bridge:concernText]113 ms
- passed reports a test whose concern is not exactly one of the five [two concerns]411 ms
- passed reports a test whose concern is not exactly one of the five [outside the scheme of the five]118 ms
given a crate or manifest at fault in one way 10 passed
- passed reports a manifest that does not point back at the adapter107 ms
- passed reports a conversion result that names no expected graph91 ms
- passed reports a conversion result that names no expected findings111 ms
- passed reports facts named by a literal rather than a file of the crate115 ms
- passed reports a tested unaccounted path that is no plain string [a language-tagged string]107 ms
- passed reports a tested unaccounted path that is no plain string [an xsd:anyURI]108 ms
- passed reports an identity relation test carrying one conversion108 ms
- passed reports an identity relation test whose result is no boolean118 ms
- passed reports a conversion naming an envelope the adapter does not list115 ms
- passed reports a negative records processed count128 ms
Queries an adapter names adapter/profile/must/queries.py 34 passed
An adapter's logic is SPARQL: mappings and document tables that construct, a detect query that asks, and findings queries that construct findings about `bridge:thisRecord`. Each is held to the form its property declares and to what a Bridge can run, without running it.
Source adapter_profile/test_queries.py
given a query an adapter names 12 passed
- passed reports nothing for queries in the form their property declares337 ms
- passed reports a mapping that is not SPARQL184 ms
- passed reports a detect query that is not an ASK315 ms
- passed reports a document table query that is not a CONSTRUCT347 ms
- passed reports nothing when the adapter names no query14 ms
- passed reports a query holding a service pattern [in filter exists of a detect query]356 ms
- passed reports a query holding a service pattern [in a subquery of a findings query]337 ms
- passed reports a query holding a service pattern [at the top of a mapping]479 ms
- passed reports a query holding a service pattern [in filter not exists of a mapping]365 ms
- passed reports a query holding a dataset clause [from on a mapping]318 ms
- passed reports a query holding a dataset clause [from on a detect query]315 ms
- passed reports a query holding a dataset clause [from named on a findings query]357 ms
given a findings query 22 passed
- passed reports a findings query that is an ASK323 ms
- passed reports a findings query that is a SELECT286 ms
- passed reports a findings query constructing no `bridge:thisRecord`319 ms
- passed reports a findings query naming `bridge:thisRecord` outside its target's source322 ms
- passed reports a findings query sourcing `bridge:thisRecord` outside every target320 ms
- passed reports a findings query constructing no annotation323 ms
- passed reports a findings query targeting a name rather than a blank node321 ms
- passed reports a findings query giving two findings one labelled blank node as their target875 ms
- passed reports a findings query targeting a variable as a node the lift already holds346 ms
- passed reports nothing for two findings each targeting a blank node of its own321 ms
- passed reports a findings query constructing a finding with no body320 ms
- passed reports nothing for a findings query constructing a finding with no severity314 ms
- passed reports a findings query constructing two severities312 ms
- passed reports a findings query constructing a severity outside the scale366 ms
- passed reports a findings query giving one target two selectors357 ms
- passed reports a findings query binding the annotation to a variable356 ms
- passed holds a findings query to nothing a variable binds326 ms
- passed reports nothing for a findings query constructing no selector353 ms
- passed reports a findings query constructing a selector that is itself refined356 ms
- passed reports a findings query constructing a constant body outside the adapter's gap scheme317 ms
- passed reports nothing for a findings query constructing a gap of the adapter's scheme318 ms
- passed holds a findings query to nothing where the body it constructs is bound to a variable318 ms
Committed inputs held to their schemas adapter/profile/must/inputs.py 29 passed
Each input a test names is validated against the schema the adapter or its envelope names, record by record. A schema failure is the adapter's own business only where the test's expected findings record it at that node.
Source adapter_profile/test_inputs.py
given an input and the schema it is validated against 10 passed
- passed reports nothing for inputs that satisfy their schemas or whose failures their findings record43 ms
- passed reports an input that does not satisfy its schema59 ms
- passed reports a schema failure its entry's expected findings record at a lesser severity61 ms
- passed reports nothing for a schema failure recorded against the same node named another way74 ms
- passed reports a schema failure its entry's expected findings record against another node61 ms
- passed reports a record that fails the source schema where the document schema passes the document57 ms
- passed validates a record against the source schema when its envelope declares no document schema58 ms
- passed reports an input holding no record of the element name the adapter declares44 ms
- passed reports an input that is not well formed XML where the schema is one it reads53 ms
- passed reports a schema failure its entry's expected findings record as a gap rather than a broken rule58 ms
given the schema an adapter names 7 passed
- passed reports a source schema no record was validated against for want of an element name44 ms
- passed reports an XML adapter whose schema is a JSON schema54 ms
- passed reports a schema that is not a file in the package46 ms
- passed reports a schema declared in a media type it cannot validate against11 ms
- passed reports a schema that declares no media type16 ms
- passed reports a schema that does not compile for every input validated against it28 ms
- passed reports an XSD named with a fragment46 ms
given a schema importing a W3C namespace 7 passed
- passed supplies a W3C schema the package ships no copy of [xml:lang at xml.xsd, a file the package lacks]63 ms
- passed supplies a W3C schema the package ships no copy of [xml:lang with no location]62 ms
- passed supplies a W3C schema the package ships no copy of [xlink:href with no location]64 ms
- passed supplies a W3C schema the package ships no copy of [xlink:href at its W3C address]67 ms
- passed supplies a W3C schema the package ships no copy of [xlink:href at xlink.xsd, a file the package lacks]63 ms
- passed supplies a W3C schema the package ships no copy of [xml:lang at its W3C address]67 ms
- passed reads a W3C schema the package ships from the package64 ms
given a schema importing another namespace 2 passed
given an input named only by a conversion of an identity relation test 3 passed
Schema files a schema includes or imports adapter/profile/must/schema_imports.py, bridge:schemaImport 11 passed
A Bridge fetches nothing, so every file a named schema reaches by include, import or redefine is declared on the root entity or an envelope.
Source adapter_profile/test_schema_imports.py
given a schema file an adapter's schemas reach 11 passed
- passed reports nothing for an adapter whose schemas are the ones it names112 ms
- passed reports a schema file a named schema includes when no `bridge:schemaImport` declares it27 ms
- passed reports nothing for a schema file a named schema includes once the root declares it27 ms
- passed reports a schema file reached only through another include30 ms
- passed reports a schema file included by the document schema of an envelope24 ms
- passed accepts a declaration on an envelope as on the root26 ms
- passed reports a declaration on an entity that is neither the root nor an envelope25 ms
- passed follows a redefine as it follows an include25 ms
- passed reports a declaration no schema of the adapter includes or imports27 ms
- passed asks nothing for the schema a Bridge supplies for the XML namespace26 ms
- passed reports nothing for a JSON source225 ms
Expected graphs of a conversion adapter/profile/must/expected_graphs.py 4 passed
The graph a conversion test expects is checked only for being Turtle that parses; whether it is right is the Bridge's run to say.
Source adapter_profile/test_expected_graphs.py
given a test's expected graph 4 passed
- passed reports nothing for an expected graph that parses40 ms
- passed reports an expected graph that is not Turtle53 ms
- passed reports nothing for entries naming no expected graph12 ms
- passed never judges it against the Cascade vocabulary's shapes51 ms
Where an expected finding points adapter/profile/must/expected_findings.py 29 passed
A finding is a note about one node of one input: a selector picks the record, and a refinement may pick one node inside it. Each selector of a test's expected findings is evaluated against the test's input, as a Bridge evaluates it.
Source adapter_profile/test_expected_findings.py
given the findings file a test names 9 passed
- passed reports nothing for findings that select the node each one is about294 ms
- passed reports expected findings that are not Turtle230 ms
- passed reports expected findings that are not a file in the package221 ms
- passed reports a finding naming a source other than the entry's input256 ms
- passed reports a finding with no body256 ms
- passed takes an empty findings graph as valid, meaning the input produces no findings252 ms
- passed reports expected findings whose only finding mistypes the annotation class232 ms
- passed reports expected findings holding a selector but no finding229 ms
- passed evaluates no selector for an entry naming no input274 ms
given a record selector 7 passed
- passed reports a finding that selects nothing253 ms
- passed reports a record selector that selects an attribute as a node that is not an element296 ms
- passed reports a record selector that selects a text node as a node that is not an element261 ms
- passed reports a record selector that selects an element inside a record249 ms
- passed holds a record selector to no element name when the adapter declares none240 ms
- passed reports a selector that is not an XPath258 ms
- passed reports nothing for a record selector that names its record another way239 ms
given a finding refined to a node of its record 8 passed
- passed reports a refined selector that selects no node of its record252 ms
- passed reports a refined selector that selects more than one node of its record253 ms
- passed reports a refined selector that selects a node of another record261 ms
- passed reports a refined selector that names its own record from the document root251 ms
- passed reports a refined selector rooted at the document behind leading whitespace255 ms
- passed reports a refined selector rooted at the document inside parentheses255 ms
- passed reports a refined selector rooted at the document once though it also leaves its record275 ms
- passed reports nothing for a refined selector that selects an attribute239 ms
given a finding about the whole document 5 passed
- passed reports nothing for one selecting the document element248 ms
- passed reports nothing for a selector that names the document element another way238 ms
- passed reports nothing for a finding about the document refined to one element under the document element250 ms
- passed reports a finding about the document whose refinement selects no element238 ms
- passed reports a finding about the document whose refinement selects more than one element243 ms
What an expected finding is a finding of adapter/profile/must/expected_findings.py, oa:hasBody 14 passed
A finding's body says what kind of finding it is: a gap of the adapter's own gap scheme, a rule of W3C XML Schema that was broken, a SHACL constraint component, or one of the concepts the specification keeps for a Bridge.
Source adapter_profile/test_expected_findings.py
given the body of a finding 13 passed
- passed reports a finding whose body is no gap of the adapter's gap scheme215 ms
- passed reports nothing for a finding whose body is the concept for a schema failure W3C names no rule for245 ms
- passed reports nothing for a finding whose body is the concept for a version the bridge did not keep247 ms
- passed reports a finding whose body is the concept for an address selecting other than one node264 ms
- passed reports the concept a census carries only where the adapter names no source accounting416 ms
- passed reports a body that is the anchor of no W3C XML Schema rule, listing every anchor a body may take1.04 s
- passed reports a finding whose body names a rule in the recommendation that does not define it215 ms
- passed reports nothing for a finding whose gap is a value outside a fixed set carrying no source value275 ms
- passed reports nothing for a finding carrying the source value that made it fire where its gap is of another kind248 ms
- passed reports nothing for a finding whose gap is a value outside a fixed set carrying that value245 ms
- passed reports nothing for a finding whose body is the SHACL constraint component that failed237 ms
- passed reports nothing for a finding whose body is the gap a predicate no ontology declares opens234 ms
- passed reports a finding whose body is the name of no SHACL constraint component213 ms
given the schema findings of `example-0003` 1 passed
The form of a finding shapes/bridge.shapes.ttl 30 passed
A finding is a Web Annotation: one body classifying it, one target naming its source and selector, and a severity. These are the shapes every findings file is held to, whoever wrote it.
Source adapter_profile/test_finding_shapes.py, adapter_profile/test_output_validation_findings.py
given a finding's body, motivation, counts, severity and node 14 passed
- passed rejects a finding whose body is an `oa:TextualBody`47 ms
- passed rejects a finding whose body is a literal38 ms
- passed rejects a finding carrying two bodies42 ms
- passed rejects a finding carrying no motivation41 ms
- passed rejects a finding motivated by something other than classifying39 ms
- passed rejects a finding carrying two motivations42 ms
- passed rejects a finding carrying two source values42 ms
- passed accepts a finding whose body is an IRI classifying it and the source value that made it fire39 ms
- passed rejects a finding carrying two occurrence counts85 ms
- passed rejects a finding whose occurrence count is no integer79 ms
- passed rejects a finding whose occurrence count is one where a count of one is written by omitting it81 ms
- passed rejects a finding with no severity35 ms
- passed rejects a severity outside the scale44 ms
- passed rejects a finding named rather than written for itself31 ms
given a finding's target and selector 13 passed
- passed rejects a finding with no selector42 ms
- passed rejects two findings sharing one selector64 ms
- passed rejects two findings sharing one target66 ms
- passed rejects a finding carrying more than one target51 ms
- passed rejects a target naming its source as a literal rather than by IRI43 ms
- passed rejects a record selector that is not an XPath selector46 ms
- passed rejects a record selector carrying no XPath47 ms
- passed rejects a record selector refined more than once50 ms
- passed rejects a refinement that is not an XPath selector52 ms
- passed rejects a refinement refined further48 ms
- passed accepts a record selector and a refinement that are JSON pointers44 ms
- passed rejects a fragment selector conforming to no JSON pointer44 ms
- passed rejects a refinement of another kind than the selector it refines373 ms
Facts supplied with an input adapter/profile/must/facts.py, shapes/facts.shapes.ttl 22 passed
A test may supply facts about its input document that the document cannot state itself: who it is attributed to, the act that generated it, the server it came from. The file is held to the facts a Bridge reads and to nothing a Bridge computes.
Source adapter_profile/test_facts.py
given facts a Bridge reads 2 passed
given facts at fault in one way 20 passed
- passed reports facts naming a file that is not there266 ms
- passed reports facts that are not Turtle42 ms
- passed reports a document supplied two server base urls64 ms
- passed reports a fact a bridge computes supplied with the document136 ms
- passed reports an association naming its role by a literal74 ms
- passed reports a role stated on an attribution of the document127 ms
- passed reports a document generated by two acts69 ms
- passed reports a generating act carrying more than its associations70 ms
- passed reports an agent the document is attributed to that carries no label216 ms
- passed reports an import time that is not a date with a time of day67 ms
- passed reports a fact stated of a misspelled document134 ms
- passed reports a fact stated of a subject that is neither the document the import nor what they name69 ms
- passed reports a document attributed to an agent that is only a transmitter333 ms
- passed reports an author the document is not attributed to68 ms
- passed reports a document attributed to an agent no association names80 ms
- passed reports a generating act with no association123 ms
- passed reports a document that answered as of two instants46 ms
- passed reports a document that answered as of a string120 ms
- passed reports a record class named by a literal47 ms
- passed reports a refused record class named by a literal112 ms
An adapter's gap scheme adapter/profile/must/gap_scheme.py, shapes/gap-scheme.shapes.ttl 39 passed
A gap is a named reason that something in the source is not carried into the Cascade vocabulary. An adapter that reports findings keeps its gaps in one SKOS concept scheme, each under one of the kinds the specification names.
Source adapter_profile/test_gap_scheme.py
given a gap scheme at fault in one way 28 passed
- passed reports a gap declaring two severities60 ms
- passed reports a gap whose declared severity is outside the three a finding carries52 ms
- passed reports a gap whose concern is not exactly one of the five [a string]33 ms
- passed reports a gap whose concern is not exactly one of the five [outside the scheme of the five]33 ms
- passed reports a gap whose concern is not exactly one of the five [two concerns]32 ms
- passed reports a gap whose see also is not a github issue or pull request address [a fragment]36 ms
- passed reports a gap whose see also is not a github issue or pull request address [a trailing slash]31 ms
- passed reports a gap whose see also is not a github issue or pull request address [one address and one that is not]28 ms
- passed reports a gap whose see also is not a github issue or pull request address [another host]35 ms
- passed reports a gap whose see also is not a github issue or pull request address [no number]38 ms
- passed reports a gap whose see also is not a github issue or pull request address [a blank node]32 ms
- passed reports a gap whose see also is not a github issue or pull request address [pulls where GitHub says pull]31 ms
- passed reports a gap whose see also is not a github issue or pull request address [a literal]100 ms
- passed reports an adapter that names a findings query and no gap scheme11 ms
- passed reports an adapter that names more than one gap scheme13 ms
- passed reports a gap scheme that is not a file in the package52 ms
- passed reports a gap carrying no preferred label29 ms
- passed reports a gap that names no scheme30 ms
- passed reports a gap that is not `skos:broader` exactly one kind a gap may name [no kind]33 ms
- passed reports a gap that is not `skos:broader` exactly one kind a gap may name [two kinds]29 ms
- passed reports a gap that is not `skos:broader` exactly one kind a gap may name [the concept a census carries]32 ms
- passed reports a gap that is not `skos:broader` exactly one kind a gap may name [a kind outside the kinds the vocabulary declares]29 ms
- passed reports a closing term that is a literal or one of two [a literal]32 ms
- passed reports a closing term that is a literal or one of two [two terms]30 ms
- passed reports a gap scheme file carrying no concept scheme26 ms
- passed reports a gap scheme file carrying two concept schemes24 ms
- passed reports a gap that names a scheme other than the one its file carries242 ms
- passed reports a gap scheme that does not parse as Turtle26 ms
given a gap scheme that conforms 11 passed
- passed reports nothing for an adapter that names neither a findings query nor a gap scheme6 ms
- passed reports nothing for a gap tagged with one of the five concerns [bridge:concernText]32 ms
- passed reports nothing for a gap tagged with one of the five concerns [bridge:concernCodes]32 ms
- passed reports nothing for a gap tagged with one of the five concerns [bridge:concernIdentity]30 ms
- passed reports nothing for a gap tagged with one of the five concerns [bridge:concernDates]18 ms
- passed reports nothing for a gap tagged with one of the five concerns [bridge:concernReferences]17 ms
- passed reports nothing for a gap whose see also is a github issue or pull request address [an issue and a pull request]30 ms
- passed reports nothing for a gap whose see also is a github issue or pull request address [a pull request]17 ms
- passed reports nothing for a gap whose see also is a github issue or pull request address [an issue]19 ms
- passed reports nothing for a gap with a closing term and an issue address29 ms
- passed reports nothing for a gap carrying a label, its scheme, one kind and a closing term25 ms
Accounting for every path of a source adapter/profile/must/source_accounting.py 28 passed
A source accounting says, path by path, what becomes of each element and attribute of a source record: one of six verdicts, from carried to ignored. The check holds each entry's path, verdict and gap to one another and to what the mappings mention.
Source adapter_profile/test_source_accounting.py
given the accounting an adapter names 5 passed
- passed reports an entry carrying no verdict by the shape it breaks69 ms
- passed reports nothing for an adapter naming no accounting11 ms
- passed reports an adapter that names more than one accounting10 ms
- passed reports an accounting that is not a file in the package11 ms
- passed reports nothing for the accounting the synthetic adapter commits158 ms
given a source path 9 passed
- passed reports a source path that starts at the document rather than at the record64 ms
- passed reports a source path that is the record element alone64 ms
- passed reports a source path whose step carries a position49 ms
- passed reports a source path whose step is padded with whitespace60 ms
- passed reports a source path that names a node in a namespace by a prefix60 ms
- passed reports a source path writing an attribute before its last step66 ms
- passed reports nothing for a source path naming an element in a namespace63 ms
- passed reports nothing for a source path naming an attribute in a namespace66 ms
- passed reports a carried entry for an element in a namespace by the local name the mapping would write113 ms
given two entries of one accounting 3 passed
- passed reports two entries sharing a source path72 ms
- passed reports a `bridge:sameFactAs` naming a path the accounting does not carry66 ms
- passed reports a `bridge:sameFactAs` naming the entry's own path69 ms
given the gap an entry names 6 passed
- passed reports a `bridge:namesGap` that is no gap of the adapter's own gap scheme66 ms
- passed reports a no-home entry whose gap is of a kind the verdict does not imply59 ms
- passed reports nothing for a no-home entry naming a gap of a source lacking what a shape requires61 ms
- passed reports nothing for a carried-in-part entry naming a gap of a value not mapped70 ms
- passed reports a no-home entry naming a gap carried with loss64 ms
- passed reports a carried-in-part entry whose gap is of a kind the verdict does not imply70 ms
given an entry's verdict and what the mappings mention 5 passed
- passed reports a carried entry for a path only a findings query mentions35 ms
- passed reports nothing for a carried entry once a mapping mentions the path it accounts for41 ms
- passed reports a carried-in-part entry for a path no mapping mentions203 ms
- passed reports nothing for a no home entry for a path no mapping mentions66 ms
- passed reports nothing for an accounting carrying an entry of each verdict240 ms
An unaccounted path a test case expects adapter/profile/must/unaccounted_paths.py, bridge:testsUnaccountedSourcePath 10 passed
A census finding, `cascade:SourcePathNotAccounted`, says a record holds a path the adapter's accounting names nowhere. A test case expects one only where it tests that finding, and names the path it tests; any other is a path the accounting is missing. Only an entry naming the path as the record writes it accounts for it.
Source adapter_profile/test_unaccounted_paths.py
given the synthetic adapters 2 passed
given a case expecting a path it does not name 4 passed
given an adapter naming no accounting 1 passed
given a findings file that does not parse 1 passed
given a case with no expected findings 1 passed
given a case naming a path it tests 1 passed
The form of an accounting entry shapes/bridge.shapes.ttl 63 passed
Each verdict of an entry allows and requires different things beside it: a gap, the path carrying the same fact, a reason, a lookup. These are the shapes that say so.
Source adapter_profile/test_accounting_shapes.py
given an entry that breaks one constraint 44 passed
- passed says which constraint it breaks [a no home entry that names no gap]24 ms
- passed says which constraint it breaks [an entry naming two gaps for a value outside its concept map]36 ms
- passed says which constraint it breaks [a carried entry that names a gap]35 ms
- passed says which constraint it breaks [a carried in part entry that names the path carrying the same fact]37 ms
- passed says which constraint it breaks [an entry carrying two verdicts]37 ms
- passed says which constraint it breaks [an ignored entry that names the path carrying the same fact]34 ms
- passed says which constraint it breaks [a carried in part entry that names two gaps]35 ms
- passed says which constraint it breaks [a carried in part entry that names no gap]34 ms
- passed says which constraint it breaks [an entry carrying two source paths]32 ms
- passed says which constraint it breaks [a carried as naming no record class]32 ms
- passed says which constraint it breaks [a carried entry that gives a reason]31 ms
- passed says which constraint it breaks [a carried as naming its source record type by iri]35 ms
- passed says which constraint it breaks [a redundant with entry that gives a reason]32 ms
- passed says which constraint it breaks [a no home entry that names two gaps]23 ms
- passed says which constraint it breaks [an ignored entry that gives two reasons]22 ms
- passed says which constraint it breaks [a gap for a value outside a concept map named as a string rather than by iri]21 ms
- passed says which constraint it breaks [a concept map named as a string rather than by iri]20 ms
- passed says which constraint it breaks [a carried in part entry that gives a reason]18 ms
- passed says which constraint it breaks [an entry naming two concept maps]21 ms
- passed says which constraint it breaks [a no home entry that gives a reason]20 ms
- passed says which constraint it breaks [a redundant with entry that names two paths carrying the same fact]19 ms
- passed says which constraint it breaks [a consumed entry that names a gap]19 ms
- passed says which constraint it breaks [a redundant with entry that names a gap]18 ms
- passed says which constraint it breaks [an ignored entry that gives no reason]27 ms
- passed says which constraint it breaks [an entry whose path reaches no graph naming what it is carried as]38 ms
- passed says which constraint it breaks [an ignored entry that names a gap]38 ms
- passed says which constraint it breaks [a subject of a source path that is no path entry]32 ms
- passed says which constraint it breaks [an entry naming a gap for a value outside a concept map it names nowhere]38 ms
- passed says which constraint it breaks [an entry whose source path is an iri rather than a string]39 ms
- passed says which constraint it breaks [a carried as naming two record classes]40 ms
- passed says which constraint it breaks [a redundant with entry that names no path carrying the same fact]39 ms
- passed says which constraint it breaks [a consumed entry that gives a reason]101 ms
- passed says which constraint it breaks [an entry whose concern is outside the scheme of the five]38 ms
- passed says which constraint it breaks [a no home entry that names the path carrying the same fact]37 ms
- passed says which constraint it breaks [a carried entry that names the path carrying the same fact]37 ms
- passed says which constraint it breaks [an entry carrying no source path]36 ms
- passed says which constraint it breaks [an entry carrying no verdict]39 ms
- passed says which constraint it breaks [an entry whose verdict is outside the scheme of the six]36 ms
- passed says which constraint it breaks [an entry naming a concept map and no gap for a value outside it]36 ms
- passed says which constraint it breaks [a carried as naming no property]36 ms
- passed says which constraint it breaks [a consumed entry that names the path carrying the same fact]28 ms
- passed says which constraint it breaks [a carried as naming its property as a string]28 ms
- passed says which constraint it breaks [an entry whose concern is a string]39 ms
- passed says which constraint it breaks [an entry carrying two concerns]45 ms
given a minimal entry 6 passed
- passed conforms under each of the six verdicts [bridge:noHome]35 ms
- passed conforms under each of the six verdicts [bridge:redundantWith]35 ms
- passed conforms under each of the six verdicts [bridge:carried]34 ms
- passed conforms under each of the six verdicts [bridge:carriedInPart]35 ms
- passed conforms under each of the six verdicts [bridge:ignored]34 ms
- passed conforms under each of the six verdicts [bridge:consumed]37 ms
given an entry tagged with its concern 5 passed
- passed conforms under each of the five concerns [bridge:concernIdentity]277 ms
- passed conforms under each of the five concerns [bridge:concernCodes]35 ms
- passed conforms under each of the five concerns [bridge:concernReferences]35 ms
- passed conforms under each of the five concerns [bridge:concernText]34 ms
- passed conforms under each of the five concerns [bridge:concernDates]36 ms
given a carried entry naming what it is carried as 2 passed
given half a lookup 6 passed
- passed breaks a constraint under every verdict for either half alone, and conforms with both [bridge:redundantWith]122 ms
- passed breaks a constraint under every verdict for either half alone, and conforms with both [bridge:ignored]111 ms
- passed breaks a constraint under every verdict for either half alone, and conforms with both [bridge:carriedInPart]110 ms
- passed breaks a constraint under every verdict for either half alone, and conforms with both [bridge:noHome]107 ms
- passed breaks a constraint under every verdict for either half alone, and conforms with both [bridge:carried]76 ms
- passed breaks a constraint under every verdict for either half alone, and conforms with both [bridge:consumed]69 ms
Terms a carried path is carried as adapter/profile/must/carried_as.py, shapes/carried-as.shapes.ttl 27 passed
A carried entry names the property and the record class its path is carried as, and both are looked up in the Cascade vocabulary checked out beside the adapter.
Source adapter_profile/test_carried_as.py
given an accounting whose carried entries name declared terms 9 passed
- passed reports nothing for an accounting whose every carried entry names a declared property on its domain29 ms
- passed reports nothing for the accounting each synthetic adapter commits [the XML adapter]38 ms
- passed reports nothing for the accounting each synthetic adapter commits [the JSON adapter]345 ms
- passed accepts a domain that is a superclass, a union member, reached through a property, or absent [ex:status on ex:Note]52 ms
- passed accepts a domain that is a superclass, a union member, reached through a property, or absent [ex:doseQuantity on ex:Record]44 ms
- passed accepts a domain that is a superclass, a union member, reached through a property, or absent [rdfs:label on ex:Quantity]38 ms
- passed accepts a domain that is a superclass, a union member, reached through a property, or absent [ex:status on ex:Revision]34 ms
- passed accepts a domain that is a superclass, a union member, reached through a property, or absent [ex:accession on ex:Revision]38 ms
- passed accepts a domain that is a superclass, a union member, reached through a property, or absent [ex:unit on ex:Revision]31 ms
given an accounting naming a term wrongly 7 passed
- passed reports a carried entry and a carried-in-part entry naming no `bridge:carriedAs` and no other36 ms
- passed reports a property the vocabulary does not declare34 ms
- passed reports a record class the vocabulary does not declare32 ms
- passed reports a property whose domain does not cover the record class [ex:unit on ex:Unrelated]32 ms
- passed reports a property whose domain does not cover the record class [ex:status on ex:Dosage]32 ms
- passed reports a property whose domain does not cover the record class [ex:accession on ex:Note]35 ms
- passed reports a property whose domain does not cover the record class [ex:noteText on ex:Record]32 ms
given the vocabulary beside the adapter 2 passed
given a property whose domain is reached through another property 9 passed
- passed reaches through to a class, stopping at one a shape targets or a subclass of one [ex:problemName on ex:Finding, reported]34 ms
- passed reaches through to a class, stopping at one a shape targets or a subclass of one [prov:agent on ex:Problem, reported]33 ms
- passed reaches through to a class, stopping at one a shape targets or a subclass of one [prov:agent on ex:Run, not reported]34 ms
- passed reaches through to a class, stopping at one a shape targets or a subclass of one [prov:wasGeneratedBy on ex:Problem, not reported]37 ms
- passed reaches through to a class, stopping at one a shape targets or a subclass of one [prov:hadPlan on ex:Run, not reported]35 ms
- passed reaches through to a class, stopping at one a shape targets or a subclass of one [ex:unit on ex:Result, not reported]36 ms
- passed reaches through to a class, stopping at one a shape targets or a subclass of one [ex:problemName on ex:Problem, not reported]33 ms
- passed reaches through to a class, stopping at one a shape targets or a subclass of one [prov:wasGeneratedBy on ex:Run, reported]36 ms
- passed reaches through to a class, stopping at one a shape targets or a subclass of one [prov:used on ex:Problem, reported]37 ms
Names of a source's kinds of record adapter/profile/must/record_type_names.py 22 passed
A source that names a kind of record by an id, a C-CDA's templateId root among them, names it in words too, so a tool showing the adapter to a reader prints the name with the id beside it.
Source adapter_profile/test_record_type_names.py
given an adapter saying its source record types are identifiers 16 passed
- passed reports nothing where each id is the notation of a concept with one label27 ms
- passed reports an id no concept has for its notation25 ms
- passed reports each id with no name and no other28 ms
- passed reports an id once however many entries name it25 ms
- passed reports a concept carrying no label25 ms
- passed reports a concept carrying two labels25 ms
- passed reports an id two concepts hold for a notation25 ms
- passed reports a label that is no name in words [empty]24 ms
- passed reports a label that is no name in words [the id]19 ms
- passed reports a label that is no name in words [blank]24 ms
- passed reports a label given to an id that differs by a digit25 ms
- passed reports an id of any form with no concept [7]23 ms
- passed reports an id of any form with no concept [A01]27 ms
- passed reports an id of any form with no concept [Condition]24 ms
- passed reports an id of any form with no concept [1.2 ]28 ms
- passed reports nothing for an accounting naming no kind of record23 ms
given an adapter not saying its source record types are identifiers 2 passed
given an adapter naming no accounting 2 passed
- passed reports nothing10 ms
- passed reports nothing for an accounting that is not a file in the package11 ms
given the synthetic adapters 2 passed
Looking a value up in a concept map adapter/profile/must/lookups.py, shapes/concept-map.shapes.ttl 23 passed
A concept map is a SKOS scheme whose notations are a source's values and whose matches are Cascade terms. An entry that looks its path's values up names the map and the gap a value outside the map opens.
Source adapter_profile/test_concept_map_shapes.py, adapter_profile/test_lookups.py
given a concept of a concept map that breaks a constraint 11 passed
- passed rejects a concept carrying no notation15 ms
- passed rejects a concept carrying two notations17 ms
- passed rejects a concept matching no cascade term16 ms
- passed rejects a concept matching a cascade term both exactly and closely16 ms
- passed rejects a concept carrying two exact matches17 ms
- passed rejects two concepts of one scheme carrying one notation25 ms
- passed rejects a notation the lowercasing of a value can never equal16 ms
- passed rejects a notation the whitespace stripping of a value can never equal48 ms
- passed rejects two concepts of one scheme whose notations are one key spelled two ways25 ms
- passed rejects a concept in no scheme and a concept in two23 ms
- passed rejects a concept matching a cascade term written as a string rather than by IRI94 ms
given a concept of a concept map that conforms 2 passed
given an entry that looks its path's values up 1 passed
- passed reports nothing for the lookup the synthetic adapter commits43 ms
given an adapter naming no accounting 1 passed
given a lookup at fault in one way 8 passed
- passed reports a concept map no bridge table names166 ms
- passed reports a gap of a kind other than a value not mapped56 ms
- passed reports a gap no scheme of the adapter holds55 ms
- passed reports a concept map carrying two concept schemes37 ms
- passed reports a concept map carrying no concept scheme40 ms
- passed reports a concept in a scheme other than the one its concept map carries51 ms
- passed reports a concept map that is not Turtle41 ms
- passed applies the concept map shapes to the concept map58 ms
Declaring a JSON source format bridge:recordPath, bridge:rootMember 14 passed
A JSON source has no element names, so its adapter says where the records are with a JSONPath, in a subset a Bridge reads without a JSONPath library.
Source adapter_profile/test_a_json_source.py
given a crate that declares it rightly 3 passed
- passed reports nothing for a JSON adapter that conforms170 ms
- passed reports nothing for a record path whose name shorthand is not ascii74 ms
- passed reports nothing for a record path written with brackets80 ms
given a crate that declares it wrongly 11 passed
- passed reports a source media type no lift applies to34 ms
- passed reports a JSON adapter naming an element name of each record43 ms
- passed reports an XML adapter naming no element name of each record347 ms
- passed reports a JSON envelope naming no record path68 ms
- passed reports a JSON envelope naming no root member72 ms
- passed reports a JSON envelope naming a document root element72 ms
- passed reports an XML envelope naming a JSON record path43 ms
- passed reports a record path outside the subset76 ms
- passed reports a record path whose name shorthand RFC 9535 does not allow [$.a$b]75 ms
- passed reports a record path whose name shorthand RFC 9535 does not allow [$.record-list[*]]74 ms
- passed reports a record path whose name shorthand RFC 9535 does not allow [$.x~y]70 ms
Inputs, findings and queries of a JSON source adapter/profile/must/inputs.py, expected_findings.py, source_accounting.py, queries.py 32 passed
The same four requirements, as they read a JSON source: inputs against a JSON Schema, findings selecting by JSON Pointer, and paths written as member names.
Source adapter_profile/test_a_json_source.py
given a JSON input and its schema 11 passed
- passed reports nothing for committed JSON inputs whose failures their findings record89 ms
- passed reports a JSON schema failure the expected findings do not record103 ms
- passed reports a JSON input that is not a JSON text95 ms
- passed reports a JSON input escaping a lone surrogate99 ms
- passed reports nothing for a JSON schema failure on a null member its findings record791 ms
- passed reports a JSON schema naming another draft96 ms
- passed reports a `$ref` to nothing in the package106 ms
- passed reports a JSON adapter whose schema is an XSD82 ms
- passed reports nothing for a fractional value the schema holds to a fractional multiple107 ms
- passed reports a fractional value that is no multiple of the schema's fraction106 ms
- passed reports nothing for an integer written with a zero fraction86 ms
given an expected finding of a JSON input 7 passed
- passed reports nothing for the committed JSON findings639 ms
- passed reports a JSON finding selecting by XPath634 ms
- passed reports a JSON pointer selecting no node647 ms
- passed reports a JSON pointer selecting a node that is no record717 ms
- passed reports a refinement selecting no node of the record639 ms
- passed reports a JSON pointer whose percent encoding is not UTF-8 as selecting no node774 ms
- passed reports an XSD rule as the body of a JSON schema finding1.28 s
given the accounting of a JSON source 4 passed
given a findings query of a JSON source 3 passed
given an envelope naming a source schema of its own 7 passed
- passed validates a record against the source schema its envelope names, not the adapter's107 ms
- passed resolves a `$ref` of the subschema a fragment names against the whole schema document198 ms
- passed reports a source schema fragment naming no subschema994 ms
- passed reports a source schema fragment that is no JSON pointer373 ms
- passed reports an envelope carrying two source schemas363 ms
- passed reports an envelope source schema naming no file of the crate75 ms
- passed reports nothing for an adapter's source schema naming a subschema of a crate file84 ms
Benchmark inputs an adapter offers adapter/profile/must/bench_inputs.py, bench/manifest.json 14 passed
An adapter may list inputs to measure a Bridge on. Where it does, each is a file that is there and is what the list says of it.
Source adapter_profile/test_bench_inputs.py
given the manifest the synthetic adapter commits 1 passed
given a manifest at fault in one way 12 passed
- passed reports a manifest fault and says what was wanted [bytes off by one]28 ms
- passed reports a manifest fault and says what was wanted [an id repeated]24 ms
- passed reports a manifest fault and says what was wanted [an envelope naming no envelope]24 ms
- passed reports a manifest fault and says what was wanted [a gz that is not gzip]27 ms
- passed reports a manifest fault and says what was wanted [onPullRequests yes]23 ms
- passed reports a manifest fault and says what was wanted [an id without the crate's prefix]25 ms
- passed reports a manifest fault and says what was wanted [the sha256 of the gz file]28 ms
- passed reports a manifest fault and says what was wanted [a path with ..]24 ms
- passed reports a manifest fault and says what was wanted [measures missing]25 ms
- passed reports a manifest fault and says what was wanted [an empty description]26 ms
- passed reports a manifest fault and says what was wanted [a path to no file]28 ms
- passed reports a manifest fault and says what was wanted [a measure named timeout]25 ms
given an adapter with no bench manifest 1 passed
Faults that name the node that broke adapter/profile/_findings.py 3 passed
A fault is one line of a failing run: the sentence of the shape that was broken and the node that broke it. Two nodes breaking one shape are two faults, each telling its own node.
Source adapter_profile/test_a_fault_names_the_node_that_broke.py
given a shape broken at two nodes 1 passed
- passed gives two faults, each naming its node30 ms
given a fault over a C-CDA accounting 1 passed
- passed names the source path of the entry that broke it226 ms
given a fault found through a nested shape 1 passed
- passed names the nested node that broke it192 ms
Findings a Bridge reports for a value outside a concept map fixtures/synthetic-adapter/fixtures/findings/ 6 passed
A Bridge cannot be run here, so what it must report is shown by the findings the synthetic adapter expects. These hold that vector to the rule for a looked-up value its concept map lacks.
Source adapter_profile/test_a_value_is_looked_up_in_a_concept_map.py
given an entry that looks its path's values up 1 passed
given a value the concept map lacks 1 passed
given a lookup finding 4 passed
- passed is addressed at the first occurrence of its value in the record46 ms
- passed carries the value as the record wrote it, never the key or the path51 ms
- passed counts the nodes of the record holding its value where they are more than one48 ms
- passed takes the severity its gap declares and `sh:Info` where it declares none57 ms
Findings a Bridge reports for an accounting entry fixtures/synthetic-adapter/vocab/example-accounting.ttl, fixtures/synthetic-adapter/fixtures/findings/ 9 passed
An entry whose verdict names a gap makes a Bridge report that gap wherever its path stands in a record. These hold the synthetic adapter's expected findings to that rule.
Source adapter_profile/test_an_entry_reports_its_gap.py
given the kinds of gap the specification names 1 passed
given an entry whose verdict names a reporting gap 1 passed
- passed is expected once per distinct path per record96 ms
given a finding an entry reports 3 passed
given an entry whose verdict names no gap 1 passed
given an entry naming a gap of a kind that reports nothing 1 passed
- passed is expected at no record45 ms
given a path in a namespace 1 passed
- passed is reported at the step a selector writes for it61 ms
given a gap that an entry reports and a findings query constructs 1 passed
- passed stands as two findings48 ms
Findings a Bridge reports for a path no entry accounts for fixtures/synthetic-adapter/fixtures/findings/example-0004.ttl 9 passed
The census is what a Bridge reports of a path the accounting carries no entry for: one finding per path per record, for the adapter's author to act on.
Source adapter_profile/test_an_entry_reports_its_gap.py, adapter_profile/test_the_census_case.py
given a census finding 1 passed
given every census finding the synthetic adapter expects 1 passed
- passed is for an input its manifest names36 ms
given a census finding about an element 1 passed
given a census finding about an element in a namespace 1 passed
- passed names it as a selector's step does38 ms
given a census finding about an attribute of a child element 1 passed
- passed is refined onto that child36 ms
given a census finding about an attribute of the record element 1 passed
- passed carries no refinement37 ms
given a census finding about an attribute in a namespace 1 passed
- passed names it by an at sign before a selector's step37 ms
given every census finding 1 passed
given the synthetic adapter's accounting 1 passed
Records a mapping leaves out as withdrawn fixtures/synthetic-adapter/ 7 passed
The synthetic adapter's mapping shows the pattern for dropping a record by a looked-up value: it lifts no record whose status the concept map maps to withdrawn.
Source adapter_profile/test_a_withdrawn_record_is_not_lifted.py
given a record holding a status the concept map lacks 1 passed
- passed is lifted21 ms
given a record holding no status at all 1 passed
- passed is lifted19 ms
given a record whose only status is withdrawn 1 passed
- passed is not lifted461 ms
given a record holding withdrawn beside another status 1 passed
- passed is not lifted36 ms
given a record whose withdrawn is spelled outside its key 1 passed
- passed is not lifted21 ms
given a record padded with a character that only Unicode calls whitespace 1 passed
- passed is lifted19 ms
What a repository's compatibility.json may say compatibility.json, vocab/compatibility.context.jsonld 20 passed
An engine, an adapter, a runtime and a vocabulary each commit a `compatibility.json` naming what it must pass with and, for an engine or a runtime, its hosts. A file of no known form is refused before anything runs.
Source compatibility/test_validate_command.py, compatibility/test_the_hosts_the_shapes_refuse.py
given an engine's hosts 2 passed
given an adapter with no `compatibility.json` 1 passed
- passed is nothing to check, not a pass73 ms
given a key the context does not define 1 passed
- passed is refused, naming it53 ms
given an entry written as an object 1 passed
given a file of neither form 4 passed
- passed is refused [entries not a list]1 ms
- passed is refused [a host carrying no setup]1 ms
- passed is refused [a host carrying no command]1 ms
- passed is refused [an argument vector written as a string]1 ms
given an engine's file naming no host 2 passed
given an adapter's file carrying setup or command 1 passed
- passed is refused1 ms
given a file whose context is not the specification's 1 passed
- passed is refused1 ms
given two counterparts whose repositories share a name 1 passed
- passed is refused1 ms
given a counterpart named `cascade-bridge-spec` 1 passed
- passed is refused1 ms
given a runtime's file 2 passed
given a runtime's adapters written as an object 1 passed
- passed stops the run1 ms
given a vocabulary naming no runtime 2 passed
Picking the version of each repository a run uses Depends-On: 23 passed
Nothing pins one repository to a commit of another. A run picks each: the pull requests named on `Depends-On:` lines merged into the branch they target, else the branch named like the one the run is on, else the default branch.
Source compatibility/test_picking_versions.py, compatibility/test_picking_edge_cases.py
given a repository named in another case 1 passed
- passed is the same repository435 ms
GitHub reads owner and repository names whatever their case, so a line naming one so is the same line.
- passed is the same repository435 ms
given a cycle between two named pull requests 1 passed
- passed picks both500 ms
given the branch a pull request targets 1 passed
- passed is read when the job runs401 ms
An event file is frozen at the event that started the run; the API is not.
- passed is read when the job runs401 ms
given a named specification pull request 1 passed
- passed is used rather than listed as not used472 ms
given the version picked 1 passed
- passed says what was merged in before it was handed the run802 ms
given a named pull request 1 passed
- passed is merged into the branch it targets391 ms
given a pull request named by a named pull request 1 passed
- passed is followed517 ms
given two named pull requests targeting one branch 1 passed
- passed merges both in474 ms
given two named pull requests targeting different branches 1 passed
- passed fails the check, naming them125 ms
given a named pull request that conflicts 1 passed
- passed fails the check, naming it220 ms
given a named pull request closed without merging 1 passed
- passed fails the check, naming it114 ms
given a named pull request naming the pull request under test back 1 passed
- passed is merged into the branch it targets424 ms
given a merged named pull request 1 passed
- passed adds nothing, and the matching branch is used486 ms
given a repository without the matching branch 1 passed
- passed is used at its default branch451 ms
given a named pull request in a repository the run checks nothing out from 1 passed
- passed is listed as not used452 ms
given a description changed between runs 1 passed
- passed is read again by the second run831 ms
given a push run 1 passed
- passed uses the branch it runs on and records how it picked it490 ms
given a slice that reads the vocabulary beside the repository under test 5 passed
- passed is the head of the vocabulary pull request the description names1 ms
- passed is the default branch when the description names none0 ms
- passed is the default branch on a push0 ms
- passed stops when the vocabulary pull request has no head repository1 ms
- passed stops naming both when the description names two vocabulary pull requests1 ms
Pull requests named in the repository under test Depends-On: 11 passed
A pull request may name others of its own repository; they are merged into its checkout in the order of their numbers, so a set that will land together is tested together.
Source compatibility/test_picking_edge_cases.py
given a pull request naming one in its own repository 1 passed
- passed is tested with it merged in481 ms
The pull request named in the repository under test is merged into the checkout under test, as Zuul does.
- passed is tested with it merged in481 ms
given a cycle of three in the repository under test 1 passed
- passed merges the other two in, in the order of their numbers552 ms
Reached through #3's own line, and merged in by number whichever line named it first.
- passed merges the other two in, in the order of their numbers552 ms
given a named pull request in the repository under test, merged since the run's event 1 passed
- passed is merged in780 ms
A rerun keeps the commit its event checked out, which a pull request that merged since does not hold.
- passed is merged in780 ms
given a named pull request already in the checkout 1 passed
- passed is not said to be merged in486 ms
given a named pull request in the repository under test 1 passed
- passed is merged in at the head the run read383 ms
A push after the run read the pull request is not tested unannounced.
- passed is merged in at the head the run read383 ms
given a named open pull request from a fork 1 passed
- passed is not merged into the checkout under test71 ms
The checkout under test runs with the job's token, which a fork's code is not handed.
- passed is not merged into the checkout under test71 ms
given a pull request of the engine reached only through another repository 2 passed
- passed is not merged in [while open]447 ms
Two pull requests of this engine that follow one vocabulary pull request are not bundled by it: each names the other.
- passed is not merged in [once closed]488 ms
Two pull requests of this engine that follow one vocabulary pull request are not bundled by it: each names the other.
- passed is not merged in [while open]447 ms
given two named pull requests in the repository under test that conflict 1 passed
- passed fails the check, naming them158 ms
given a named pull request in the repository under test landing on another branch 1 passed
- passed fails the check91 ms
given a named pull request in the repository under test closed without merging 1 passed
- passed fails the check, naming the line to cut89 ms
Pull requests a run cannot read GITHUB_TOKEN 5 passed
A named pull request the run cannot read fails the check where the run would have used it, and is passed over where it would not. A failure of GitHub's own is said as that.
Source compatibility/test_picking_edge_cases.py
given a closed pull request in a repository the run checks nothing out from 1 passed
- passed never fails the check396 ms
given a pull request the API does not serve, in a repository the run checks nothing out from 1 passed
- passed never fails the check488 ms
given an unreadable pull request in a counterpart repository 1 passed
- passed fails the check177 ms
A typo or a deleted pull request names a version the run cannot have.
- passed fails the check177 ms
given a spent rate limit 1 passed
given an error of GitHub's own 1 passed
Picking the Cascade vocabulary an adapter names bridge:cascadeVocabularyRepository 11 passed
An adapter names the vocabulary repository it reads and the files it reads there. A run picks that repository as it picks a counterpart and gives it to the engine.
Source compatibility/test_picking_the_cascade_vocabulary.py, compatibility/test_the_vocabulary_locally.py
given an adapter naming a vocabulary repository 1 passed
given a named vocabulary pull request 1 passed
- passed is merged into its target, and the row names it478 ms
given a vocabulary pull request named through another pull request 1 passed
- passed is followed494 ms
given a vocabulary pull request closed without merging 1 passed
- passed fails the check, naming it162 ms
given another vocabulary repository an adapter names 2 passed
- passed is checked out under that repository's name421 ms
- passed is read from the sibling named as it289 ms
given an engine naming two adapters that read different vocabulary repositories 1 passed
- passed runs each against its own611 ms
given the vocabulary sibling 1 passed
- passed is used as it is on disk396 ms
given a local run with no vocabulary sibling 1 passed
- passed stops with the git command for it83 ms
given an adapter naming a path that is no file of the vocabulary 1 passed
- passed is refused158 ms
given an adapter whose named files declare none of its vocabulary 1 passed
- passed is refused298 ms
Running an adapter on every host of an engine host, mustPassWith 10 passed
A host is one way an engine is built and run, such as natively or under Node. A counterpart is run and judged on every host, and one host on which it does not hold fails the run.
Source compatibility/test_every_host_of_an_engine_is_run.py, compatibility/test_run_and_judge_commands.py
given an adapter's run 1 passed
- passed runs every host of the engine it names740 ms
given an adapter failing on the second host only 1 passed
- passed is two entries and two table rows, and fails the run603 ms
given a counterpart engine listing a host with no name 1 passed
- passed is not run rather than run on the named one248 ms
given a counterpart engine naming two hosts alike 1 passed
- passed is not run rather than run on one of them279 ms
given a host whose name is no file name 1 passed
- passed is still run, and judged by its report402 ms
given an entry whose engine passes its adapter 1 passed
- passed holds528 ms
given an entry whose report does not hold 2 passed
given an entry whose engine's setup failed 1 passed
- passed says so rather than that it wrote no report227 ms
given a counterpart engine stating no command 1 passed
- passed is not run rather than refused201 ms
A counterpart's files are read for what running it needs, never validated.
- passed is not run rather than refused201 ms
Running an engine's host from its release release, build-<commit> 26 passed
An adapter's run need not build the engine: where the engine's commit has a release whose bytes its notes vouch for, the host runs from that asset. Where the release does not serve, the host's setup runs instead.
Source compatibility/test_every_host_of_an_engine_is_run.py
given an engine with a release 2 passed
given a release whose digest the notes do not give 1 passed
- passed builds the host by its setup430 ms
given a release that exists but not for the pull requests head 2 passed
given a release path naming the engine itself 3 passed
- passed builds the host by its setup, saying the path is no path in the release, and holds one host [a dot]417 ms
- passed builds the host by its setup, saying the path is no path in the release, and holds one host [a path that returns to its folder]375 ms
- passed builds the host by its setup, saying the path is no path in the release, and holds one host [an empty path]348 ms
given a vouched archive that cannot be unpacked 2 passed
given a download cut off partway 1 passed
- passed builds the host by its setup338 ms
given a release answered with no JSON 1 passed
- passed builds the host by its setup347 ms
given a pull request the run fast-forwards to 1 passed
- passed runs each host from its head's release541 ms
given a pull request behind its base 1 passed
- passed is the only one told to catch up with it363 ms
given a pull request already in its base, or one of two pull requests on an engine 2 passed
given a release being published 1 passed
- passed is waited for, then used512 ms
given a release published in the last window 1 passed
- passed is used502 ms
given a head whose release exists where the branch's is missing 1 passed
given a release no run is making 3 passed
- passed is not waited for [no run]365 ms
- passed is not waited for [runs that are all done]388 ms
- passed is not waited for [a run of another event]378 ms
given a release that never appears 1 passed
given a fork's pull request 1 passed
- passed is built at once, without reading the runs469 ms
given a wait that cannot go on 2 passed
- passed builds at once and says why [the runs time out]375 ms
- passed builds at once and says why [the release answers 500]318 ms
Library cases run on every host of an engine fixtures/library/, compatibility_tool/library.py 9 passed
The library cases are calls every engine's library must answer alike, whatever language it is in. An engine under test runs them on each host through its `library` command.
Source compatibility/test_the_library_vectors_are_run_on_every_host.py, compatibility/test_comparing_a_conversion.py, compatibility/test_reading_the_library_cases.py
given two conversions of one case 2 passed
given a convert after a load expected to fail 1 passed
- passed is judged against the load before it3 ms
given a convert call 1 passed
- passed gives the library only the findings and the census the call asks for40 ms
given a document failure where an adapter failure is expected, on the second host 1 passed
- passed fails that host's row and the gate5.99 s
given a `file:` IRI in a findings graph 1 passed
- passed fails the row, naming the case4.38 s
given an engine writing no library results 1 passed
- passed fails the row, saying it wrote none499 ms
given an adapter's run naming the engine 1 passed
- passed has no library row255 ms
given an engine with no `mustPassWith` whose library cases hold 1 passed
- passed holds where it would otherwise have nothing to check4.29 s
Judging an EARL report engine/faults-of-a-report.rq 32 passed
An engine or a runtime writes what it found as an EARL report, one outcome per test. One query decides whether the report holds, and each fault it finds is a line the run prints.
Source compatibility/test_judging_a_report.py
given a report with every test passed or undecided 1 passed
- passed holds45 ms
given a report asserting one test twice 1 passed
- passed counts the test once32 ms
given a report asserting one test under two outcomes 1 passed
given a report with a failing outcome 2 passed
- passed does not hold [reported failed]34 ms
- passed does not hold [reported inapplicable]31 ms
given an outcome outside EARL's five 1 passed
- passed judges the report not to hold32 ms
given a report missing tests of the manifest 1 passed
- passed does not hold15 ms
given a report that cannot be judged 3 passed
- passed does not hold [a report that is not Turtle]4 ms
- passed does not hold [no report because the entry was never run]1 ms
- passed does not hold [no report because the run wrote none]1 ms
given a crate naming its test manifest in a one-element array 1 passed
- passed is judged by that manifest248 ms
given a report giving an input-only entry passed 1 passed
- passed does not hold61 ms
given only the query `engine/faults-of-a-report.rq`, asked of a report 7 passed
- passed gives the faults the judge prints [no outcome]24 ms
- passed gives the faults the judge prints [input-only passed]91 ms
- passed gives the faults the judge prints [missing tests of the manifest]36 ms
- passed gives the faults the judge prints [a test reported inapplicable]58 ms
- passed gives the faults the judge prints [a test reported failed]45 ms
- passed gives the faults the judge prints [outside EARL's five]57 ms
- passed gives the faults the judge prints [passed or undecided]52 ms
given a fault only the query knows 1 passed
- passed is what the judge prints15 ms
given a report giving an input-only entry untested 1 passed
- passed says which entry32 ms
given an outcome written as a literal 1 passed
- passed is not one of EARL's five31 ms
given failed results naming no test 1 passed
- passed counts each as its own fault29 ms
given a report recording no outcome 2 passed
- passed is that one fault13 ms
- passed says so when the manifest cannot be read237 ms
given an input-only entry reported failing 2 passed
- passed is one fault [reported inapplicable]27 ms
- passed is one fault [reported failed]71 ms
given a manifest entry without a fragment 1 passed
- passed is named by its IRI5 ms
given an input-only entry reported outside EARL's five 2 passed
- passed is one fault [an outcome of no EARL term]34 ms
- passed is one fault [an outcome written as a literal]27 ms
given a report on a manifest of hundreds of entries 1 passed
- passed is judged in under 30 seconds1.39 s
given a report on hundreds of input-only entries 1 passed
- passed is judged in under 30 seconds3.36 s
Running a runtime on the repositories it names cascade-runtime.json, --folder, --checkout-only 12 passed
A runtime names its vocabulary and adapters in `cascade-runtime.json`. A run picks each, hands it to the runtime's conformance command by folder, and judges the report the command writes.
Source compatibility/test_a_runtime_is_run_on_what_it_names.py
given a runtime whose report holds 1 passed
given a checkout-only run 1 passed
given a checkout-only run of the merge gate 1 passed
- passed is refused113 ms
given a local run whose report has a failure 2 passed
- passed does not hold221 ms
- passed says a failure is feedback where a named sibling has uncommitted edits232 ms
given a vocabulary pull request named on a `Depends-On:` line 1 passed
- passed is handed in to the runtime315 ms
given a Bridge pull request named on a `Depends-On:` line 1 passed
given a vocabulary under test 1 passed
given an adapter under test that names a runtime in `mustPassWith` 3 passed
given an adapter under test that the runtime it names in `mustPassWith` does not name 1 passed
Running on a developer's machine python3 scripts/compatibility.py <dir> 4 passed
A local run reads no pull request: it uses every sibling checkout as it is on disk, uncommitted edits included.
Source compatibility/test_local_mode.py
given a sibling on another branch with uncommitted edits 1 passed
- passed is used as it is218 ms
given a missing sibling 1 passed
- passed stops with the `git clone` command for it41 ms
given an adapter with an engine beside it 1 passed
- passed is run by that engine5.97 s
given a local run 1 passed
- passed names the repository each line is about, writing no table234 ms
Locally there is no URL for the repository under test or the specification; a line still names one.
- passed names the repository each line is about, writing no table234 ms
The table a run writes table.md 5 passed
The table is what a person reads on the pull request: one row per repository the run used, the version picked and how, and for a counterpart whether it holds.
Source compatibility/test_the_table.py
given a run 1 passed
given a run with no token 1 passed
- passed picks a version and writes the table389 ms
given a run that used a named pull request 1 passed
- passed says the pass is only as fresh as its last run380 ms
There is no gate queue: whoever merges has to rerun once the named one has merged.
- passed says the pass is only as fresh as its last run380 ms
given the pull request under test 1 passed
- passed is not a named pull request165 ms
The specification's own CI: its row is the pull request under test, which needs no rerun.
- passed is not a named pull request165 ms
given a counterpart whose crate would not validate 1 passed
- passed is run and judged497 ms
Rule: a counterpart's files are read for what running it needs, never validated.
- passed is run and judged497 ms
A report of every case an engine ran report.ctrf.json, report.md 40 passed
A case is one entry of an adapter's test manifest, run on one engine host. A compatibility run that has an engine run the manifest writes each case's result into its results directory: `report.ctrf.json` for a tool, `report.md` for a person. A case fails here exactly when the judge finds a fault against it, so the report and the table never disagree.
Source compatibility/test_the_case_report.py
given an adapter whose every case the engine's one host judges well 11 passed
- passed writes `report.ctrf.json` and `report.md` into the results directory404 ms
- passed lists each entry of the test manifest once5 ms
- passed names a case by its `mf:name`, under the manifest's label and then `with engine on native`1 ms
- passed gives a case its `rdfs:comment` as its description6 ms
- passed gives a case the manifest's path and the line its entry begins on1 ms
- passed reports `passed` as passed, `cantTell` as other and `untested` as skipped1 ms
- passed counts the cases of each status in `summary`1 ms
- passed gives `summary` the run's own `start` and `stop`, the host's run falling between them412 ms
- passed gives `summary.duration` as the milliseconds from `start` to `stop`1 ms
- passed marks the report as timing no case: `results.extra.caseDurations` is `unmeasured`, each case's `duration` being 01 ms
- passed names the adapter's repository and commit on each case1 ms
given a case the judge holds a fault against 6 passed
- passed reports the case failed, with the fault as its message [not one of EARL's five]430 ms
- passed reports the case failed, with the fault as its message [no outcome]432 ms
- passed reports the case failed, with the fault as its message [input-only passed]328 ms
- passed reports the case failed, with the fault as its message [failed]405 ms
- passed lists a fault that names no entry as a failed case of its own, named by the fault [a report recording no outcome]310 ms
- passed lists a fault that names no entry as a failed case of its own, named by the fault [a result naming no test]397 ms
given an entry the report gives more than one outcome 3 passed
One status where every outcome agrees, and `other` where they do not.
- passed reports `other` unless every outcome agrees, and lists the outcomes in `extra.outcome` in report order [passed twice]351 ms
- passed reports `other` unless every outcome agrees, and lists the outcomes in `extra.outcome` in report order [passed and untested]358 ms
- passed reports `other` unless every outcome agrees, and lists the outcomes in `extra.outcome` in report order [cantTell and passed]360 ms
given a report that names the tests at an address other than the manifest's 1 passed
A report written where the adapter was checked out elsewhere: each test is matched to its entry by its path.
given a host whose report cannot be judged 3 passed
The engine ran, or could not, and left nothing the judge can read: the table's row says why, and each case says the same.
- passed reports every case on that host failed with what the table says of the host [no report]243 ms
- passed reports every case on that host failed with what the table says of the host [setup failed]360 ms
- passed reports every case on that host failed with what the table says of the host [not Turtle]367 ms
given an engine with two hosts 1 passed
- passed lists every case under each host's own `with engine on …`1.00 s
given an adapter whose test manifest cannot be read 1 passed
given a fault naming no entry 1 passed
- passed counts its case in the manifests description340 ms
given a run in which no engine runs an adapter 4 passed
A runtime's or a vocabulary's run is judged by the conformance report, which has its own page; a run that stops before the engines has nothing case by case to say.
- passed writes neither file [a run that checks out only]175 ms
- passed writes neither file [a runtime's run]258 ms
- passed writes neither file [a refused file]97 ms
- passed removes the report an earlier run left in the results directory101 ms
`report.md` 4 passed
- passed puts a group that holds a failed case first and open1 ms
- passed closes a group that holds no failed case11 ms
- passed says a failed case's fault beside its name463 ms
- passed holds no Markdown table1 ms
given a run in CI 5 passed
- passed appends `report.md` to the run's summary page, after the table1 ms
- passed names the run in `environment.buildUrl`492 ms
- passed says in `table.md` where the run's summary is and which artifact holds `report.ctrf.json`3 ms
- passed leaves the artifact out when the action named none318 ms
- passed says nothing of a report in `table.md` when the run wrote none556 ms
The report a run names for its caller .github/actions/start 7 passed
A job that reads what a run wrote reads the start action's outputs, never a path it assumes: `report` for the EARL report, `cases` for the case report, and `report-artifact` for the artifact that holds it. Each is empty or absent when the run wrote nothing it could name.
Source compatibility/test_the_start_action.py
when the start action names the report it wrote 3 passed
when the start action names the case report it wrote 2 passed
when the start action names the artifact for the case report 2 passed
The merge gate --check ready-to-merge 38 passed
A pull request merges only once every pull request it names has merged, or names it back and has passed every check but its own gate.
Source compatibility/test_ready_command.py
given the ready-to-merge check is asked for 16 passed
- passed fails while a named pull request is open, naming it131 ms
- passed passes once the named pull request has merged113 ms
- passed tells a pull request closed without merging to cut the line naming it158 ms
- passed passes with a warning for a named pull request it cannot see [not found]136 ms
- passed passes with a warning for a named pull request it cannot see [forbidden]99 ms
- passed fails an unknown pull request number in a repository it can read103 ms
- passed fails a forbidden read that is a limit not a missing access [retry-after]99 ms
- passed fails a forbidden read that is a limit not a missing access [rate limit message]147 ms
- passed fails a forbidden read that is a limit not a missing access [abuse]100 ms
- passed says the merge does not wait on a pull request it cannot see125 ms
- passed still fails a pull request it cannot see when another named one has not merged101 ms
- passed fails a named pull request whose read failed for any other reason131 ms
- passed fails a named pull request refused for the rate limit98 ms
- passed passes a pull request naming nothing142 ms
- passed passes a push93 ms
- passed reads only the pull requests named directly107 ms
given a cycle of pull requests naming each other 19 passed
- passed passes a cycle member whose checks succeeded apart from its own gate156 ms
- passed fails a member naming its failed check, without waiting for the rest110 ms
- passed waits for a cycle member whose check is still running147 ms
- passed fails naming the check it waited for when it stops waiting182 ms
- passed takes the latest run of a cycle member's check184 ms
- passed passes a cycle member that has merged110 ms
- passed counts a pull request naming it back through another as a cycle member134 ms
- passed fails a cycle member with no checks on its head commit [only its gate]210 ms
- passed fails a cycle member with no checks on its head commit [no check runs]185 ms
- passed discounts the gate by its check name, not its job id152 ms
- passed says in a cycle that it cannot tell its own gate without its check run151 ms
- passed passes a cycle member whose check concluded as GitHub passes it [a skipped check]121 ms
- passed passes a cycle member whose check concluded as GitHub passes it [a neutral check]110 ms
- passed fails a cycle whose member names a pull request outside it144 ms
- passed passes a cycle whose member names a merged pull request outside it148 ms
- passed passes with a warning for a pull request outside a cycle that it cannot see116 ms
- passed fails a cycle whose outside pull request failed to read for any other reason140 ms
- passed finds no cycle through a merged pull request125 ms
- passed passes a cycle in the repository under test once the others' checks have112 ms
given the pull request under test 3 passed
The `## Breaking` section of a pull request's description compatibility_tool/breaking.py 52 passed
A section lists each `old -> new` or `old -> removed` a caller sees, or says None.
Source compatibility/test_ready_command.py
is read 23 passed
- passed is read ['1. a -> b\\n2. c -> removed']1 ms
- passed is read ['None\\r']1 ms
- passed is read ['- a -> b\\u2028- c -> d\\u2029']1 ms
- passed is read ['None\\n\\n## Verification\\n\\nnot an arrow]1 ms
- passed is read ['- a -> b\\r- c -> d']2 ms
- passed is read ['- \\xa0a -> b']2 ms
- passed is read ['none.']1 ms
- passed is read ['None']1 ms
- passed is read ['-\\nNone']1 ms
- passed is read ['- None']1 ms
- passed is read ['None <!-- a -> b -->']1 ms
- passed is read ['None\\nDepends-On: https://github.com/th]1 ms
- passed is read ['None\\n\\n---\\nanything after the rule']1 ms
- passed is read ['\uff11. a -> b']1 ms
- passed is read ['- a ->->b']1 ms
- passed is read ['None\\r\\n']1 ms
- passed is read ['- `a.b` -> `c.d`']1 ms
- passed is read ['a ->\\x85']1 ms
- passed is read ['- a -> b\\n\\n- c -> d']1 ms
- passed is read ['\\x85-> b']1 ms
- passed is read ['<!-- - old -> new -->\\nNone']1 ms
- passed is read ['* NONE']1 ms
- passed is read ['- a -> b\\xa0']1 ms
- passed is read after a byte order mark and other sections1 ms
- passed is read with a depends on line after none1 ms
is refused when missing 6 passed
- passed is refused when missing [empty]1 ms
- passed is refused when missing [no heading]1 ms
- passed is refused when missing [another heading]1 ms
- passed is refused when missing [a deeper heading]1 ms
- passed is refused when missing [no space]1 ms
- passed is refused when missing [null]1 ms
is refused when empty 7 passed
- passed is refused when empty [comment]3 ms
- passed is refused when empty [end]1 ms
- passed is refused when empty [next heading]1 ms
- passed is refused when empty [depends on]1 ms
- passed is refused when empty [rule]2 ms
- passed is refused when empty [bare bullet]2 ms
- passed is refused when empty [blank]1 ms
- passed is refused with none beside lines1 ms
is refused with a line that is not old to new 13 passed
- passed is refused with a line that is not old to new ['a ->']1 ms
- passed is refused with a line that is not old to new ['-> b']1 ms
- passed is refused with a line that is not old to new ['a > b']1 ms
- passed is refused with a line that is not old to new ['- ->']1 ms
- passed is refused with a line that is not old to new ['a - b']1 ms
- passed is refused with a line that is not old to new ['\\xa0-> b']1 ms
- passed is refused with a line that is not old to new ['renamed a to b']1 ms
- passed is refused with a line that is not old to new ['a => b']1 ms
- passed is refused with a line that is not old to new ['\uff11. None']1 ms
- passed is refused with a line that is not old to new ['->']2 ms
- passed is refused with a line that is not old to new ['a \u2192 b']1 ms
- passed is refused with a line that is not old to new ['a ->\\xa0']1 ms
- passed is refused with a line that is not old to new ['None\\x85']1 ms
Re-running a check when a description is edited .github/actions/rerun-when-edited 38 passed
Editing a description starts no run of the check, so this action re-runs the latest one when the edit changed a `Depends-On:` line or the base, and only then.
Source compatibility/test_an_edit_reruns_only_what_it_must.py
given an edit to a pull request 14 passed
- passed reruns only when it changed what a run reads [a retarget and a line]1 ms
- passed reruns only when it changed what a run reads [prose]1 ms
- passed reruns only when it changed what a run reads [the case of the URL]1 ms
- passed reruns only when it changed what a run reads [a retarget]1 ms
- passed reruns only when it changed what a run reads [a title only]1 ms
- passed reruns only when it changed what a run reads [the keyword's case and the whitespace around a line]1 ms
- passed reruns only when it changed what a run reads [a line added to a null description]1 ms
- passed reruns only when it changed what a run reads [not an edit]1 ms
- passed reruns only when it changed what a run reads [a line added after prose]1 ms
- passed reruns only when it changed what a run reads [a malformed line added]1 ms
- passed reruns only when it changed what a run reads [two lines reordered]1 ms
- passed reruns only when it changed what a run reads [a line added to an empty description]1 ms
- passed reruns only when it changed what a run reads [a line cut]1 ms
- passed reruns only when it changed what a run reads [a line cut, leaving a null description]1 ms
given no run of the workflow for the pull request on its head 2 passed
given the latest run of a workflow on the pull request's head 8 passed
- passed cancels a run that has not finished, re-runs it unless it awaits approval, and says what it did [a run waiting]1 ms
- passed cancels a run that has not finished, re-runs it unless it awaits approval, and says what it did [a retarget]1 ms
- passed cancels a run that has not finished, re-runs it unless it awaits approval, and says what it did [a run requested]1 ms
- passed cancels a run that has not finished, re-runs it unless it awaits approval, and says what it did [a completed run]1 ms
- passed cancels a run that has not finished, re-runs it unless it awaits approval, and says what it did [a run in progress]1 ms
- passed cancels a run that has not finished, re-runs it unless it awaits approval, and says what it did [a run pending behind a concurrency group]1 ms
- passed cancels a run that has not finished, re-runs it unless it awaits approval, and says what it did [a run awaiting approval]1 ms
- passed cancels a run that has not finished, re-runs it unless it awaits approval, and says what it did [a run queued]1 ms
given a run that is not stopped or restarted when asked 6 passed
- passed makes the calls listed for the refusal, exits as listed for it and says what to do [a re-run another edit made first]1 ms
- passed makes the calls listed for the refusal, exits as listed for it and says what to do [a run that ignores cancel and force-cancel]1 ms
- passed makes the calls listed for the refusal, exits as listed for it and says what to do [a re-run refused at the limit]1 ms
- passed makes the calls listed for the refusal, exits as listed for it and says what to do [a re-run refused for no reason found]1 ms
- passed makes the calls listed for the refusal, exits as listed for it and says what to do [a cancel answered 409 by a run that had finished]1 ms
- passed makes the calls listed for the refusal, exits as listed for it and says what to do [a run that stops only on force-cancel]1 ms
given the pull request's head moves while the action works 4 passed
- passed makes the calls listed for when the head moved, exits 0 and says what it left alone [a head that moved during]1 ms
- passed makes the calls listed for when the head moved, exits 0 and says what it left alone [a head that moved while the stale run was stopping]1 ms
- passed makes the calls listed for when the head moved, exits 0 and says what it left alone [a head that moved after the re-run, whose newer run is still going]1 ms
- passed makes the calls listed for when the head moved, exits 0 and says what it left alone [a head that moved before]1 ms
given a read the API refuses, a pull request from a fork, or a file name that is no workflow 3 passed
- passed re-runs nothing, exits as listed for the case and says what to do instead [a fork, whose token cannot re-run]1 ms
- passed re-runs nothing, exits as listed for the case and says what to do instead [a read the API refused]1 ms
- passed re-runs nothing, exits as listed for the case and says what to do instead [a file name that is no workflow]1 ms
given a description of blank lines 1 passed
Running the checks from the version a run picked scripts/compatibility.py 6 passed
A caller fetches the default branch's tooling, which picks a version of the specification and hands the run to it. Picking happens before anything is installed.
Source compatibility/test_the_bootstrap.py, compatibility/test_commands_needing_nothing_installed.py
given the merge gate 1 passed
- passed runs with no package installed372 ms
given a check with the validators missing 1 passed
- passed names what is missing186 ms
given a repository with nothing to check 1 passed
- passed is not reported as a pass77 ms
given a version picked 2 passed
- passed runs the checks, not the version fetched to start4.47 s
- passed runs the merge gate too257 ms
A pull request to this repository that changes the gate is tried the same way as one that changes a check.
given a version picked that predates `--checkout-only` 1 passed
- passed runs the whole check quietly5.46 s
The run record handed to the version a run picked compatibility_tool/record.py 4 passed
The version a caller fetched picks and places the repositories; the version picked runs the checks. The run record is what the first leaves for the second: each repository used, its commit and how it was picked.
Source compatibility/test_record_file.py
given a run record 2 passed
- passed reads back as it was saved1 ms
- passed lists as its counterparts the repositories run and judged2 ms
given a results directory with no run record 1 passed
- passed says the run wrote none1 ms
given a run record written by an older tooling 1 passed
An adapter's explorer scripts/adapter_explorer.py 56 passed
One page per adapter, for a reader asking how the adapter handles a kind of record, a code, a date or a reference.
Source explorer/test_an_adapters_explorer.py
given an adapter checkout 44 passed
- passed nests its source paths by place, with each form of a place on one node1 ms
- passed rolls a folded node up from the explicit entries under it only1 ms
- passed finds a deep node by its path or by a term1 ms
- passed shows a carried mapping with what it becomes, the query that writes it and its test case1 ms
The test case is the smallest whose input holds the place and whose expected graph holds the property on the class.
- passed names a query as writing a property only where the property is in a template predicate1 ms
A query that names the property as a value only, bound to a variable the template writes as an object, does not write it, and a query lists once however many of the mapping's properties it writes.
- passed shows a path not carried with its reason, and a gap with the case that reports it1 ms
A path that becomes nothing and opens no gap is held to nothing a case can show.
- passed lists its kinds of record, its concerns and what it does not carry1 ms
- passed names its version and commit in the header1 ms
- passed gives rough figures and links, never an exact count4 ms
- passed opens on an overview of where its entries go and its kinds of record, as a table2 ms
With no place selected the overview is what the middle pane shows: a bar of the verdicts' shares, a row per verdict and a row per kind of record in the source, with the classes it becomes.
- passed keeps a kind's name whole in what a path becomes1 ms
- passed stacks the trace until its three boxes fit across1 ms
- passed keeps a kind's name whole, and wraps what it becomes instead1 ms
- passed stops at its overview, paths, kinds, concerns, what it does not carry and its test cases4 ms
- passed lists each place as a row of its tree, with a pill for one verdict and a bar for several2 ms
Underscore paths, which FHIR uses for what extends a value, come after the rest.
- passed shows each place's detail once, by its target9 ms
- passed holds no mapping in the page itself2 ms
A page that held every place's mappings was 2.4 MB for a real adapter; a place's mappings are read when a reader opens the place.
- passed writes for every place with mappings a fragment holding exactly its mappings36 ms
- passed resolves every link of a fragment opened alone to the explorer root13 ms
A reader with the script off opens nodes/<n>.html itself, where a link written for index.html would point into nodes/. The fragment's head sets the base to the root, and only its body is read into the page.
- passed links each fragment back to its place in the page16 ms
- passed reads only the body of a fragment into the page1 ms
- passed links each place's fragment inside its slot for a reader with the script off6 ms
- passed fetches a place's fragment when the place is selected1 ms
- passed shows what a path becomes as a table3 ms
- passed puts no article before a class or a kind in what a path becomes8 ms
English a and an follow how a word is said, which no spelling rule covers, so the page names the class and the kind without one.
- passed marks where a finding points in the input, and the term a mapping names in the graph5 ms
A finding's selector is a JSON Pointer, refined from the record's own; the input's line is where the pointer lands. The graph's lines are each that names the property the path becomes.
- passed marks where a path that raises no finding lands in the input8 ms
The path is read from each record of the input the adapter's envelopes find, below where the record's content begins, in a record of a kind the path's mapping names.
- passed draws each kind of record flowing into the classes it becomes2 ms
A line's weight is the number of properties the kind becomes on the class. The page draws a wide drawing and a narrow one for a phone, from the same data.
- passed draws in colours that need no stylesheet3 ms
Each line and each word of a drawing carries its colour as an attribute, so a reader who opens the page without its styles sees no black shapes.
- passed traces a carried path from the source, through the adapter, to the pod71 ms
The source names the kind and the case's input, the adapter the path and its verdict, the pod the class; the script fills each end with the case's lines around its mark.
- passed traces a path not carried to the finding it raises4 ms
- passed lists the plain form of a place before its contained form1 ms
- passed names the plain form in "The same fact as"2 ms
The accounting names the contained form; the page names the plain form of the same place.
- passed says in words that a case with an empty findings file expects no findings1 ms
- passed declares no dark colour scheme1 ms
- passed leaves room above a section a link scrolls to1 ms
The bar is 9 rem tall at 320 px and 7.4 rem at 400 px, so the room is the bar's own height, which the page sets.
- passed declares an icon so a browser asks for no favicon1 ms
- passed narrows its tree in place, and announces how many places match2 ms
- passed narrows its tree by a concern, a verdict or a reason not carried3 ms
- passed folds its panes to buttons on a narrow screen, with rows a thumb can hit3 ms
The buttons are not tabs: they carry no tab roles, and the pane shown is the button with aria-current.
- passed moves focus to the heading of the place selected, and marks its row as current2 ms
- passed shows every pane stacked when the script is off2 ms
Under 760 px the panes are folded to one at a time only where the script has set a class on the page's root to say it can unfold them.
- passed falls back to the values the site's stylesheet gives its tokens2 ms
A change to a fallback here is a pair with cascade-runtime-js: its check of the stylesheet, which fails every docs-site build where a fallback is not the value `site.css` declares, has to change with it.
- passed names the site's tokens, each with one fallback2 ms
The page reads the site's tokens by name, so a stylesheet linked ahead of it restyles it, and falls back to the site's values when none is.
given two places that share a gap 1 passed
- passed marks only what a finding points at on the place's own path185 ms
Two places name one gap and each has one finding. A place is marked at its own finding, in the input and in the expected findings, never at the other's.
- passed marks only what a finding points at on the place's own path185 ms
given two places carried from one case 2 passed
- passed marks each place where its own path lands, in a record of its own kind154 ms
Neither raises a finding. A place is marked at its own path, never at the other's, and its contained form is not marked in a contained record of a kind its mapping does not name.
- passed traces only the kind the path landed in, and the class the case shows2 ms
The mapping of /shared/second names two kinds and two classes; the case's record is an Observation and its graph holds no Unit, so the source and the pod name the Observation alone.
- passed marks each place where its own path lands, in a record of its own kind154 ms
given two envelopes naming one member of the root 1 passed
given an xml source 4 passed
- passed draws each section flowing into the classes its records become2 ms
Where the kinds of record are identifiers, a kind is drawn under the outermost element below the document element that bears another identifier of the accounting, in a test case's input; a kind the document element itself bears, and a path carried with no kind named, is drawn on its own, however empty a value an element of the input carries.
- passed marks where a path lands only in an element bearing its kind9 ms
Two kinds share a place and one case: each mapping is marked inside the element that bears its own kind, and a second place of the same case only at its own path.
- passed marks nothing in an element with no identifier that stands where the records of its kind stand8 ms
The first section holds, beside the entry of its Finding Observation, an entry whose observation bears no identifier: no record reads it, so neither its code nor its value is marked, though the section holds a record of the kind.
- passed marks a place above a record only where it holds a record of its kind249 ms
A section's code is read for the records the section holds, so it is marked in the section holding a record of the mapping's kind, never in another section.
- passed draws each section flowing into the classes its records become2 ms
given a stylesheet 2 passed
- passed links each stylesheet ahead of its own, in the order given122 ms
- passed links none without one1 ms
given a way back 2 passed
- passed links back from the bar and from the end of the page228 ms
- passed links nowhere back without one187 ms
Build and packaging 167 passed
Files of the specification that parse **/*.ttl, **/*.nt, shapes/, bench/result.schema.json 124 passed
Source specification/test_turtle_files_parse.py, specification/test_what_the_result_schema_refuses.py, specification/test_shapes_are_valid_shacl.py
given a shapes file 9 passed
- passed is valid SHACL, by the shapes SHACL has for itself [shapes/gap-scheme.shapes.ttl]191 ms
- passed is valid SHACL, by the shapes SHACL has for itself [adapter/profile/must/adapter.ttl]1.23 s
- passed is valid SHACL, by the shapes SHACL has for itself [shapes/facts.shapes.ttl]728 ms
- passed is valid SHACL, by the shapes SHACL has for itself [shapes/carried-as.shapes.ttl]57 ms
- passed is valid SHACL, by the shapes SHACL has for itself [shapes/bridge.shapes.ttl]8.79 s
- passed is valid SHACL, by the shapes SHACL has for itself [adapter/profile/must/media_types.ttl]134 ms
- passed is valid SHACL, by the shapes SHACL has for itself [fixtures/synthetic-vocabularies/ontologies/example/v1/example.shapes.ttl]31 ms
- passed is valid SHACL, by the shapes SHACL has for itself [adapter/profile/must/envelope.ttl]246 ms
- passed is valid SHACL, by the shapes SHACL has for itself [shapes/concept-map.shapes.ttl]175 ms
given a tracked Turtle or N-Triples file 114 passed
- passed parses [fixtures/versioning/allergy.mapped.nt]5 ms
- passed parses [fixtures/library/synthetic-json-adapter.described.ttl]10 ms
- passed parses [fixtures/synthetic-vocabularies/ontologies/example/v1/example.ttl]6 ms
- passed parses [fixtures/synthetic-json-adapter/fixtures/expected/json-0006.ttl]19 ms
- passed parses [fixtures/lift/skeleton-json.nt]3 ms
- passed parses [fixtures/synthetic-adapter/fixtures/findings/example-0008.ttl]4 ms
- passed parses [vocab/bridge.ttl]50 ms
- passed parses [fixtures/versioning/typed-literals-round-tripped.versioned.nt]2 ms
- passed parses [fixtures/synthetic-adapter/fixtures/expected/example-0008.ttl]7 ms
- passed parses [adapter/profile/profile.ttl]3 ms
- passed parses [shapes/gap-scheme.shapes.ttl]5 ms
- passed parses [adapter/profile/must/adapter.ttl]13 ms
- passed parses [fixtures/synthetic-json-adapter/fixtures/expected/json-0001.ttl]6 ms
- passed parses [fixtures/synthetic-json-adapter/fixtures/manifest.ttl]14 ms
- passed parses [fixtures/lift/base64-attachment.nt]4 ms
- passed parses [fixtures/lift/json-names.nt]2 ms
- passed parses [fixtures/versioning/allergy-again.mapped.nt]3 ms
- passed parses [fixtures/synthetic-json-adapter/fixtures/findings/json-0002.ttl]4 ms
- passed parses [fixtures/lifted-text/expected/text-content.ttl]5 ms
- passed parses [fixtures/versioning/escaped-literals.mapped.nt]2 ms
- passed parses [fixtures/synthetic-adapter/fixtures/expected/example-0001.ttl]6 ms
- passed parses [fixtures/versioning/allergy-on-another-record.versioned.nt]2 ms
- passed parses [fixtures/versioning/one-version-a-record.versioned.nt]2 ms
- passed parses [fixtures/synthetic-adapter/fixtures/findings/example-0001.ttl]5 ms
- passed parses [fixtures/synthetic-adapter/vocab/example-gaps.ttl]5 ms
- passed parses [fixtures/lift/mixed-content.nt]2 ms
- passed parses [fixtures/synthetic-adapter/fixtures/findings/example-0006.ttl]4 ms
- passed parses [fixtures/synthetic-adapter/fixtures/expected/example-0006.ttl]5 ms
- passed parses [fixtures/versioning/typed-literals.mapped.nt]2 ms
- passed parses [fixtures/versioning/one-version-a-record.mapped.nt]3 ms
- passed parses [fixtures/synthetic-json-adapter/fixtures/findings/json-0005.ttl]8 ms
- passed parses [shapes/facts.shapes.ttl]12 ms
- passed parses [adapter/profile/must/envelope.ttl]8 ms
- passed parses [fixtures/synthetic-json-adapter/fixtures/expected/json-0008.ttl]7 ms
- passed parses [fixtures/lift/dropped.nt]4 ms
- passed parses [fixtures/synthetic-json-adapter/fixtures/expected/json-0004.ttl]6 ms
- passed parses [fixtures/lift/entities.nt]2 ms
- passed parses [fixtures/lift/json-base64-attachment.nt]4 ms
- passed parses [fixtures/synthetic-json-adapter/fixtures/findings/json-0009.ttl]3 ms
- passed parses [fixtures/synthetic-json-adapter/fixtures/expected/json-0003.ttl]6 ms
- passed parses [fixtures/lift/json-root-array.nt]1 ms
- passed parses [fixtures/lift/text-with-element-breaks-inline.nt]3 ms
- passed parses [fixtures/versioning/typed-literals-round-tripped.mapped.nt]2 ms
- passed parses [fixtures/versioning/nested-nodes.mapped.nt]2 ms
- passed parses [fixtures/synthetic-vocabularies/ontologies/example/v1/example.shapes.ttl]5 ms
- passed parses [fixtures/synthetic-adapter/fixtures/findings/example-0003.ttl]3 ms
- passed parses [fixtures/lifted-text/expected/base64-attachment.ttl]6 ms
- passed parses [fixtures/synthetic-adapter/fixtures/expected/example-0003.ttl]5 ms
- passed parses [fixtures/synthetic-adapter/vocab/example-accounting.ttl]5 ms
- passed parses [fixtures/versioning/nested-nodes.versioned.nt]3 ms
- passed parses [adapter/profile/must/media_types.ttl]3 ms
- passed parses [fixtures/versioning/escaped-literals.versioned.nt]1 ms
- passed parses [fixtures/lift/text-content.nt]3 ms
- passed parses [fixtures/lift/json-empty.nt]2 ms
- passed parses [fixtures/versioning/two-versions.versioned.nt]2 ms
- passed parses [fixtures/synthetic-json-adapter/fixtures/findings/json-0007.ttl]3 ms
- passed parses [fixtures/synthetic-json-adapter/vocab/example-statuses.ttl]3 ms
- passed parses [fixtures/synthetic-adapter/fixtures/expected/example-0004.ttl]6 ms
- passed parses [fixtures/versioning/manifest.ttl]10 ms
- passed parses [fixtures/synthetic-adapter/fixtures/findings/example-0004.ttl]5 ms
- passed parses [shapes/concept-map.shapes.ttl]5 ms
- passed parses [fixtures/synthetic-json-adapter/fixtures/expected/json-0005.ttl]4 ms
- passed parses [fixtures/synthetic-json-adapter/fixtures/findings/json-0008.ttl]3 ms
- passed parses [fixtures/lift/text-with-element-breaks-paragraphs.nt]2 ms
- passed parses [fixtures/synthetic-json-adapter/vocab/example-accounting.ttl]6 ms
- passed parses [fixtures/versioning/placeholder-prefix.mapped.nt]2 ms
- passed parses [fixtures/library/synthetic-adapter.described.ttl]6 ms
- passed parses [fixtures/versioning/typed-literals.versioned.nt]2 ms
- passed parses [fixtures/versioning/placeholder-prefix.versioned.nt]2 ms
- passed parses [shapes/carried-as.shapes.ttl]3 ms
- passed parses [fixtures/versioning/one-version-a-record-same-content.mapped.nt]2 ms
- passed parses [fixtures/synthetic-json-adapter/vocab/example-gaps.ttl]3 ms
- passed parses [fixtures/lift/whitespace.nt]2 ms
- passed parses [fixtures/synthetic-json-adapter/fixtures/expected/json-0002.ttl]5 ms
- passed parses [fixtures/synthetic-json-adapter/fixtures/findings/json-0001.ttl]6 ms
- passed parses [fixtures/lift/skeleton-record-root.nt]1 ms
- passed parses [fixtures/versioning/one-version-a-record-same-content.versioned.nt]2 ms
- passed parses [fixtures/synthetic-adapter/fixtures/manifest.ttl]12 ms
- passed parses [shapes/bridge.shapes.ttl]85 ms
- passed parses [fixtures/versioning/allergy.versioned.nt]6 ms
- passed parses [fixtures/library/manifest.ttl]30 ms
- passed parses [fixtures/lift/attributes.nt]2 ms
- passed parses [fixtures/lift/namespaces.nt]2 ms
- passed parses [fixtures/synthetic-adapter/fixtures/expected/example-0005.ttl]5 ms
- passed parses [fixtures/synthetic-adapter/fixtures/findings/example-0005.ttl]8 ms
- passed parses [fixtures/lift/json-scalars.nt]2 ms
- passed parses [fixtures/versioning/allergy-again.versioned.nt]2 ms
- passed parses [fixtures/lift/json-escapes.nt]3 ms
- passed parses [fixtures/synthetic-json-adapter/fixtures/findings/json-0006.ttl]5 ms
- passed parses [fixtures/lift/manifest.ttl]23 ms
- passed parses [fixtures/lift/no-break-space.nt]3 ms
- passed parses [fixtures/synthetic-json-adapter/fixtures/expected/json-0007.ttl]6 ms
- passed parses [fixtures/library/facts-with-userinfo-in-the-base-url.ttl]2 ms
- passed parses [fixtures/library/json-0004-the-census-alone.ttl]7 ms
- passed parses [fixtures/lift/skeleton.nt]3 ms
- passed parses [fixtures/lift/json-duplicates.nt]2 ms
- passed parses [fixtures/versioning/two-versions.mapped.nt]2 ms
- passed parses [fixtures/synthetic-json-adapter/fixtures/facts/example-registry.ttl]4 ms
- passed parses [fixtures/lift/non-ascii.nt]2 ms
- passed parses [fixtures/lift/json-null.nt]6 ms
- passed parses [fixtures/versioning/allergy-on-another-record.mapped.nt]2 ms
- passed parses [fixtures/synthetic-adapter/fixtures/facts/example-registry.ttl]4 ms
- passed parses [fixtures/lift/cdata.nt]2 ms
- passed parses [fixtures/lift/text-with-element-breaks-table.nt]5 ms
- passed parses [fixtures/synthetic-json-adapter/fixtures/findings/json-0003.ttl]5 ms
- passed parses [fixtures/library/json-0004-without-the-census.ttl]4 ms
- passed parses [fixtures/synthetic-json-adapter/fixtures/findings/json-0004.ttl]6 ms
- passed parses [fixtures/version-not-kept/expected/example-0001.ttl]7 ms
- passed parses [fixtures/synthetic-adapter/vocab/example-statuses.ttl]3 ms
- passed parses [fixtures/synthetic-json-adapter/fixtures/expected/json-0009.ttl]7 ms
- passed parses [fixtures/version-not-kept/findings/example-0001.ttl]7 ms
- passed parses [fixtures/lift/skeleton-json-record-root.nt]2 ms
- passed parses [fixtures/lift/base64-attachment-not-decoded.nt]8 ms
- passed parses [fixtures/lifted-text/expected/text-with-element-breaks.ttl]5 ms
given `bench/result.schema.json` 1 passed
- passed is valid JSON Schema41 ms
Checks of the check on a manifest's files tests/specification/test_vector_manifests.py 2 passed
Source specification/test_vector_manifests.py
`unaccounted()` 2 passed
- passed reports a file that no entry names33 ms
- passed reports an entry naming a file that is not there35 ms
Checks of the copy of the vocabulary's naming vectors tests/specification/test_vector_manifests.py 1 passed
Source specification/test_vector_manifests.py
given the cascade-vocabulary checkout beside this repository 1 passed
- passed holds each naming vector as the vocabulary's manifest writes it108 ms
Compares each of the six entries copied here with the vocabulary's own, comment included; it looks at no entry the vocabulary has and the copy lacks. It is skipped in CI until a checkout of the vocabulary is made there (#174).
- passed holds each naming vector as the vocabulary's manifest writes it108 ms
Checks of the reference versioning tests/specification/versioning.py 1 passed
Source specification/test_versioning_vectors.py
`versions()` 1 passed
- passed raises `ValueError` for a version that holds a blank node2 ms
Checks of the check on a version's name tests/specification/test_the_synthetic_adapters_graphs_are_the_records_layer.py 1 passed
Source specification/test_the_synthetic_adapters_graphs_are_the_records_layer.py
`misnamed_versions()` 1 passed
Checks of the fake engine's own output fixtures/fake-engine/engine.py 1 passed
Source specification/test_the_fake_engine_offers_every_command.py
`test` 1 passed
- passed says which vocabularies directory it was given67 ms
Repeating a document's entries for a benchmark input bench/generate/repeat_entries.py 8 passed
A larger benchmark input is made from a real-sized document by writing each of its entries several times, each copy with ids of its own.
Source bench/test_repeat_entries.py
`repeat_entries()` 5 passed
- passed writes each entry as many times as the factor1 ms
- passed leaves every character outside the entries as it was, line feeds apart1 ms
Each copy is followed by a line feed, and the comparison drops line feeds on both sides.
- passed numbers each `id` that has a root `gen-<copy>-<count>`, counting through the document1 ms
- passed replaces the extension such an `id` had1 ms
- passed leaves an `id` with no root as it was, once in each copy1 ms
`main()` 3 passed
- passed writes the same bytes on two runs3 ms
- passed holds the repeated document in the `.gz` it writes1 ms
- passed exits for a factor below one2 ms
Making a Synthea person's record safe to commit bench/generate/synthea_person.py 10 passed
Synthea writes real hospitals' names, addresses and telephone numbers into the records it invents. Each such value is removed: replaced by a stand-in such as `Bench Hospital`, wherever it stands whole in a string, a text node or an attribute.
Source bench/test_synthea_person.py
given a person's FHIR record 3 passed
- passed replaces each removed value with its stand-in and keeps every other byte6 ms
- passed prints how many entries the record has1 ms
- passed writes the same bytes on two runs6 ms
given a person's C-CDA document 2 passed
given a record it cannot make safe or cannot find 4 passed
- passed exits with the reason, having written nothing [a removed value written in a form the scrub cannot see]4 ms
- passed exits with the reason, having written nothing [no file]3 ms
- passed exits with the reason, having written nothing [two files]6 ms
- passed exits with the reason, having written nothing [no provider files]3 ms
`main()` 1 passed
Comparing and listing result files bench/compare.mjs 15 passed
`compare` sets two result files side by side with the change and the multiple of each row, and reads the output digests first: an input whose digests differ is not equivalent, and is given no speed-up. `history` lists a named result across the files of a directory or of a git branch.
Source bench/test_compare.py
`compare` 7 passed
- passed prints the change and the multiple of a row whose output is the same77 ms
- passed exits 1 and reports no speed up for an input whose digests differ86 ms
- passed says unverified and does not fail where one side has no digest80 ms
- passed says that the times of two machines are not comparable80 ms
- passed keeps only the rows a name glob matches81 ms
- passed keeps the rows any of a comma separated list of globs matches77 ms
- passed exits 2 on a file that is not a result file54 ms
`history` 4 passed
- passed lists a name across the files of a directory newest last from the day in their paths317 ms
- passed leaves out the files older than since94 ms
- passed reads the files of a branch110 ms
- passed leaves out the files of a branch that are not under bridge120 ms
`merge` 2 passed
- passed writes the results and the commits of each file as one file50 ms
- passed refuses two files that both hold a name207 ms
`export` 2 passed
Tripwire: no sentence written on a finding shapes/, vocab/, adapter/, fixtures/ 1 passed
Source adapter_profile/test_no_sentence_on_a_finding.py
given every file under `shapes/`, `vocab/`, `adapter/` and `fixtures/` 1 passed
- passed writes no `oa:TextualBody`22 ms
Checks of the suite's own checks tests/compatibility/ 1 passed
Source compatibility/test_commands_needing_nothing_installed.py
given the interpreter run without its site packages 1 passed
- passed imports no rdflib12 ms
Tripwire: the synthetic adapter names an ontology and a shapes file of the Cascade vocabulary fixtures/synthetic-adapter/ro-crate-metadata.json 1 passed
Source adapter_profile/test_adapter.py
given the crate of the synthetic adapter 1 passed
- passed names an ontology file and a shapes file11 ms