{% extends "base.html" %} {% from "_circuit.html" import unit_name, nav %} {% block title %}Circuit from {{ unit_name(c.root) }} · {{ model.name }} · {{ site_title }}{% endblock %} {% block content %} {{ nav(root, model, "Circuit from " ~ unit_name(c.root)) }}

Circuit from {{ unit_name(c.root) }}

{{ c.units | length }} units of {{ model.name }}, layers {{ c.layers[0] }}–{{ c.layers[1] }}, {{ c.verified }} VERIFIED, joined edge to edge by their wiring. The circuit is named after its lowest-layer unit; when circuits merge or split as the registry grows, the old names redirect here. See all circuits for how edges are found. Reported, not gated.

━ found by both readings · ━ activations only · ━ weights only

{% for e in c.edges %} {% set x1, y1 = c.positions[e.source.href] %}{% set x2, y2 = c.positions[e.target.href] %} {% set both = e.methods | length == 2 %} {% set cls = "stroke-emerald-500" if both else ("stroke-sky-500" if e.methods[0] == "activations" else "stroke-slate-400") %} {% if x1 == x2 %} {{ unit_name(e.source) }} → {{ unit_name(e.target) }} {% else %} {{ unit_name(e.source) }} → {{ unit_name(e.target) }} {% endif %} {% endfor %} {% for u in c.units %} {% set x, y = c.positions[u.href] %} L{{ u.layer }}/{{ u.label }} {{ unit_name(u) }}{{ " · verified" if u.verified }} {% endfor %}
{% for e in c.edges %} {% endfor %}
EdgeFound by
{{ unit_name(e.source) }} → {{ unit_name(e.target) }} {% for r in e.readings %} {{ r.experiment.id }} {{ r.method }} {{ '%+.3g' | format(r.weight) }}{{ " (backfilled)" if r.backfilled }}{{ "; " if not loop.last }} {% endfor %}
{% endblock %}