Skip to content

Commit

Permalink
collusion test
Browse files Browse the repository at this point in the history
  • Loading branch information
sara-santana committed Nov 29, 2024
1 parent b6f87ed commit fe45c58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion beacon/scripts/collusion_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,10 @@ def update_user_budget_to_initial(individual_id):
{"$inc": {"budget": -(math.log10(0.5))}},
)
print("!!!!!!!!!!!!!!!!!!!!!!!!!!!")
print("THE BUDGET WAS UPDATED, SO 1 MORE USER")
budget_info = client.beacon.get_collection('budget').find_one({"individualId": individual_id})
print("The budget is now: ", budget_info['budget'])
print("BLA BLA BLA")
print("THE BUDGET WAS UPDATED, SO 1 MORE USER")
print("!!!!!!!!!!!!!!!!!!!!!!!!!!!")
except Exception as e:
return None
Expand Down

0 comments on commit fe45c58

Please sign in to comment.