diff --git a/carbontracker/tracker.py b/carbontracker/tracker.py index 2e94ad3..7a025e1 100644 --- a/carbontracker/tracker.py +++ b/carbontracker/tracker.py @@ -296,7 +296,7 @@ def __init__( self, epochs, epochs_before_pred=1, - monitor_epochs=1, + monitor_epochs=-1, update_interval=10, interpretable=True, stop_and_confirm=False, diff --git a/tests/intensity/test_intensity.py b/tests/intensity/test_intensity.py index 30358bb..a9704a4 100644 --- a/tests/intensity/test_intensity.py +++ b/tests/intensity/test_intensity.py @@ -146,7 +146,7 @@ def set_expected_message(is_prediction, success, carbon_intensity): message = f"Current carbon intensity is {carbon_intensity:.2f} gCO2/kWh at detected location: {fallback_address}." else: message = (f"Live carbon intensity could not be fetched at detected location: {detected_address}. " - f"Defaulted to average carbon intensity for DK in 2021 of 149.75 gCO2/kWh. " + f"Defaulted to average carbon intensity for DK in 2023 of 151.65 gCO2/kWh. " f"at detected location: {fallback_address}.") return message # Test scenarios