Skip to main content

Module catalog

Module catalog 

Source
Expand description

The built-in scheme catalog. Each submodule exports pub fn all() -> Vec<SchemeSpec> plus individual pub fn <scheme_name>() -> SchemeSpec constructors. default_catalog collects all of them into a CatalogRegistry.

§ID assignment

Each category has a 100-element ID range starting at the corresponding *_ID_OFFSET constant. Within a category, IDs are assigned sequentially from the offset. This prevents cross-category collisions without a central ID registry. The catalog_coverage::scheme_ids_are_unique test enforces this at runtime.

Modules§

analogy
Analogical schemes: analogy, classification, commitment.
causal
Causal schemes: reasoning about causes, effects, signs, and chains.
epistemic
Epistemic schemes: reasoning about knowledge and expertise.
popular
Popular schemes: social proof, tradition, precedent.
practical
Practical schemes: reasoning about actions, consequences, and values.
source
Source-based schemes: attacking or bolstering the person, not the argument.

Constants§

ANALOGICAL_ID_OFFSET
First analogical-scheme ID. Range: 500..600.
CAUSAL_ID_OFFSET
First causal-scheme ID. Range: 400..500.
EPISTEMIC_ID_OFFSET
First epistemic-scheme ID. Range: 1..100.
POPULAR_ID_OFFSET
First popular-scheme ID. Range: 300..400.
PRACTICAL_ID_OFFSET
First practical-scheme ID. Range: 100..200.
SOURCE_ID_OFFSET
First source-based-scheme ID. Range: 200..300.

Functions§

default_catalog
Build the default catalog containing all built-in schemes.