← Về thư mục
skills/uncertainty-and-units/scripts/propagate_uncertainty.py
- parse_variable · function · L22-L48 — def parse_variable(text: str) -> dict[str, Any]
- parse_correlation · function · L51-L63 — def parse_correlation(text: str) -> tuple[str, str, float]
- normalize_variables · function · L66-L108 — def normalize_variables(records: list[Any]) -> list[dict[str, Any]]
- gum_framework · function · L111-L191 — def gum_framework( tree: Any, variables: list[dict[str, Any]], correlations: dict[tuple[str, str], float], coverage_probability: float, ) -> dict[str, Any]
- _draw · function · L194-L214 — def _draw(rng: Any, entry: dict[str, Any], trials: int) -> Any
- _draw_correlated · function · L217-L264 — def _draw_correlated( rng: Any, variables: list[dict[str, Any]], correlations: dict[tuple[str, str], float], trials: int, ) -> dict[str, Any]
- monte_carlo · function · L267-L326 — def monte_carlo( tree: Any, variables: list[dict[str, Any]], correlations: dict[tuple[str, str], float], coverage_probability: float, trials: int, seed: int, ) -> dict[str, Any]
- validate_linearization · function · L329-L361 — def validate_linearization( framework: dict[str, Any], sampling: dict[str, Any], significant_digits: int ) -> dict[str, Any]
- collect_warnings · function · L364-L422 — def collect_warnings( framework: dict[str, Any], sampling: dict[str, Any] | None, correlations: dict[tuple[str, str], float], ) -> list[str]
- render_markdown · function · L425-L492 — def render_markdown(document: dict[str, Any]) -> str
- build_parser · function · L495-L557 — def build_parser() -> argparse.ArgumentParser
- run · function · L560-L638 — def run(arguments: argparse.Namespace) -> dict[str, Any]
- main · function · L641-L658 — def main(argv: list[str] | None = None) -> int