Skip to content

Commit

Permalink
bug fix in runner and in test script
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoAureliano committed Oct 13, 2020
1 parent 2b99bac commit 3addfaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion medleysolver/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def execute(problems, output, classifier, time_manager, timeout, feature_setting
times = classifier.get_nearby_times(point, c)
end = time.time()

solver, elapsed, result, rewards, time_spent = apply_ordering(prob, order, timeout - (end - start), time_manager, extra_time_to_first, times)
solver, elapsed, result, rewards, time_spent = apply_ordering(prob, order, timeout - (end - start), time_manager, extra_time_to_first, times, reward)
solved_prob = Solved_Problem(prob, point, solver, elapsed + (end - start), result, order, time_spent)

classifier.update(solved_prob, rewards)
Expand Down
2 changes: 1 addition & 1 deletion runmedley.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ for seed in 0 1; do
elif [ $learner == exp3c ]
then
learnconfig="exp3 --gamma 0.25"
elif [ $learner == exp3c ]
elif [ $learner == exp3d ]
then
learnconfig="exp3 --gamma 0.5"
else
Expand Down

0 comments on commit 3addfaf

Please sign in to comment.