Validate semantics.py: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

11 March 2026

  • curprev 01:1601:16, 11 March 2026Marcin talk contribs 7,778 bytes +7,778 Created page with "#!/usr/bin/env python3 import math import sys from pathlib import Path from typing import Any import yaml def load_yaml(path: Path) -> Any: with path.open("r", encoding="utf-8") as f: return yaml.safe_load(f) def is_number(value: Any) -> bool: return isinstance(value, (int, float)) and not isinstance(value, bool) def nominal_to_actual_lumber(nominal: str) -> tuple[float, float]: """ Returns (actual_thickness_in, actual_depth_in) for no..."