Summary
The ROADMAP.md v0.5 milestone includes CSV and PDF export of signal reports and backtest results. This is a local-app-only feature (the web demo does not support file I/O).
Deliverables
Implementation notes
- Export functions should live in a new
pulseengine/local/export.py module (referenced in the ROADMAP v1.0 target structure)
- For PDF generation consider
reportlab or fpdf2 (both are pure Python, no system deps)
- For CSV use the stdlib
csv module or pandas.DataFrame.to_csv
- The Streamlit download button (
st.download_button) can serve the generated bytes directly—no temporary file needed
- Locked-feature prompt in
pulseengine/web/dashboard.py should show a “Download the local app to export” CTA
Acceptance criteria
- Clicking “Export as CSV” from the scan summary view downloads a valid UTF-8 CSV file
- Clicking “Export as PDF” from the asset analysis view downloads a readable single-page PDF
- Neither export function writes to disk; all bytes are held in memory and served via
st.download_button
- Export is only available in
pulseengine/local/; the web dashboard shows a locked-feature prompt
Summary
The ROADMAP.md v0.5 milestone includes CSV and PDF export of signal reports and backtest results. This is a local-app-only feature (the web demo does not support file I/O).
Deliverables
evaluate_signal_accuracyas CSVImplementation notes
pulseengine/local/export.pymodule (referenced in the ROADMAP v1.0 target structure)reportlaborfpdf2(both are pure Python, no system deps)csvmodule orpandas.DataFrame.to_csvst.download_button) can serve the generated bytes directly—no temporary file neededpulseengine/web/dashboard.pyshould show a “Download the local app to export” CTAAcceptance criteria
st.download_buttonpulseengine/local/; the web dashboard shows a locked-feature prompt