PICurv 0.1.0
A Parallel Particle-In-Cell Solver for Curvilinear LES
 
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
audit_capability_coverage.py File Reference

Go to the source code of this file.

Namespaces

namespace  audit_capability_coverage
 

Functions

str audit_capability_coverage.slug (str value)
 Convert a selector value into the anchor slug its entry must use.
 
str audit_capability_coverage.strip_non_prose (str text)
 Remove fenced code blocks and HTML comments so anchors inside examples do not count.
 
list[str] audit_capability_coverage.check_generated_current ()
 Verify the committed inventory matches what the sources currently produce.
 
dict[str, dict] audit_capability_coverage.parity_by_kind (dict family)
 Index a family's parity records by source kind.
 
list[str] audit_capability_coverage.check_parity (dict family)
 Verify the public selector set agrees with every declared parity source.
 
list audit_capability_coverage.check_metadata (dict family, dict registry_entry)
 Verify declared value metadata is complete, well-typed, and matches the sources.
 
tuple audit_capability_coverage.check_coverage (dict family, dict registry_entry, list all_entries=None)
 Verify every public value has a Tier-2 entry carrying its required fields.
 
str audit_capability_coverage.entry_body (str prose, str anchor)
 Return the text of one capability entry, from its anchor to the next entry.
 
bool audit_capability_coverage.source_exists (str identifier)
 Check that one evidence source identifier names something that exists.
 
list audit_capability_coverage.measurement_records ()
 Every recorded measurement available as an evidence source.
 
list audit_capability_coverage.check_measurement_records ()
 Verify every recorded measurement carries what a reader needs to judge it.
 
str audit_capability_coverage.source_token (str identifier)
 The human-readable token a capability entry must cite for a declared source.
 
list[str] audit_capability_coverage.check_evidence (dict family, dict registry_entry, dict facets)
 Verify declared evidence sources exist and are cited by the capability entry.
 
list[str] audit_capability_coverage.check_scope_records ()
 Verify every known-defective scope record is disclosed where it claims to be.
 
list audit_capability_coverage.check_lifecycle_requirements (dict family, dict registry_entry)
 Enforce the documentation each lifecycle status owes.
 
int audit_capability_coverage.main ()
 Fail on capability parity breaks, metadata drift, or missing entries.
 

Variables

 audit_capability_coverage.REPO_ROOT = Path(__file__).resolve().parents[2]
 
str audit_capability_coverage.REGISTRY_PATH = REPO_ROOT / "tests" / "tooling" / "capability_families.json"
 
str audit_capability_coverage.INVENTORY_PATH = REPO_ROOT / "docs" / "generated" / "capability_inventory.json"
 
str audit_capability_coverage.GENERATOR = REPO_ROOT / "tests" / "tooling" / "generate_capability_inventory.py"
 
tuple audit_capability_coverage.CANONICAL_FIELDS
 
tuple audit_capability_coverage.ALIAS_FIELDS = ("Identity", "Status", "Migration")
 
str audit_capability_coverage.SCOPE_RECORDS_PATH = REPO_ROOT / "tests" / "tooling" / "capability_scope_records.json"
 
str audit_capability_coverage.MEASUREMENTS_PATH = REPO_ROOT / "tests" / "tooling" / "measurement_records.json"
 
tuple audit_capability_coverage.VALID_STATUSES
 
tuple audit_capability_coverage.NON_SELECTABLE_STATUSES = ("planned", "internal", "removed")
 
dict audit_capability_coverage.LIFECYCLE_REQUIREMENTS