Skip to content

fix: verify JAX objective dispatch after search refactor - #110

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/heart-fitness-dispatch
Oct 10, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/heart-fitness-dispatch

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

The release integration assertion built a NumPy analysis but expected the old JIT dispatch contract. Construct an explicit JAX analysis and verify compiled scalar/batched values, trace reuse and pickle restoration against the current objective factory.

Scripts Changed

  • scripts/jax_assertions/fitness_dispatch.py: replace legacy flag/internal-identity assertions with behavioral checks; retain visualization and array-fit checks.

Validation

  • Original failure reproduced with the release profile; corrected full script passes (6.4 s).
  • Complete workspace smoke: 15 passed.
  • Independent review CLEAN: all seven deliberate dispatch/cache/pickle faults detected.
  • No PyAutoFit library or public API changes. Upstream PyAutoFit#1679 is merged; this adapts its objective-factory contract.

Heart authorization

Exact RED: release validation FAILED (stage integrate).
Live user authorization on 2026-10-10: “yeah I authorize, fix the bugs and ensure when we continue work on the epic it knows this owkr happened but just get the fixes sorted for now”. This PR repairs the fitness_dispatch failure in Heart run 38038078541; the hierarchical failure is a separate repair. Heart remains RED until fixes land and supported wheel integration validates them. Development/PR only; no merge or release authorized.

Closes #109.

@Jammy2211
Jammy2211 merged commit 8b86eca into main Oct 10, 2026
3 checks passed
@Jammy2211
Jammy2211 deleted the feature/heart-fitness-dispatch branch October 10, 2026 16:43
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.

fix: adopt objective factory in JAX dispatch assertions

1 participant