Skip to main content

veredictum/
lib.rs

1// SPDX-FileCopyrightText: Veredictum contributors
2// SPDX-License-Identifier: Apache-2.0
3
4#![recursion_limit = "256"]
5//! CNF 2.0 reference runner — the typed schedule-artifact model, validator,
6//! and JSON-Schema emission for the openEHR conformance framework.
7//!
8//! The conformance oracle is the vendored openEHR CNF component
9//! (`specs/openehr/CNF/`); the artifact families this crate models are
10//! the machine-readable normative form of the Platform Conformance Test
11//! Schedule (case cores, operation bindings, vocabularies incl. the
12//! capability matrix, corpus manifest, ambiguity register). Every closed
13//! vocabulary is a Rust enum/newtype so illegal states are unrepresentable.
14//!
15//! [`pipeline`] is the entry point for driving the instrument: one seam per
16//! whole operation — validate a catalogue, run it against a system under
17//! test, judge the recorded outcomes, render the published assets, measure a
18//! class — each returning typed facts rather than console text. The bundled
19//! `veredictum` binary is a command-line layer over exactly those seams, so
20//! a second consumer drives the same engine and renders its own views.
21
22// Doctests are copy-paste templates: they must use `?`, never unwrap
23// (C-QUESTION-MARK, https://rust-lang.github.io/api-guidelines/documentation.html#c-question-mark).
24#![doc(test(attr(deny(warnings))))]
25pub mod artifacts;
26pub mod badges;
27pub mod bench;
28pub mod conf_assets;
29pub mod exec;
30pub mod ids;
31pub mod ixit;
32pub mod literal;
33pub mod load;
34pub mod model;
35pub mod party;
36pub mod perf;
37pub mod perf_assets;
38pub mod perf_run;
39pub mod pipeline;
40pub mod probe;
41pub mod record;
42pub mod refgrammar;
43pub mod registry;
44pub mod render;
45pub mod run;
46pub mod schema;
47pub mod stress;
48pub mod transcript;
49pub mod validate;
50pub mod verdict;
51pub mod vocab;