Provide a way for tracking if user acted on a recommendation
Bug #944060 reported by
Łukasz Czyżykowski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-recommender |
Fix Committed
|
Medium
|
Łukasz Czyżykowski | ||
software-center (Ubuntu) |
Fix Released
|
Medium
|
Gary Lasker |
Bug Description
There should be a way of tracking if given recommendation was acted by user, that is, if recommended application was actually installed.
This would require implementation on both server and client. The server side needs to provide an api for client to call when recommendation caused user to install an aplication.
The client side needs to track which recommendation (if any) was displayed before user installed given application.
This requires tracking user behaviour, but it's part of getting feedback of the quality of recommendations we are computing. At the point where this call will be used, user already had opted in into recommendation system.
Related branches
lp://staging/~canonical-ca-hackers/ubuntu-recommender/944060-tracking-user-actions
- Anthony Lenton (community): Approve
-
Diff: 388 lines (+275/-1)6 files modifiedsrc/recommender/api/forms.py (+9/-1)
src/recommender/api/handlers.py (+22/-0)
src/recommender/api/urls.py (+5/-0)
src/recommender/migrations/0016_add_implicitfeedback.py (+163/-0)
src/recommender/models/recommendations.py (+10/-0)
src/recommender/tests/test_api.py (+66/-0)
lp://staging/~gary-lasker/software-center/recommended-installed-feedback
- Michael Vogt (community): Approve
-
Diff: 942 lines (+356/-133)11 files modifiedsoftwarecenter/backend/piston/sreclient_pristine.py (+1/-1)
softwarecenter/backend/recagent.py (+26/-1)
softwarecenter/enums.py (+4/-0)
softwarecenter/ui/gtk3/panes/availablepane.py (+3/-10)
softwarecenter/ui/gtk3/views/appdetailsview.py (+7/-7)
softwarecenter/ui/gtk3/views/catview_gtk.py (+59/-39)
softwarecenter/ui/gtk3/widgets/containers.py (+41/-17)
softwarecenter/ui/gtk3/widgets/recommendations.py (+79/-29)
tests/gtk3/test_catview.py (+117/-21)
tests/gtk3/windows.py (+9/-8)
tests/test_recagent.py (+10/-0)
Changed in ubuntu-recommender: | |
status: | New → Incomplete |
status: | Incomplete → Confirmed |
Changed in ubuntu-recommender: | |
importance: | Undecided → Medium |
Changed in ubuntu-recommender: | |
status: | Confirmed → In Progress |
assignee: | nobody → Łukasz Czyżykowski (lukasz-czyzykowski) |
Changed in ubuntu-recommender: | |
status: | In Progress → Fix Committed |
Changed in software-center (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Gary Lasker (gary-lasker) |
status: | Triaged → In Progress |
Changed in software-center (Ubuntu): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
This will involve a new api call. The API call should be authenticated, and take two arguments (besides the implicit authenticated user):
- The package name
- a (shortish, freeform) "action" string to explain what was done with the package. Some possible actions would be "installed", "clicked on rec", "viewed", "uninstalled". I'd suggest keeping the length down to < 20 chars.