Update for PSI 0.34 compat, Literate cleanup and add precommit#69
Conversation
* Initial plan * Update legacy org, docs domain, and Slack workspace references Agent-Logs-Url: https://github.com/Sienna-Platform/PowerAnalytics.jl/sessions/f7d7ad47-b1c6-439f-a209-13e78403092c Co-authored-by: jd-lara <16385323+jd-lara@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jd-lara <16385323+jd-lara@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #69 +/- ##
=======================================
Coverage 88.04% 88.04%
=======================================
Files 7 7
Lines 669 669
=======================================
Hits 589 589
Misses 80 80
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@copilot Make a draft PR into this PR that fixes the existing documentation example errors while retaining the intention of the tutorial |
…d serialize param Agent-Logs-Url: https://github.com/Sienna-Platform/PowerAnalytics.jl/sessions/16e83192-f92d-44d1-a302-8c822df29bd2 Co-authored-by: kdayday <12451220+kdayday@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Sienna-Platform/PowerAnalytics.jl/sessions/3e4e55ac-6c5b-4991-912a-8c755a926575 Co-authored-by: kdayday <12451220+kdayday@users.noreply.github.com>
…PSI 0.34 Agent-Logs-Url: https://github.com/Sienna-Platform/PowerAnalytics.jl/sessions/c6708aee-b0ef-44a4-ab8d-024e28362712 Co-authored-by: kdayday <12451220+kdayday@users.noreply.github.com>
Fix docs tutorial failures: update PSI compat to 0.34, drop deprecated `serialize` kwarg
|
@copilot Edit the PR comment with a summary of the PR changes |
Updated the PR description with a summary of all changes: literate cleanup (DataFrame display, docs workflow), pre-commit config, and the doc tutorial fixes from #70 (PSI 0.34 compat, removed deprecated |
This pull request introduces several improvements to the documentation build pipeline, tutorial generation scripts, and test utilities. The main changes focus on making tutorial download links and image notes context-aware (working correctly for previews, dev, tags, and stable deployments), improving DataFrame rendering in documentation, and updating test logic for compatibility with changes in how simulation data is stored (PSI 0.34).
Testing and Simulation Updates:
data_storedirectory rather than JSON files, and system population is requested explicitly when fetching decision problem results. [1] [2] [3]Documentation and Tutorial Generation Improvements:
docs/make_tutorials.jl) now computes the documentation base URL dynamically based on the deployment context, ensuring that download/view links work correctly for preview, dev, tagged, and stable builds. Download links can be absolute or relative depending on the environment or override variables. [1] [2]SIENNA_DOCS_DF_MAX_ROWSandSIENNA_DOCS_DF_MAX_COLS..mdand.ipynbartifacts, and the pipeline is better documented and organized. (docs/make_tutorials.jlL56-R141, F59bbd0eL406R463)CI and Formatting Enhancements:
DOCUMENTER_CURRENT_VERSIONenvironment variable appropriately for previews, tags, and branches, ensuring correct URL generation in all contexts.Other Minor Changes:
_DOCS_BASE_URLindocs/make.jlhas been removed in favor of dynamic computation.serializekeyword argument was removed from abuild!call in a tutorial scenario script, reflecting upstream API changes.