Time-profile mappings were removed from the main inputs app in #655 and inputs selection app in #688 (including removal from default_params.json). This will be released as v5.2.
During pre-release QA for v5.2, @francisbarton found that, as expected, the time-profile mappings didn't show up in the 'view params' accordion of the run-model module.
However, after some clicking around, the time_profile_mappings dict was somehow reappearing and could be seen in the printed json in the 'view params' accordion:
"time_profile_mappings": {
"baseline_adjustment": "none",
"activity_avoidance": {
"ip": {},
"op": {},
"aae": {}
},
"efficiencies": {
"ip": {},
"op": {}
},
"expat": "linear",
"repat_local": "linear",
"repat_nonlocal": "linear",
"non-demographic_adjustment": "none",
"waiting_list_adjustment": "linear"
},
(@francisbarton to confirm that it appeared exactly as above, i.e. it had all the keys of baseline_adjustment, activity_avoidance, etc, with the values they have above.)
This element was maintained in the params when returning to the same scenario with 'edit existing' from the inputs selection app.
I was unable to replicate.
How might this be possible given the removal of all time-profile code and references? The implication is that the inputs app is doing the insertion (rather than inputs app), given that a fresh scenario doesn't contain the time-profile mappings. Could this be linked somehow to caching?
Time-profile mappings were removed from the main inputs app in #655 and inputs selection app in #688 (including removal from
default_params.json). This will be released as v5.2.During pre-release QA for v5.2, @francisbarton found that, as expected, the time-profile mappings didn't show up in the 'view params' accordion of the run-model module.
However, after some clicking around, the
time_profile_mappingsdict was somehow reappearing and could be seen in the printed json in the 'view params' accordion:(@francisbarton to confirm that it appeared exactly as above, i.e. it had all the keys of
baseline_adjustment,activity_avoidance, etc, with the values they have above.)This element was maintained in the params when returning to the same scenario with 'edit existing' from the inputs selection app.
I was unable to replicate.
How might this be possible given the removal of all time-profile code and references? The implication is that the inputs app is doing the insertion (rather than inputs app), given that a fresh scenario doesn't contain the time-profile mappings. Could this be linked somehow to caching?