Document the Scenario Explorer on the docs landing page - #92
Merged
Conversation
Rewrite docs/index.md to lead with what the PyPSA-AT Scenario Explorer is, its registration/model-name requirements, and which config flags (convert_units, map_country_codes_to_names, aggregation_level) affect submission validity, since no such documentation existed before.
Contributor
Reviewer's GuideUpdates the docs landing page to focus on Scenario Explorer usage and configuration details, restructures content into clearer sections, and adds a link to the upcoming contributing guide. Flow diagram for Scenario Explorer submission validation based on config flagsflowchart TD
A[Prepare PyPSA network results] --> B[Run PyPSA Validation Processing]
B --> C[Export Excel output]
C --> D[Check model_name matches Pypsa-AT v1.0 mapping]
D --> E[Set convert_units=true]
E --> F[Set map_country_codes_to_names to expected format]
F --> G[Set aggregation_level to country or region as required]
G --> H[Submit to Scenario Explorer]
H --> I[Explorer validates submission]
I --> J[Receive email notification on success]
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Contributor
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- The link to the
pypsa-at-dev-workflowmappings file is pinned to a specific commit hash, which may drift from current model definitions; consider pointing to a tagged release or the default branch path if you expect the mappings to change over time.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The link to the `pypsa-at-dev-workflow` mappings file is pinned to a specific commit hash, which may drift from current model definitions; consider pointing to a tagged release or the default branch path if you expect the mappings to change over time.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
2 tasks
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
docs/index.mdto lead with Scenario Explorer info (registration requirement, model-name matching rule, e-mail notification on large submissions) instead of burying it below the API-reference pointer.convert_units,map_country_codes_to_names,aggregation_level.## Contributingsection linking tocontributing.md(added in a follow-up PR for fill documentation with life and style #82, part 3 of 3) — until that PR merges,mkdocs buildemits a non-fatal warning for this one link (target is not found among documentation files); it resolves once the contributing page lands.Part 2 of 3 for #82 (execution order: API docs cleanup → this → contributing page).
Test plan
mkdocs buildsucceeds (one expected non-fatal warning for the not-yet-existingcontributing.mdlink)pixi run test— 201 passed🤖 Generated with Claude Code
Summary by Sourcery
Rework the docs landing page to foreground Scenario Explorer usage and submission requirements before the API reference.
Documentation: