Skip to content

Throttle ReplayBuffer overflow logging and add DDPG integration tests - #116

Merged
belarusian merged 3 commits into
mainfrom
build42/replaybuffer-logging-ddpg-integration
Aug 17, 2026
Merged

Throttle ReplayBuffer overflow logging and add DDPG integration tests#116
belarusian merged 3 commits into
mainfrom
build42/replaybuffer-logging-ddpg-integration

Conversation

@belarusian

Copy link
Copy Markdown
Owner

Summary

  • ReplayBuffer now tracks a total-overwrite counter and emits a DEBUG overflow log only every log_interval overwrites (default 1000) instead of logging on every eviction. log_interval is validated (>= 1).
  • Adds closed-loop DDPG training-step integration tests that drive the public get_allocation API through a deterministic toy environment, verifying finite critic/actor losses, buffer capping, and overflow accounting.
  • Updates the ReplayBuffer debug-logging tests to the counter-based behavior.

Testing

  • Full suite: 579 passed
  • ruff check alloc/: clean
  • mypy alloc/ --ignore-missing-imports: clean

…ntegration tests

- ReplayBuffer now tracks a total-overwrite counter and emits a DEBUG
  overflow log only every log_interval overwrites (default 1000), instead
  of logging on every eviction. log_interval is validated (>= 1).
- Add closed-loop DDPG training-step integration tests that drive the
  public get_allocation API through a deterministic toy environment,
  verifying finite critic/actor losses, buffer capping, and overflow
  accounting.
- Update ReplayBuffer debug-logging tests to the counter-based behavior.
@belarusian
belarusian merged commit 5a2632b into main Aug 17, 2026
1 check passed
@belarusian
belarusian deleted the build42/replaybuffer-logging-ddpg-integration branch August 17, 2026 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant