Skip to content

Add PY-04A bounded active-design grid search and UI - #52

Merged
Poyqraz merged 1 commit into
mainfrom
agent/py04-deterministic-search
Sep 2, 2026
Merged

Poyqraz merged 1 commit into
mainfrom
agent/py04-deterministic-search

Conversation

@Poyqraz

@Poyqraz Poyqraz commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Scope

Build on merged PY-03 (#51); PR #3 remains separate. First bounded PY-04A / PR-11A slice, not a physically qualified optimizer.

  • Canonical finite-grid minimization, complete-grid preflight budgets, typed constraints, deterministic ties and explicit failure ledger.
  • Active-draft chord/twist BEM adapter: fixed baseline per candidate, coordinate-matched uploaded polars, at most 25 candidates / 40 annuli each / 400 aggregate annuli. No proxy/clamp/partial totals.
  • Explicit Streamlit search button, separate result identity, per-candidate metrics and JSON provenance; no implicit solves or stale downloads.
  • Unknown structural/physical constraints never pass; active search never recommends a candidate. Necessary planar geometry bounds do not certify full clearance or relax the 140 mm conflict.
  • Retrospective fixes: reject overflowing derived sound-speed arithmetic; normalize rotor arithmetic failures into controlled analysis errors.
  • Roadmap updated: PY-04A first slice implemented; PY-05 transient contracts next. Broader/Pareto methods deferred, print orientation out of scope.

TDD and independent review

Red stages observed before generic engine, adapter, UI and numeric-regression fixes. Independent reviewer found malformed-plan error leakage and unsupported hinge-orientation gating; both fixed with red→green regressions. Final independent read-only review: 188 targeted application/UI tests passed, no remaining blocker.

Verification

  • Full local suite (Python 3.12): 1063 passed, 9 skipped, 73 added tests.
  • compileall and staged diff whitespace checks passed.
  • Streamlit launched; health HTTP 200 ok. UI behavior tested with AppTest; no claim of manual visual QA.
  • Remote tree exactly matches tested local tree: 7143bd2f569e85004cbdc8257cbc7437b87d9808.
  • Unrelated working-tree report CSV excluded; archived evidence/legacy sweep unchanged.

CI and GitHub reviews will be checked last before merge. Detailed contract: docs/py04_deterministic_design_search.md.

Copilot AI lite review requested due to automatic review settings September 2, 2026 13:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Poyqraz
Poyqraz merged commit 52aada4 into main Sep 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants