• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pirl-unc / tcrsift / 26522745536
84%

Build:
DEFAULT BRANCH: main
Ran 27 May 2026 04:01PM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
26522745536

push

github

web-flow
1.0.0: rename safe_mode → most_common (breaking) (#97)

``tcrsift.safe_mode`` is renamed to ``tcrsift.most_common``. The
1.0.0 bump signals that "safe" oversold what the function provides:
it handles the empty / all-NaN fallback, but the silent lex-first
tie-break in ``pd.Series.mode().iloc[0]`` is real and caused #94
(AA / NT desync when modes tied across cells). The new name is
honest — it just returns the most common value, full stop, with
the lex-first tie-break documented as a caveat alongside a "do not
use on coupled columns; use pick_representative_cell" pointer.

No callers remain in-tree after the #94 refactor; this is a pure
public-API rename, not a behaviour change. Anyone downstream still
importing ``tcrsift.safe_mode`` (or ``tcrsift.validation.safe_mode``)
needs to migrate to ``most_common``. The function signature and
semantics are otherwise identical.

Test ``test_most_common_replaces_safe_mode_in_1_0`` locks both
halves: ``most_common`` is reachable through the package root AND
through ``tcrsift.validation``, and ``safe_mode`` is not. Guards
against an accidental restoration of the old name in a future
refactor.

Suite: 1124 passed; ruff clean.
Source Files on build 26522745536
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #26522745536
  • e6b315c3 on github
  • Prev Build on main (#26512622428)
  • Next Build on main (#26525649158)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc