-
Notifications
You must be signed in to change notification settings - Fork 128
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
Remove ValidPos
type
#1093
Remove ValidPos
type
#1093
Conversation
yeah as I mentioned on Slack, |
This is an opportunity to also improve these functions:
Instead of taking the |
thanks for the PR @simsurace . I would suggest that we use this PR as a general "improve experience of implementing new space downstream". It's up to you though, if you don't want to put the time and only want to fix the ValidPos, that's also fine. |
These ambiguities shouldn't be hard to solve, they are mainly innocuous ones if I read them correctly...strangely tests seem stuck though |
I think we should extend any function related to space that way, actually we could maybe use f(..., space, model) instead of f(..., space) if there are functions which require the model for API coherency |
To me it's not clear how to resolve ambiguities in a way that does not break the previous extension protocol for new spaces. |
to me its not clear either how to resolve the @simsurace , out of curiosity, what prevents you from adding your space directly to this repo? |
I will give it a shot, let's see |
I fixed all the remaining ambiguities, they were all invalid signatures, so they were fortunately innocuous as I initially thought |
It is supposed to be possible to define new user-defined spaces. While some spaces a user may want to define may be of general interest and deserve upstreaming, I'm sure there are a lot that do not warrent being added to and supported by Agents.jl. |
the 2 tests that do not pass seem like wrong tests |
Thank you a lot @simsurace for starting this, it was clearly something really needed |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1093 +/- ##
===========================================
+ Coverage 70.12% 85.48% +15.36%
===========================================
Files 42 37 -5
Lines 2718 2536 -182
===========================================
+ Hits 1906 2168 +262
+ Misses 812 368 -444 ☔ View full report in Codecov by Sentry. |
This is an attempt at addressing #1094.
There are remaining ambiguities that need to be resolved: