Skip to content

Commit

Permalink
Remove hardcoded points since it causes more confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalnandagopal committed Jan 19, 2024
1 parent 0b2efb2 commit e0179e3
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,30 +301,7 @@ def fetch_points_for_each_task() -> dict[str, int]:
print(
f"Could not read points.json in current directory so using hardcoded points. Error - {e}"
)
points_dict = {
"pull request": 20,
"info": 40,
"blog": 60,
"sm posting": 15,
"caption": 5,
"subordinate": 20,
"weekly work": 5,
"idea": 3,
"brochure": 10,
"news": 40,
"demos": 20,
"oc volunteer": 30,
"oc assigned": 20,
"oc no work": 10,
"oc manager": 50,
"wtf": 75,
"discord": 10,
"marketing": 20,
"mini project": 100,
"complete project": 200,
"promotion medium": 25,
"promotion large": 50,
}
exit()

return points_dict

Expand Down

0 comments on commit e0179e3

Please sign in to comment.