Commit 1fb0d1b1 by chrisndodge

Merge pull request #419 from edx-solutions/cdodge/social-engagement-scoring

reflect changes to social engagement scoring weights that have been done...
parents eaadaf0e 5ae79fef
......@@ -113,11 +113,11 @@ def _compute_social_engagement_score(social_metrics):
'SOCIAL_METRIC_POINTS',
{
'num_threads': 10,
'num_comments': 2,
'num_replies': 1,
'num_upvotes': 5,
'num_comments': 15,
'num_replies': 15,
'num_upvotes': 25,
'num_thread_followers': 5,
'num_comments_generated': 1,
'num_comments_generated': 15,
}
)
......
......@@ -215,7 +215,7 @@ class StudentEngagementTests(TestCase):
self.assertEqual(
leaderboard_position['score'],
24
85
)
self.assertEqual(
......@@ -264,7 +264,7 @@ class StudentEngagementTests(TestCase):
self.assertEqual(
leaderboard_position['score'],
24
85
)
# user should be in place #2
......@@ -282,7 +282,7 @@ class StudentEngagementTests(TestCase):
self.assertEqual(
leaderboard_position['score'],
48
170
)
# user2 should be in place #1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment