Skip to content

Commit

Permalink
Deploying to gh-pages from @ dd8458d 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed Sep 24, 2024
1 parent 03d9928 commit de80c30
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 44 deletions.
10 changes: 7 additions & 3 deletions _sources/content/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,14 @@ they are using when reporting their results.
## Installing Tax-Brain

You can install the latest official release from PyPI using this command:
`pip taxbrain`.
```
pip install taxbrain
```

Similarly, you can update to the latest release of Tax-Brain using
`pip install -U taxbrain`.
```
pip install -U taxbrain
```

Tax-Brain is no longer maintained on Conda.

Expand Down Expand Up @@ -62,4 +66,4 @@ directory.
* [Release History](https://github.com/PSLmodels/Tax-Brain/blob/master/RELEASES.md)


***Looking for code powering the TaxBrain GUI at [apps.ospc.org/taxbrain](https://apps.ospc.org/taxbrain)? See [github.com/ospc-org/ospc.org](https://github.com/ospc-org/ospc.org).***
***Looking for code powering the TaxBrain GUI at [apps.ospc.org/taxbrain](https://apps.ospc.org/taxbrain)? See [github.com/ospc-org/ospc.org](https://github.com/ospc-org/ospc.org).***
2 changes: 1 addition & 1 deletion content/api/taxbrain.html
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ <h2>taxbrain.taxbrain<a class="headerlink" href="#taxbrain-taxbrain" title="Link

<dl class="py method">
<dt class="sig sig-object py" id="taxbrain.taxbrain.TaxBrain.run">
<span class="sig-name descname"><span class="pre">run</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">varlist</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">list</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">['c09600',</span> <span class="pre">'c04600',</span> <span class="pre">'combined',</span> <span class="pre">'othertaxes',</span> <span class="pre">'aftertax_income',</span> <span class="pre">'c04470',</span> <span class="pre">'expanded_income',</span> <span class="pre">'c62100',</span> <span class="pre">'XTOT',</span> <span class="pre">'ubi',</span> <span class="pre">'c00100',</span> <span class="pre">'c05800',</span> <span class="pre">'c07100',</span> <span class="pre">'standard',</span> <span class="pre">'refund',</span> <span class="pre">'payrolltax',</span> <span class="pre">'iitax',</span> <span class="pre">'benefit_value_total',</span> <span class="pre">'c04800',</span> <span class="pre">'s006',</span> <span class="pre">'benefit_cost_total',</span> <span class="pre">'surtax',</span> <span class="pre">'taxbc']</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">client</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">num_workers</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">1</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/taxbrain/taxbrain.html#TaxBrain.run"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#taxbrain.taxbrain.TaxBrain.run" title="Link to this definition">#</a></dt>
<span class="sig-name descname"><span class="pre">run</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">varlist</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">list</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">['surtax',</span> <span class="pre">'c05800',</span> <span class="pre">'c04600',</span> <span class="pre">'c04800',</span> <span class="pre">'ubi',</span> <span class="pre">'refund',</span> <span class="pre">'aftertax_income',</span> <span class="pre">'c09600',</span> <span class="pre">'expanded_income',</span> <span class="pre">'othertaxes',</span> <span class="pre">'XTOT',</span> <span class="pre">'combined',</span> <span class="pre">'taxbc',</span> <span class="pre">'c04470',</span> <span class="pre">'benefit_value_total',</span> <span class="pre">'benefit_cost_total',</span> <span class="pre">'payrolltax',</span> <span class="pre">'s006',</span> <span class="pre">'iitax',</span> <span class="pre">'c62100',</span> <span class="pre">'c07100',</span> <span class="pre">'standard',</span> <span class="pre">'c00100']</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">client</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">num_workers</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">1</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/taxbrain/taxbrain.html#TaxBrain.run"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#taxbrain.taxbrain.TaxBrain.run" title="Link to this definition">#</a></dt>
<dd><p>Run the calculators. TaxBrain will determine whether to do a static or
partial equilibrium run based on the user’s inputs when initializing
the TaxBrain object.</p>
Expand Down
42 changes: 7 additions & 35 deletions content/examples/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -509,36 +509,6 @@ <h1>Static Reform<a class="headerlink" href="#static-reform" title="Link to this

<span class="n">The</span> <span class="n">above</span> <span class="n">exception</span> <span class="n">was</span> <span class="n">the</span> <span class="n">direct</span> <span class="n">cause</span> <span class="n">of</span> <span class="n">the</span> <span class="n">following</span> <span class="n">exception</span><span class="p">:</span>

<span class="ne">SystemError</span><span class="g g-Whitespace"> </span>Traceback (most recent call last)
<span class="ne">SystemError</span>: &lt;function _numba_unpickle at 0x7f4753d463e0&gt; returned a result with an exception set

<span class="n">The</span> <span class="n">above</span> <span class="n">exception</span> <span class="n">was</span> <span class="n">the</span> <span class="n">direct</span> <span class="n">cause</span> <span class="n">of</span> <span class="n">the</span> <span class="n">following</span> <span class="n">exception</span><span class="p">:</span>

<span class="ne">SystemError</span><span class="g g-Whitespace"> </span>Traceback (most recent call last)
<span class="ne">SystemError</span>: &lt;function _numba_unpickle at 0x7f4753d463e0&gt; returned a result with an exception set

<span class="n">The</span> <span class="n">above</span> <span class="n">exception</span> <span class="n">was</span> <span class="n">the</span> <span class="n">direct</span> <span class="n">cause</span> <span class="n">of</span> <span class="n">the</span> <span class="n">following</span> <span class="n">exception</span><span class="p">:</span>

<span class="ne">SystemError</span><span class="g g-Whitespace"> </span>Traceback (most recent call last)
<span class="ne">SystemError</span>: &lt;function _numba_unpickle at 0x7f4753d463e0&gt; returned a result with an exception set

<span class="n">The</span> <span class="n">above</span> <span class="n">exception</span> <span class="n">was</span> <span class="n">the</span> <span class="n">direct</span> <span class="n">cause</span> <span class="n">of</span> <span class="n">the</span> <span class="n">following</span> <span class="n">exception</span><span class="p">:</span>

<span class="ne">SystemError</span><span class="g g-Whitespace"> </span>Traceback (most recent call last)
<span class="ne">SystemError</span>: &lt;function _numba_unpickle at 0x7f4753d463e0&gt; returned a result with an exception set

<span class="n">The</span> <span class="n">above</span> <span class="n">exception</span> <span class="n">was</span> <span class="n">the</span> <span class="n">direct</span> <span class="n">cause</span> <span class="n">of</span> <span class="n">the</span> <span class="n">following</span> <span class="n">exception</span><span class="p">:</span>

<span class="ne">SystemError</span><span class="g g-Whitespace"> </span>Traceback (most recent call last)
<span class="ne">SystemError</span>: &lt;function _numba_unpickle at 0x7f4753d463e0&gt; returned a result with an exception set

<span class="n">The</span> <span class="n">above</span> <span class="n">exception</span> <span class="n">was</span> <span class="n">the</span> <span class="n">direct</span> <span class="n">cause</span> <span class="n">of</span> <span class="n">the</span> <span class="n">following</span> <span class="n">exception</span><span class="p">:</span>

<span class="ne">SystemError</span><span class="g g-Whitespace"> </span>Traceback (most recent call last)
<span class="ne">SystemError</span>: &lt;function _numba_unpickle at 0x7f4753d463e0&gt; returned a result with an exception set

<span class="n">The</span> <span class="n">above</span> <span class="n">exception</span> <span class="n">was</span> <span class="n">the</span> <span class="n">direct</span> <span class="n">cause</span> <span class="n">of</span> <span class="n">the</span> <span class="n">following</span> <span class="n">exception</span><span class="p">:</span>

<span class="ne">SystemError</span><span class="g g-Whitespace"> </span>Traceback (most recent call last)
<span class="n">Cell</span> <span class="n">In</span><span class="p">[</span><span class="mi">4</span><span class="p">],</span> <span class="n">line</span> <span class="mi">2</span>
<span class="g g-Whitespace"> </span><span class="mi">1</span> <span class="n">tb_static</span> <span class="o">=</span> <span class="n">TaxBrain</span><span class="p">(</span><span class="n">start_year</span><span class="p">,</span> <span class="n">end_year</span><span class="p">,</span> <span class="n">microdata</span><span class="o">=</span><span class="s2">&quot;CPS&quot;</span><span class="p">,</span> <span class="n">reform</span><span class="o">=</span><span class="n">reform_url</span><span class="p">)</span>
Expand Down Expand Up @@ -595,12 +565,14 @@ <h1>Static Reform<a class="headerlink" href="#static-reform" title="Link to this
<span class="g g-Whitespace"> </span><span class="mi">1436</span> <span class="n">F2441</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">__policy</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">__records</span><span class="p">)</span>
<span class="g g-Whitespace"> </span><span class="mi">1437</span> <span class="n">EITC</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">__policy</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">__records</span><span class="p">)</span>

<span class="nn">File /usr/share/miniconda/envs/taxbrain-dev/lib/python3.12/site-packages/taxcalc/calculator.py:1366,</span> in <span class="ni">Calculator._taxinc_to_amt</span><span class="nt">(self)</span>
<span class="nn">File /usr/share/miniconda/envs/taxbrain-dev/lib/python3.12/site-packages/taxcalc/calculator.py:1365,</span> in <span class="ni">Calculator._taxinc_to_amt</span><span class="nt">(self)</span>
<span class="g g-Whitespace"> </span><span class="mi">1361</span><span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
<span class="g g-Whitespace"> </span><span class="mi">1362</span><span class="sd"> Call TaxInc through AMT functions.</span>
<span class="g g-Whitespace"> </span><span class="mi">1363</span><span class="sd"> &quot;&quot;&quot;</span>
<span class="g g-Whitespace"> </span><span class="mi">1364</span> <span class="n">TaxInc</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">__policy</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">__records</span><span class="p">)</span>
<span class="g g-Whitespace"> </span><span class="mi">1365</span> <span class="n">SchXYZTax</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">__policy</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">__records</span><span class="p">)</span>
<span class="ne">-&gt; </span><span class="mi">1366</span> <span class="n">GainsTax</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">__policy</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">__records</span><span class="p">)</span>
<span class="ne">-&gt; </span><span class="mi">1365</span> <span class="n">SchXYZTax</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">__policy</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">__records</span><span class="p">)</span>
<span class="g g-Whitespace"> </span><span class="mi">1366</span> <span class="n">GainsTax</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">__policy</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">__records</span><span class="p">)</span>
<span class="g g-Whitespace"> </span><span class="mi">1367</span> <span class="n">AGIsurtax</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">__policy</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">__records</span><span class="p">)</span>
<span class="g g-Whitespace"> </span><span class="mi">1368</span> <span class="n">NetInvIncTax</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">__policy</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">__records</span><span class="p">)</span>

<span class="nn">File /usr/share/miniconda/envs/taxbrain-dev/lib/python3.12/site-packages/taxcalc/decorators.py:325,</span> in <span class="ni">iterate_jit.&lt;locals&gt;.make_wrapper.&lt;locals&gt;.wrapper</span><span class="nt">(*args, **kwargs)</span>
<span class="g g-Whitespace"> </span><span class="mi">322</span> <span class="nb">eval</span><span class="p">(</span><span class="n">func_code</span><span class="p">,</span> <span class="c1"># pylint: disable=eval-used</span>
Expand All @@ -611,7 +583,7 @@ <h1>Static Reform<a class="headerlink" href="#static-reform" title="Link to this

<span class="nn">File &lt;string&gt;:12,</span> in <span class="ni">hl_func</span><span class="nt">(pm, pf)</span>

<span class="ne">SystemError</span>: CPUDispatcher(&lt;function ap_func at 0x7f47528d6200&gt;) returned a result with an exception set
<span class="ne">SystemError</span>: CPUDispatcher(&lt;function ap_func at 0x7f3ebcc29bc0&gt;) returned a result with an exception set
</pre></div>
</div>
</div>
Expand Down
12 changes: 8 additions & 4 deletions content/intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -451,10 +451,14 @@ <h2>Disclaimer<a class="headerlink" href="#disclaimer" title="Link to this headi
</section>
<section id="installing-tax-brain">
<h2>Installing Tax-Brain<a class="headerlink" href="#installing-tax-brain" title="Link to this heading">#</a></h2>
<p>You can install the latest official release from PyPI using this command:
<code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">taxbrain</span></code>.</p>
<p>Similarly, you can update to the latest release of Tax-Brain using
<code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">-U</span> <span class="pre">taxbrain</span></code>.</p>
<p>You can install the latest official release from PyPI using this command:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">pip</span> <span class="n">install</span> <span class="n">taxbrain</span>
</pre></div>
</div>
<p>Similarly, you can update to the latest release of Tax-Brain using</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">pip</span> <span class="n">install</span> <span class="o">-</span><span class="n">U</span> <span class="n">taxbrain</span>
</pre></div>
</div>
<p>Tax-Brain is no longer maintained on Conda.</p>
</section>
<section id="using-tax-brain">
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit de80c30

Please sign in to comment.