Skip to content

prompt: nfw-truncated-potential-accuracy shipped via PyAutoGalaxy#564 → complete - #239

Merged
Jammy2211 merged 2 commits into
mainfrom
claude/mge-potential-self-consistency-0yhlk0
Aug 19, 2026
Merged

prompt: nfw-truncated-potential-accuracy shipped via PyAutoGalaxy#564 → complete#239
Jammy2211 merged 2 commits into
mainfrom
claude/mge-potential-self-consistency-0yhlk0

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Ledger reconciliation: the NFWTruncatedSph.potential_2d_from MGE self-consistency bug tracked by draft/bug/autogalaxy/nfw_truncated_potential_accuracy.md was already fixed by PyAutoGalaxy#564 (merged 2026-08-09, fixes PyAutoGalaxy#563), which replaced the MGE approximation with the exact analytic Baltz, Marshall & Oguri (2009) eq. 18 potential. The fix shipped outside this prompt's dev flow, so the Mind still showed it as open high-priority work.

  • Prompt moved draft/complete/2026/08/nfw-truncated-potential-accuracy.md via scripts/lifecycle.py record (rich record + original prompt folded in).
  • Stale ## nfw-truncated-potential-accuracy section removed from planned.md.
  • complete/index.md and dashboard.md regenerated; lifecycle.py check OK.

Verification

Independent finite-difference re-check on PyAutoGalaxy main (49115ad): grad(psi)=alpha median fractional error ~1e-9 (max ~5e-7) for tau = 0.5 / 2 / 10 — the med 7.1e-2 failure the prompt documents is gone. The unit tests the prompt asked for already exist in test_autogalaxy/profiles/mass/dark/test_nfw_truncated.py.

No library code changes — this PR touches the Mind ledger only.

🤖 Generated with Claude Code

https://claude.ai/code/session_016G5KaVuhgtBvUYnZpF9hxD


Generated by Claude Code

claude added 2 commits August 19, 2026 00:03
… → complete

The MGE-potential self-consistency failure (grad(psi)=alpha med 7.1e-2)
was fixed on 2026-08-09 by PyAutoGalaxy#564, which replaced the MGE
approximation with the analytic BMO (2009) eq. 18 potential — merged
outside this prompt's dev flow, so the ledger had gone stale. Re-verified
on current main (FD check, med ~1e-9 across tau = 0.5/2/10), recorded to
complete/2026/08/, removed the stale planned.md entry, dashboard + index
regenerated. lifecycle.py check OK.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016G5KaVuhgtBvUYnZpF9hxD
…self-consistency-0yhlk0

# Conflicts:
#	dashboard.md
@Jammy2211
Jammy2211 merged commit 379bfd0 into main Aug 19, 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