-
Notifications
You must be signed in to change notification settings - Fork 84
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
Update for release - refactors and fixes #65
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
herbiebradley
added a commit
that referenced
this pull request
Jul 10, 2023
* [Draft] Add test script to visualize walkers and pygame environment, fix galloper and wheel walker typos (#43) * Add pygame support to the simulator. * Simulator Visualzation * Fix gravity Co-authored-by: daia99 <[email protected]> Co-authored-by: Marco <[email protected]> * Fix typos in galloper and wheel walkers Co-authored-by: Hannah <[email protected]> Co-authored-by: Marco <[email protected]> * Implement demo test script for loading make_walker methods and visualizing Co-authored-by: Hannah <[email protected]> Co-authored-by: Marco <[email protected]> * moved pygame reqs to toml, clean up * revert length_calc formula to older one (fix calc) * copied box2d.examples into sodaracer directory, fixes import * removed unused dependancy files for box2d * Slightly modified physics, more close to javascript version, fixed seed typos Co-authored-by: Marco <[email protected]> * clear up naming in sandbox script Co-authored-by: Marco <[email protected]> --------- Co-authored-by: HannahBenita <[email protected]> Co-authored-by: Hannah <[email protected]> Co-authored-by: Marco <[email protected]> Co-authored-by: Herbie Bradley <[email protected]> * hotfix for moving galloper demo (#47) * CVT MAP Elites (#48) * Fixed a type mismatch for history_length>1 * adding sklearn dependency for CVT * creating GridMap and CVTMap * updating string env and test * adding --runslow flag to tests * adding GridMap class and test * added fitness plot, more tests and bugfix in string env * updated string matching tests * ascii art for image opt * minor change to image gen test * visualization and prompt tweaking for image gen * finished cvt implementation * minor cleanup * updated configs for cvt, added 3d visualization * fixing up configs * removing sklearn from pyproject.toml * Added documentation to the Sodarace BaseEnvironment (#49) * fixing a bug in finding the min of an empty map, adds min_finite and max_finite (#50) * Update logging code * Fix tests * hotfix fitness stats logging (#52) * hotfix qd_score plotting (#53) * hotfix qd_score method, fix last hotfix error (#54) * Update benchmarks and linting * Fix tests * Prompt evolution (#55) * langchain prompt evolution * small cleanup * Update mutation model * Update requirements.txt (#57) * Snapshot saving loading and determinism (#56) * Adding getter/setter for rng state Co-authored-by: daia99 <[email protected]> * Added warnings for rng getter/setter methods Co-authored-by: daia99 <[email protected]> * update config with saving options Co-authored-by: daia99 <[email protected]> * Added seed to EnvConfig Co-authored-by: daia99 <[email protected]> * snapshots saving/loading determinism support for mapelites Co-authored-by: daia99 <[email protected]> Co-authored-by: Hannah <[email protected]> * re-introducing accidentally deleted classes Co-authored-by: daia99 <[email protected]> Co-authored-by: Hannah <[email protected]> * added test for loading logic Co-authored-by: daia99 <[email protected]> Co-authored-by: Hannah <[email protected]> * revert spacing format in env method --------- Co-authored-by: daia99 <[email protected]> Co-authored-by: Hannah <[email protected]> Co-authored-by: Andrew Dai <[email protected]> * Minor fixes to map-elites * Add langchain and improved prompt env (#58) * Fix tests * Update mutation model * Minor fixes to map-elites * hotfix for blank log directory and moving new rng functions to prompt env (#59) * P3 updates (#51) * Add P3ProbSol and refactor * P3 genotype using model feature extraction * Mutate solutions and probsols; dimensionality reduction * Fitness with pass@k * OpenAI embeddings for cosine similarity * Undo capitalization changes * Undo capitalization changes * hotfix: generalized snapshot load dim, copying top array, save interval optional, (#61) * QDAIF update * mutation patch * Prompt evolution updates (#62) * antonym prompt task * new prompt experiment * documentation * new mutations for prompts * adding instruction induction/cot datasets * add openai to requirements.txt * add plotly to requirements.txt (req for openai but not installed automatically) * Refactor environments * Update readme and add pdf * Remove duplicate logging appends (#64) * Update for release - refactors and fixes (#65) * Refactor dir structure * Update for release * Update readme --------- Co-authored-by: Andrew <[email protected]> Co-authored-by: HannahBenita <[email protected]> Co-authored-by: Hannah <[email protected]> Co-authored-by: Marco <[email protected]> Co-authored-by: ryanz8 <[email protected]> Co-authored-by: snat-s <[email protected]> Co-authored-by: marcobellagente93 <[email protected]> Co-authored-by: daia99 <[email protected]> Co-authored-by: Andrew Dai <[email protected]> Co-authored-by: Daniel Scott <[email protected]>
herbiebradley
added a commit
that referenced
this pull request
Jul 10, 2023
* [Draft] Add test script to visualize walkers and pygame environment, fix galloper and wheel walker typos (#43) * Add pygame support to the simulator. * Simulator Visualzation * Fix gravity Co-authored-by: daia99 <[email protected]> Co-authored-by: Marco <[email protected]> * Fix typos in galloper and wheel walkers Co-authored-by: Hannah <[email protected]> Co-authored-by: Marco <[email protected]> * Implement demo test script for loading make_walker methods and visualizing Co-authored-by: Hannah <[email protected]> Co-authored-by: Marco <[email protected]> * moved pygame reqs to toml, clean up * revert length_calc formula to older one (fix calc) * copied box2d.examples into sodaracer directory, fixes import * removed unused dependancy files for box2d * Slightly modified physics, more close to javascript version, fixed seed typos Co-authored-by: Marco <[email protected]> * clear up naming in sandbox script Co-authored-by: Marco <[email protected]> --------- Co-authored-by: HannahBenita <[email protected]> Co-authored-by: Hannah <[email protected]> Co-authored-by: Marco <[email protected]> Co-authored-by: Herbie Bradley <[email protected]> * hotfix for moving galloper demo (#47) * CVT MAP Elites (#48) * Fixed a type mismatch for history_length>1 * adding sklearn dependency for CVT * creating GridMap and CVTMap * updating string env and test * adding --runslow flag to tests * adding GridMap class and test * added fitness plot, more tests and bugfix in string env * updated string matching tests * ascii art for image opt * minor change to image gen test * visualization and prompt tweaking for image gen * finished cvt implementation * minor cleanup * updated configs for cvt, added 3d visualization * fixing up configs * removing sklearn from pyproject.toml * Added documentation to the Sodarace BaseEnvironment (#49) * fixing a bug in finding the min of an empty map, adds min_finite and max_finite (#50) * Update logging code * Fix tests * hotfix fitness stats logging (#52) * hotfix qd_score plotting (#53) * hotfix qd_score method, fix last hotfix error (#54) * Update benchmarks and linting * Fix tests * Prompt evolution (#55) * langchain prompt evolution * small cleanup * Update mutation model * Update requirements.txt (#57) * Snapshot saving loading and determinism (#56) * Adding getter/setter for rng state Co-authored-by: daia99 <[email protected]> * Added warnings for rng getter/setter methods Co-authored-by: daia99 <[email protected]> * update config with saving options Co-authored-by: daia99 <[email protected]> * Added seed to EnvConfig Co-authored-by: daia99 <[email protected]> * snapshots saving/loading determinism support for mapelites Co-authored-by: daia99 <[email protected]> Co-authored-by: Hannah <[email protected]> * re-introducing accidentally deleted classes Co-authored-by: daia99 <[email protected]> Co-authored-by: Hannah <[email protected]> * added test for loading logic Co-authored-by: daia99 <[email protected]> Co-authored-by: Hannah <[email protected]> * revert spacing format in env method --------- Co-authored-by: daia99 <[email protected]> Co-authored-by: Hannah <[email protected]> Co-authored-by: Andrew Dai <[email protected]> * Minor fixes to map-elites * Add langchain and improved prompt env (#58) * Fix tests * Update mutation model * Minor fixes to map-elites * hotfix for blank log directory and moving new rng functions to prompt env (#59) * P3 updates (#51) * Add P3ProbSol and refactor * P3 genotype using model feature extraction * Mutate solutions and probsols; dimensionality reduction * Fitness with pass@k * OpenAI embeddings for cosine similarity * Undo capitalization changes * Undo capitalization changes * hotfix: generalized snapshot load dim, copying top array, save interval optional, (#61) * QDAIF update * mutation patch * Prompt evolution updates (#62) * antonym prompt task * new prompt experiment * documentation * new mutations for prompts * adding instruction induction/cot datasets * add openai to requirements.txt * add plotly to requirements.txt (req for openai but not installed automatically) * Refactor environments * Update readme and add pdf * Remove duplicate logging appends (#64) * Update for release - refactors and fixes (#65) * Refactor dir structure * Update for release * Update readme * Remove paper * Update github actions --------- Co-authored-by: Andrew <[email protected]> Co-authored-by: HannahBenita <[email protected]> Co-authored-by: Hannah <[email protected]> Co-authored-by: Marco <[email protected]> Co-authored-by: ryanz8 <[email protected]> Co-authored-by: snat-s <[email protected]> Co-authored-by: marcobellagente93 <[email protected]> Co-authored-by: daia99 <[email protected]> Co-authored-by: Andrew Dai <[email protected]> Co-authored-by: Daniel Scott <[email protected]>
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.
Closes #60