Skip to content

canns-lib 0.6.2

Choose a tag to compare

@Routhleck Routhleck released this 29 Oct 06:34
· 20 commits to master since this release

Highlights

  • Spatial agent state/history now mirrors RatInABox behaviour, eliminating warm-start samples and aligning head-direction smoothing.
  • Ornstein–Uhlenbeck updates respect zero-noise settings, keeping deterministic constant-speed trajectories intact.

Spatial Navigation

  • Switched OU integration to incremental updates so drift/noise handling matches RatInABox, especially when speed_std = 0.
  • Deferred history recording until the first update, ensuring agent.history["pos"] and related fields stay empty right after init.
  • Updated spatial unit tests to cover the new history semantics and explicit update paths.

Examples & Diagnostics

  • example/trajectory_comparison.py now logs per-field history shapes directly from agent.history[...] and emits trajectory delta summaries.
  • Added a constant-speed comparison sweep over seeds [0, 1, 5, 10, 42] for quick regression checks.

Versioning

  • Bumped crate and Python package version to 0.6.2.

Checks

  • cargo check