Skip to content

docs: add therory doc#261

Draft
Snoopy1866 wants to merge 3 commits into
mainfrom
theory
Draft

docs: add therory doc#261
Snoopy1866 wants to merge 3 commits into
mainfrom
theory

Conversation

@Snoopy1866

Copy link
Copy Markdown
Owner

No description provided.

@Snoopy1866 Snoopy1866 marked this pull request as draft April 2, 2026 08:02
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Apr 2, 2026
@codecov

codecov Bot commented Apr 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (7b1aedb) to head (6e7c1ce).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #261   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           13        13           
  Lines          366       366           
=========================================
  Hits           366       366           
Flag Coverage Δ
test-core-macos-latest-py3.10 100.00% <ø> (ø)
test-core-macos-latest-py3.11 100.00% <ø> (ø)
test-core-macos-latest-py3.12 100.00% <ø> (ø)
test-core-macos-latest-py3.13 100.00% <ø> (ø)
test-core-macos-latest-py3.14 100.00% <ø> (ø)
test-core-ubuntu-latest-py3.10 100.00% <ø> (ø)
test-core-ubuntu-latest-py3.11 100.00% <ø> (ø)
test-core-ubuntu-latest-py3.12 100.00% <ø> (ø)
test-core-ubuntu-latest-py3.13 100.00% <ø> (ø)
test-core-ubuntu-latest-py3.14 100.00% <ø> (ø)
test-core-windows-latest-py3.10 100.00% <ø> (ø)
test-core-windows-latest-py3.11 100.00% <ø> (ø)
test-core-windows-latest-py3.12 100.00% <ø> (ø)
test-core-windows-latest-py3.13 100.00% <ø> (ø)
test-core-windows-latest-py3.14 100.00% <ø> (ø)
test-minimum-scipy-ubuntu-latest-py3.10-scipy1.7.2 100.00% <ø> (ø)
test-minimum-scipy-ubuntu-latest-py3.11-scipy1.10.1 100.00% <ø> (ø)
test-minimum-scipy-ubuntu-latest-py3.12-scipy1.11.3 100.00% <ø> (ø)
test-minimum-scipy-ubuntu-latest-py3.13-scipy1.15.0 100.00% <ø> (ø)
test-minimum-scipy-ubuntu-latest-py3.14-scipy1.16.1 100.00% <ø> (ø)

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

@read-the-docs-community

read-the-docs-community Bot commented Apr 2, 2026

Copy link
Copy Markdown

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

The PR introduces a statistical theory document and updates the site configuration. While the content addition is clear, there are two primary concerns: the PR title contains a typo ('therory'), and the configuration introduces a reference to api.md, which is not present in the repository, likely resulting in a broken navigation link. Additionally, a notation error was identified in the LaTeX math symbols within the new document. Please address the missing file reference and the notation correction.

About this PR

  • The PR title contains a typo ('therory' should be 'theory') and the description field is empty. Providing a brief summary helps reviewers and future maintainers.

Test suggestions

  • Verify that 'Theory Reference' in zensical.toml correctly maps to the newly created theory.md file.
  • Verify that 'API Reference' in zensical.toml maps to a valid api.md file.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify that 'API Reference' in zensical.toml maps to a valid api.md file.

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

Comment thread zensical.toml
{ "相关系数" = "models/correlation/inequality.md" }
] },
{ "API Reference" = "api.md" }
{ "API Reference" = "api.md" },

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 MEDIUM RISK

The documentation configuration now references 'api.md', but this file was not added in this pull request. If it does not exist in the repository, the documentation build or navigation will fail.

Comment thread docs/theory.md
@@ -0,0 +1,25 @@
## 大数定律

当样本量 $n \Rightarrow \infty$ 时,样本比例 $\hat{p}$ 依概率收敛于总体比例 $p$,即

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚪ LOW RISK

Nitpick: The notation for a limit (n approaching infinity) should use a single arrow \to rather than the logical implication symbol \Rightarrow.\n\nsuggestion\n当样本量 $n \to \infty$ 时,样本比例 $\hat{p}$ 依概率收敛于总体比例 $p$,即\n

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant