Package: quorum 0.1.0.9000

quorum: The Orchestra's Consensus Layer: Lenses in, a Typed Verdict Out

The consensus layer of the Crop Analytics Orchestra. Registers any member's estimate of a shared estimand as a lens with declared independence, expressiveness and scope; compares a quorum of lenses with the hub's agreement semantics; resolves the comparison through a declared policy into a typed verdict and an orchestra manifest. A quorum of independent lenses must agree before an answer is carried, and no quorum means abstain. Carries the on-ramps by which non-hub estimates become lenses: ensemble-source ingestion, surrogate emulators of expensive fits, ensemble-derived priors, posterior predictive checks for surrogates, and the koine fourth-opinion backend. Depends on 'flexyBayes' for the core model representation and emits results in the same shapes.

Authors:Max Moldovan [aut, cre]

quorum_0.1.0.9000.tar.gz
quorum_0.1.0.9000.zip(r-4.7-any)quorum_0.1.0.9000.zip(r-4.6-any)quorum_0.1.0.9000.zip(r-4.5-any)
quorum_0.1.0.9000.tgz(r-4.6-any)quorum_0.1.0.9000.tgz(r-4.5-any)
quorum_0.1.0.9000.tar.gz(r-4.7-any)quorum_0.1.0.9000.tar.gz(r-4.6-any)
quorum_0.1.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
quorum/json (API)

# Install 'quorum' in R:
install.packages('quorum', repos = c('https://max578.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/max578/quorum/issues

On CRAN:

Conda:

4.30 score 47 exports 4 dependencies

Last updated from:4cd2711aeb (on main). Checks:7 ERROR, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develERROR1232
source / vignettesOK435
linux-releaseERROR1256
macos-releaseERROR752
macos-oldrelERROR888
windows-develERROR1213
windows-releaseERROR932
windows-oldrelERROR804
wasm-releaseOK188

Exports:agreement_matrixagreement_pairwiseagreement_statusagreement_thresholdsas_fb_ensembleclear_lensescontributionsemit_koinefb_cov_slicefb_ensemblefb_pestofb_prior_from_ensemblefb_surrogate_iesfb_surrogate_ppcfit_surrogateget_lensis_quorum_abstentionkoine_genomic_lenskoine_statuslenslens_contributionlens_from_drawslens_from_fitlens_koinelens_mechanismlens_status_quolens_tmblist_lensespolicy_committedquorumquorum_abstentionquorum_compare_policiesquorum_drawsquorum_independencequorum_lensquorum_manifestquorum_policyquorum_policy_committedquorum_resolvequorum_verdictread_fb_ensembleregister_ensemble_sourceregister_kernr_surrogatesregister_lensregister_pesto_surrogatesregister_surrogateverify_fb_ensemble

Dependencies:digestflexyBayesorchestraManifestS7

A quorum of lenses on Study A0
Why | What | Do | The fixture | Building the contributions table | Resolving the cascade | The cost of the two committed conventions | A figure: the constraint that moves the cascade | Read | Limits | What to read next | Reproduce

Last update: 2026-10-16
Started: 2026-09-02

Adding a lens
Why | What | Do | Engines available on this build | A tiny synthetic toy | A worked TMB lens | A second lens from the hub | How much the two lenses actually share | How far apart their posteriors sit | Figure: the two posteriors, overlaid | Comparing the two lenses through the front door | Writing your own adapter | Read | Limits | What to read next | Reproduce

Last update: 2026-09-02
Started: 2026-09-02

Distribution-preserving surrogates: emulate, invert, check
Why | What | Do | A simulator we can check against | Fit a surrogate and read its distribution | Invert: recover parameters from data | Check: did the surrogate distort the distribution? | Many outputs: a low-rank covariance | Read | Limits | What to read next | Reproduce

Last update: 2026-09-02
Started: 2026-06-06

Getting started with quorum
Why | What | Do | Seam 1 -- ingest a simulation ensemble (contract C5) | Seam 2 -- emulate the simulator (contract C7) | Seam 3 -- triangulate with koine (contract C3) | Read | Limits | What to read next | Reproduce | References

Last update: 2026-09-02
Started: 2026-06-06

Readme and manuals

Help Manual

Help pageTopics
Pairwise agreement across a quorum of lensesagreement_matrix
Per-component agreement between two lensesagreement_pairwise
The overall status of an agreement tableagreement_status
The hub's agreement cut-offsagreement_thresholds
Coerce a conforming producer to a canonical 'fb_ensemble'as_fb_ensemble
Canonical names for a koine fit (self-naming)canonical_names.flexybayes_koine
Posterior-mean coefficients for a koine fitcoef.flexybayes_koine
Bind lens contributions into one tablecontributions
Emit a koine fourth-opinion fitemit_koine
Extract simple draws from a koine fitfb_as_draws_simple.flexybayes_koine
Reconstruct a per-row covariance slice from a surrogate predictionfb_cov_slice
Construct a canonical simulation-ensemble objectfb_ensemble
Carry a PESTO calibration into flexyBayesfb_pesto
Derive an informative flexyBayes prior from a simulation ensemblefb_prior_from_ensemble
Surrogate-accelerated ensemble inversion (ES-MDA)fb_surrogate_ies
Posterior-predictive check of a surrogate against held-out outputsfb_surrogate_ppc
Fit a distribution-preserving surrogate to a simulation ensemblefit_surrogate
Koine genomic fourth opinion (REML lens via sommer)koine_genomic_lens
Introspect the koine backend slotkoine_status
One lens's contribution to a resolutionlens_contribution
Wrap draws a member has already produced as a lenslens_from_draws
Wrap a fitted hub or koine model as a lenslens_from_fit
The koine fourth opinion as a lenslens_koine
A simulation ensemble as a mechanism lenslens_mechanism
The status quo as a lenslens_status_quo
The TMB lens: a second Laplace implementation, sampled with NUTSlens_tmb
Predict from a quorum surrogate (mean + sd per output)predict.fb_surrogate
Print a koine fourth-opinion fitprint.flexybayes_koine
Print an independence ledgerprint.quorum_independence
Print a quorum verdictprint.quorum::quorum_verdict
Compare a quorum of lenses and resolve them into one verdictquorum
Construct a typed quorum abstentionis_quorum_abstention quorum_abstention
Price several fallback conventions in one tablequorum_compare_policies
The draws every lens returnsquorum_draws
The independence ledger over a set of lensesquorum_independence
A lens: a member's estimate of a shared estimand, with its declarationslens quorum_lens
Emit a verdict as an orchestra manifestquorum_manifest
A resolution policyquorum_policy
The committed convention the cascade replacedpolicy_committed quorum_policy_committed
Resolve a comparison into one carried answerquorum_resolve
The verdict a quorum returnsquorum_verdict
Read a simulation ensemble from a fileread_fb_ensemble
Register an ensemble-source coercer for a producer classregister_ensemble_source
Register kernR's conditional mean embedding as a flexyBayes C7 conformerregister_kernr_surrogates
Register, retrieve, list and clear lensesclear_lenses get_lens list_lenses register_lens
Register PESTO's GP surrogate as a flexyBayes C7 conformerregister_pesto_surrogates
Register a surrogate-fitting methodregister_surrogate
Verify a simulation ensemble against the C5 contractverify_fb_ensemble