Skip to content

Commit 0b17f74

Browse files
renovate[bot]Anselmoo
authored andcommitted
Add comprehensive benchmark tests with quality validation
- Add conftest.py with 17 benchmark functions and known optima - Add test_benchmarks.py with quality tolerance tests for all optimizer categories - Add test_performance.py with regression baselines and critical path tests Test improvements: - Validate solutions against known optimal points (shifted_ackley at [1.0, 0.5]) - Flag solutions deviating from optimum as critical failures (distance > 0.2) - Add xfail markers for optimizers prone to local minima on multimodal functions - Include Himmelblau multi-optima handling - Add reproducibility and bounds checking tests 356 test cases covering optimizer quality validation"
1 parent 78dab9b commit 0b17f74

File tree

4 files changed

+1363
-1
lines changed

4 files changed

+1363
-1
lines changed

.github/workflows/python-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
name: python-package-distributions
7070
path: dist/
7171
- name: Sign the dists with Sigstore
72-
uses: sigstore/gh-action-sigstore-python@v3.1.0
72+
uses: sigstore/gh-action-sigstore-python@v3.2.0
7373
with:
7474
inputs: >-
7575
./dist/*.tar.gz

0 commit comments

Comments
 (0)