Provide a way for tracking if user acted on a recommendation

Bug #944060 reported by Łukasz Czyżykowski
6
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

Changed in ubuntu-recommender:
status: New → Incomplete
status: Incomplete → Confirmed
Changed in ubuntu-recommender:
importance: Undecided → Medium
Revision history for this message
Anthony Lenton (elachuni) wrote :

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.

Revision history for this message
Anthony Lenton (elachuni) wrote :

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
Revision history for this message
Dave Morley (davmor2) wrote :

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
Revision history for this message
Launchpad Janitor (janitor) wrote :

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/tests/run-tests, run-tests.sh:
    - 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/deletion/modification of reviews
      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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.