You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(core,wasm,js): release v1.1.1 with seed validation, invalid-flag parity, and stricter input checks
- Validate seed test cases in C++ generator (src/core/generator.cpp) and TS generator
(src/ts/core/generator.ts): drop seeds with out-of-range values, invalid-marked values,
or constraint violations, emitting per-seed warnings instead of silently propagating bad state
- Fix maxTests-overflow warning to emit once after the loop, not inside it, and unify
warning text across C++ and TS implementations
- Propagate invalid flag from Parameter to GenerateOptions in pure TS adapter
(js/pure/adapter.ts), closing a parity gap where pure TS silently ignored invalid values
while WASM correctly excluded them from positive coverage
- Throw on unknown seed values in toInternalTestCase instead of producing UNASSIGNED indices
- Add ParseUint32Option helper in src/wasm/bindings.cpp to validate strength and maxTests
with descriptive errors before passing to C++ core
- Add input validation (parameters, strength, maxTests, seed) to all public entry points in
js/index.ts and js/pure/index.ts; relax empty-array check in pure entry to match WASM behavior;
add estimateModel validation that was missing
- Replace wasmModule! non-null assertion with getModule() call in Coverwise.create()
- New tests: C++ (tests/core/generator_test.cpp), TS (src/ts/core/generator.test.ts), WASM
(tests/wasm/generate.test.ts), and compat (js/compat.test.ts) cover seed rejection,
maxTests capping, numeric option rejection, and negativeTests parity
- Bump version to 1.1.1 in package.json and CMakeLists.txt
0 commit comments