Repository navigation
os-optics 0.14.0
os-optics 0.14.0
Licence. 0.14.0 is the first release under the MIT License (License-Expression: MIT). Releases 0.2.x to 0.13.0 on PyPI keep the licence they were published under and cannot be relicensed retroactively.
Source and publication. The engine source and tests now live in this repository, and this release is built and published from it by the Release workflow through PyPI Trusted Publishing, with build provenance (PyPI attestations). It replaces the earlier upload from a workstation.
What changed in the engine
- Composable evaluation. An evaluation is a plan over named capabilities (
os_optics.evaluation);validateis the complete plan andos_optics.evaluate(request, capabilities=..., exclude=..., targets=..., state=...)runs a selected one. Locally:os_optics.local.EvaluationSession,evaluate_projectandos-optics project evaluate. A narrowed evaluation names its scope in the result; a quantity that was not computed is reported as not computed, not as zero. - Value basis. A reported number that is not simply the model's value carries its basis (
value_basis:MODEL,LOWER_BOUND,UPPER_BOUNDorESTIMATE) with what it omits and the checks it stands on. - Catalog schema 3.6 (design materials, bulk loss, thermo-optic and dispersion fields) is readable. 0.13.0 and earlier report
ENGINE_UPGRADE_REQUIREDfor such a release and keep their stored one. - Materials are evaluated by one rule on the vacuum wavelength, and a native Project operates in its stated environment (air at a temperature and pressure,
VACUUMgaps). - Engine schema 1.12.0, json_api 1.8.
Upgrading
A run or workspace record made with 0.13.0 reads as not current until the Project is run again with 0.14.0; every Engine input hash moves while every Project hash stays.
python -m pip install --upgrade "os-optics[protected]"Known limit
A power_W target filtered only by wavelength returns UNKNOWN beside an unresolved second harmonic even when established power from another source would decide it (#80). The result is conservative (never a wrong PASS or FAIL); it is tracked in #80.