Bug Fixes

  • C#: Fixed GetSampleY() passing wrong subject (Subject.X instead of Subject.Y), causing error-empty-y test cases to report the incorrect subject
  • Rust: Prevented potential usize overflow in center_bounds by casting n to i64 before multiplication
  • Go: parseBoundsConfig now panics on API misuse (multiple BoundsConfig arguments) instead of returning a DomainError, correctly distinguishing programming errors from domain violations
  • Tools: Fixed pyproject.toml version regex to anchor at line start, preventing accidental overwrite of ruff's target-version during version sync
  • Tools: Fixed Typst #import parser to handle comma-separated imports (e.g., version, major); previously, all names after the first comma were silently dropped, producing malformed Go install URLs

Improvements

  • Python: Removed unnecessary .tolist() conversions in estimators.py; C extension and sorted() both handle numpy arrays directly
  • Build: Added check:fix aggregate task running auto-fix for all 7 language implementations in parallel
  • Build: Added rs:restore (cargo fetch) task included in the Rust CI pipeline; added ktlint Gradle plugin with kt:check and kt:check:fix tasks
  • Linting: Added go/.golangci.yml with strict v2 settings; added [tool.ruff] config with select=["ALL"] and documented ignores; removed obsolete py/.flake8
  • Kotlin: Added .editorconfig configuring ktlint (wildcard imports allowed, uppercase math constants permitted) and applied initial ktlint formatting across all Kotlin sources

Testing

  • Added 13 error fixture JSON files for basic estimators (center, spread, rel-spread, shift, ratio, disparity, avg-spread)
  • Added subject field to all 21 existing bounds error fixtures
  • Updated reference test loaders in all 7 languages (Go, TypeScript, Python, Kotlin, R, Rust, C#) to verify expected_error.id and expected_error.subject fields instead of silently skipping error cases

Documentation

  • Updated architecture trees in all 7 AGENTS.md files to reflect current source layout; removed nonexistent utils.ts from TypeScript tree
  • Added XML doc comments to all public members in C# Toolkit.cs

Full Changelog: https://github.com/AndreyAkinshin/pragmastat/compare/v10.0.5...v10.0.6

Release notes generated by herald v1.0.4