{# Fill per neuron status on the layer map and pieces bars. Defined in builder/statuses.py. #} {% set map_fill = statuses.STATUS_FILL %} {% macro status_badge(status) -%} {{ status | replace('_', ' ') }} {%- endmacro %} {# Why a scan stopped on a chosen unit, in words. #} {% macro stop_outcome(stop) -%} {{ stop.outcome | replace('_', '-') }}{% if stop.proven_dead %} (proven by the weights){% endif %} {%- endmacro %} {% macro evidence_badge(conclusiveness, direction) -%} {% set strength = evidence_strength(conclusiveness) %} {% set supports = direction == 'supports' %} {{ strength }} evidence {{ 'for' if supports else 'against' }} · {{ conclusiveness | num(2) }} {%- endmacro %} {# The proposer's model also wrote the probes. Recorded, not gated (protocol §2). #} {% macro self_review_badge() -%} self-reviewed {%- endmacro %} {# Scanned on the 552-token built-in sample: the max activation behind every "active" line means little. #} {% macro builtin_sample_badge() -%} built-in sample {%- endmacro %} {% macro pole_mark(pole) -%} {{ '+' if pole == 'positive' else '−' }} {%- endmacro %} {% macro breadcrumb(root, model=none, layer=none, neuron=none, unit_link=false) -%} {%- endmacro %} {# Tokens shaded by pole strength; hover (or tap) a token for its exact value. #} {# Masks an example that matched the word list of openinterpretability/sensitive.py until the reader opts in. CSS only, so it works with no script. Pagefind leaves it out, so search results do not show the text. #} {% macro spoiler(masked) -%} {%- if masked -%}
{{ caller() }}
{%- else -%} {{ caller() }} {%- endif -%} {%- endmacro %} {# The spans are built in Python (builder/heat.py), because pages show many thousands of tokens. #} {% macro heat_tokens(tokens) -%} {{ heat_html(tokens) }} {%- endmacro %} {# What errata changed about one experiment (core/errata.py). Errata have no page of their own. #} {% macro errata_notes(errata, edits, repo_url) -%} {% for x in errata %}

Erratum, {{ x.date.isoformat() }}: {{ x.title }}. {% if x.set_aside %}This record is set aside: it no longer counts toward the status.{% else %}This page shows the record with these corrections:{% endif %}

{% if not x.set_aside %} {% endif %}

{{ x.bug }} Fixed in {{ x.fixed_in[:12] }}.

{% endfor %} {%- endmacro %} {# The open experiment PRs (builder/pending.py, #3283): what is still running or landing. #} {% macro pending_table(pending, root, show_model=true) -%}

Pending experiments

{{ pending | length }} experiment{{ 's are' if pending | length != 1 else ' is' }} in an open pull request, newest first, as of this build. A draft is still running, and a ready one waits for its checks.

{% for p in pending %} {% endfor %}
UnitDrawStatePR
L{{ p.layer }}/{{ p.unit }}{% if p.pole %}{{ pole_mark(p.pole) }}{% endif %}{% if show_model %}
{{ p.model_slug.replace('--', '/') }}
{% endif %}
{{ p.kind.replace('_', ' ') }} {% if p.draft %}running (draft){% else %}waiting for checks{% endif %} #{{ p.number }}
{%- endmacro %} {# A model's card: its statistics and its pieces bars (builder/pieces.py), on the home and Models pages (#3287). `idx` keeps each card's SVG pattern id unique on the page. #} {% macro model_card(m, explore, root, idx) -%} {% set pc = pieces.model_pieces(m) %}
{{ m.name }}{% if m.name == explore.model %} explore focus{% endif %} {{ m.experiments }} experiments · {{ m.neurons_studied }}/{{ m.total_neurons | thousands }} neurons studied{% if m.member_only %}, {{ m.member_only }} of them only as part of a superposition{% endif %} ({{ m.coverage | pct_fine }}) · {% set v = explore.models[m.name] %}{{ v.verified }}/{{ m.total_neurons | thousands }} verified ({{ (v.verified / m.total_neurons if m.total_neurons else none) | pct_fine }}; target {{ '{:g}%'.format(100 * explore.target) }}){% if v.dead %}, {{ v.dead }} of them proven dead{% endif %}
{% if pc %} {% for row in pc.rows %} {% for c in row.cells %} {{ c.label }} {% endfor %} {% endfor %}

One row per layer, L0 at the top. Each cell is {{ pc.block }} neurons, coloured by the best status among them. It fills from the bottom with the share of their poles that are studied, so one studied pole shows as a thin line.

{% endif %}
{%- endmacro %}