Skip to content

refactor(latent): migrate af.ex.Analysis + cookbook docs to the Latent class - #1318

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/latent-old-api-cleanup
Jun 9, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/latent-old-api-cleanup

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Latent redesign cleanup — migrate remaining code/docs off the legacy compute_latent_variables/LATENT_KEYS override to the Latent class. Phase 2 removed the library AnalysisImaging overrides, so this lands the stragglers. Back-compat shim + shim tests + z_projects intentionally untouched.

🤖 Generated with Claude Code

  • af.ex.Analysis declares Latent = LatentExample (no more compute_latent_variables/LATENT_KEYS)
  • docs/cookbooks/analysis.md + samples.md updated to the Latent-class API

Test Plan

  • pytest test_autofit/analysis — 28 passed, 1 skipped (incl. back-compat shim tests)

…t class

Phase 2 follow-up: removes the last library-side use of the legacy
compute_latent_variables/LATENT_KEYS override. af.ex.Analysis now declares
`Latent = LatentExample` (LatentExample(af.Latent)); docs/cookbooks
analysis.md + samples.md updated to the Latent-class API. Back-compat shim +
shim tests untouched.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Jun 9, 2026
@Jammy2211
Jammy2211 merged commit ce2baa2 into main Jun 9, 2026
7 checks passed
@Jammy2211
Jammy2211 deleted the feature/latent-old-api-cleanup branch June 9, 2026 13:36
@Jammy2211 Jammy2211 removed the pending-release PR queued for the next release build label Sep 4, 2026
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.

1 participant