viz: Shortcut Learner (recommendations) learn upon success-only

The learner should only learn whenver we successfully visit an item.
It currently learns every time we visit an item, but this was leading
to bad recommendations for items that never existed.

This change will eliminate recommendations of items that never existed.

Change-Id: I51bfd03e4720fb19fab2d152bf84d0bfca8241f5
1 file changed
tree: 19e16756a9f2d43bad36ea0f7923f2aa1e4637cc
  1. go/
  2. public/
  3. scripts/
  4. src/
  5. test/
  6. .gitignore
  7. .jshintrc
  8. bower.json
  9. css-transform.js
  10. main-transform.js
  11. Makefile
  12. md-transform.js
  13. package.json
  14. README.md
  15. web-component-dependencies.html
README.md

Viz Vanadium Viewer

Viz is a browser-like application that lets the user view and traverse mount tables, intermediate nodes, and services. It also lets the user invoke services either to see the results, or to change the state of a server.

The Extension

You must have the Vanadium Extension installed on Chrome to run this.

Get it here: https://chrome.google.com/webstore/detail/vanadium-extension/jcaelnibllfoobpedofhlaobfcoknpap

Building

Before you can run Viz, you need to build. Simply run:

make

Running

make start

and navigate to http://localhost:9000

to stop simply CTRL-C the console running the make start

If you have any problems after updating the code, try

make clean
make start