diff --git a/CHANGELOG.md b/CHANGELOG.md index 27708bc..0c9fbb8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,15 +8,14 @@ All notable changes to CableXSec are recorded in this file. The format follows ## [Unreleased] -### Changed +## [0.2.1] - 2026-11-23 -- **Figures use a MATLAB-style look** (`cablexsec.plotting.style`): - - MATLAB's default line colours in MATLAB's order (`MATLAB_ORDER`; `COLORS` maps the names to those hues); - - a Helvetica or Arial face at 10 pt; - - a closed box with inward ticks on all sides and no grid; - - a square, opaque legend. -- **Labels carry true Greek letters and sub- and superscripts** in the same face (κ, EI_min, σ_A, m⁻¹), with numerals upright. The new `style.LABELS` holds the standard axis labels. -- **The tutorial and how-to scripts apply the style.** Their figures were plain matplotlib defaults before; they are regenerated. The examples follow the same labels. +The Python interfaces are versioned but may change before `1.0.0`. The evidence for +every item below is in +[VALIDATION.md](https://github.com/SMI-Lab-Inha/CableXSec/blob/main/VALIDATION.md); its +generated table is reproduced by `python validation/scripts/run_validation.py`. The +entries under Changed for the normal wire curvature and under Added for the Zeidan +(2025) input change results; the new options default to the 0.2.0 behaviour. ### Added @@ -30,7 +29,9 @@ All notable changes to CableXSec are recorded in this file. The format follows (`annulus_mode1_compliance_inner`) plus the strip concentration. It keeps `xi_bond = K_b / (K_b + EA_w sin^2(a) / r_h^2)` of the layer's plane-section stiffness in full slip (`bonded_face_terms`, - `bonded_face_ei`). The stuck layer is unchanged. + `bonded_face_ei`). The stuck layer is unchanged. At a zero lay angle the bond + carries the whole layer: the slider has no stick stiffness and is elastic-only + (no stress, slip or friction work; `elastic_only_history`). - Used by the bending law (`compute_mkappa`, `SectionLaw`, the exported law) and `compute_stiffness` (whose `ei_min_Nm2` then includes the bond). The wire-stress, fatigue and capacity routes refuse such a cable, because they @@ -108,8 +109,30 @@ All notable changes to CableXSec are recorded in this file. The format follows doc/template_66kv.md Section 4 the largest wire damage rises 0.23–0.27 % (inner armour) and 0.05–0.06 % (outer armour) in all four model combinations; tutorial 3 moves by −0.1 % (the governing inner face takes the term with the opposite sign) and - the tutorial and how-to outputs are regenerated. Riser armour at 35° in stick takes - nearly twice the earlier weak-axis bending stress. + the tutorial and how-to outputs are regenerated. The largest damage of the README quick + start (the Ménard cable at 100 kN) rises 2.0 % (inner) and 1.5 % (outer armour). Riser + armour at 35° in stick takes nearly twice the earlier weak-axis bending stress. + +- **Figures use a MATLAB-style look** (`cablexsec.plotting.style`): + - MATLAB's default line colours in MATLAB's order (`MATLAB_ORDER`; `COLORS` maps the names to those hues); + - a Helvetica or Arial face at 10 pt; + - a closed box with inward ticks on all sides and no grid; + - a square, opaque legend. +- **Labels carry true Greek letters and sub- and superscripts** in the same face (κ, EI_min, σ_A, m⁻¹), with numerals upright. The new `style.LABELS` holds the standard axis labels. +- **The tutorial and how-to scripts apply the style.** Their figures were plain matplotlib defaults before; they are regenerated. The examples follow the same labels. + +### Known limitations + +- A bonded outer face (`bonded_face: outer`) is supported by the bending law and + `compute_stiffness` only. The wire-stress, fatigue and capacity routes refuse such a + cable, so `compute_mkappa` cannot check its curvature history against the wire-yield + curvature and warns that it does not. +- The bonded state of the Zeidan (2025) cable is identified from its measured loops, not + published. With it, Z-ID passes and Z-EI fails narrowly (`EI_min` 10.09 kN·m² against + a measured slip slope of 8.65–9.70 kN·m² in the plotted curvature). The predicted + cycle work differs from the measured by +9.9 / −4.7 / −9.0 % at 30 / 50 / 60 mm. +- The measured comparisons that failed in 0.2.0, other than Z-ID, still fail; their + tolerances are not relaxed. ## [0.2.0] - 2026-11-21 @@ -1285,5 +1308,6 @@ generated table is reproduced by `python validation/scripts/run_validation.py`. - A passing test does not establish that the model predicts every physical cable construction or a validated service life. +[0.2.1]: https://github.com/SMI-Lab-Inha/CableXSec/releases/tag/v0.2.1 [0.2.0]: https://github.com/SMI-Lab-Inha/CableXSec/releases/tag/v0.2.0 [0.1.0]: https://github.com/SMI-Lab-Inha/CableXSec/releases/tag/v0.1.0 diff --git a/CITATION.cff b/CITATION.cff index efffee6..36964f9 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -23,8 +23,8 @@ authors: repository-code: "https://github.com/SMI-Lab-Inha/CableXSec" url: "https://github.com/SMI-Lab-Inha/CableXSec" license: Apache-2.0 -version: 0.2.0 -date-released: 2026-11-21 +version: 0.2.1 +date-released: 2026-11-23 keywords: - dynamic power cable - cross-section mechanics diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index a42e215..1e44776 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -100,7 +100,7 @@ with absolute `https://github.com/SMI-Lab-Inha/CableXSec/blob/main/...` URLs. python -m build --outdir dist python -m twine check dist/* python -m venv wheel-test -wheel-test\Scripts\python -m pip install dist\cablexsec-0.2.0-py3-none-any.whl +wheel-test\Scripts\python -m pip install dist\cablexsec-0.2.1-py3-none-any.whl wheel-test\Scripts\python release\smoke_test_wheel.py --version 0.2.0 ``` diff --git a/README.md b/README.md index c7398ad..dd1e668 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ damage of the armour, the conductor and the metallic sheaths. It reads the results of global analyses (CableDyn, RIFLEX, and time-history CSV exports such as those of OrcaFlex) and turns them into local stresses and damage, and it exports a hysteretic bending law for use in global analysis. The -current release is `v0.2.0`; interfaces are versioned and may change before `1.0.0`. +current release is `v0.2.1`; interfaces are versioned and may change before `1.0.0`. ## What CableXSec does @@ -74,7 +74,7 @@ Install the release wheel from the 3.12), or install straight from the repository: ```powershell -python -m pip install "cablexsec[fast] @ git+https://github.com/SMI-Lab-Inha/CableXSec.git@v0.2.0" +python -m pip install "cablexsec[fast] @ git+https://github.com/SMI-Lab-Inha/CableXSec.git@v0.2.1" ``` The `fast` extra adds `numba` for the compiled slip-stress and rainflow kernels; without it the @@ -106,8 +106,8 @@ for layer, damage in fatigue.D_total_per_wire.items(): ```text EA = 280 MN, EI full slip = 3571 N m^2, EI no slip = 189.8 kN m^2 peak moment 541 N m, friction work 218.0 J/m over the history -inner_armour: largest Miner damage 1.774e-06 over the record -outer_armour: largest Miner damage 3.005e-07 over the record +inner_armour: largest Miner damage 1.809e-06 over the record +outer_armour: largest Miner damage 3.050e-07 over the record ``` For a set of CableDyn sea-state runs, `cablexsec-batch batch.json --output-directory results` @@ -154,7 +154,7 @@ in [`validation/`](validation/README.md), including the data of the companion jo ## Citation -If you use CableXSec in academic work, please cite the software release (CableXSec 0.2.0); +If you use CableXSec in academic work, please cite the software release (CableXSec 0.2.1); [CITATION.cff](CITATION.cff) contains the entry (GitHub **Cite this repository**) and the manual's [How to cite](https://cablexsec.readthedocs.io/en/latest/citing.html) page gives BibTeX. The journal article that describes the method is under review; its reference will be diff --git a/doc/citing.rst b/doc/citing.rst index 13cfba7..e4e7ca5 100644 --- a/doc/citing.rst +++ b/doc/citing.rst @@ -12,7 +12,7 @@ Software release ---------------- Seo, J. H. (2026). *CableXSec: Component-resolved local cross-section mechanics of dynamic -power cables* (version 0.2.0) [Computer software]. https://github.com/SMI-Lab-Inha/CableXSec +power cables* (version 0.2.1) [Computer software]. https://github.com/SMI-Lab-Inha/CableXSec .. code-block:: bibtex @@ -20,7 +20,7 @@ power cables* (version 0.2.0) [Computer software]. https://github.com/SMI-Lab-In author = {Seo, Jae Hoon}, title = {{CableXSec}: Component-resolved local cross-section mechanics of dynamic power cables}, - version = {0.2.0}, + version = {0.2.1}, year = {2026}, url = {https://github.com/SMI-Lab-Inha/CableXSec}, license = {Apache-2.0} diff --git a/doc/index.rst b/doc/index.rst index 47bc369..68f88a2 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -14,7 +14,7 @@ turns them into the fatigue damage of the armour, the conductor and the metallic .. admonition:: Release status :class: note - CableXSec ``v0.2.0`` is the current release. It is distributed as a source + CableXSec ``v0.2.1`` is the current release. It is distributed as a source repository and a pure-Python wheel on the `GitHub release page `_. Every comparison with published data, including the comparisons that do not meet their diff --git a/doc/installation.rst b/doc/installation.rst index ef9167e..4b567f7 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -9,21 +9,21 @@ is distributed through its GitHub repository; it is not published on a package i From a release -------------- -Download ``cablexsec-0.2.0-py3-none-any.whl`` and ``SHA256SUMS.txt`` from the -`v0.2.0 release `_, compare +Download ``cablexsec-0.2.1-py3-none-any.whl`` and ``SHA256SUMS.txt`` from the +`v0.2.1 release `_, compare the checksum, and install the wheel with its optional extras: .. code-block:: powershell - Get-FileHash cablexsec-0.2.0-py3-none-any.whl -Algorithm SHA256 - python -m pip install "cablexsec-0.2.0-py3-none-any.whl[fast]" + Get-FileHash cablexsec-0.2.1-py3-none-any.whl -Algorithm SHA256 + python -m pip install "cablexsec-0.2.1-py3-none-any.whl[fast]" From the repository ------------------- .. code-block:: powershell - python -m pip install "cablexsec[fast] @ git+https://github.com/SMI-Lab-Inha/CableXSec.git@v0.2.0" + python -m pip install "cablexsec[fast] @ git+https://github.com/SMI-Lab-Inha/CableXSec.git@v0.2.1" or, for development, clone the repository and install it in editable mode (see :doc:`development`): diff --git a/doc/quickstart.rst b/doc/quickstart.rst index f886d0f..9dae1ac 100644 --- a/doc/quickstart.rst +++ b/doc/quickstart.rst @@ -33,8 +33,8 @@ The output is:: EA = 280 MN, EI full slip = 3571 N m^2, EI no slip = 189.8 kN m^2 peak moment 541 N m, friction work 218.0 J/m over the history - inner_armour: largest Miner damage 1.774e-06 over the record - outer_armour: largest Miner damage 3.005e-07 over the record + inner_armour: largest Miner damage 1.809e-06 over the record + outer_armour: largest Miner damage 3.050e-07 over the record Every result carries a ``provenance`` record that names the method, the cited sources, the verification gates and the limitations of the calculation; print ``fatigue.provenance`` to see diff --git a/doc/tutorials/04_contact_and_fretting.md b/doc/tutorials/04_contact_and_fretting.md index b3a2460..abdf250 100644 --- a/doc/tutorials/04_contact_and_fretting.md +++ b/doc/tutorials/04_contact_and_fretting.md @@ -234,7 +234,7 @@ fretting life. Nor is it the {term}`Ruiz parameter` (Ruiz et al. 1984), which is formed from the local surface shear traction and slip and, in its second form, the local -tangential stress. CableXSec 0.2.0 does not compute Ruiz parameters. +tangential stress. CableXSec 0.2.1 does not compute Ruiz parameters. ## 8. The SWT critical plane next to a crossing @@ -298,7 +298,7 @@ Points nearer the surface at the edge itself need a higher quadrature order. converge; it never returns an unconverged stress. `compute_swt_cycle` also returns a formal life from a strain-life law -(`SWTLifeConstants`). The SWT constants registered in CableXSec 0.2.0 +(`SWTLifeConstants`). The SWT constants registered in CableXSec 0.2.1 (`sn_curves.SWT_LIFE`) are those of copper, and none are for armour steel, so the script passes a placeholder law and prints no life. With constants from a source, `result.life_cycles` gives it. diff --git a/pyproject.toml b/pyproject.toml index ce9319c..eab228c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ build-backend = "setuptools.build_meta" [project] name = "cablexsec" -version = "0.2.0" +version = "0.2.1" description = "Component-resolved local cross-section mechanics and fatigue of dynamic power cables" readme = "README.md" requires-python = ">=3.11,<3.13" diff --git a/src/cablexsec/__init__.py b/src/cablexsec/__init__.py index 9ec9561..9253f34 100644 --- a/src/cablexsec/__init__.py +++ b/src/cablexsec/__init__.py @@ -320,7 +320,7 @@ UnmodelledPolymerSofteningWarning, ) -__version__ = "0.2.0" +__version__ = "0.2.1" from cablexsec.project import ( # noqa: E402 PROJECT_FORMAT_VERSION, diff --git a/src/cablexsec/mechanics/papailiou.py b/src/cablexsec/mechanics/papailiou.py index c5b2824..894f99c 100644 --- a/src/cablexsec/mechanics/papailiou.py +++ b/src/cablexsec/mechanics/papailiou.py @@ -120,6 +120,7 @@ "compute_mkappa_wire_slip_front", "coupled_slip_stress_bounds", "direction_threshold_curvature", + "elastic_only_history", "full_slip_curvature", "slip_onset_curvature", "wire_slip_stress_bounds", @@ -823,6 +824,31 @@ class WireSlipHistory: cap_Pa: FloatArray | None = None +def _partly_zero(stiffness: FloatArray) -> bool: + """True if some but not all samples of a stick stiffness are zero.""" + zero = stiffness == 0.0 + return bool(np.any(zero) and not np.all(zero)) + + +def elastic_only_history(n_wires: int, count: int) -> WireSlipHistory: + """History of a wire population whose slider has zero stick stiffness. + + Such a slider never carries stress, so it neither slips nor dissipates: + zero stress, moment and work, every wire stuck. It arises for a bonded + outer face (``bonded_face="outer"``, gap G8) at a zero lay angle, where + the bond carries the whole layer and ``xi_slider = 0``. + """ + zeros = np.zeros(count) + return WireSlipHistory( + np.zeros((n_wires, count)), + np.zeros((count, 2)), + np.zeros(count, dtype=np.int64), + np.zeros(n_wires), + zeros.copy(), + BendingWork(zeros.copy(), zeros.copy(), zeros.copy(), zeros.copy(), zeros), + ) + + def wire_slip_history( layer: HelicalLayerSpec, kappa_x: FloatArray, @@ -986,10 +1012,17 @@ def wire_slip_history( raise CableInputError( f"{label} must be finite and match curvature histories" ) - if np.any(pressure < 0) or np.any(stiffness <= 0): + if np.any(pressure < 0) or np.any(stiffness < 0) or _partly_zero(stiffness): raise CableInputError( "nonnegative pressure and positive stiffness are required" ) + if not np.any(stiffness): + if coupling is not None or keep_cap: + raise CableInputError( + "a zero stick stiffness (an elastic-only layer) is implemented " + "for the bending law only" + ) + return elastic_only_history(layer.n_wires, count) if coupling is not None: if law is not None: raise CableInputError( diff --git a/src/cablexsec/mechanics/progressive_friction.py b/src/cablexsec/mechanics/progressive_friction.py index 02d8c10..509979c 100644 --- a/src/cablexsec/mechanics/progressive_friction.py +++ b/src/cablexsec/mechanics/progressive_friction.py @@ -81,7 +81,9 @@ DIRECTION_HOLD_FRACTION, BendingWork, WireSlipHistory, + _partly_zero, _threshold_coefficient, + elastic_only_history, ) if TYPE_CHECKING: @@ -337,10 +339,23 @@ def progressive_wire_history( raise CableInputError( f"{label} must be finite and match curvature histories" ) - if np.any(pressure < 0) or np.any(stiffness <= 0): + if np.any(pressure < 0) or np.any(stiffness < 0) or _partly_zero(stiffness): raise CableInputError( "nonnegative pressure and positive stiffness are required" ) + if not np.any(stiffness): + # elastic-only layer (zero stick stiffness): no stress, slip or work + base = elastic_only_history(layer.n_wires, count) + return ProgressiveWireHistory( + base.stress_Pa, + base.moment_Nm, + base.slipping_count, + base.final_plastic_drive, + base.material_work_J_per_m, + base.work, + slipping_share=np.zeros(count), + settings=spec, + ) n_el = spec.n_elements share = 1.0 / n_el n_w = layer.n_wires diff --git a/tests/test_bonded_face.py b/tests/test_bonded_face.py index 2463ed0..793b9f0 100644 --- a/tests/test_bonded_face.py +++ b/tests/test_bonded_face.py @@ -242,3 +242,49 @@ def test_a_pressure_history_is_refused_for_a_bonded_face() -> None: pressure = {lyr.name: np.full(kappa.shape, 1e6) for lyr in cable.helical_layers} with pytest.raises(CableSchemaError, match="contact_tension_history_N"): cx.compute_mkappa(cable, kappa, mu=0.2, contact_pressure_Pa=pressure) + + +def test_a_straight_bonded_layer_is_elastic_only() -> None: + """At a zero lay angle the bond carries the whole layer (xi_slider = 0): + the slider is elastic-only, and the law is the small-angle limit.""" + + def straight(lay_deg: float) -> CableData: + cable = _zeidan() + layers = [ + lyr.model_copy(update={"lay_angle_deg": lay_deg}) + if lyr.name == "outer_armour" + else lyr + for lyr in cable.layers + ] + return cable.model_copy(update={"layers": layers}) + + zero, small = straight(0.0), straight(1e-4) + with zero.material_scope(): + terms = bonded_face_terms(zero, "outer_armour", 1.0) + assert terms.xi_bond == 1.0 and terms.xi_slider == 0.0 + kappa = np.r_[np.linspace(0.0, 0.1, 21), np.linspace(0.1, -0.1, 41)[1:]] + for options in ({}, {"friction_model": "progressive"}): + r0 = cx.compute_mkappa(zero, kappa, mu=0.2, **options) # type: ignore[arg-type] + r1 = cx.compute_mkappa(small, kappa, mu=0.2, **options) # type: ignore[arg-type] + scale = float(np.max(np.abs(r1.moment_Nm))) + np.testing.assert_allclose(r0.moment_Nm, r1.moment_Nm, atol=1e-9 * scale) + assert r0.EI_min_Nm2 == pytest.approx(r1.EI_min_Nm2, rel=1e-8) + + +def test_a_zero_stick_stiffness_gives_an_elastic_only_history() -> None: + from cablexsec.mechanics.papailiou import wire_slip_history # noqa: PLC0415 + + with _zeidan().material_scope(): + spec = cable_to_mkappa_specs(_bond(_zeidan(), face="none"), mu=0.2)[0] + kappa = np.linspace(0.0, 0.1, 11) + zero = np.zeros_like(kappa) + history = wire_slip_history(spec, kappa, zero, stick_modulus_Pa=zero) + assert not np.any(history.stress_Pa) and not np.any(history.moment_Nm) + assert not np.any(history.slipping_count) + assert not np.any(history.work.friction_J_per_m) + partly = np.full_like(kappa, spec.k_f) + partly[3] = 0.0 + with pytest.raises(CableInputError, match="positive stiffness"): + wire_slip_history(spec, kappa, zero, stick_modulus_Pa=partly) + with pytest.raises(CableInputError, match="elastic-only"): + wire_slip_history(spec, kappa, zero, stick_modulus_Pa=zero, keep_cap=True) diff --git a/validation/README.md b/validation/README.md index fc1fb52..a607994 100644 --- a/validation/README.md +++ b/validation/README.md @@ -12,7 +12,8 @@ global simulation files are not redistributed. | Path | Contents | | --- | --- | | [`validation_report.md`](validation_report.md) | The generated table of every analytical gate and benchmark, with targets, values and status | -| [`RELEASE_0_2_0.md`](RELEASE_0_2_0.md) | Environment, test results, gate results and distribution hashes for v0.2.0 | +| [`RELEASE_0_2_1.md`](RELEASE_0_2_1.md) | Environment, test results, gate results and distribution hashes for v0.2.1 | +| [`RELEASE_0_2_0.md`](RELEASE_0_2_0.md) | The same record for the 0.2.0 release | | [`RELEASE_0_1_0.md`](RELEASE_0_1_0.md) | The same record for the 0.1.0 release | | [`paper_data/`](paper_data/README.md) | Digitised published measurements and the results of the companion article's calculations | | `scripts/` | The report generator, benchmark harnesses and reproduction scripts listed below | diff --git a/validation/RELEASE_0_2_1.md b/validation/RELEASE_0_2_1.md new file mode 100644 index 0000000..8afc460 --- /dev/null +++ b/validation/RELEASE_0_2_1.md @@ -0,0 +1,65 @@ + + +# CableXSec v0.2.1 release record + +This record lists what was built and tested for the v0.2.1 release: the environments, the test +results and the release checks. Case definitions and pass criteria are in +[`VALIDATION.md`](../VALIDATION.md). The SHA-256 hashes of the published assets are those of +the `SHA256SUMS.txt` that the release workflow attaches to the GitHub release. + +## Source + +| Item | Value | +| --- | --- | +| CableXSec | `0.2.1` | +| Scope | the solver kernel (`cablexsec`) and its post-processing tools, the `cablexsec-batch` command, the tests, examples, validation data and scripts; no desktop application | +| Changes since 0.2.0 | a bonded outer armour face (gap G8), the relative core–core slip option of laid cores, the slip-state normal wire curvature (a correction that changes results), MATLAB-style figures; see [`CHANGELOG.md`](../CHANGELOG.md) | + +## Environments of the local gates + +Each environment is a new conda environment (conda-forge Python) into which the package and its +`dev`, `fast` and `contact` extras were installed with pip from the package index, as in CI. + +| Item | Python 3.11 | Python 3.12 | +| --- | --- | --- | +| Operating system | Windows 11 (x86-64), one thread per process (`OMP_NUM_THREADS`, `MKL_NUM_THREADS`, `OPENBLAS_NUM_THREADS`, `NUMBA_NUM_THREADS` = 1) | same | +| Python | 3.11.18 | 3.12.16 | +| Runtime | NumPy 2.4.6, SciPy 1.17.1, pandas 3.1.1, Pydantic 2.14.4, Matplotlib 3.11.2, PyYAML 6.0.4, rainflow 3.2.0 | NumPy 2.5.5, SciPy 1.18.1, pandas 3.1.1, Pydantic 2.14.4, Matplotlib 3.11.2, PyYAML 6.0.4, rainflow 3.2.0 | +| Optional | numba 0.68.1, Clarabel 0.11.1 | numba 0.68.1, Clarabel 0.11.1 | +| Tools | pytest 9.2.0, pytest-cov 7.1.0, pytest-xdist 3.8.0, Ruff 0.15.22, mypy 2.4.1, build 1.6.1, Twine 7.0.0, setuptools 84.2.1 | the same, and Sphinx 9.0.4, MyST-Parser 5.1.0, sphinx-rtd-theme 3.1.0 | + +## Test results + +| Gate | Result | +| --- | --- | +| Test suite, Python 3.12 (`python -m pytest -n 6`) | 5023 passed, 3 skipped (kernel-replacement tests that need the kernels as Python; they run in the `NUMBA_DISABLE_JIT=1` pass of the coverage gate) | +| Line and branch coverage of `cablexsec`, Python 3.11 (`release/check_coverage.py`: whole suite, then the kernel tests with `NUMBA_DISABLE_JIT=1`) | 96.60 %; gate 95 % | +| Ruff lint and format check (`src`, `tests`, `examples`, `validation`, `release`, `doc`) | clean on Python 3.11 and 3.12 | +| mypy, strict, package `cablexsec` (the CI configuration, Python 3.11 with NumPy 2.4.6) | no issues in 122 source files | +| Validation report (`validation/scripts/run_validation.py --check`, Python 3.11 and 3.12) | the committed report is current in both environments; 66 rows: 48 pass, 7 fail (BM1-loop, BM1-ID, Z-EI, HU-3PB, WITZ-ID, SV11-PLANE, SV11-GJ; registered targets unchanged), 8 stated without a target (info), 1 partial (BM5), 1 not comparable (HU-uniform), 1 not validated (BM4); taxonomy 1319 `analytical_sanity`, 92 `independent_method`, 59 `full_scale` tests | +| Sphinx documentation (`-W --keep-going`) | built with no warnings | +| Release metadata (`release/check_release_metadata.py`) | passed | +| Release-tree audit (`release/audit_release_tree.py --tree .` and `--archive-ref HEAD`) | passed | +| Python distributions (`python -m build`, `twine check`) | sdist and wheel pass; both carry LICENSE and NOTICE; the wheel holds only `cablexsec` and its metadata. With `SOURCE_DATE_EPOCH` set, the wheel is identical byte for byte between builds; the sdist holds identical files, but its PAX headers carry the build-time mtimes of the directories, so its hash differs between builds | +| Wheel in a new conda environment (Python 3.12), sdist in another (Python 3.11), each with the `fast` extra | in both: `cablexsec` imported from the environment, not the source tree; `release/smoke_test_wheel.py`; `cablexsec-batch --help`; the README quick start, with output identical to the README; all twelve examples, the four tutorial and the ten how-to scripts of the manual from a separate folder that holds their data but no source | + +Against 0.2.0, Z-ID now passes with the bonded outer armour face of the Zeidan (2025) input and +Z-EI fails narrowly (`EI_min` 10.09 kN·m² against a measured slip slope of 8.65–9.70 kN·m² in +the plotted curvature); the bonded state is an identified input, not a published one. The other +rows keep their 0.2.0 status. + +Under NumPy 2.5.5 (the Python 3.12 environment), mypy reports 40 errors in 14 files, all from +the NumPy 2.5 type stubs (argument-free `ndarray.min`/`max` and `ufunc.reduce` overloads), as +for 0.2.0; CI type-checks against the Python 3.11 wheels. + +The review of the release pull request found that a bonded layer at a zero lay angle (no +slider stiffness) was refused by the slip integrators; it is now elastic-only (commit +`fix: a bonded layer at a zero lay angle is elastic-only`). The test suite above is that of the +final tree. The coverage and validation-report gates ran before this fix and before the +quick-start correction of the README; the documentation and distribution gates ran after the +correction and before this fix. Neither change moves a validation row, and CI repeats every gate +on the release pull request. + +The CI matrix (`.github/workflows/python.yml`: Ubuntu, Windows and macOS with Python 3.11 and +3.12, a run without numba, coverage, the validation report, distributions and documentation) +runs on the release pull request.