{% extends "base.html" %} {% from "_macros.html" import status_badge %} {# One model's sister matches (#6639), grouped by the other model. Expects `model` and `groups`, {other model: [sister_pages.MatchView]}. #} {% block title %}Sister matches · {{ model.name }} · {{ site_title }}{% endblock %} {% block content %}

Sister matches of {{ model.name }}

Each pair of poles, one in {{ model.name }} and one in another model, whose activity correlates best with each other's, above the rotated baseline. Strongest first.

{% for other, matches in groups | dictsort %}

With {{ other }} · {{ matches | length }}

{% for m in matches %}{% set here, there = (m.a, m.b) if m.a.model == model.name else (m.b, m.a) %} {% for p in (here, there) %}{% endfor %} {% endfor %}
Sister matches of {{ model.name }} with {{ other }}
{{ model.name }}{{ other }}rRotatedStudiesPage
{% if p.href %}{{ p.label }}{% else %}{{ p.label }}{% endif %}{{ "%.2f" | format(m.pearson) }} {{ "%.2f" | format(m.rotated) }} {% for s in m.studies %}{{ status_badge(s.status) }} {% else %}none{% endfor %} Match
{% endfor %} {% endblock %}