{# 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 openinterp/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 %}