{% extends "base.html" %}
{% macro a(addon) %}
{{ addon.name }}
{% endmacro %}
{% block title %}Recommendations Debugging{% endblock %}
{% block extrahead %}
{% endblock %}
{% block content %}
{{ self.title() }}
{% if ids %}
What's going on here?
Most add-ons have a list of 10 similar add-ons. Similarity is determined by
looking at what add-ons are installed together. The more times one add-on is
paired with another the higher the similarity score. To get the recommended
collection we sum up all the similarity scores for the add-ons you have and take
the top 10 again. We only consider app/platform similarity after finding the top
10, so your top recommendations could all be incompatible.
Use this page's URL for bugs. It's great.
View the disco pane with these guids.
You gave me these add-ons:
{% for addon in addons %}
-
{{ addon.id }}: {{ a(addon) }}
{% for other in recs[addon.id] %}
{{ a(other.other_addon) }} |
{{ (other.score * 1000)|round(2) }} |
{{ other.other_addon.compatible_apps[amo.FIREFOX] }} |
{% endfor %}
{% endfor %}
Here are the recommendations:
{% for addon in recommended %}
{{ loop.index }} |
{{ a(addon) }} |
{{ addon.compatible_apps[amo.FIREFOX] }} |
{% endfor %}
This is how it broke down (we only take the first 10):
{% for score, addon in all_recs %}
{{ (score * 1000)|round(2) }} |
{{ a(addon) }} |
{{ addon.compatible_apps[amo.FIREFOX] }} |
{% endfor %}
{% endif %}
{% endblock %}