Repository navigation
Organise the README as install, example, API sketch and how it works - #6
Merged
Merged
Conversation
At 434 lines the README carried a "Why" section, a feature list, every CLI transcript, five figure write-ups, a component table, dense limitation paragraphs and 26 references. The first screen opened with a disclaimer box. README (434 to 195 lines): - First screen: what the library does, how to install it, and the first doctest block. - An API sketch table of the five modules and the CLI. The other two doctest blocks stay, with shorter notes after them. - A short "How it works" with the backtester's timing contract. - Five one-sentence limits, the AI note, and links to the new docs. Relocated, not removed: - docs/CLI.md: the command-line transcripts, unchanged. - docs/EXAMPLES.md: the figure and study write-ups, unchanged numbers, with bold lead-ins turned into headings. - docs/DESIGN.md: the per-component checks table, the full limitations and roadmap, and the references. "Questions worth being able to answer" is now "Common questions". Verification: - uv run pytest --doctest-glob=README.md --cov=quantkit: 435 passed, coverage 99.62%; ruff check, ruff format --check and mypy pass. - Built the wheel, installed it in a fresh venv and ran python -m doctest README.md from outside the repo: 34 examples passed, the same count as before; quantkit var-backtest --help works. - Re-ran every CLI command now in docs/CLI.md and the five example scripts (in an exported copy): all output matches the moved text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016h2RvhZFj77hPxFn8TQUqq
The README's mermaid diagram of how prices, portfolios, VaR forecasts, strategies and pricing connect moved into the architecture section of docs/DESIGN.md instead of being dropped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016h2RvhZFj77hPxFn8TQUqq
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
A voice and structure pass. No library code changes, and the README doctests are unchanged.
README (434 to 195 lines), organised as a library: install, one example, an API sketch, then how it works.
Relocated, not removed.
docs/CLI.md: every command-line transcript, unchanged.docs/EXAMPLES.md: the five figure and study write-ups, numbers unchanged, bold lead-ins turned into headings.docs/DESIGN.md: the per-component checks table, the data-flow diagram, the full limitations and roadmap, and the references. Its section "Questions worth being able to answer" is now "Common questions".Verification
uv run pytest --doctest-glob="README.md" --cov=quantkit --cov-fail-under=90: 435 passed, coverage 99.62%.ruff check,ruff format --checkandmypypass.uv build --wheel, a fresh venv, thenpython -m doctest README.mdfrom outside the repo. 34 examples passed, the same count as the old README.quantkit var-backtest --helpworks.docs/CLI.mdand the five example scripts (in an exported copy, so the figures in the repo were not rewritten). All output matches the text that moved.annualized_mean_returnson the README's synthetic prices gives −10.85% for CCC, matching the README's −10.9%.Limits
docs/WALK_FORWARD.mdis unchanged.https://claude.ai/code/session_016h2RvhZFj77hPxFn8TQUqq
Generated by Claude Code