← Về thư mục
skills/simpy/scripts/_common.py
- CliError · class · L32-L33 — class CliError(ValueError)
- load_simpy · function · L36-L50 — def load_simpy(*, required: bool = True) -> Any | None
- _reject_constant · function · L53-L54 — def _reject_constant(value: str) -> None
- _unique_object · function · L57-L63 — def _unique_object(pairs: list[tuple[str, Any]]) -> dict[str, Any]
- checked_input_file · function · L66-L91 — def checked_input_file( value: str | os.PathLike[str], *, suffixes: Iterable[str], max_bytes: int = MAX_INPUT_BYTES, ) -> Path
- checked_output_file · function · L94-L121 — def checked_output_file( value: str | os.PathLike[str], *, suffixes: Iterable[str], force: bool = False, ) -> Path
- atomic_write_bytes · function · L124-L142 — def atomic_write_bytes(path: Path, payload: bytes, *, force: bool = False) -> None
- strict_json_bytes · function · L145-L165 — def strict_json_bytes(document: Any) -> bytes
- emit_json · function · L168-L181 — def emit_json( document: Any, *, output: str | os.PathLike[str] | None = None, force: bool = False, ) -> None
- emit_text · function · L184-L200 — def emit_text( text: str, *, output: str | os.PathLike[str], suffixes: Iterable[str], force: bool = False, ) -> Path
- load_json_object · function · L203-L222 — def load_json_object(value: str | os.PathLike[str]) -> dict[str, Any]
- parse_json_line · function · L225-L240 — def parse_json_line(line: str, *, line_number: int) -> dict[str, Any]
- validate_keys · function · L243-L259 — def validate_keys( value: Mapping[str, Any], *, allowed: Iterable[str], required: Iterable[str] = (), context: str = "configuration", ) -> None
- integer · function · L262-L275 — def integer( value: Any, *, name: str, minimum: int, maximum: int, ) -> int
- finite_number · function · L278-L300 — def finite_number( value: Any, *, name: str, minimum: float | None = None, maximum: float | None = None, minimum_inclusive: bool = True, ) -> float
- derive_seed · function · L303-L316 — def derive_seed(base_seed: int, replication: int, stream: str) -> int
- _beta_continued_fraction · function · L319-L367 — def _beta_continued_fraction(a: float, b: float, x: float) -> float
- _regularized_incomplete_beta · function · L370-L385 — def _regularized_incomplete_beta(a: float, b: float, x: float) -> float
- student_t_cdf · function · L388-L405 — def student_t_cdf(value: float, degrees_of_freedom: int) -> float
- student_t_quantile · function · L408-L431 — def student_t_quantile(probability: float, degrees_of_freedom: int) -> float
- mean_confidence_interval · function · L434-L473 — def mean_confidence_interval( values: Iterable[float], *, confidence: float = 0.95 ) -> dict[str, float | int]