What needs work?
Following the MUIO v5.5 upstream sync, two specific technical residuals were identified that affect UI clarity and backend log health:
-
RYC Metadata Gap: The results view currently displays blank units for RYC (Energy Balance Shadow Price) variables. This is due to a mismatch where the frontend expects emission units instead of commodity units, combined with RYC being omitted from the commodity group constants.
-
Pandas FutureWarnings: The backend (specifically DataFileClass.py) triggers deprecation warnings during CBC post-processing. This happens because empty DataFrames are initialized without an explicit dtype, causing issues during concatenation in pandas 2.1+.
Possible approach (optional)
-
Frontend: Add RYC to the VAR_COMM_GROUPS array in Const.Class.js and update the Variables.json unitRule to map to CommUnit.
-
Backend: Update DataFrame initializations in DataFileClass.py to include dtype='object' to ensure future-proof concatenation.
What good looks like (optional)
No response
Anything to keep in mind? (optional)
This is a stability-focused patch. The goal is to clear the "Known Residuals" list mentioned in the v5.5 sync notes without introducing new logic branches that would make future upstream pulls difficult.
Related issue, PR, or discussion (optional)
#422
Proposed track
{"Track" => "Stability"}
What needs work?
Following the MUIO v5.5 upstream sync, two specific technical residuals were identified that affect UI clarity and backend log health:
RYC Metadata Gap: The results view currently displays blank units for RYC (Energy Balance Shadow Price) variables. This is due to a mismatch where the frontend expects emission units instead of commodity units, combined with RYC being omitted from the commodity group constants.
Pandas FutureWarnings: The backend (specifically DataFileClass.py) triggers deprecation warnings during CBC post-processing. This happens because empty DataFrames are initialized without an explicit dtype, causing issues during concatenation in pandas 2.1+.
Possible approach (optional)
Frontend: Add RYC to the VAR_COMM_GROUPS array in Const.Class.js and update the Variables.json unitRule to map to CommUnit.
Backend: Update DataFrame initializations in DataFileClass.py to include dtype='object' to ensure future-proof concatenation.
What good looks like (optional)
No response
Anything to keep in mind? (optional)
This is a stability-focused patch. The goal is to clear the "Known Residuals" list mentioned in the v5.5 sync notes without introducing new logic branches that would make future upstream pulls difficult.
Related issue, PR, or discussion (optional)
#422
Proposed track
{"Track" => "Stability"}