← Về thư mục
skills/uncertainty-and-units/scripts/check_plausibility.py
- parse_quantity · function · L447-L465 — def parse_quantity(text: str, registry: Any) -> tuple[str, Any]
- constant_quantities · function · L468-L480 — def constant_quantities(registry: Any) -> dict[str, Any]
- check_dimensionality · function · L483-L496 — def check_dimensionality(name: str, quantity: Any, expected: str) -> None
- evaluate · function · L499-L518 — def evaluate( entry: dict[str, Any], supplied: dict[str, Any], constants: dict[str, Any] ) -> Any
- classify · function · L521-L527 — def classify(value: float, regimes: list[list[Any]]) -> str
- orders_of_magnitude · function · L530-L539 — def orders_of_magnitude(value: float, reference: float) -> float | None
- _describe · function · L542-L547 — def _describe(quantity: Any) -> dict[str, Any]
- evaluate_group · function · L550-L570 — def evaluate_group( entry: dict[str, Any], supplied: dict[str, Any], constants: dict[str, Any] ) -> dict[str, Any]
- evaluate_scale · function · L573-L593 — def evaluate_scale( entry: dict[str, Any], supplied: dict[str, Any], constants: dict[str, Any] ) -> dict[str, Any]
- evaluate_band · function · L596-L627 — def evaluate_band( entry: dict[str, Any], name: str, quantity: Any ) -> dict[str, Any]
- overall_verdict · function · L630-L638 — def overall_verdict(bands: list[dict[str, Any]]) -> str
- exit_code · function · L641-L647 — def exit_code(document: dict[str, Any], threshold: str) -> int
- build_parser · function · L650-L702 — def build_parser() -> argparse.ArgumentParser
- _catalogue_document · function · L705-L735 — def _catalogue_document() -> dict[str, Any]
- _lookup · function · L738-L745 — def _lookup(kind: str, name: str) -> dict[str, Any]
- run · function · L748-L826 — def run(arguments: argparse.Namespace) -> dict[str, Any]
- render_markdown · function · L829-L870 — def render_markdown(document: dict[str, Any]) -> str
- main · function · L873-L890 — def main(argv: list[str] | None = None) -> int