You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- qqa.polish.apply_polish_if_improves: single entry point for the
greedy 1-flip QUBO polish so qqa.anneal / simulated_annealing /
population_annealing and both PI-GNN trainers route through one
helper instead of five near-identical guarded blocks.
- SpinRelaxation.perturb_ now inherits from BinaryRelaxation; both
relaxations share the same [0,1] latent cube and noise schedule.
- qqa.bench: _load_bench_discs and _load_plot_benchmarks unified onto
_load_scripts_module(name).
- sa._qubo_glauber_sweep deprecated alias dropped (only in-tree
diagnostic caller updated).
- app/_common.retheme_plotly replaces the _retheme clone previously
duplicated in 2_Visualize.py and 3_Compare.py.
- app/_common.as_numpy replaces the _as_np / _as_numpy clone shared
with _solution_viz.py.
- tests/conftest.py introduced with APP, PAGE_DIR, make_problem_config
and set_slider helpers; test_gui_apptest.py drops twelve inline
problem_config dicts (-60 lines) and its local _set_slider.
- pyproject adds pythonpath = ["tests"] so the conftest helpers are
importable from sibling test modules.
- CHANGELOG catch-up for 0.5.1 / 0.5.2 / 0.5.3 / 0.6.0.
- pyproject version 0.5.3 -> 0.6.0; uv.lock refreshed.
Net diff: 15 files changed, +242 / -207 lines.
Gates: ruff check + ruff format + pytest (371 passed) + mkdocs --strict
all green.
Made-with: Cursor
Copy file name to clipboardExpand all lines: pyproject.toml
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
5
5
[project]
6
6
name = "qqa"
7
-
version = "0.5.3"
7
+
version = "0.6.0"
8
8
description = "Quasi-Quantum Annealing (QQA): a general-purpose GPU solver for combinatorial and spin-glass optimization, with PI-GNN/CPRA and a parallel SA baseline."
9
9
readme = "README.md"
10
10
requires-python = ">=3.10"
@@ -144,6 +144,10 @@ dev = [
144
144
145
145
[tool.pytest.ini_options]
146
146
testpaths = ["tests"]
147
+
# Add tests/ to sys.path so test modules can ``from conftest import ...``
148
+
# for the helpers exposed in tests/conftest.py (APP, PAGE_DIR,
0 commit comments