Skip to content

Commit

Permalink
Deploying to gh-pages from @ bcab00f 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
yh202109 committed Jul 3, 2024
1 parent d01ef2f commit 7fcf849
Show file tree
Hide file tree
Showing 16 changed files with 195 additions and 194 deletions.
6 changes: 3 additions & 3 deletions _downloads/214d05cd65dcc9387b037da1ce5a5c33/report.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions _downloads/9911a4d807ac9f1a695f0aa2cf687076/coverage.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<coverage version="7.5.4" timestamp="1720030053467" lines-valid="1324" lines-covered="435" line-rate="0.3285" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
<coverage version="7.5.4" timestamp="1720030465436" lines-valid="1324" lines-covered="435" line-rate="0.3285" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
<!-- Generated by coverage.py: https://coverage.readthedocs.io/en/7.5.4 -->
<!-- Based on https://raw.githubusercontent.com/cobertura/web/master/htdocs/xml/coverage-04.dtd -->
<sources>
Expand Down Expand Up @@ -751,7 +751,7 @@
<line number="268" hits="0"/>
<line number="269" hits="0"/>
<line number="270" hits="0"/>
<line number="271" hits="0"/>
<line number="272" hits="0"/>
<line number="273" hits="0"/>
<line number="274" hits="0"/>
<line number="275" hits="0"/>
Expand Down
Binary file not shown.
Binary file not shown.
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.
2 changes: 1 addition & 1 deletion _modules/mtbp3/statlab/kappa.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,6 @@ <h1>Source code for mtbp3.statlab.kappa</h1><div class="highlight"><pre>
<span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">n_rater</span> <span class="o">==</span> <span class="mi">2</span> <span class="ow">and</span> <span class="bp">self</span><span class="o">.</span><span class="n">y_count_sq</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span> <span class="ow">and</span> <span class="bp">self</span><span class="o">.</span><span class="n">y_count_sq</span><span class="o">.</span><span class="n">shape</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span> <span class="o">==</span> <span class="bp">self</span><span class="o">.</span><span class="n">y_count_sq</span><span class="o">.</span><span class="n">shape</span><span class="p">[</span><span class="mi">1</span><span class="p">]</span> <span class="ow">and</span> <span class="bp">self</span><span class="o">.</span><span class="n">y_count_sq</span><span class="o">.</span><span class="n">shape</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span> <span class="o">&gt;</span> <span class="mi">0</span><span class="p">:</span>
<span class="n">categories</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">y_count_sq</span><span class="o">.</span><span class="n">columns</span>
<span class="n">n_categories</span> <span class="o">=</span> <span class="nb">len</span><span class="p">(</span><span class="n">categories</span><span class="p">)</span>
<span class="n">max_size_ratio</span> <span class="o">=</span> <span class="n">max_size_ratio</span> <span class="k">if</span> <span class="n">max_size_ratio</span> <span class="o">&gt;=</span> <span class="mi">1</span> <span class="k">else</span> <span class="nb">max</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span><span class="nb">int</span><span class="p">(</span><span class="mi">150</span> <span class="o">/</span> <span class="n">n_categories</span><span class="p">))</span>

<span class="n">r1</span> <span class="o">=</span> <span class="p">[]</span>
<span class="n">r2</span> <span class="o">=</span> <span class="p">[]</span>
Expand All @@ -378,6 +377,7 @@ <h1>Source code for mtbp3.statlab.kappa</h1><div class="highlight"><pre>
<span class="n">r2</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">c2</span><span class="p">)</span>
<span class="n">sizes</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">y_count_sq</span><span class="o">.</span><span class="n">iloc</span><span class="p">[</span><span class="n">i1</span><span class="p">,</span> <span class="n">i2</span><span class="p">])</span>
<span class="n">df0</span> <span class="o">=</span> <span class="n">pd</span><span class="o">.</span><span class="n">DataFrame</span><span class="p">({</span><span class="s1">&#39;r1&#39;</span><span class="p">:</span> <span class="n">r1</span><span class="p">,</span> <span class="s1">&#39;r2&#39;</span><span class="p">:</span> <span class="n">r2</span><span class="p">,</span> <span class="s1">&#39;sizes&#39;</span><span class="p">:</span> <span class="n">sizes</span><span class="p">})</span>
<span class="n">max_size_ratio</span> <span class="o">=</span> <span class="n">max_size_ratio</span> <span class="k">if</span> <span class="n">max_size_ratio</span> <span class="o">&gt;=</span> <span class="mi">1</span> <span class="k">else</span> <span class="nb">max</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span><span class="nb">int</span><span class="p">((</span><span class="mi">6000</span><span class="o">/</span><span class="nb">max</span><span class="p">(</span><span class="n">sizes</span><span class="p">))</span> <span class="o">/</span> <span class="n">n_categories</span><span class="p">))</span>
<span class="k">if</span> <span class="n">hist</span><span class="p">:</span>
<span class="n">sns</span><span class="o">.</span><span class="n">jointplot</span><span class="p">(</span>
<span class="n">data</span><span class="o">=</span><span class="n">df0</span><span class="p">,</span> <span class="n">x</span><span class="o">=</span><span class="s2">&quot;r1&quot;</span><span class="p">,</span> <span class="n">y</span><span class="o">=</span><span class="s2">&quot;r2&quot;</span><span class="p">,</span> <span class="n">kind</span><span class="o">=</span><span class="s2">&quot;scatter&quot;</span><span class="p">,</span>
Expand Down
4 changes: 2 additions & 2 deletions _static/reports/coverage/coverage.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<coverage version="7.5.4" timestamp="1720030053467" lines-valid="1324" lines-covered="435" line-rate="0.3285" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
<coverage version="7.5.4" timestamp="1720030465436" lines-valid="1324" lines-covered="435" line-rate="0.3285" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
<!-- Generated by coverage.py: https://coverage.readthedocs.io/en/7.5.4 -->
<!-- Based on https://raw.githubusercontent.com/cobertura/web/master/htdocs/xml/coverage-04.dtd -->
<sources>
Expand Down Expand Up @@ -751,7 +751,7 @@
<line number="268" hits="0"/>
<line number="269" hits="0"/>
<line number="270" hits="0"/>
<line number="271" hits="0"/>
<line number="272" hits="0"/>
<line number="273" hits="0"/>
<line number="274" hits="0"/>
<line number="275" hits="0"/>
Expand Down
2 changes: 1 addition & 1 deletion _static/reports/junit/junit.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><testsuites><testsuite name="pytest" errors="0" failures="0" skipped="0" tests="27" time="6.720" timestamp="2024-07-03T18:07:21.925150" hostname="fv-az1532-451"><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_1df_invalid_input" time="0.002" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_1df_missing_column" time="0.001" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_1df_with_difference" time="0.005" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_1df_without_difference" time="0.002" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_2df_with_existing_column" time="0.010" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_2df_with_non_existing_column" time="0.001" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_2df_with_non_existing_group" time="0.001" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_2df_with_same_group_and_column" time="0.001" /><testcase classname="tests.test_emt.TestEmt" name="test_expected_file_lists" time="0.004" /><testcase classname="tests.test_emt.TestEmt" name="test_find_files" time="0.005" /><testcase classname="tests.test_emt.TestEmt" name="test_find_hlgt" time="0.004" /><testcase classname="tests.test_emt.TestEmt" name="test_find_hlt" time="0.004" /><testcase classname="tests.test_emt.TestEmt" name="test_find_llt" time="0.008" /><testcase classname="tests.test_emt.TestEmt" name="test_find_pt" time="0.004" /><testcase classname="tests.test_emt.TestEmt" name="test_find_pt_given_soc" time="0.006" /><testcase classname="tests.test_emt.TestEmt" name="test_find_pt_given_soc_primary_only" time="0.006" /><testcase classname="tests.test_emt.TestEmt" name="test_find_soc" time="0.004" /><testcase classname="tests.test_emt.TestEmt" name="test_list_files" time="0.026" /><testcase classname="tests.test_kappa.TestKappaCalculator" name="test_bootstrap_cohen_ci" time="0.233" /><testcase classname="tests.test_kappa.TestKappaCalculator" name="test_cohen" time="0.069" /><testcase classname="tests.test_kappa.TestKappaCalculator" name="test_fleiss_kappa" time="0.068" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_dataframe" time="0.001" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_json" time="0.001" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_list" time="0.001" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_string" time="0.000" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_tree" time="0.014" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_tree2" time="0.008" /></testsuite></testsuites>
<?xml version="1.0" encoding="utf-8"?><testsuites><testsuite name="pytest" errors="0" failures="0" skipped="0" tests="27" time="8.566" timestamp="2024-07-03T18:14:12.115530" hostname="fv-az1240-302"><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_1df_invalid_input" time="0.002" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_1df_missing_column" time="0.001" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_1df_with_difference" time="0.005" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_1df_without_difference" time="0.002" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_2df_with_existing_column" time="0.010" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_2df_with_non_existing_column" time="0.001" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_2df_with_non_existing_group" time="0.001" /><testcase classname="tests.test_cdt.TestCdt" name="test_diff_2cols_in_2df_with_same_group_and_column" time="0.001" /><testcase classname="tests.test_emt.TestEmt" name="test_expected_file_lists" time="0.004" /><testcase classname="tests.test_emt.TestEmt" name="test_find_files" time="0.005" /><testcase classname="tests.test_emt.TestEmt" name="test_find_hlgt" time="0.004" /><testcase classname="tests.test_emt.TestEmt" name="test_find_hlt" time="0.004" /><testcase classname="tests.test_emt.TestEmt" name="test_find_llt" time="0.008" /><testcase classname="tests.test_emt.TestEmt" name="test_find_pt" time="0.004" /><testcase classname="tests.test_emt.TestEmt" name="test_find_pt_given_soc" time="0.006" /><testcase classname="tests.test_emt.TestEmt" name="test_find_pt_given_soc_primary_only" time="0.006" /><testcase classname="tests.test_emt.TestEmt" name="test_find_soc" time="0.004" /><testcase classname="tests.test_emt.TestEmt" name="test_list_files" time="0.026" /><testcase classname="tests.test_kappa.TestKappaCalculator" name="test_bootstrap_cohen_ci" time="0.229" /><testcase classname="tests.test_kappa.TestKappaCalculator" name="test_cohen" time="0.071" /><testcase classname="tests.test_kappa.TestKappaCalculator" name="test_fleiss_kappa" time="0.070" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_dataframe" time="0.001" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_json" time="0.001" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_list" time="0.001" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_string" time="0.000" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_tree" time="0.013" /><testcase classname="tests.test_lsr.TestLsrTree" name="test_list_files_tree2" time="0.008" /></testsuite></testsuites>
6 changes: 3 additions & 3 deletions _static/reports/junit/report.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions example_cdtg.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,15 @@ <h1>U/Graph/Categorical Plots Using catPlotter<a class="headerlink" href="#u-gra
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/home/runner/.cache/pypoetry/virtualenvs/mtbp3-STzYEG9e-py3.10/lib/python3.10/site-packages/seaborn/categorical.py:3399: UserWarning: 11.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot.
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/home/runner/.cache/pypoetry/virtualenvs/mtbp3-STzYEG9e-py3.10/lib/python3.10/site-packages/seaborn/categorical.py:3399: UserWarning: 33.3% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot.
warnings.warn(msg, UserWarning)
/home/runner/.cache/pypoetry/virtualenvs/mtbp3-STzYEG9e-py3.10/lib/python3.10/site-packages/seaborn/categorical.py:3399: UserWarning: 25.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot.
/home/runner/.cache/pypoetry/virtualenvs/mtbp3-STzYEG9e-py3.10/lib/python3.10/site-packages/seaborn/categorical.py:3399: UserWarning: 45.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot.
warnings.warn(msg, UserWarning)
/home/runner/.cache/pypoetry/virtualenvs/mtbp3-STzYEG9e-py3.10/lib/python3.10/site-packages/seaborn/categorical.py:3399: UserWarning: 20.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot.
/home/runner/.cache/pypoetry/virtualenvs/mtbp3-STzYEG9e-py3.10/lib/python3.10/site-packages/seaborn/categorical.py:3399: UserWarning: 35.0% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot.
warnings.warn(msg, UserWarning)
</pre></div>
</div>
<img alt="_images/5feef2e3fc6b677fabc5a9beeb3af441ca30645ef1d3e972e2d356866062aff5.png" src="_images/5feef2e3fc6b677fabc5a9beeb3af441ca30645ef1d3e972e2d356866062aff5.png" />
<img alt="_images/c5c58431f62d04ee0efb152b9c7655a8e70ddead2a6bd7d8dd283e1089e2ad69.png" src="_images/c5c58431f62d04ee0efb152b9c7655a8e70ddead2a6bd7d8dd283e1089e2ad69.png" />
</div>
</div>
<p>To create a line plot:</p>
Expand All @@ -135,7 +135,7 @@ <h1>U/Graph/Categorical Plots Using catPlotter<a class="headerlink" href="#u-gra
</div>
</div>
<div class="cell_output docutils container">
<img alt="_images/59cdc54381b086ce69ef438ca62047e0aaa214ec39d12118eb364b92e1d2a589.png" src="_images/59cdc54381b086ce69ef438ca62047e0aaa214ec39d12118eb364b92e1d2a589.png" />
<img alt="_images/60afa482d7519de79fa51c5cfb4b8c3729187fa81d46be51d4a238411ce2126e.png" src="_images/60afa482d7519de79fa51c5cfb4b8c3729187fa81d46be51d4a238411ce2126e.png" />
</div>
</div>
</section>
Expand Down
Loading

0 comments on commit 7fcf849

Please sign in to comment.