Skip to content

Bring CLAUDE.md up to date with the 2.x codebase - #164

Merged
Sosnowsky merged 5 commits into
mainfrom
merge_pulse_lifetime_claude_md
Sep 25, 2026
Merged

Sosnowsky merged 5 commits into
mainfrom
merge_pulse_lifetime_claude_md

Conversation

@Sosnowsky

@Sosnowsky Sosnowsky commented Sep 25, 2026 •

Copy link
Copy Markdown
Member

Docs-only: the only file changed relative to main is CLAUDE.md.

The CLAUDE.md on main predates most of the feedback.md work, so it no longer describes the code on main. This PR:

  • Updates Architecture. It adds BlobListFactory, CallableBlobFactory, Model.from_blobs, set_sampler (including the new "posx" key and the t_lifetime ctor arg from Add optional Gaussian pulse lifetime and a posx sampler #163) and to_imaging_dataset.
  • Adds the lam convention gotcha. Since 2.0.0, lam weighs the leading side (FPP convention), so downstream 1 - lam workarounds must go.
  • Updates the randomness and t_drain notes. Covers CallableBlobFactory passing its rng to blob_getter, and t_drain living on Blob/the factory with an np.inf default.
  • Fixes the stale version note. 2.0.0 was released and 2.1.0 followed with Add optional Gaussian pulse lifetime and a posx sampler #163.
  • Drops notes on feedback.txt items 14, 16 and 17 that were already fixed. Dev tools are now the dev extra (pip install -e ".[dev]"), setuptools-scm is gone, CI is a single 3.10/3.11 matrix job (c2ce2c4), and tests no longer write .nc files (4e6ea84).
  • Removes the two "Ongoing effort" tracker sections. They pointed at feedback.txt/feedback.md, which no longer exist (they were never committed), and every item they tracked has landed. Downstream repos already require blobmodel>=2.0.0. The guidance that outlives them is kept: grep the local downstream checkouts before changing public API, main is PR-only, and behavior changes need tests.

The merge commit resolves a CLAUDE.md conflict with #163 by keeping both sides: the expanded t_drain bullet above, plus #163's t_drain vs t_lifetime and posx seeding bullets.

🤖 Generated with Claude Code

Sosnowsky and others added 5 commits July 29, 2026 08:22
Brings in PR #163 (pulse_lifetime). CLAUDE.md conflict resolved by keeping
both sides: the local expansion of the t_drain gotcha plus the new
t_drain-vs-t_lifetime and posx-seeding gotchas from #163. Also updated the
Architecture note on DefaultBlobFactory to list the new "posx" sampler key
and the t_lifetime ctor arg, which the local text predated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The note that the 2.0.0 bump "has not been done yet" was stale: 2.0.0 was
bumped in 6bdf76a and 2.1.0 landed with PR #163.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
c2ce2c4 moved dev tools into a `dev` extra, dropped setuptools-scm and
consolidated CI into one 3.10/3.11 matrix job; 4e6ea84 stopped tests
writing .nc artifacts into the repo root and tests/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Both tracking files are gone (never committed) and every item they tracked
has landed; downstream repos already require blobmodel>=2.0.0. Keep the
guidance that outlives them: grep ../fusion_scripts and ../imaging-methods
before changing public API, main is protected (PRs only), behavior changes
need tests. Drop the now-dangling "item N" references and the fixed
(x, y, t) docstring-drift note.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Sosnowsky
Sosnowsky merged commit b9b4a52 into main Sep 25, 2026
4 checks passed
@Sosnowsky
Sosnowsky deleted the merge_pulse_lifetime_claude_md branch September 25, 2026 13:14
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