Skip to content

SliceOps Toolkit v0.1.1

Choose a tag to compare

@anrasi anrasi released this 22 Jun 23:54
31eae8c

Hardening release — fixes an external review (2026-06-19), each fix with regression tests (33 total; green with PyYAML and the stdlib fallback CI uses).

validators.py

  • Windows/Linux portability — path filtering is now OS-agnostic (os.sep-aware), so .git, frozen dirs, and .github/workflows are detected on Windows too.
  • topic-tags semantics — an unconfigured --topic-taxonomy reports SKIPPED (green); a configured-but-missing file is a clear hard error (no more "skipped" that failed the build).
  • Robust frontmatter — uses PyYAML automatically when installed (block scalars, nesting, comments); documented stdlib subset + inline-comment handling as fallback. No dependency required.
  • llm-ci-cost — strips YAML comments before the endpoint heuristic (no false-positive on comments/docs); structural concurrency / on.pull_request checks via PyYAML when available.

calibrate.py

  • Honest bandspropose_bands (which ignored its percentile inputs) is split into canonical_bands() (fixed reference) + observed_bands() (genuinely data-driven from p25/p50/p75/p90); both are printed.
  • Stable percentiles — inclusive method + clamp to the observed range + n==1 handling + a small-sample (<8) advisory warning, so small corpora no longer extrapolate past the observed max.

The counter-atomicity date-slug false-positive was already fixed in v0.1.0.