-
Notifications
You must be signed in to change notification settings - Fork 119
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
Upgrade to version 1.0.0 #117
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Adds variants and test for base multienv, multienv, multienv2. With baseMultienv taking a list of envs as input
…le, regarding issue #110
Renamed MultiEnv classes and derivates to explicit classnames
0.10.0: MultiEnv/MultiMix, LinesRewards
…all attributes instead of hardcoding most used attributes
Minor docstrings fix
adding test for coverage, adding better logging in case of cascading …
Opponent features
Minor runner+ opponnent unit test fix
BDonnot
commented
Jun 24, 2020
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.
Files changed looks good
BDonnot
added a commit
that referenced
this pull request
Dec 10, 2020
Adding a method to update a backend from the observations
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This release is the first milestone of grid2op, the version 1.0.0
We worked hard on improving the speed of the platform, we added the last feature (the opponent), improve the documentation and fixed dozens of bugs.
The complete changelog:
MultiEnv
has been renamedSingleEnvMultiProcess
MultiEnv
has been abstracted toBaseMultiProcessEnv
and the backwards compatible interface is nowSingleProcessMultiEnv
seeds
parameters of theRunner.run
function has been renamedenv_seeds
and anagent_seeds
parameters is now available for fully reproducible experiments.
env.reset
that did not reset the state of the previous observation heldby the environment. This could have caused some issue in some corner cases.
BaseAction.__iadd__
fixed a bug with change actions+=
operator reported in Change bus action+=
or__iadd__
behavior #116obs.simulate
post-initialized reward behaves like the environmentLinesReconnectedReward
fixes reward inverted rangeget_all_unitary_topologies_change
now counts only once the "do nothing" action.obs.simulate
could sometime returns "None" when the simulated action lead to a game over. This is no longera problem.
grid2op.make
will now raise an error if an invalid argument has been passed to it.env.get_kwargs()
orenv.get_params_for_runner()
disconnected powerlines that can be reconnected, see
grid2op.Agent.RecoPowerlineAgent
MultiEnvMultiProcess
as a new multi-process class to run different environments in multiples prallelprocesses.
grid2op.make
function.alternatively with one environment or the other. This is especially useful when considering an agent that should
interact in multiple environments.
simulate
on the current observation.Backend.PandaPowerBackend.apply_action
vectorized backend apply action method for speed.more broadly usable.
MultiEnv
has been updated for new use case: Providing different environments configurations on the samegrid and an arbitrary number of processes for each of these.
disconnected.
ChronicsHandler
that has been refactored, and can now bemore easily cached (no need to do an expensive reading of the data at each call to
env.reset
)