Skip to content

Commit

Permalink
raising NotImplementedError for unknown ST policies
Browse files Browse the repository at this point in the history
  • Loading branch information
[BabelRO] committed Mar 19, 2021
1 parent 96ef907 commit 0874f4a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cost_functions/economic_cost/economic_data/economic_params.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
from collections import defaultdict

UNEMPLOYMENT_COST = {"GM": 77510,"US": 100000}
def not_implemented():
raise NotImplementedError

# employment_impact in percentages
EMPLOYMENT_IMPACT = {}
EMPLOYMENT_IMPACT["GM"] = defaultdict(lambda:0, { "Lockdown": 2,
EMPLOYMENT_IMPACT["GM"] = defaultdict(not_implemented, { "Lockdown": 2,
"Social Distancing": 1,
"No_Measure": 0})

GDP_IMPACT = {}

GDP_IMPACT["GM"] = defaultdict(lambda:0, { "Lockdown": -10,
GDP_IMPACT["GM"] = defaultdict(not_implemented, { "Lockdown": -10,
"Social Distancing": -5,
"No_Measure": 0})

Expand Down

0 comments on commit 0874f4a

Please sign in to comment.