v3.11.0
v3.11.0 ships testing infrastructure — property-based tests, multi-platform CI, integration-marker discipline, and two new real-model integration tests.
Added
- Hypothesis property tests in
tests/test_property_based.py(5 properties on random bf16/fp16/fp32 tensors of 1-3D shapes): roundtrip, valid codec name, fast/full verify, streaming-vs-standard md5 match. ~16 s for all five. @pytest.mark.integrationmarker registered viapytest.ini. Defaultpytest tests/excludes viaaddopts = -m "not integration". Opt in withpytest -m integration tests/.- The 2 historically-skipped GPT-2 tests are now
@pytest.mark.integration— properly catalogued instead of silently skipped. tests/test_integration.py— 2 new real-model integration tests:compress_from_hub(gpt2)round-trip + fullverify()on a real model..github/workflows/ci.yml— ubuntu / windows / macos × Python 3.10 / 3.11 / 3.12.BIGSMALL_FORCE_CPU=1so GPU/Triton tests skip themselves cleanly.
Test count
| Snapshot | Passed | Skipped | Deselected | Integration |
|---|---|---|---|---|
| v3.10.0 | 131 | 2 | 0 | — |
| v3.11.0 | 136 | 0 | 4 | 4 |
Skip count went 2 → 0. The 2 persistent skips are now properly tagged.
Deliberate scope notes
- No decode-speed regression: speed varies on CI hardware (Numba JIT cold-start), flaky on shared runners. Ratio regression already covered by
test_codec_regression.py(locked baseline, 0.05pp tolerance). - No GPU tests in CI: GitHub Actions runners have no GPU.
Install: pip install bigsmall==3.11.0