File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,6 +69,10 @@ def _build_leaderboard_data(course):
6969 "faq_score" : sub .faq_score ,
7070 "learning_in_public_score" : sub .learning_in_public_score ,
7171 }
72+ if sub .homework_link :
73+ hw_entry ["homework_link" ] = sub .homework_link
74+ if sub .faq_contribution :
75+ hw_entry ["faq_contribution" ] = sub .faq_contribution
7276 if sub .learning_in_public_links :
7377 hw_entry ["learning_in_public_links" ] = sub .learning_in_public_links
7478 hw_data .append (hw_entry )
@@ -86,6 +90,10 @@ def _build_leaderboard_data(course):
8690 "project_faq_score" : sub .project_faq_score ,
8791 "passed" : sub .passed ,
8892 }
93+ if sub .github_link :
94+ proj_entry ["github_link" ] = sub .github_link
95+ if sub .faq_contribution :
96+ proj_entry ["faq_contribution" ] = sub .faq_contribution
8997 if sub .learning_in_public_links :
9098 proj_entry ["learning_in_public_links" ] = sub .learning_in_public_links
9199 proj_data .append (proj_entry )
You can’t perform that action at this time.
0 commit comments