Skip to content

docs: sync documentation with current codebase (v1.0.x)#36

Merged
AlanFokCo merged 2 commits into
mainfrom
copilot/update-documentation
May 28, 2026
Merged

docs: sync documentation with current codebase (v1.0.x)#36
AlanFokCo merged 2 commits into
mainfrom
copilot/update-documentation

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 28, 2026

Documentation had drifted from the codebase across several dimensions: outdated version references, deprecated API names still used as primary, undocumented public APIs, and incorrect counts.

Fixes

  • SECURITY.md (root + docs): Supported version 0.1.x1.0.x
  • README.md / README_zh.md: Utility count 30+40+ (actual: 45); added missing Studio CI badge to Chinese README; added walk-forward analysis and scientific validation to feature lists
  • Deprecated fama_french_analysissimple_factor_analysis: Updated across api_reference.md, user_guide.md, tutorials/03_backtesting.md, tutorials/04_strategy_optimization.md, examples/09_attribution_analysis.py, and examples/Examples.md. Added deprecation warnings and model limitation notes (not a true Fama-French 3-factor model).

New documentation for previously undocumented APIs

  • api_reference.md: Added Walk-Forward Analysis API (walk_forward, WFAResult) and Scientific Validation API (validate_backtest, ValidationConfig, submodule reference table). Updated import appendix.
  • user_guide.md: Added §13A (Walk-Forward Analysis) and §13B (Scientific Validation) with usage examples
  • glossary.md: Added 6 terms — bootstrap, CVaR, Monte Carlo simulation, overfitting, survivorship bias, VaR

Example of updated usage

# Before (deprecated)
from eqlib import fama_french_analysis
ff = fama_french_analysis(result)

# After
from eqlib import simple_factor_analysis
ff = simple_factor_analysis(result)

Validated with mkdocs build --strict — builds clean.

Copilot AI added 2 commits May 28, 2026 08:08
- Update SECURITY.md supported version from 0.1.x to 1.0.x (root + docs)
- Update utility count from 30+ to 40+ in README.md and README_zh.md
- Add Studio CI badge to README_zh.md
- Add walk-forward analysis and scientific validation features to READMEs
- Replace deprecated fama_french_analysis with simple_factor_analysis across
  api_reference.md, user_guide.md, tutorials, examples, and Examples.md
- Add walk_forward/WFAResult and scientific validation API sections to
  api_reference.md and user_guide.md
- Add glossary terms: bootstrap, Monte Carlo, overfitting, survivorship bias,
  VaR, CVaR
- Update example 09 to use simple_factor_analysis
@AlanFokCo AlanFokCo marked this pull request as ready for review May 28, 2026 08:12
@AlanFokCo AlanFokCo merged commit 86ae281 into main May 28, 2026
3 checks passed
@AlanFokCo AlanFokCo deleted the copilot/update-documentation branch May 28, 2026 08:12
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.

2 participants