feat(SNNBot): add STDP learner and integration test (#153, #155)

- Implement reward-modulated STDP: spike timing, eligibility traces,
  reward-gated weight updates (w += η * reward * trace), clamp [-2,2]
- Add integration smoke test vs SittingDuck (compile + battle completion)
- Add tests/config.nims and nimble test task
This commit is contained in:
2026-09-13 10:31:07 +02:00
parent c038128c2f
commit 2bfa8eb6a5
2 changed files with 49 additions and 8 deletions
+3
View File
@@ -10,3 +10,6 @@ bin = @["SNNBot"]
requires "nim >= 2.0.0"
requires "robocode_tankroyale_botapi >= 1.0.7"
# radar_lock is vendored in-tree (common_libs/) and wired via config.nims --path
task test, "Run integration tests":
exec "nim c -r --path:../common_libs tests/test_basic_battle.nim"