removing temp code from router

This commit is contained in:
Khalim Conn-Kowlessar 2024-02-09 20:37:13 +00:00
parent 59271a5009
commit 68320571ba

View file

@ -164,9 +164,6 @@ async def trigger_plan(body: PlanTriggerRequest):
model_api = ModelApi(portfolio_id=body.portfolio_id, timestamp=created_at)
# recommendations_scoring_data.loc[17, 'photo_supply_ending'] = 50
recommendations_scoring_data.loc[5, 'walls_thermal_transmittance_ending'] = 0.25
all_predictions = model_api.predict_all(
df=recommendations_scoring_data,
bucket=get_settings().DATA_BUCKET,
@ -240,8 +237,6 @@ async def trigger_plan(body: PlanTriggerRequest):
]
recommendations[property_id] = final_recommendations
impact_df = pd.DataFrame(recommendations[input_properties[0].id])
# This is a temporary step, to estimate the impact of the measured on heat demand and carbon
# TODO: This needs to be cleaned up, if it happens to be kept
representative_recs = {}