Skip to content

README: correct example errors and document the FlashBack CLI - #3

Merged
MuteJester merged 1 commit into
masterfrom
docs/readme-review
Aug 1, 2026
Merged

README: correct example errors and document the FlashBack CLI#3
MuteJester merged 1 commit into
masterfrom
docs/readme-review

Conversation

@MuteJester

Copy link
Copy Markdown
Owner

Every code block in the README was executed against 3.2.0 rather than read. All Python blocks run; the errors were in the claims around them.

Corrected

Claim Reality
FlashBackGraph has no CLI lzg flashback build/info/score/simulate/diversity/scale all exist
path_count, pgen_moments, pgen_distribution, feature_mass_profile are single-class all four exist on both classes
graph.pgen(['seq1','seq2','seq3']) in a paste-and-runnable section does not raise, silently returns the -690.78 floor for all three
path_count formatted {:.3e} it is an exact arbitrary-precision int in 3.2.0
wheels are CPython 3.9-3.12 3.2.0 ships 3.9-3.13; linux needs glibc 2.28+ or musl 1.2+
suite is ~505 tests ~1,700

Added

  • FlashBack command line section: build, info, simulate, score, diversity, scale. All six run.
  • P-sequence spectrum section for pseq_analysis(), the headline 3.2.0 feature, which appeared nowhere in the README.

lzg flashback score output was checked against Python pgen and matches to six decimals, confirming the documented natural-log units.

Note: PyPI renders the README bundled in the published sdist, so the project page there keeps showing the old text until the next release. GitHub updates immediately.

Ran every code block in the README against 3.2.0 rather than reading
them. All Python blocks execute, but several factual claims around them
were wrong:

- The comparison table said FlashBackGraph has no CLI. It has had
  `lzg flashback` (build, info, score, simulate, diversity, scale) all
  along.
- path_count, pgen_moments, pgen_distribution and feature_mass_profile
  were each labelled as belonging to only one of the two classes. Both
  classes implement all four.
- The batch scoring example passed the placeholders 'seq1', 'seq2',
  'seq3' in a section titled paste-and-runnable. It does not raise; it
  quietly returns the -690.78 floor for all three, which reads as a real
  result.
- path_count returns an exact arbitrary-precision int in 3.2.0, so
  formatting it as {:.3e} discarded the precision the change was for.
- Wheels were described as CPython 3.9-3.12; 3.2.0 ships 3.9-3.13, and
  linux wheels now need glibc 2.28+ or musl 1.2+.
- The test suite was described as ~505 tests; it is ~1,700.

Adds a FlashBack command line section covering build, info, simulate,
score, diversity and scale, and a p-sequence spectrum section for
pseq_analysis(), which was the headline 3.2.0 feature and appeared
nowhere in the README. States plainly that the spectrum API is Python
only and points at `lzg flashback score` for per-sequence probabilities
from the terminal.

Every command and snippet shown here was executed before being written.
@MuteJester
MuteJester merged commit 920bd3a into master Aug 1, 2026
6 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.

1 participant