Skip to content

v1.0.2 - Critical Bug Fix: Isolated Pixels

Choose a tag to compare

@JohnGavin JohnGavin released this 28 Nov 10:40
· 406 commits to main since this release
c167180

Critical Bug Fix

Fixed Issue #63: Isolated Pixels in Async Simulation

This release includes the fix from PR #64 that prevents isolated black pixels from appearing in async simulations.

Changes

  • Fix #63: Added validate_termination_position() to prevent isolated pixels
  • ✅ All async simulations now produce valid fractal patterns
  • ✅ Comprehensive test coverage for isolation validation

Technical Details

The fix ensures that when a walker terminates, the final position is validated to have at least one adjacent black pixel (in 4-hood or 8-hood depending on neighborhood setting). This prevents isolated pixels that violate random walk rules.

WASM Library Update

This release triggers a rebuild of the WebR/WASM library used by the Shinylive dashboard at:
https://johngavin.github.io/randomwalk/articles/dashboard_async/

All Tests Passing

  • ✅ 44 tests pass
  • ✅ R CMD check: 0 errors, 0 warnings, 0 notes
  • ✅ GitHub Actions CI/CD: All workflows passing

Full Changelog: v1.0.0...v1.0.2