Skip to content

Commit

Permalink
chore(docstring): correct helper_param() docstring returns
Browse files Browse the repository at this point in the history
  • Loading branch information
amyheather committed Feb 5, 2025
1 parent c140f9e commit d002ee3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_functionaltest.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,9 @@ def helper_param(param_name, value):
Value to assign to the parameter.
Returns:
float:
Mean queue time for nurses.
dict:
'run' dictionary from the run_single() output, containing the
average results from run/s of the model.
"""
# Create a default parameter, but set some specific values
# (which will ensure sufficient arrivals/capacity/etc. that we will
Expand All @@ -269,7 +270,7 @@ def helper_param(param_name, value):
mean_n_consult_time=15)
setattr(param, param_name, value)

# Run replications and return the mean queue time for nurses
# Run a single replication and return the results for that run
experiment = Runner(param)
return experiment.run_single(run=0)['run']

Expand Down

0 comments on commit d002ee3

Please sign in to comment.