Skip to content

feat(scripts): add the order uncertainty export script - #366

Open
Kagemaru wants to merge 2 commits into
masterfrom
feature/order-uncertainty-export-script
Open

Kagemaru wants to merge 2 commits into
masterfrom
feature/order-uncertainty-export-script

Conversation

@Kagemaru

@Kagemaru Kagemaru commented Oct 7, 2026

Copy link
Copy Markdown
Member

Lifted out of the upgrade branch's working tree — a standalone one-off script, no application code touched.

script/order_uncertainty_export.rb renders Chancen & Risiken across all orders into a self-contained HTML file.

  • bin/rails runner script/order_uncertainty_export.rb
  • PREVIEW=1 renders fixture data without touching the database — smoke-run clean: Wrote order_uncertainty_export_preview.html (10 orders, 17 chances/risks embedded)

Marked as throwaway in its own header; delete after use.

- one-off html report of chances and risks per order
- PREVIEW=1 renders fixture data without touching the db

This branch has not been deployed

No deployments
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.

1 participant