Provide a way for tracking if user acted on a recommendation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| ubuntu-recommender |
Medium
|
Łukasz Czyżykowski | ||
| software-center (Ubuntu) |
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
- Anthony Lenton (community): Approve on 2012-08-17
-
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)
- Michael Vogt: Approve on 2012-09-06
-
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 |
Anthony Lenton (elachuni) wrote : | #1 |
Anthony Lenton (elachuni) wrote : | #2 |
Two options for the url:
- Replace the /feedback/ API call, that's currently unused by the client.
- Add a new /implicit_feedback/ API call, and leave the other one for now, we can remove it down the road.
Changed in ubuntu-recommender: | |
status: | Confirmed → In Progress |
assignee: | nobody → Łukasz Czyżykowski (lukasz-czyzykowski) |
Changed in ubuntu-recommender: | |
status: | In Progress → Fix Committed |
Dave Morley (davmor2) wrote : | #3 |
Leaving currently at fix committed till the usc frontend code it in place to trial it fully.
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 |
Launchpad Janitor (janitor) wrote : | #4 |
This bug was fixed in the package software-center - 5.3.11
---------------
software-center (5.3.11) quantal; urgency=low
[ Michael Vogt ]
* lp:~mvo/software-center/speedup2:
- startup time improvements
* lp:~mvo/software-center/adt-you-make-my-life-hard:
- updates to make the tests run as user
* debian/
- ensure there is a apt-xapian-index available as this is not
automatically created in the ADT test VM environment
- fail to run the tests if there is no apt-xapian-index
* lp:~mvo/software-center/lp1045330:
- return an empty string if there is no price instead
of the "None" string and add test (LP: #1045330)
* lp:~mvo/software-center/lp1044900:
- add local "trans" var to fix crash (LP: #1044900)
* lp:~mvo/software-center/fix-init:
- fix some incorrect __init__() calls
* lp:~mvo/software-center/fix-fixme-lp1045330:
- test case update, fix a FIXME in the dataprovider
test by providing its own private dbus connection
instead of using the system bus
* lp:~mvo/software-center/lp1045826:
- fix double display of currency and cleanup around
this code (LP: #1045826)
* lp:~mvo/software-center/trivial-restore-state-fix:
- improvements to the initial window size code and
make the window size config a property that supports
tuples
[ Aaron Peachey ]
* lp:~aaronp/software-center/review-refactor:
- This branch simply converts the existing callbacks for retrieval
of review data and submission/
to GObject signals (courtesy of mvo) which makes it more consistent
with the rest of the code
[ Gary Lasker ]
* lp:~gary-lasker/software-center/recommended-installed-feedback:
- signal the recommender service when a recommended item has been
successfully installed, refactor and clean up surrounding code,
new unit tests for the feature (LP: #944060, LP: #1044107)
-- Michael Vogt <email address hidden> Fri, 07 Sep 2012 09:36:45 +0200
Changed in software-center (Ubuntu): | |
status: | Fix Committed → Fix Released |
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.