← Về thư mục
skills/uncertainty-and-units/scripts/convert_units.py
- checked_unit · function · L34-L47 — def checked_unit(text: str, *, label: str) -> str
- parse_context_parameter · function · L50-L61 — def parse_context_parameter(text: str, registry: Any) -> tuple[str, Any]
- build_registry · function · L64-L73 — def build_registry() -> Any
- is_multiplicative · function · L76-L87 — def is_multiplicative(registry: Any, unit: str) -> bool
- convert · function · L90-L119 — def convert( registry: Any, value: float, unit: str, target: str, contexts: list[str], parameters: dict[str, Any], ) -> Any
- propagate · function · L122-L145 — def propagate( registry: Any, value: float, uncertainty: float, unit: str, target: str, contexts: list[str], parameters: dict[str, Any], ) -> float
- run · function · L148-L225 — def run(arguments: argparse.Namespace) -> dict[str, Any]
- build_parser · function · L228-L265 — def build_parser() -> argparse.ArgumentParser
- main · function · L268-L276 — def main(argv: list[str] | None = None) -> int