Package simulator with portable Qwen calibrations#14
Conversation
Broly Security ScanNote Baseline snapshot is missing for this repo. Broly is running in PR-only fallback mode until the first scheduled baseline completes. This does not block the PR. Note Summary 1 actionable finding(s) in this PR
Dismiss false positivesEach dismissable row has a Dismiss key (
|
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
464fb29 to
435178c
Compare
| def resolve_calibration_pack(value: str | Path) -> Path: | ||
| """Resolve a filesystem path or ``builtin:<name>`` calibration-pack reference.""" | ||
|
|
||
| raw = str(value) | ||
| name = raw.removeprefix("builtin:") | ||
| available_names = list_calibration_packs() | ||
| if raw.startswith("builtin:") or (not Path(raw).exists() and name in available_names): | ||
| if name not in available_names: | ||
| available = ", ".join(available_names) or "none" | ||
| raise ValueError(f"unknown built-in calibration pack {name!r}; available: {available}") | ||
| return _PACK_ROOT / name | ||
| return Path(raw) |
Summary
xorl.simpackage and add stable CLI entry pointsValidation
pytest -q tests/experiments/test_training_sim.py(26 passed)ruff check src/xorl/sim tests/experiments/test_training_sim.pyruff format --check src/xorl/sim tests/experiments/test_training_sim.pypython -m xorl.sim.validate(3 packs, 222 checks, 0 failed)xorl-sim-packs,xorl-sim-validate,xorl-sim-predict, andxorl-sim-feasibilityfrom a clean Python 3.12 virtual environmentBase status
apanda-devat6c77c025apanda-devshebang-mode, ruff, format, and codespell failures outside this PR diff