refactor: rename case_count field to number_of_cases - #137
Merged
Conversation
Renames the applied_to_treat release-filter column and its op: drop_low_case_count -> drop_low_number_of_cases, operating on the number_of_cases column. Behavior, gating (--release + applied_to_treat), null handling, and phase placement are unchanged.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
SkyeAv
added a commit
that referenced
this pull request
Sep 4, 2026
Cut 16.6.0 and bump the package version in pyproject.toml, uv.lock,
and CITATION.cff.
Minor: two capabilities and one activated release filter. The agent
gains --distill (-d / -dt): every LLM call of a run (inner agent,
judge, reflexion) is appended as one ChatML record per line to
<state-dir>/distill/records.ndjson, tagged with the article's
pmc_id, for fine-tuning in Unsloth Studio or via
datasets.load_dataset("json"); distill-export converts the corpus
to an on-disk HF dataset behind the new [distill] extra (#136).
uuid_on_collision: merge now recomputes number_of_cases as the exact
union of a build-internal supporting_case_ids carrier when present,
replacing first-wins under-reporting and its scalar-conflict report,
and strips the carrier before write in both dedup paths (916f509).
The release-mode applied_to_treat filter is renamed
drop_low_number_of_cases and now reads the number_of_cases column
the pipeline actually emits; the old case_count column never
survived coercion to the significance phase, so the filter had been
a silent no-op since 16.1.0 — release builds now actually drop
treatment edges backed by fewer than 25 cases (#137). Also repairs
a stale gepa_metric test fixture that CI's missing dspy extra had
masked (2dcfcb3, tests only).
Changelog:
- Versioned the Unreleased section as 16.6.0 - 2026-09-04.
- Added the missing --distill entry under Added with its PR link
(#136).
- Added the missing drop_low_number_of_cases entry under Fixed with
its PR link (#137), stating the prior no-op honestly.
- Kept the supporting_case_ids union entry; it was committed
directly to main and carries no PR link.
- Normalized that entry's double-hyphen to the house em dash.
Docs: docs/configuration/graph.md documents the number_of_cases
exception to merge first-wins (8b669d8); #136 already updated
docs/cli.md and docs/agent.md.
Testing:
- uv run pytest -q -> 1197 passed, 3 skipped (96% coverage)
- uv run ruff check . && uv run ruff format --check . && uv run pyright -> clean / 0 errors
- uv lock --check -> up to date
- uv run mkdocs build --strict -> clean
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.
Renames the field backing the release-mode
applied_to_treatcase-cohort filter fromcase_counttonumber_of_cases.drop_low_case_count→drop_low_number_of_cases, now defaulting to thenumber_of_casescolumn (src/tablassert/lib.py:1056)--release+applied_to_treatgating, null handling, threshold (25), andsignificance-phase placement beforeresolve_batchare all unchangedRefs #123