Skip to main content

molframe_core/contract/
mod.rs

1//! What an analysis assumed, and what it is therefore worth.
2//!
3//! Every analysis takes a policy and returns a value plus its coverage, its
4//! status, its warnings and its provenance. Decisions that are otherwise silent
5//! defaults — which assembly, which model, which conformation, which identifier
6//! namespace, what to do about atoms that were never modelled — become data that
7//! can be inspected, fingerprinted, varied and published.
8
9mod analysis;
10mod digest;
11mod outcome;
12mod policy;
13mod provenance;
14mod reexecution;
15mod serialise;
16
17pub use analysis::{
18    Analysis, Assumption, AssumptionSource, Coverage, Impact, MeasuredImpact, Status,
19};
20pub use digest::ContentDigest;
21pub use outcome::{Indeterminacy, MissingPolicyError, Outcome, Quality, resolve_missing};
22pub(crate) use policy::closed_vocabulary;
23pub use policy::{
24    AlignmentPolicy, AltlocPolicy, AnalysisPolicy, AssemblyChoice, ContactDefinition,
25    EquivalencePolicy, Fingerprint, HydrogenPolicy, MissingPolicy, ModelChoice, Namespace,
26    PeriodicPolicy, PolicyField, PolicyParseError, Precision, ProfileId, RadiiSet, SymmetryPolicy,
27    Tolerance, canonical_spelling,
28};
29pub use provenance::{
30    AlgorithmId, AnalysisParameters, DictionaryVersion, ParameterValue, Provenance, SourceRef,
31};
32pub use reexecution::{
33    Reexecution, ReexecutionEnvironment, ReexecutionError, reexecute_from_provenance,
34};
35pub use serialise::push_json_string;