-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Github Actions
committed
May 30, 2024
1 parent
693421f
commit 804d2e1
Showing
114 changed files
with
6,416 additions
and
1,624 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 99b659ae3bf529f62bf95c20ad359bcc | ||
config: 7ee029ac9682043d576c1be1574a59e0 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
|
||
<title><no title> — arlbench Documentation 0.1.0 documentation</title> | ||
<title>Contributing — ARLBench Documentation 0.1.0 documentation</title> | ||
|
||
<link href="_static/css/theme.css" rel="stylesheet"> | ||
<link href="_static/css/index.ac9c05f7c49ca1e1f876c6e36360ea26.css" rel="stylesheet"> | ||
|
@@ -51,7 +51,7 @@ | |
|
||
|
||
<a class="navbar-brand" href="index.html"> | ||
<!-- <p class="title">arlbench Documentation</p> --> | ||
<!-- <p class="title">ARLBench Documentation</p> --> | ||
</a> | ||
|
||
|
||
|
@@ -118,38 +118,80 @@ | |
|
||
|
||
<!-- Only show if we have sidebars configured, else just a small margin --> | ||
<div class="col-12 col-md-3 bd-sidebar"><h4 class="mt-0 mb-0"><a href="index.html">arlbench Documentation</a></h4> | ||
<div class="col-12 col-md-3 bd-sidebar"><h4 class="mt-0 mb-0"><a href="index.html">ARLBench Documentation</a></h4> | ||
<div class="mb-3">v0.1.0</div><nav class="bd-links" id="bd-docs-nav" aria-label="Main navigation"> | ||
<div class="bd-toc-item active"> | ||
<ul class="nav bd-sidenav"> | ||
<ul class="current nav bd-sidenav"> | ||
<li class="toctree-l1"> | ||
<a class="reference internal" href="installation.html"> | ||
Installation | ||
</a> | ||
</li> | ||
<li class="toctree-l1"> | ||
<li class="toctree-l1 has-children"> | ||
<a class="reference internal" href="basic_usage/index.html"> | ||
Benchmarking AutoRL Methods | ||
</a> | ||
<input class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" type="checkbox"/> | ||
<label for="toctree-checkbox-1"> | ||
<i class="fas fa-chevron-down"> | ||
</i> | ||
</label> | ||
<ul> | ||
<li class="toctree-l2"> | ||
<a class="reference internal" href="basic_usage/objectives.html"> | ||
Objectives in ARLBench | ||
</a> | ||
</li> | ||
<li class="toctree-l2"> | ||
<a class="reference internal" href="basic_usage/env_subsets.html"> | ||
The ARLBench Subsets | ||
</a> | ||
</li> | ||
<li class="toctree-l2"> | ||
<a class="reference internal" href="basic_usage/seeding.html"> | ||
Considerations for Seeding | ||
</a> | ||
</li> | ||
<li class="toctree-l2"> | ||
<a class="reference internal" href="basic_usage/options.html"> | ||
Options for ARLBench | ||
</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="toctree-l1 has-children"> | ||
<a class="reference internal" href="advanced_usage/index.html"> | ||
Advanced Configuration Options | ||
</a> | ||
<input class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" type="checkbox"/> | ||
<label for="toctree-checkbox-1"> | ||
<input class="toctree-checkbox" id="toctree-checkbox-2" name="toctree-checkbox-2" type="checkbox"/> | ||
<label for="toctree-checkbox-2"> | ||
<i class="fas fa-chevron-down"> | ||
</i> | ||
</label> | ||
<ul class="simple"> | ||
<ul> | ||
<li class="toctree-l2"> | ||
<a class="reference internal" href="advanced_usage/dynamic_configuration.html"> | ||
Dynamic Configuration in ARLBench | ||
</a> | ||
</li> | ||
<li class="toctree-l2"> | ||
<a class="reference internal" href="advanced_usage/algorithm_states.html"> | ||
Using the ARLBench States | ||
</a> | ||
</li> | ||
<li class="toctree-l2"> | ||
<a class="reference internal" href="advanced_usage/autorl_paradigms.html"> | ||
ARLBench and Different AutoRL Paradigms | ||
</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="toctree-l1 has-children"> | ||
<a class="reference internal" href="api.html"> | ||
API References | ||
</a> | ||
<input class="toctree-checkbox" id="toctree-checkbox-2" name="toctree-checkbox-2" type="checkbox"/> | ||
<label for="toctree-checkbox-2"> | ||
<input class="toctree-checkbox" id="toctree-checkbox-3" name="toctree-checkbox-3" type="checkbox"/> | ||
<label for="toctree-checkbox-3"> | ||
<i class="fas fa-chevron-down"> | ||
</i> | ||
</label> | ||
|
@@ -158,8 +200,8 @@ | |
<a class="reference internal" href="api/arlbench.html"> | ||
arlbench | ||
</a> | ||
<input class="toctree-checkbox" id="toctree-checkbox-3" name="toctree-checkbox-3" type="checkbox"/> | ||
<label for="toctree-checkbox-3"> | ||
<input class="toctree-checkbox" id="toctree-checkbox-4" name="toctree-checkbox-4" type="checkbox"/> | ||
<label for="toctree-checkbox-4"> | ||
<i class="fas fa-chevron-down"> | ||
</i> | ||
</label> | ||
|
@@ -173,8 +215,8 @@ | |
<a class="reference internal" href="api/arlbench.autorl.html"> | ||
arlbench.autorl | ||
</a> | ||
<input class="toctree-checkbox" id="toctree-checkbox-4" name="toctree-checkbox-4" type="checkbox"/> | ||
<label for="toctree-checkbox-4"> | ||
<input class="toctree-checkbox" id="toctree-checkbox-5" name="toctree-checkbox-5" type="checkbox"/> | ||
<label for="toctree-checkbox-5"> | ||
<i class="fas fa-chevron-down"> | ||
</i> | ||
</label> | ||
|
@@ -205,8 +247,8 @@ | |
<a class="reference internal" href="api/arlbench.core.html"> | ||
arlbench.core | ||
</a> | ||
<input class="toctree-checkbox" id="toctree-checkbox-5" name="toctree-checkbox-5" type="checkbox"/> | ||
<label for="toctree-checkbox-5"> | ||
<input class="toctree-checkbox" id="toctree-checkbox-6" name="toctree-checkbox-6" type="checkbox"/> | ||
<label for="toctree-checkbox-6"> | ||
<i class="fas fa-chevron-down"> | ||
</i> | ||
</label> | ||
|
@@ -237,8 +279,8 @@ | |
<a class="reference internal" href="api/arlbench.utils.html"> | ||
arlbench.utils | ||
</a> | ||
<input class="toctree-checkbox" id="toctree-checkbox-6" name="toctree-checkbox-6" type="checkbox"/> | ||
<label for="toctree-checkbox-6"> | ||
<input class="toctree-checkbox" id="toctree-checkbox-7" name="toctree-checkbox-7" type="checkbox"/> | ||
<label for="toctree-checkbox-7"> | ||
<i class="fas fa-chevron-down"> | ||
</i> | ||
</label> | ||
|
@@ -264,6 +306,11 @@ | |
Frequently Asked Questions | ||
</a> | ||
</li> | ||
<li class="toctree-l1 current active"> | ||
<a class="current reference internal" href="#"> | ||
Contributing | ||
</a> | ||
</li> | ||
</ul> | ||
|
||
</div> | ||
|
@@ -283,7 +330,59 @@ | |
</div> | ||
|
||
<nav id="bd-toc-nav"> | ||
<ul class="simple visible nav section-nav flex-column"> | ||
<ul class="visible nav section-nav flex-column"> | ||
<li class="toc-h2 nav-item toc-entry"> | ||
<a class="reference internal nav-link" href="#types-of-contributions"> | ||
Types of Contributions | ||
</a> | ||
<ul class="nav section-nav flex-column"> | ||
<li class="toc-h3 nav-item toc-entry"> | ||
<a class="reference internal nav-link" href="#report-bugs"> | ||
Report Bugs | ||
</a> | ||
</li> | ||
<li class="toc-h3 nav-item toc-entry"> | ||
<a class="reference internal nav-link" href="#fix-bugs"> | ||
Fix Bugs | ||
</a> | ||
</li> | ||
<li class="toc-h3 nav-item toc-entry"> | ||
<a class="reference internal nav-link" href="#implement-features"> | ||
Implement Features | ||
</a> | ||
</li> | ||
<li class="toc-h3 nav-item toc-entry"> | ||
<a class="reference internal nav-link" href="#write-documentation"> | ||
Write Documentation | ||
</a> | ||
</li> | ||
<li class="toc-h3 nav-item toc-entry"> | ||
<a class="reference internal nav-link" href="#submit-feedback"> | ||
Submit Feedback | ||
</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="toc-h2 nav-item toc-entry"> | ||
<a class="reference internal nav-link" href="#get-started"> | ||
Get Started! | ||
</a> | ||
</li> | ||
<li class="toc-h2 nav-item toc-entry"> | ||
<a class="reference internal nav-link" href="#pull-request-guidelines"> | ||
Pull Request Guidelines | ||
</a> | ||
</li> | ||
<li class="toc-h2 nav-item toc-entry"> | ||
<a class="reference internal nav-link" href="#tips"> | ||
Tips | ||
</a> | ||
</li> | ||
<li class="toc-h2 nav-item toc-entry"> | ||
<a class="reference internal nav-link" href="#deploying"> | ||
Deploying | ||
</a> | ||
</li> | ||
</ul> | ||
|
||
</nav> | ||
|
@@ -305,7 +404,131 @@ | |
|
||
<div> | ||
|
||
|
||
<section id="contributing"> | ||
<h1>Contributing<a class="headerlink" href="#contributing" title="Link to this heading">¶</a></h1> | ||
<p>Contributions are welcome, and they are greatly appreciated! Every little bit | ||
helps, and credit will always be given.</p> | ||
<p>You can contribute in many ways:</p> | ||
<section id="types-of-contributions"> | ||
<h2>Types of Contributions<a class="headerlink" href="#types-of-contributions" title="Link to this heading">¶</a></h2> | ||
<section id="report-bugs"> | ||
<h3>Report Bugs<a class="headerlink" href="#report-bugs" title="Link to this heading">¶</a></h3> | ||
<p>Report bugs at https://github.com/automl/arlbench/issues.</p> | ||
<p>If you are reporting a bug, please include:</p> | ||
<ul class="simple"> | ||
<li><p>Your operating system name and version.</p></li> | ||
<li><p>Any details about your local setup that might be helpful in troubleshooting.</p></li> | ||
<li><p>Detailed steps to reproduce the bug.</p></li> | ||
</ul> | ||
</section> | ||
<section id="fix-bugs"> | ||
<h3>Fix Bugs<a class="headerlink" href="#fix-bugs" title="Link to this heading">¶</a></h3> | ||
<p>Look through the GitHub issues for bugs. Anything tagged with “bug” and “help | ||
wanted” is open to whoever wants to implement it.</p> | ||
</section> | ||
<section id="implement-features"> | ||
<h3>Implement Features<a class="headerlink" href="#implement-features" title="Link to this heading">¶</a></h3> | ||
<p>Look through the GitHub issues for features. Anything tagged with “enhancement” | ||
and “help wanted” is open to whoever wants to implement it.</p> | ||
</section> | ||
<section id="write-documentation"> | ||
<h3>Write Documentation<a class="headerlink" href="#write-documentation" title="Link to this heading">¶</a></h3> | ||
<p>ARLBench could always use more documentation, whether as part of the | ||
official ARLBench docs, in docstrings, or even on the web in blog posts, | ||
articles, and such.</p> | ||
</section> | ||
<section id="submit-feedback"> | ||
<h3>Submit Feedback<a class="headerlink" href="#submit-feedback" title="Link to this heading">¶</a></h3> | ||
<p>The best way to send feedback is to file an issue at https://github.com/automl/arlbench/issues.</p> | ||
<p>If you are proposing a feature:</p> | ||
<ul class="simple"> | ||
<li><p>Explain in detail how it would work.</p></li> | ||
<li><p>Keep the scope as narrow as possible, to make it easier to implement.</p></li> | ||
<li><p>Remember that this is a volunteer-driven project, and that contributions are welcome :)</p></li> | ||
</ul> | ||
</section> | ||
</section> | ||
<section id="get-started"> | ||
<h2>Get Started!<a class="headerlink" href="#get-started" title="Link to this heading">¶</a></h2> | ||
<p>Ready to contribute? Here’s how to set up <code class="docutils literal notranslate"><span class="pre">arlbench</span></code> for local development.</p> | ||
<ol class="arabic simple"> | ||
<li><p>Fork the <code class="docutils literal notranslate"><span class="pre">arlbench</span></code> repo on GitHub.</p></li> | ||
<li><p>Clone your fork locally:</p></li> | ||
</ol> | ||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span> $ git clone [email protected]:your_name_here/arlbench.git | ||
</pre></div> | ||
</div> | ||
<ol class="arabic simple" start="3"> | ||
<li><p>Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development:</p></li> | ||
</ol> | ||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span> $ mkvirtualenv arlbench | ||
$ cd arlbench/ | ||
$ python setup.py develop | ||
</pre></div> | ||
</div> | ||
<ol class="arabic simple" start="4"> | ||
<li><p>Create a branch for local development:</p></li> | ||
</ol> | ||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span> $ git checkout -b name-of-your-bugfix-or-feature | ||
</pre></div> | ||
</div> | ||
<p>Now you can make your changes locally.</p> | ||
<ol class="arabic simple" start="5"> | ||
<li><p>When you’re done making changes, check that your changes pass ruff, including testing other Python versions with tox:</p></li> | ||
</ol> | ||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span> $ ruff format arlbench tests | ||
$ python setup.py test or pytest | ||
$ tox | ||
</pre></div> | ||
</div> | ||
<p>To get flake8 and tox, just pip install them into your virtualenv.</p> | ||
<ol class="arabic simple" start="6"> | ||
<li><p>Commit your changes and push your branch to GitHub:</p></li> | ||
</ol> | ||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span> $ git add . | ||
$ git commit -m "Your detailed description of your changes." | ||
$ git push origin name-of-your-bugfix-or-feature | ||
</pre></div> | ||
</div> | ||
<ol class="arabic simple" start="7"> | ||
<li><p>Submit a pull request through the GitHub website.</p></li> | ||
</ol> | ||
</section> | ||
<section id="pull-request-guidelines"> | ||
<h2>Pull Request Guidelines<a class="headerlink" href="#pull-request-guidelines" title="Link to this heading">¶</a></h2> | ||
<p>Before you submit a pull request, check that it meets these guidelines:</p> | ||
<ol class="arabic simple"> | ||
<li><p>The pull request should include tests.</p></li> | ||
<li><p>If the pull request adds functionality, the docs should be updated. Put | ||
your new functionality into a function with a docstring, and add the | ||
feature to the list in README.rst.</p></li> | ||
<li><p>The pull request should work for Python 3.5, 3.6, 3.7 and 3.8, and for PyPy. Check | ||
https://travis-ci.com/automl/arlbench/pull_requests | ||
and make sure that the tests pass for all supported Python versions.</p></li> | ||
</ol> | ||
</section> | ||
<section id="tips"> | ||
<h2>Tips<a class="headerlink" href="#tips" title="Link to this heading">¶</a></h2> | ||
<p>To run a subset of tests:</p> | ||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ pytest tests.test_arlbench | ||
|
||
</pre></div> | ||
</div> | ||
</section> | ||
<section id="deploying"> | ||
<h2>Deploying<a class="headerlink" href="#deploying" title="Link to this heading">¶</a></h2> | ||
<p>A reminder for the maintainers on how to deploy. | ||
Make sure all your changes are committed (including an entry in HISTORY.rst). | ||
Then run:</p> | ||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ bump2version patch # possible: major / minor / patch | ||
$ git push | ||
$ git push --tags | ||
</pre></div> | ||
</div> | ||
<p>Travis will then deploy to PyPI if tests pass.</p> | ||
</section> | ||
</section> | ||
|
||
|
||
</div> | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.