This pull request was created by an AI agent (OpenHands) on behalf of the repository owner.
Tracks the three source workbooks in the repository root so every seed can be traced back to the spreadsheet it came from. They stay out of the container image (.dockerignore already excludes *.xlsx / *.xls).
| Workbook | Size | Feeds |
|---|---|---|
LOAD LIST.xlsx | 1.7 MB | backend/data/seed.json → calculation 01 (load list) |
0000-EF-D-41335_0 Power Cable Sizing Calc.XLSX | 1.5 MB | backend/data/cable_seed.json → calculation 02 (cable sizing) |
Basic Cal SACP for Internal Tank - PT Pertamina MOR VII Sulawesi.xls | 1.6 MB | calculation 03 (cathodic protection, next) |
$ git ls-files '*.xls*'
0000-EF-D-41335_0 Power Cable Sizing Calc.XLSX
Basic Cal SACP for Internal Tank - PT Pertamina MOR VII Sulawesi.xls
LOAD LIST.xlsxREADME ("Data flow") and AGENTS.md ("Gotchas") now state that the workbooks are tracked but never copied into the image.
The seeds themselves are unchanged — tools/extract_seed.py and tools/extract_cable_seed.py still regenerate and verify them, so this is a documentation/traceability change only.
Note on the SACP workbook
It contains 35 sheets (34 tank/vendor design sheets plus a summary) following DNV RP B401 (2005) and GS EP COR 201: flush-mounted aluminium anodes, driving potential ΔE = Ec − Ea, anode resistance, current output at initial / mean / final, and anode consumption. It is the input for calculation 03.
@ashcoft can click here to continue refining the PR
Summary by Sourcery
Track source workbooks for seed traceability without changing generated seed data or runtime behavior.
Enhancements:
- Track the three source calculation workbooks in the repository root to provide seed traceability while keeping them out of container images.
Documentation:
- Document the tracked source workbooks and their exclusion from container images in the repository guidance and data-flow documentation.
Summary by cubic
Tracks the three source workbooks in the repository root so every seed can be traced back to the spreadsheet it came from. They stay out of the container image, and the seed data itself is unchanged.
Workbook mapping
LOAD LIST.xlsx→backend/data/seed.json(calculation 01)0000-EF-D-41335_0 Power Cable Sizing Calc.XLSX→backend/data/cable_seed.json(calculation 02)Basic Cal SACP for Internal Tank - PT Pertamina MOR VII Sulawesi.xls→ calculation 03 (next)
README.md and AGENTS.md now document that the workbooks are tracked but excluded from the image via .dockerignore.
Written for commit 8937892ebb824c2b33cf9218ef18f406ed36dd31. Summary will update on new commits.
Activity
4Reviewer's Guide
Data structures
Track the three source workbooks in the repository root so the seeds and planned calculation can be traced to their spreadsheet inputs.
0000-EF-D-41335_0 Power Cable Sizing Calc.XLSXBasic Cal SACP for Internal Tank - PT Pertamina MOR VII Sulawesi.xlsLOAD LIST.xlsx
Documentation
Document that the source workbooks are tracked in the repository but excluded from the container image.
AGENTS.mdL66-69README.mdL287-294
Tips and commands
Interacting with Sourcery
- Trigger a new review: Comment
@sourcery-ai reviewon the pull request. - Continue discussions: Reply directly to Sourcery's review comments.
- Generate a GitHub issue from a review comment: Ask Sourcery to create an
issue from a review comment by replying to it. You can also reply to a
review comment with
@sourcery-ai issueto create an issue from it. - Generate a pull request title: Write
@sourcery-aianywhere in the pull request title to generate a title at any time. You can also comment@sourcery-ai titleon the pull request to (re-)generate the title at any time. - Generate a pull request summary: Write
@sourcery-ai summaryanywhere in the pull request body to generate a PR summary at any time exactly where you want it. You can also comment@sourcery-ai summaryon the pull request to (re-)generate the summary at any time. - Generate reviewer's guide: Comment
@sourcery-ai guideon the pull request to (re-)generate the reviewer's guide at any time. - Resolve all Sourcery comments: Comment
@sourcery-ai resolveon the pull request to resolve all Sourcery comments. Useful if you've already addressed all the comments and don't want to see them anymore. - Dismiss all Sourcery reviews: Comment
@sourcery-ai dismisson the pull request to dismiss all existing Sourcery reviews. Especially useful if you want to start fresh with a new review - don't forget to comment@sourcery-ai reviewto trigger a new review!
Customizing Your Experience
Access your dashboard to:
- Enable or disable review features such as the Sourcery-generated pull request summary, the reviewer's guide, and others.
- Change the review language.
- Add, remove or edit custom review instructions.
- Adjust other review settings.
Getting Help
- Contact our support team for questions or feedback.
- Visit our documentation for detailed guides and information.
- Keep in touch with the Sourcery team by following us on X/Twitter, LinkedIn or GitHub.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
This pull request is a draft
Merging is unavailable until it is marked ready for review.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share