Skip to content

Commit

Permalink
Change _lsr to _behavioral_response
Browse files Browse the repository at this point in the history
  • Loading branch information
Mshuning committed Oct 31, 2024
1 parent 7203d33 commit 86189dc
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ class relative_income_change(Variable):

def formula(person, period, parameters):
simulation = person.simulation
measurement_branch = simulation.get_branch("lsr_measurement")
measurement_branch = simulation.get_branch(
"behavioral_response_measurement"
)
baseline_branch = simulation.get_branch("baseline").get_branch(
"baseline_behavioral_response_measurement"
)
Expand Down Expand Up @@ -47,7 +49,9 @@ class relative_wage_change(Variable):

def formula(person, period, parameters):
simulation = person.simulation
measurement_branch = simulation.get_branch("lsr_measurement")
measurement_branch = simulation.get_branch(
"behavioral_response_measurement"
)
baseline_branch = simulation.get_branch("baseline").get_branch(
"baseline_behavioral_response_measurement"
)
Expand Down Expand Up @@ -224,7 +228,7 @@ def formula(person, period, parameters):
return 0

measurement_branch = simulation.get_branch(
"lsr_measurement", clone_system=True
"behavioral_response_measurement", clone_system=True
) # A branch without LSRs
baseline_branch = simulation.get_branch("baseline").get_branch(
"baseline_behavioral_response_measurement", clone_system=True
Expand Down

0 comments on commit 86189dc

Please sign in to comment.