这是indexloc提供的服务,不要输入任何密码
Skip to content

Lower level access to hl world #1187

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

Merged
merged 8 commits into from
Aug 6, 2024

Conversation

MischaPanch
Copy link
Collaborator

@MischaPanch MischaPanch commented Aug 5, 2024

Gives the user the possibility to extract the World from a configured Experiment. This required moving the initial rollout (according to start_timesteps) from the AgentFactory to Experiment.run. But since it was only ever used there, this change is essentially backwards compatible

I also enhanced documentation. __init__ docstrings were previously not rendered and there were some formatting errors in them, hence the changes there.

@MischaPanch MischaPanch requested a review from opcode81 August 5, 2024 06:58
@codecov-commenter
Copy link

codecov-commenter commented Aug 5, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 61.53846% with 25 lines in your changes missing coverage. Please review.

Project coverage is 85.51%. Comparing base (a006e7c) to head (4acdac7).

Files Patch % Lines
tianshou/highlevel/persistence.py 19.04% 17 Missing ⚠️
tianshou/highlevel/experiment.py 80.95% 8 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1187      +/-   ##
==========================================
- Coverage   85.66%   85.51%   -0.15%     
==========================================
  Files         104      104              
  Lines        8834     8874      +40     
==========================================
+ Hits         7568     7589      +21     
- Misses       1266     1285      +19     
Flag Coverage Δ
unittests 85.51% <61.53%> (-0.15%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MischaPanch MischaPanch force-pushed the feature/lower-level-access-to-hl-world branch from 98cbce8 to 6b4df50 Compare August 5, 2024 07:43
@MischaPanch MischaPanch force-pushed the feature/lower-level-access-to-hl-world branch from 3bc607e to 4acdac7 Compare August 6, 2024 10:59
@MischaPanch
Copy link
Collaborator Author

Was reviewed in pair programming and in conversation above, merging

@MischaPanch MischaPanch merged commit 3c523c8 into master Aug 6, 2024
4 checks passed
@MischaPanch MischaPanch deleted the feature/lower-level-access-to-hl-world branch August 6, 2024 11:54
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.

3 participants