Bug Fixes
- C#: Fixed
GetSampleY()passing wrong subject (Subject.Xinstead ofSubject.Y), causing error-empty-y test cases to report the incorrect subject - Rust: Prevented potential
usizeoverflow incenter_boundsby castingntoi64before multiplication - Go:
parseBoundsConfignow panics on API misuse (multipleBoundsConfigarguments) instead of returning aDomainError, correctly distinguishing programming errors from domain violations - Tools: Fixed
pyproject.tomlversion regex to anchor at line start, preventing accidental overwrite of ruff'starget-versionduring version sync - Tools: Fixed Typst
#importparser 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 inestimators.py; C extension andsorted()both handle numpy arrays directly - Build: Added
check:fixaggregate 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 withkt:checkandkt:check:fixtasks - Linting: Added
go/.golangci.ymlwith strict v2 settings; added[tool.ruff]config withselect=["ALL"]and documented ignores; removed obsoletepy/.flake8 - Kotlin: Added
.editorconfigconfiguring 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
subjectfield 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.idandexpected_error.subjectfields instead of silently skipping error cases
Documentation
- Updated architecture trees in all 7
AGENTS.mdfiles to reflect current source layout; removed nonexistentutils.tsfrom 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