-
Notifications
You must be signed in to change notification settings - Fork 47
feat(mettagrid): add BoundaryFilter for filtering objects at collective boundaries #4959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 01-16-feat_mettagrid_add_statsmutation_for_logging_stats_add_statsmutation_that_logs_a_stat_with_a_specified_delta._useful_for_events_to_track_when_they_fire_or_record_custom_metrics._co-authored-by_claude_opus_4.5_noreply_anthropic.c
Are you sure you want to change the base?
feat(mettagrid): add BoundaryFilter for filtering objects at collective boundaries #4959
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 873027b844
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Looks like there are a few issues preventing this PR from being merged!
If you'd like me to help, just leave a comment, like Feel free to include any additional details that might help me get this PR into a better state. You can manage your notification settings |
873027b to
bed664d
Compare
40b8869 to
cfd9196
Compare
bed664d to
54094ca
Compare
cfd9196 to
717b742
Compare
54094ca to
17ab37e
Compare
17ab37e to
aba6974
Compare
717b742 to
14d48ae
Compare
aba6974 to
a671ff1
Compare
14d48ae to
cb22d29
Compare
a671ff1 to
817e45c
Compare
46a0e5c to
32c29a2
Compare
817e45c to
12a5ea7
Compare
12a5ea7 to
aafa6cf
Compare
32c29a2 to
a64686c
Compare
aafa6cf to
c6c113e
Compare
6c64e32 to
110061e
Compare
c6c113e to
924a56d
Compare
| @@ -0,0 +1,282 @@ | |||
| # Mechanic-Based Curriculum Design | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this file
…ve boundaries Add BoundaryFilter that checks if target is at the boundary between two collectives. Passes if target belongs to collective_a AND is adjacent to collective_b. Python: - BoundaryFilterConfig with filter_type="boundary", collective_a, collective_b fields - AtBoundary() helper function - Added to AnyFilter union C++: - BoundaryFilterConfig struct in handler_config.hpp - BoundaryFilter class in filter.hpp with AdjacencyCallback for grid integration - Added to FilterConfig variant Tests: - test_boundary_filter.py with creation, helper, serialization tests Note: Adjacency checking requires grid integration via set_adjacency_callback(). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Design for automatic curriculum that promotes game mechanics: - Threshold-based graduation - Random selection from ungraduated mechanics - Scaffolding removal after graduation - Configurable batch size Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
110061e to
232df60
Compare
924a56d to
1958dbd
Compare

Add BoundaryFilter that checks if target is at the boundary between two collectives.
This is the Python config side; C++ adjacency tracking implementation will follow.
Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com