You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mdl: export prints one graphical-function warning per array element #861
When an arrayed variable has a separate graphical function per element and those functions use discrete or extrapolating interpolation, MDL export prints one warning per element.
It should print one warning per variable, e.g. "graphical function for 40 of the elements of 'demand' uses discrete interpolation; exported as continuous".
Why it matters
Only CLI noise: a variable with thousands of such elements would print thousands of near-identical lines.
No corpus model has a per-element discrete or extrapolating graphical function, so this has not been seen.
The existing step that removes identical warnings does not help, because each message names a different element.
Fix
Count the affected elements per variable and kind in warn_unrepresentable_gf_kinds, and emit one warning per kind.
Pointers
src/simlin-engine/src/mdl/writer.rs: warn_unrepresentable_gf_kinds, the Equation::Arrayed loop
changed the title [-]engine: MDL export emits per-element graphical-function warnings one-per-element (should aggregate per variable)[/-][+]mdl: export prints one graphical-function warning per array element[/+]on Oct 12, 2026
Activity
[-]engine: MDL export emits per-element graphical-function warnings one-per-element (should aggregate per variable)[/-][+]mdl: export prints one graphical-function warning per array element[/+]bpowers commentedon Oct 12, 2026
Closing as won't fix.
Cosmetic CLI noise only, never seen: no corpus model has a per-element discrete or extrapolating graphical function (cheap if wanted).