jjz5463 commited on
Commit
86fad57
1 Parent(s): cf6a08c

random pick an incomplete task instead of go with sequential order

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ class AppSimulator:
72
  system_data = json_repair.loads(row['value'])
73
 
74
  self.app_name = app_name
75
- smallest_index = find_smallest_incomplete_task(app_name)
76
  if smallest_index is None:
77
  return "All tasks in this app have been completed!"
78
  self.smallest_index = smallest_index
 
72
  system_data = json_repair.loads(row['value'])
73
 
74
  self.app_name = app_name
75
+ smallest_index = find_random_incomplete_task(app_name)
76
  if smallest_index is None:
77
  return "All tasks in this app have been completed!"
78
  self.smallest_index = smallest_index