Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
RecommenderXBlock
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
RecommenderXBlock
Commits
75d851ec
Commit
75d851ec
authored
Jan 13, 2015
by
Piotr Mitros
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor copy edits
parent
6a6de209
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
recommender/recommender.py
+3
-3
No files found.
recommender/recommender.py
View file @
75d851ec
...
...
@@ -108,7 +108,7 @@ class RecommenderXBlock(XBlock):
# A dict of recommendations provided by students.
# Usage: the same as default_recommendations
recommendations
=
Dict
(
help
=
"
Dict of help
resources"
,
default
=
{},
scope
=
Scope
.
user_state_summary
help
=
"
Current set of recommended
resources"
,
default
=
{},
scope
=
Scope
.
user_state_summary
)
# A list of recommendations removed by course staff. This is used to filter out
...
...
@@ -146,14 +146,14 @@ class RecommenderXBlock(XBlock):
# Usage: upvoted_ids[index] = (String) id of a resource which was
# upvoted by the current user
upvoted_ids
=
List
(
help
=
"List of resources' ids which user upvoted
to
"
,
default
=
[],
scope
=
Scope
.
user_state
help
=
"List of resources' ids which user upvoted"
,
default
=
[],
scope
=
Scope
.
user_state
)
# A list of recommendations' ids which user downvoted, so users cannot vote twice.
# Usage: downvoted_ids[index] = (String) id of a resource which was
# downvoted by the current user
downvoted_ids
=
List
(
help
=
"List of resources' ids which user downvoted
to
"
,
default
=
[],
scope
=
Scope
.
user_state
help
=
"List of resources' ids which user downvoted"
,
default
=
[],
scope
=
Scope
.
user_state
)
# A list of problematic recommendations' ids which user flagged.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment