Repository navigation
Conversation
This was referenced Nov 10, 2026
Closed
Collaborator
Author
|
Closing without merging (human decision 2026-11-12, pre-autonomy wrap-up). The opt-in renderer is exact-parity, but it only engages on pinned anesthetic/pandas/matplotlib versions and falls back otherwise. The speedup evidence is two pairs (1.34x, 2.02x) with no independent review. That isn't enough to justify keeping a second corner renderer in the library. The branch, worktree and raw data are kept; reopen if corner-plot cost becomes a bottleneck. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an opt-in array renderer for compact anesthetic corner plots. It retains every weighted sample and the native diagonal KDE, while calculating histogram quantile bounds once per column and avoiding per-panel dataframe dispatch. Unsupported data, styles and dependency versions use the existing renderer before drawing. No anesthetic source is changed.
Experimental work outside Pulse. The default remains anesthetic. The bounded 30D replay completed two matched pairs: full-process ratios 2.022x and 1.344x, with byte-identical PNGs and unchanged samples/checkpoints. The host-load guard stopped after 5/6 cases; the third baseline is excluded from ratios. Timing variation and the incomplete third pair prevent any general speedup or default-promotion claim. Results: PyAutoLabs/autofit_profiling#14.
API Changes
corner_anesthetic(..., compact_backend="array")and the matching packaged setting opt into the candidate. Default"anesthetic"is unchanged; unknown backend names raisePlotKwargsError. Initially validated on anesthetic 2.16.0, pandas 3.0.6 and matplotlib 3.11.2; other versions fall back.See full details below.
Test Plan
The retained profiling environment lacked Zeus/Astropy. Those failed validation attempts were retained; a separate complete-extras validation environment passed. The measurement environment was not changed.
Development authorization
Live human: “Approved, proceed with both plans despite Heart RED. Keep them outside Pulse and leave merge for me.”
Authoritative Heart RED reasons: “PyAutoGalaxy: CI failure”; “PyAutoLens: CI failure” (2026-11-10T16:45:59.194451+00:00). Development PR only; no release or CI bypass. Merge remains human. Refs #1762.
Full API Changes (for automation & release notes)
Added
corner_anesthetickeyword/configcompact_backend:anesthetic(default),array(experimental).Changed Behaviour
arrayon supported finite float64, linear compact plots bypasses dataframe dispatch. Unsupported cases keep the established renderer.Migration
Generated by the PyAutoLabs agent workflow.