Affected Component
Library resolution (libs/)
Type of Change
Minor: bug fix or backward-compatible new feature (e.g. new operator)
Description
For the context see AntaresSimulatorTeam/AntaresLegacyModels-to-GEMS-Converter#90
The goal is to have a library both usable in GEMS studies and in hybrid studies without format change (as this file is a "cold" file, not updated in every study)
The parsing of library in gems_craft should allow the specific extra-inputs linked to the port declaration in the hybrid case, namely area-connection and all its subflelds (see the HybridPortTypeSchema)
In the full GEMS case, these extra-inputs are discarded directly, no verification of theses field value is needed. all other extra-inputs keeps being strictly forbidden
Results Impact
no impact on previous results
Validation Strategy
A library for hybrid studies should be parsed without errors in the full GEMS case
Process Checklist
Step 1 — Issue Creation
Step 2 — Triage
Step 3 — Impact Analysis ⚠️ extended results analysis required
Step 4 — Implementation
Step 5 — Testing & Validation
Step 6 — CI Validation
Step 7 — Review & Merge
Step 8 — Versioning
Step 9 — Supporting Files
Step 10 — Release
Affected Component
Library resolution (libs/)
Type of Change
Minor: bug fix or backward-compatible new feature (e.g. new operator)
Description
For the context see AntaresSimulatorTeam/AntaresLegacyModels-to-GEMS-Converter#90
The goal is to have a library both usable in GEMS studies and in hybrid studies without format change (as this file is a "cold" file, not updated in every study)
The parsing of library in gems_craft should allow the specific extra-inputs linked to the port declaration in the hybrid case, namely
area-connectionand all its subflelds (see theHybridPortTypeSchema)In the full GEMS case, these extra-inputs are discarded directly, no verification of theses field value is needed. all other extra-inputs keeps being strictly forbidden
Results Impact
no impact on previous results
Validation Strategy
A library for hybrid studies should be parsed without errors in the full GEMS case
Process Checklist
Step 1 — Issue Creation
Step 2 — Triage
Step 3 — Impact Analysis⚠️ extended results analysis required
Step 4 — Implementation
Step 5 — Testing & Validation
Step 6 — CI Validation
mypy)black,isort)pytest)Step 7 — Review & Merge
Step 8 — Versioning
pyproject.tomlversion bumpedStep 9 — Supporting Files
AGENTS.mdreviewed for impact and updated if neededStep 10 — Release