Skip to content

Commit

Permalink
Updates to repo leaderboard.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sammybams committed Sep 25, 2024
1 parent 37ad961 commit 7706a43
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
File renamed without changes.
6 changes: 1 addition & 5 deletions update_leaderboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def leaderboard_data():
---
*Want to see your name on the leaderboard? Contribute to our project on [GitHub](https://github.com/mlsanigeria/AI-Hacktober-MLSA) and make an impact!*
*Want to see your name on the leaderboard? Contribute to our project on [GitHub](https://github.com/mlsanigeria/speak-to-docs) and make an impact!*
""".format("\n".join(
f"| {entry['position']} | {entry['rank']} | {entry['avi']} | {entry['contributor']} | {entry['merged_prs']} |"
Expand All @@ -140,10 +140,6 @@ def leaderboard_data():
print("successfully updated LEADERBOARD.md")






# filter only the top 10 contributors
max_position = 10
filtered_data = [contributor for contributor in leaderboard_data if contributor['position'] <= max_position]
Expand Down

0 comments on commit 7706a43

Please sign in to comment.