Repository navigation
fix(stack): bring Loops A/B + memory + portfolio + doc passes to main - #7
Merged
Merged
Conversation
Adds pyfpa/backtest/snapshot.py with Snapshot (pydantic v2 BaseModel), snapshot_forecast (captures EntityConfig assumptions + extract_lines predictions immutably), save_snapshot/load_snapshot (YAML round-trip preserving nested ScoreResult). created is caller-supplied — no datetime.now().
Adds pyfpa/memory/__init__.py (empty package marker) and pyfpa/memory/paths.py with _set_by_path — a mutation helper used to apply memory-correction overrides into a config dict. Supports dotted key navigation, numeric list indices, and wildcard [*] spread. Raises ValueError on malformed or unresolvable paths. Tests: tests/test_memory_paths.py (4 tests, all green).
…rride, README pass
…); add edge tests
…les); mine accepts unanimous-zero clusters
…folio-learn surfacing
…d clients_of_type)
…Books/NetSuite via MCP/API, Shopify, local spreadsheets); the AI builds the ingestion
…ms (test count, data sources), align to mission
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
Consolidates the work from PRs #2–#6 onto
main. Those PRs were stacked (each based on the branch below it), so merging them propagated the work down the chain rather than tomain— only #1 (Fox Factory) actually reachedmain. GitHub marks #2–#6 "merged" (each merged into its base branch), but their cumulative content never landed onmain.This PR's diff vs
mainis exactly that missing work (42 files, ~4,400 lines) — no duplication of the Fox work already on main.What it brings in
pyfpa.backtest+fpa-backtest-learn).pyfpa.memory+fpa-capture-correction).pyfpa.portfolio+fpa-portfolio-learn).Verification
Supersedes the intermediate merges of #2–#6 (which landed in feature branches, not main).
🤖 Generated with Claude Code