Submission failed, debug-log shows error running rollouts

Hello, I would like to submit my solution of the forecasting challenge.
The local_evaluation.py script executes without problems. During submission however it fails at the stage “Citylearn Warmup”. The debug-log (attached) contains only errors in files which are not part of my implementation and I don’t know how to further debug. My environment uses Python 3.7 too and I updated the CityLearn package to version 2.1b12.

Anyone have a solution? Thanks!

########################################
#       rollout-citylearn-warmup       #
########################################
2023-10-31 11:13:03.300 | INFO     | aicrowd_gym.clients.base_oracle_client:register_agent:210 - Registering agent with oracle...

2023-10-31 11:13:03.300 | INFO     | aicrowd_gym.clients.base_oracle_client:register_agent:210 - Registering agent with oracle...

2023-10-31 11:13:03.302 | SUCCESS  | aicrowd_gym.clients.base_oracle_client:register_agent:226 - Registered agent with oracle

2023-10-31 11:13:03.302 | SUCCESS  | aicrowd_gym.clients.base_oracle_client:register_agent:226 - Registered agent with oracle

=========================Available Observations=========================

=========================Available Observations=========================

[['day_type', 'hour', 'outdoor_dry_bulb_temperature', 'outdoor_dry_bulb_temperature_predicted_6h', 'outdoor_dry_bulb_temperature_predicted_12h', 'outdoor_dry_bulb_temperature_predicted_24h', 'diffuse_solar_irradiance', 'diffuse_solar_irradiance_predicted_6h', 'diffuse_solar_irradiance_predicted_12h', 'diffuse_solar_irradiance_predicted_24h', 'direct_solar_irradiance', 'direct_solar_irradiance_predicted_6h', 'direct_solar_irradiance_predicted_12h', 'direct_solar_irradiance_predicted_24h', 'carbon_intensity', 'indoor_dry_bulb_temperature', 'non_shiftable_load', 'solar_generation', 'dhw_storage_soc', 'electrical_storage_soc', 'net_electricity_consumption', 'electricity_pricing', 'electricity_pricing_predicted_6h', 'electricity_pricing_predicted_12h', 'electricity_pricing_predicted_24h', 'cooling_demand', 'dhw_demand', 'occupant_count', 'indoor_dry_bulb_temperature_set_point', 'power_outage', 'indoor_dry_bulb_temperature', 'non_shiftable_load', 'solar_generation', 'dhw_storage_soc', 'electrical_storage_soc', 'net_electricity_consumption', 'cooling_demand', 'dhw_demand', 'occupant_count', 'indoor_dry_bulb_temperature_set_point', 'power_outage', 'indoor_dry_bulb_temperature', 'non_shiftable_load', 'solar_generation', 'dhw_storage_soc', 'electrical_storage_soc', 'net_electricity_consumption', 'cooling_demand', 'dhw_demand', 'occupant_count', 'indoor_dry_bulb_temperature_set_point', 'power_outage']]

[['day_type', 'hour', 'outdoor_dry_bulb_temperature', 'outdoor_dry_bulb_temperature_predicted_6h', 'outdoor_dry_bulb_temperature_predicted_12h', 'outdoor_dry_bulb_temperature_predicted_24h', 'diffuse_solar_irradiance', 'diffuse_solar_irradiance_predicted_6h', 'diffuse_solar_irradiance_predicted_12h', 'diffuse_solar_irradiance_predicted_24h', 'direct_solar_irradiance', 'direct_solar_irradiance_predicted_6h', 'direct_solar_irradiance_predicted_12h', 'direct_solar_irradiance_predicted_24h', 'carbon_intensity', 'indoor_dry_bulb_temperature', 'non_shiftable_load', 'solar_generation', 'dhw_storage_soc', 'electrical_storage_soc', 'net_electricity_consumption', 'electricity_pricing', 'electricity_pricing_predicted_6h', 'electricity_pricing_predicted_12h', 'electricity_pricing_predicted_24h', 'cooling_demand', 'dhw_demand', 'occupant_count', 'indoor_dry_bulb_temperature_set_point', 'power_outage', 'indoor_dry_bulb_temperature', 'non_shiftable_load', 'solar_generation', 'dhw_storage_soc', 'electrical_storage_soc', 'net_electricity_consumption', 'cooling_demand', 'dhw_demand', 'occupant_count', 'indoor_dry_bulb_temperature_set_point', 'power_outage', 'indoor_dry_bulb_temperature', 'non_shiftable_load', 'solar_generation', 'dhw_storage_soc', 'electrical_storage_soc', 'net_electricity_consumption', 'cooling_demand', 'dhw_demand', 'occupant_count', 'indoor_dry_bulb_temperature_set_point', 'power_outage']]

Error running rollouts

Error running rollouts

Traceback (most recent call last):

Traceback (most recent call last):

  File "run.py", line 3, in <module>

  File "run.py", line 3, in <module>

    start_test_client()

    start_test_client()

  File "/home/aicrowd/client_launcher.py", line 20, in start_test_client

  File "/home/aicrowd/client_launcher.py", line 20, in start_test_client

    client.run_agent()

    client.run_agent()

  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/aicrowd_gym/clients/base_oracle_client.py", line 198, in run_agent

  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/aicrowd_gym/clients/base_oracle_client.py", line 198, in run_agent

    kwargs=kwargs,

    kwargs=kwargs,

  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/aicrowd_gym/clients/base_oracle_client.py", line 100, in process_request

  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/aicrowd_gym/clients/base_oracle_client.py", line 100, in process_request

    action, target_attribute, instance_id, args, kwargs

    action, target_attribute, instance_id, args, kwargs

  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/aicrowd_gym/clients/base_oracle_client.py", line 129, in route_agent_request

  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/aicrowd_gym/clients/base_oracle_client.py", line 129, in route_agent_request

    return self.execute(target_attribute, *args, **kwargs)

    return self.execute(target_attribute, *args, **kwargs)

  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/aicrowd_gym/clients/base_oracle_client.py", line 142, in execute

  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/aicrowd_gym/clients/base_oracle_client.py", line 142, in execute

    return method(*args, **kwargs)

    return method(*args, **kwargs)

  File "/home/aicrowd/aicrowd_wrapper.py", line 30, in raise_aicrowd_error

  File "/home/aicrowd/aicrowd_wrapper.py", line 30, in raise_aicrowd_error

    raise NameError(msg)

    raise NameError(msg)

NameError: Error running rollouts

NameError: Error running rollouts
1 Like

The issue is still not solved. Any ideas are appreciated!

Did you solve this? I’m having a similar issue.

Yes. The issue is a typo in CityLearn and I accidentally corrected it. A feature is called “Equipment_Eletrical_Power”. You have to preserve the typo in your implementation.