Add missing recalc.py formula validation script#40
Open
Bortlesboat wants to merge 1 commit intoanthropics:mainfrom
Open
Add missing recalc.py formula validation script#40Bortlesboat wants to merge 1 commit intoanthropics:mainfrom
Bortlesboat wants to merge 1 commit intoanthropics:mainfrom
Conversation
The DCF, LBO, and 3-statement model skills all reference recalc.py for post-build formula error checking, but the script was never included in the repository. This script: - Scans .xlsx files for formula error values (#REF!, #DIV/0!, etc.) - Reports results as JSON matching the format documented in SKILL.md - Supports optional timeout (default 30s) - Handles missing files, missing dependencies, and edge cases Closes anthropics#25
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.
Summary
Adds the
recalc.pyscript that is referenced throughout the DCF model, LBO model, and 3-statement model skills but was never included in the repository.The problem: Multiple skills document running
python recalc.py model.xlsx 30as a mandatory pre-delivery step, but the script doesn't exist — causing confusion when users follow the workflow.What the script does:
.xlsxfile with openpyxl (formula view + cached value view)#REF!,#DIV/0!,#VALUE!,#NAME?,#NULL!,#N/A,#NUM!)dcf-model/SKILL.md:{ "status": "success", "total_errors": 0, "total_formulas": 42 }Skills that reference this script:
financial-analysis/skills/dcf-model/SKILL.md(lines 81, 805, 1225, 1252)financial-analysis/skills/dcf-model/TROUBLESHOOTING.md(line 3)financial-analysis/skills/lbo-model/SKILL.md(lines 35, 166)financial-analysis/skills/3-statement-model/SKILL.md(line 14)Closes #25