{% extends "base.html" %} {% from "_circuit.html" import nav %} {% from "_macros.html" import fold %} {% from "_record.html" import verdict_block, people, revisions %} {# One circuit experiment (#6638): its task hypothesis, its probes, its measures and its verdict. Expects `rc` (circuit_units.CircuitView), `t` (TaskView), `e` (ExperimentView) and `units`, each member's page by its label. #} {% set h, p, v = e.record.hypothesis, e.record.probes, e.record.verdict %} {% macro pairs_table(pairs, caption) -%}
{% for x in pairs %}{% endfor %}
{{ caption }}
Clean promptCorrupted promptClean nextCorrupted next
{{ x.clean }}{{ x.corrupted }}{{ x.good }}{{ x.bad }}
{%- endmacro %} {% block title %}Circuit {{ rc.id }} · {{ e.id }} · {{ model.name }} · {{ site_title }}{% endblock %} {% block content %}
{{ nav(root, model, "Circuit " ~ rc.id) }}

{{ model.name }} · circuit {{ rc.id }} · {{ e.id }}

An experiment on task {{ t.name }} of circuit {{ rc.id }}{% if e.stale %}. Stale: the circuit's members have changed since it ran.{% else %}, on its current members.{% endif %}

Verdict

{{ verdict_block(v.status, v.gates, e.independent, v.timestamp) }}
{{ people(agent_name(h.submitting_agent_model), agent_name(v.reviewer_agent_model)) }} {{ revisions(root, e.supersedes, e.superseded_by, repo_url, e.source) }}

Hypothesis

{{ t.name }}: {{ h.task.description }}

{{ h.explanation }}

Members it tested

{% if e.stale %}

Since it ran:{% if e.joined %} joined {{ e.joined | join(", ") }}.{% endif %}{% if e.left %} Left {{ e.left | join(", ") }}.{% endif %}

{% endif %}

Measures

Each value is relative to ablating every neuron and head of the model.

Necessity on the holdouts
{{ "%.3f" | format(v.measures.holdout_necessity) }} (floor {{ v.policy.min_necessity }})
Random sets like the members
{{ "%.3f" | format(e.null) }}, the {{ (100 * v.policy.null_quantile) | round | int }}th percentile of {{ v.measures.null_necessities | length }}
Faithfulness on the holdouts
{{ "%.3f" | format(v.measures.holdout_faithfulness) }}
Specificity
{{ "—" if e.specificity is none else "{:.0%}".format(e.specificity) }} (needs {{ "{:.0%}".format(v.policy.min_specificity) }})

Tasks it should not carry

{% for name, n in v.measures.negative_necessities.items() %}{% endfor %}
Each negative task's necessity, and whether it passes
TaskNecessityPasses (below {{ v.policy.max_negative_necessity }})
{{ name }}{{ "%.3f" | format(n) }}{{ "yes" if n | abs < v.policy.max_negative_necessity else "no" }}
{% if v.measures.member_necessities %}

Each member alone

{% endif %}
{% call fold("Task pairs: " ~ h.task.pairs | length, level=2) %}{{ pairs_table(h.task.pairs, "The proposer's prompt pairs") }}{% endcall %} {% call fold("Holdout pairs: " ~ p.holdouts | length, level=2) %}{{ pairs_table(p.holdouts, "The reviewer's holdout pairs") }}{% endcall %} {% call fold("Negative tasks: " ~ p.negative_tasks | length, level=2) %} {% for nt in p.negative_tasks %}

{{ nt.name }}

{{ nt.description }}

{{ pairs_table(nt.pairs, "Pairs of " ~ nt.name) }}{% endfor %} {% endcall %}
{% endblock %}