Open Interpretability Models Contributors Research Posts About

Qwen/Qwen2.5-0.5B · L3/N3573 · 20261119T200054Z

Experiment 1 of 2 on this neuron, most conclusive first · record

#1 · negative pole − VERIFIED strong evidence for · 1.00 self-reviewed counts toward status 2026-11-19 · 20261119T200054Z

This pole fires on structural punctuation (commas, colons, dots, semicolons, closing brackets) or the return keyword when it occurs inside a code-delimiter frame of curly braces, parentheses, or square brackets in C-like code; the exact punctuation character does not matter, and the same tokens in prose, in bare delimiter-free fragments, or in lone markup snippets stay near silent.

The whole hypothesis

This pole fires on structural punctuation (commas, colons, dots, semicolons, closing brackets) or the return keyword when it occurs inside a code-delimiter frame of curly braces, parentheses, or square brackets in C-like code; the exact punctuation character does not matter, and the same tokens in prose, in bare delimiter-free fragments, or in lone markup snippets stay near silent.

Hard negatives 17/20 rejected · holdouts 10/10 fired (independent observations; 30 probes) · P(useful) 1.00

Revises 20261104T033959Z (NEEDS_REVISION)

Balanced accuracy
0.93
Sufficiency
0.94
Necessity
0.88
Lookahead KL
0.0006
✓ enough hard negatives ✓ enough holdouts ✓ specificity ✓ sensitivity ✓ counterfactual reproduction ✓ lookahead consistent ✓ independent review ✓ beats confound baseline ✓ not default on

specificity 0.85 · sensitivity 1.00 · counterfactual reproduction 1.00 · protocol v0.10

:,:), return

Adversarial review

hard_negative: 17/20 passed; positive_holdout: 10/10 passed; counterfactual: 6/6 passed; lookahead_consistency: 1/1 passed. All gates passed.

Hard negatives 17/20 stay below Positive holdouts 10/10 reach it threshold 0.85 (25% of max) → active passed · 0.135 (4% of max) The old sticker reads "return, hello: world; done." in faded ink by the door. passed · 0.140 (4% of max) Dear Jo, please return my spare keys: front, back, shed, gate, kindly. passed · 0.182 (5% of max) Mara whispered, softly: take bread, cheese, wine, and meet me at dusk. passed · 0.189 (6% of max) We simmered garlic, onion, tomato: low heat, slow stir, rich smell till dusk. passed · 0.192 (6% of max) The snippet <b>Hello, world: apples, sweet pears; ripe fruit.</b> sat alone in the file. passed · 0.193 (6% of max) We toured Paris, Rome, Madrid: old streets, loud markets, sweet wine, late tired happy evenings. passed · 0.198 (6% of max) See chapter three, section four: figures seven, eight, nine, all revised. passed · 0.202 (6% of max) She packed shirts; coats; boots: warm, dry, ready for the long mountain winter. passed · 0.208 (6% of max) Comma, colon: semicolon; dot. just little marks lined up for inspection today. passed · 0.217 (6% of max) The team refactored the billing module, cleaned up edge cases, and simplified late fees. passed · 0.225 (7% of max) Grand total equals base, fee, tip: fair, exact, kindly checked twice. passed · 0.265 (8% of max) Please return the borrowed novel soon: Anna, Marco, and Lea are waiting, eager, impatient to read. passed · 0.320 (9% of max) This helper will return the answer, neatly trimmed: clean, short, ready. passed · 0.345 (10% of max) apples, bananas, cherries: ripe, juicy, fragrant, market-fresh this morning at dawn beside the harbor stalls passed · 0.368 (11% of max) # Old note: return the keys, ring twice: thanks; cheers. passed · 0.374 (11% of max) The old card shows <table><tr><td>bread, milk: eggs; butter.</td></tr></table> only, nothing else. passed · 0.508 (15% of max) The return on the harvest was splendid: full barns, glad workers, easy winter. failed · 1.686 (50% of max) def fetch: rows = ledger plus archive, minus errors total = sum of rows return total failed · 2.081 (61% of max) int total = price, tax, tip; float ratio = sum, mean, peak; bare math, no wrapper. failed · 2.486 (73% of max) void setup { value } plus extras, details: done today, all set. passed · 1.285 (38% of max) function fetch() { let v = grid[i, j]; show(v); } // lookup cell passed · 1.355 (40% of max) void build() { var t = brush.load(x).blend(y).finish(); } // painter path passed · 1.516 (45% of max) void handle(int mode) { switch(mode) { case 1: start(); break; } } // done passed · 1.831 (54% of max) void render() { paint(widget; region; layer); flush; } // odd style kept for now passed · 2.069 (61% of max) fun pick(a: Int, b: Int): Int { return if (a > b) a else b } // choice passed · 2.156 (63% of max) /// totals for ledger fn total(items: Vec<i32>) -> i32 { items.iter().sum() } passed · 2.178 (64% of max) void paint() { draw(shape(circle(x, y)), brush); } // nested blobs all set passed · 2.238 (66% of max) bool ready() { return feed.read(item).done(); } // final check today passed · 2.422 (71% of max) function greet(name, age) { return name + age; } // warm welcome home passed · 2.441 (72% of max) int add() { return sum(a: b: c); } // strange separators here today 0 max 3.40
passed failed Each probe's peak negative-pole strength. The shaded side of the line counts as active. Hover a dot for its prompt.
All 37 probes
TestInputExpectedObserved
✓ hard negative We toured Paris, Rome, Madrid: old streets, loud markets, sweet wine, late tired happy evenings.
Prose commas, colon, and dots with no bracket characters anywhere test the code-frame requirement against rival 1.
inactive 0.193
✓ hard negative Please return the borrowed novel soon: Anna, Marco, and Lea are waiting, eager, impatient to read.
Return as a prose verb plus commas with zero delimiters tests keyword-in-prose silence against rival 1.
inactive 0.265
✓ hard negative apples, bananas, cherries: ripe, juicy, fragrant, market-fresh this morning at dawn beside the harbor stalls
Bare delimiter-free grocery list with commas and colon tests that triggers without a frame stay silent.
inactive 0.345
✓ hard negative The snippet <b>Hello, world: apples, sweet pears; ripe fruit.</b> sat alone in the file.
Lone markup snippet with commas and colon tests the lone-markup exclusion and tells the markup-firing sister apart.
inactive 0.192
✓ hard negative The old sticker reads "return, hello: world; done." in faded ink by the door.
Return, commas, colon inside a quoted string with no code frame tests the string-role negative.
inactive 0.135
✓ hard negative # Old note: return the keys, ring twice: thanks; cheers.
Return inside a lone comment line with commas and colon tests the comment-role negative.
inactive 0.368
✗ hard negative int total = price, tax, tip; float ratio = sum, mean, peak; bare math, no wrapper.
Valid bare declaration with commas and semicolons but no delimiters tests frame-dependence where rival 2 predicts fire.
inactive 2.081
✓ hard negative The team refactored the billing module, cleaned up edge cases, and simplified late fees.
Same code topic in prose with commas but no code and no brackets tests topic-without-feature.
inactive 0.217
✓ hard negative She packed shirts; coats; boots: warm, dry, ready for the long mountain winter.
Prose semicolons and colon with no brackets anywhere tests punctuation-in-prose silence.
inactive 0.202
✓ hard negative Comma, colon: semicolon; dot. just little marks lined up for inspection today.
Isolated punctuation names with the marks themselves but no frame tests trigger-tokens-without-context.
inactive 0.208
✓ hard negative The return on the harvest was splendid: full barns, glad workers, easy winter.
Return as a noun with colon and commas in prose tests part-of-speech change with no frame.
inactive 0.508
✗ hard negative def fetch: rows = ledger plus archive, minus errors total = sum of rows return total
Valid indentation-based fragment with return keyword, comma, and colon but no C-like delimiters tests the C-frame claim where rival 2 predicts fire.
inactive 1.686
✓ hard negative See chapter three, section four: figures seven, eight, nine, all revised.
Prose list with colon and commas and no brackets tests plain-prose silence.
inactive 0.198
✓ hard negative This helper will return the answer, neatly trimmed: clean, short, ready.
Code-vocabulary prose with return and commas but no delimiters tests topic-without-feature.
inactive 0.320
✓ hard negative The old card shows <table><tr><td>bread, milk: eggs; butter.</td></tr></table> only, nothing else.
Second lone-markup shape with commas and colon inside table tags tests the markup exclusion again.
inactive 0.374
✓ hard negative Mara whispered, softly: take bread, cheese, wine, and meet me at dusk.
Quoted dialogue with colon and commas but no brackets tests triggers in speech without a frame.
inactive 0.182
✗ hard negative void setup { value } plus extras, details: done today, all set.
Code-like braces holding only a bare word with comma and colon outside the frame tests that only inside-frame triggers count.
inactive 2.486
✓ hard negative We simmered garlic, onion, tomato: low heat, slow stir, rich smell till dusk.
Cooking prose with commas and colon and no brackets tests everyday prose silence.
inactive 0.189
✓ hard negative Grand total equals base, fee, tip: fair, exact, kindly checked twice.
Bare arithmetic list with commas and colon but no delimiters tests delimiter-free silence.
inactive 0.225
✓ hard negative Dear Jo, please return my spare keys: front, back, shed, gate, kindly.
Letter prose with return verb, commas, and colon and no brackets tests prose silence.
inactive 0.140
✓ positive holdout /// totals for ledger fn total(items: Vec<i32>) -> i32 { items.iter().sum() }
Rust function with colons inside parens and dots inside braces holds out to a new language.
active 2.156
✓ positive holdout function greet(name, age) { return name + age; } // warm welcome home
JavaScript function with comma inside parens and return inside braces holds out to a new language.
active 2.422
✓ positive holdout void render() { paint(widget; region; layer); flush; } // odd style kept for now
Semicolons swapped into argument slots inside a call tests character-indifference where rival 2 and the sister predict silence.
active 1.831
✓ positive holdout void handle(int mode) { switch(mode) { case 1: start(); break; } } // done
Java switch with case colon inside braces holds out to a new construct.
active 1.516
✓ positive holdout void build() { var t = brush.load(x).blend(y).finish(); } // painter path
Dotted method chain inside braces holds out to dot-triggers in a new setting.
active 1.355
✓ positive holdout fun pick(a: Int, b: Int): Int { return if (a > b) a else b } // choice
Kotlin function with colons in the signature and return inside braces holds out to a new language.
active 2.069
✓ positive holdout void paint() { draw(shape(circle(x, y)), brush); } // nested blobs all set
Nested closing brackets inside call parens holds out to the bracket trigger in fresh code.
active 2.178
✓ positive holdout int add() { return sum(a: b: c); } // strange separators here today
Colons swapped into argument slots inside a call tests character-indifference where rival 2 predicts silence.
active 2.441
✓ positive holdout function fetch() { let v = grid[i, j]; show(v); } // lookup cell
Comma inside square-bracket indexing with a trailing call holds out to a new frame type.
active 1.285
✓ positive holdout bool ready() { return feed.read(item).done(); } // final check today
Return plus dotted chain and semicolon inside braces holds out to combined triggers in fresh code.
active 2.238
✓ counterfactual int foo() { return ok; } -> int foo() was return ok all day Δ 0.65 Δ 0.67
✓ counterfactual o = {k: v} -> o = see k v here ok Δ 0.45 Δ 0.43
✓ counterfactual void foo() { x = a.b; } -> void foo() says x = a b today ! Δ 0.30 Δ 0.31
✓ counterfactual void foo() { if (x) { return ok; } } -> void foo() says if x then return ok now ! Δ 0.55 Δ 0.59
✓ counterfactual int foo() { y = f(a, b); } -> int foo() { y = f(a; b); } Δ 0.00 Δ -0.03
✓ counterfactual The cat sat, and dog ran. -> The cat sat! and dog ran? Δ 0.00 Δ 0.00
✓ lookahead consistency int foo() { return ok; }; o = {k: v}; void foo() { x = a.b; }; void foo() { if (x) { return ok; } }; int foo() { y = f(a, b); }; The cat sat, and dog ran.
claimed retrospective; measured retrospective (KL=0.0006105, tokens=[';', ' return', ' x', ' \n', ' '])

Minimal pairs

Pair 1 Sufficiency: 0.97 · effect 0.00142 (matched |effect| median 0.0001, max 0.00185) int foo() { return ok; } → int foo() was return ok all day Necessity: 0.94 · effect 0.000797 (matched |effect| median 5.86e-05, max 0.00221) int foo() { return ok; } → int foo() was return ok all day Pair 2 Sufficiency: 0.91 · effect 0.000495 (matched |effect| median 0.000116, max 0.000934) o = {k: v} → o = see k v here ok Necessity: 0.75 · effect 0.000335 (matched |effect| median 0.000141, max 0.00157) o = {k: v} → o = see k v here ok Pair 3 Sufficiency: 0.91 · effect 0.000258 (matched |effect| median 5.85e-05, max 0.00032) void foo() { x = a.b; } → void foo() says x = a b today ! Necessity: 0.81 · effect 5.98e-05 (matched |effect| median 2.96e-05, max 0.000177) void foo() { x = a.b; } → void foo() says x = a b today ! Pair 4 Sufficiency: 1.00 · effect 0.00106 (matched |effect| median 8.78e-05, max 0.000598) void foo() { if (x) { return ok; } } → void foo() says if x then return ok now ! Necessity: 0.97 · effect 0.0026 (matched |effect| median 0.000167, max 0.00274) void foo() { if (x) { return ok; } } → void foo() says if x then return ok now ! Median (score) Sufficiency: 0.94 · median of 4 pairs 0.94 Necessity: 0.88 · median of 4 pairs 0.88 0.5 = a typical matched neuron 0 0.25 0.5 0.75 1
sufficiency (clean → corrupted) necessity (corrupted → clean) Hover a bar for its effect and prompts.
#Base → counterfactualExpected ΔObserved ΔSufficiencyNecessity
1 int foo() { return ok; }
→ int foo() was return ok all day
0.65 0.67 0.97
effect 0.00142
matched 0.0001 / 0.00185
0.94
effect 0.000797
matched 5.86e-05 / 0.00221
2 o = {k: v}
→ o = see k v here ok
0.45 0.43 0.91
effect 0.000495
matched 0.000116 / 0.000934
0.75
effect 0.000335
matched 0.000141 / 0.00157
3 void foo() { x = a.b; }
→ void foo() says x = a b today !
0.30 0.31 0.91
effect 0.000258
matched 5.85e-05 / 0.00032
0.81
effect 5.98e-05
matched 2.96e-05 / 0.000177
4 void foo() { if (x) { return ok; } }
→ void foo() says if x then return ok now !
0.55 0.59 1.00
effect 0.00106
matched 8.78e-05 / 0.000598
0.97
effect 0.0026
matched 0.000167 / 0.00274
5 int foo() { y = f(a, b); }
→ int foo() { y = f(a; b); }
0.00 -0.03 — —
6 The cat sat, and dog ran.
→ The cat sat! and dog ran?
0.00 0.00 — —
Read more

Δ is the base prompt's peak negative-pole strength minus the counterfactual's, as a fraction of the max activation.

Each causal score ranks the pole's patch effect among the 32 same-layer neurons that change as much between each pair, so 0.5 is typical. Sufficiency patches clean into corrupted, and necessity corrupted into clean. The score is the median over 4 non-control pairs, on next-token KL. Median effect 0.000777 (sufficiency) and 0.000566 (necessity). In the table, each cell gives the percentile, the pole's signed effect, and the matched neurons' median and largest |effect|, in nats of KL. Self-repair (the hydra effect) was mitigated by freezing downstream MLP outputs.

Top-activating examples

Hover a token for its value.

  1. 3.40 … ÐϵͳÊôÐÔ↵ */↵ Properties p1 = System.getProperties();↵ for(Entry<Object, Object> e : p1.entrySet()) {↵ System.out.println(e …
    All 102 tokens

    package com.umbrella.java.lang;↵↵import java.util.Map.Entry;↵import java.util.Properties;↵↵public class SystemDemo {↵↵ public static void main(String[] args) {↵ ↵ /*↵ * ��òÓ¡ËùÓÐϵͳÊôÐÔ↵ */↵ Properties p1 = System.getProperties();↵ for(Entry<Object, Object> e : p1.entrySet()) {↵ System.out.println(e.getKey() + "=" + e.getValue());↵ }↵ }↵↵}

    Values
    TokenNegative-pole strength
    Ð0.000
    Ï0.000
    µ0.000
    Í0.000
    ³0.000
    Ê0.000
    ô0.026
    Ð0.000
    Ô0.000
    ↵0.000
    0.000
    */↵0.000
    0.000
    0.240
    Properties0.020
    p0.385
    10.000
    =1.304
    System0.119
    .getProperties0.000
    ();↵0.636
    0.197
    for0.715
    (0.783
    Entry0.257
    <Object0.343
    ,1.895
    Object0.044
    >0.895
    e0.117
    :3.398
    p0.595
    10.000
    .entrySet0.150
    ())2.151
    {↵1.763
    0.388
    System0.274
    .out0.141
    .println0.000
    (e0.412
  2. 3.04 … (bufferString(ctx.Stderr), gc.Equals, "")↵ c.Assert(bufferString(ctx.Stdout), gc.Equals, "")↵ content, err := ioutil.ReadFile(filepath.Join(ctx.Dir, "some-file"))↵ c.Assert(err, gc.Is …
    All 709 tokens

    // Copyright 2012, 2013 Canonical Ltd.↵// Licensed under the AGPLv3, see LICENCE file for details.↵↵package jujuc_test↵↵import (↵ "io/ioutil"↵ "path/filepath"↵↵ gc "launchpad.net/gocheck"↵↵ "github.com/wallyworld/core/cmd"↵ "github.com/wallyworld/core/testing"↵ "github.com/wallyworld/core/worker/uniter/jujuc"↵)↵↵type OwnerGetSuite struct {↵ ContextSuite↵}↵↵var _ = gc.Suite(&OwnerGetSuite{})↵↵var ownerGetTests = []struct {↵ args []string↵ out string↵}{↵ {[]string{"tag"}, "test-owner\n"},↵ {[]string{"tag", "--format", "yaml"}, "test-owner\n"},↵ {[]string{"tag", "--format", "json"}, `"test-owner"` + "\n"},↵}↵↵func (s *OwnerGetSuite) createCommand(c *gc.C) cmd.Command {↵ hctx := s.GetHookContext(c, -1, "")↵ com, err := jujuc.NewCommand(hctx, "owner-get")↵ c.Assert(err, gc.IsNil)↵ return com↵}↵↵func (s *OwnerGetSuite) TestOutputFormat(c *gc.C) {↵ for _, t := range ownerGetTests {↵ com := s.createCommand(c)↵ ctx := testing.Context(c)↵ code := cmd.Main(com, ctx, t.args)↵ c.Assert(code, gc.Equals, 0)↵ c.Assert(bufferString(ctx.Stderr), gc.Equals, "")↵ c.Assert(bufferString(ctx.Stdout), gc.Matches, t.out)↵ }↵}↵↵func (s *OwnerGetSuite) TestHelp(c *gc.C) {↵ com := s.createCommand(c)↵ ctx := testing.Context(c)↵ code := cmd.Main(com, ctx, []string{"--help"})↵ c.Assert(code, gc.Equals, 0)↵ c.Assert(bufferString(ctx.Stdout), gc.Equals, `usage: owner-get [options] <setting>↵purpose: print information about the owner of the service. The only valid value for <setting> is currently tag↵↵options:↵--format (= smart)↵ specify output format (json|smart|yaml)↵-o, --output (= "")↵ specify an output file↵`)↵ c.Assert(bufferString(ctx.Stderr), gc.Equals, "")↵}↵↵func (s *OwnerGetSuite) TestOutputPath(c *gc.C) {↵ com := s.createCommand(c)↵ ctx := testing.Context(c)↵ code := cmd.Main(com, ctx, []string{"--output", "some-file", "tag"})↵ c.Assert(code, gc.Equals, 0)↵ c.Assert(bufferString(ctx.Stderr), gc.Equals, "")↵ c.Assert(bufferString(ctx.Stdout), gc.Equals, "")↵ content, err := ioutil.ReadFile(filepath.Join(ctx.Dir, "some-file"))↵ c.Assert(err, gc.IsNil)↵ c.Assert(string(content), gc.Equals, "test-owner\n")↵}↵↵func (s *OwnerGetSuite) TestUnknownSetting(c *gc.C) {↵ com := s.createCommand(c)↵ err := testing.InitCommand(com, []string{"unknown-setting"})↵ c.Assert(err, gc.ErrorMatches, `unknown setting "unknown-setting"`)↵}↵↵func (s *OwnerGetSuite) TestUnknownArg(c *gc.C) {↵ com := s.createCommand(c)↵ err := testing.InitCommand(com, []string{"tag", "blah"})↵ c.Assert(err, gc.ErrorMatches, `unrecognized args: \["blah"\]`)↵}

    Values
    TokenNegative-pole strength
    (buffer0.027
    String0.000
    (ctx0.218
    .Stderr0.000
    ),2.030
    gc0.103
    .Equals0.002
    ,2.490
    "")↵0.707
    c0.151
    .Assert0.066
    (buffer0.054
    String0.000
    (ctx0.225
    .Stdout0.000
    ),1.998
    gc0.104
    .Equals0.000
    ,2.470
    "")↵0.680
    content0.000
    ,1.578
    err0.137
    :=0.000
    ioutil0.078
    .ReadFile0.000
    (filepath0.033
    .Join0.281
    (ctx0.289
    .Dir0.000
    ,3.041
    "0.252
    some0.000
    -file0.000
    "))↵1.416
    c0.150
    .Assert0.073
    (err0.052
    ,1.986
    gc0.065
    .Is0.000
  3. 2.79 … *)launchOptions {↵ [GeneratedPluginRegistrant registerWithRegistry:self];↵ // Override point for customization after application launch.↵ return [super application:application didFinishLaunchingWithOptions:launchOptions];↵}↵↵@end
    All 72 tokens

    #include "AppDelegate.h"↵#include "GeneratedPluginRegistrant.h"↵↵@implementation AppDelegate↵↵- (BOOL)application:(UIApplication *)application↵ didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {↵ [GeneratedPluginRegistrant registerWithRegistry:self];↵ // Override point for customization after application launch.↵ return [super application:application didFinishLaunchingWithOptions:launchOptions];↵}↵↵@end

    Values
    TokenNegative-pole strength
    *)0.747
    launch0.000
    Options0.000
    {↵0.652
    0.435
    [1.322
    Generated0.002
    Plugin0.008
    Registr0.112
    ant0.021
    register0.005
    With0.000
    Registry0.139
    :self2.189
    ];↵1.921
    0.789
    //0.121
    Override0.184
    point0.144
    for0.000
    customization0.268
    after0.028
    application0.000
    launch0.008
    .↵0.000
    0.434
    return1.636
    [0.894
    super0.509
    application0.895
    :2.791
    application0.186
    didFinish0.000
    Launching0.000
    WithOptions0.000
    :2.613
    launch0.000
    Options0.000
    ];↵1.475
    }↵↵0.372
    @end0.179
  4. 2.64 … db.timstr(-annot.time), \↵ "(" + str(annot.time)+ ")", \↵ wfdb.annstr(annot.anntyp), \↵ annot.subtyp, \↵ annot.ch …
    All 549 tokens

    #!/usr/bin/env python↵#↵# File: example3.py I. Henry 30 March 2005↵# last revised: 13 January 2013↵#↵# Example 3: An Annotation Printer↵#↵# This program prints annotations in readable form. Its first argument↵# is an annotator name, and its second argument is a record name.↵#↵# This is a Python translation of example3.c from the WFDB↵# Programmer's Guide↵# ↵# http://www.physionet.org/physiotools/wpg/wpg_48.htm#Example-3↵# ↵# Copyright (C) 2013 Isaac C. Henry (███████)↵#↵# This file is part of wfdb-swig.↵#↵# wfdb-swig is free software: you can redistribute it and/or modify it↵# under the terms of the GNU General Public License as published by↵# the Free Software Foundation, either version 3 of the License, or↵# (at your option) any later version.↵#↵# wfdb-swig is distributed in the hope that it will be useful, but↵# WITHOUT ANY WARRANTY; without even the implied warranty of↵# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU↵# General Public License for more details.↵#↵# You should have received a copy of the GNU General Public License↵# along with wfdb-swig. If not, see <http://www.gnu.org/licenses/>.↵↵import wfdb, sys↵↵def main(argv):↵ a = wfdb.WFDB_Anninfo()↵ annot = wfdb.WFDB_Annotation()↵ if len(argv) < 3:↵ print "usage:", argv[0], "annotator record"↵ sys.exit(1)↵ a.name = argv[1]↵ a.stat = wfdb.WFDB_READ↵ wfdb.sampfreq(argv[2])↵ if wfdb.annopen(argv[2], a, 1) < 0: sys.exit(2)↵ while wfdb.getann(0, annot) == 0:↵ if annot.aux is not None:↵ aux = annot.aux[1:]↵ else:↵ aux = ""↵ print wfdb.timstr(-annot.time), \↵ "(" + str(annot.time)+ ")", \↵ wfdb.annstr(annot.anntyp), \↵ annot.subtyp, \↵ annot.chan, \↵ annot.num, \↵ aux↵ wfdb.wfdbquit()↵↵if __name__ == "__main__":↵ main(sys.argv)

    Values
    TokenNegative-pole strength
    db0.000
    .tim0.000
    str0.000
    (-0.235
    annot0.000
    .time0.000
    ),1.718
    \↵0.675
    1.734
    "("0.000
    +0.367
    str0.374
    (0.526
    annot0.004
    .time0.000
    )+0.751
    "0.183
    )",1.326
    \↵0.943
    1.666
    wf0.000
    db0.000
    .0.587
    ann0.000
    str0.000
    (0.804
    annot0.084
    .an0.000
    nt0.000
    yp0.000
    ),2.635
    \↵0.804
    1.374
    annot0.070
    .sub0.019
    typ0.000
    ,2.406
    \↵0.648
    1.280
    annot0.061
    .ch0.000
  5. 2.59 … [SQLUnitMockStatement(conn)]");↵ if (conn instanceof SQLUnitMockConnection) {↵ setResultSetHandler(((SQLUnitMockConnection) conn).↵ getStatementResultSetHandler());↵ }↵ }↵↵ …
    All 678 tokens

    /*↵ * $Id: SQLUnitMockStatement.java,v 1.7 2004/10/05 20:13:04 spal Exp $↵ * $Source: /cvsroot/sqlunit/sqlunit/test/java/mock/SQLUnitMockStatement.java,v $↵ * SQLUnit - a test harness for unit testing database stored procedures.↵ * Copyright (C) 2003 The SQLUnit Team↵ * ↵ * This program is free software; you can redistribute it and/or↵ * modify it under the terms of the GNU General Public License↵ * as published by the Free Software Foundation; either version 2↵ * of the License, or (at your option) any later version.↵ * ↵ * This program is distributed in the hope that it will be useful,↵ * but WITHOUT ANY WARRANTY; without even the implied warranty of↵ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the↵ * GNU General Public License for more details.↵ * ↵ * You should have received a copy of the GNU General Public License↵ * along with this program; if not, write to the Free Software↵ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.↵ */↵package net.sourceforge.sqlunit.test.mock;↵↵import com.mockrunner.jdbc.AbstractResultSetHandler;↵import com.mockrunner.mock.jdbc.MockStatement;↵↵import org.apache.log4j.Logger;↵↵import java.sql.Connection;↵import java.sql.ResultSet;↵import java.sql.SQLException;↵↵/**↵ * Overrides certain methods in the MockStatement class for mock testing↵ * of SQLUnit.↵ * @author Sujit Pal (██████)↵ * @version $Revision: 1.7 $↵ */↵public class SQLUnitMockStatement extends MockStatement {↵ ↵ private static final Logger LOG = ↵ Logger.getLogger(SQLUnitMockStatement.class);↵↵ private IntrospectingStatementResultSetHandler handler = null;↵ private int resultSetId = 0;↵ private String mockSql = null;↵↵ /**↵ * Instantiates a SQLUnitMockStatement object using a Connection.↵ * @param conn a Connection object.↵ */↵ public SQLUnitMockStatement(final Connection conn) {↵ super(conn);↵ LOG.debug(">> [SQLUnitMockStatement(conn)]");↵ if (conn instanceof SQLUnitMockConnection) {↵ setResultSetHandler(((SQLUnitMockConnection) conn).↵ getStatementResultSetHandler());↵ }↵ }↵↵ /**↵ * Sets the IntrospectingStatementResultSetHandler for the MockStatement.↵ * @param aHandler an IntrospectingStatementResultSetHandler object.↵ */↵ public final void setResultSetHandler(↵ final AbstractResultSetHandler aHandler) {↵ LOG.debug(">> setResultSetHandler(handler)");↵ super.setResultSetHandler(aHandler);↵ this.handler = (IntrospectingStatementResultSetHandler) aHandler;↵ }↵↵ /**↵ * Returns true if there are more result sets available for this SQL.↵ * @param sql the SQL to look up.↵ * @return true if there are more result sets available, else false.↵ * @exception SQLException if one is thrown.↵ */↵ public final boolean getMoreResults(final String sql) throws SQLException {↵ LOG.debug(">> hasMoreResults(" + sql + ")");↵

    Values
    TokenNegative-pole strength
    [0.000
    SQL0.000
    Unit0.000
    Mock0.000
    Statement0.000
    (conn0.000
    )]0.000
    ");↵0.312
    0.309
    if0.871
    (0.237
    conn0.000
    instanceof0.517
    SQL0.000
    Unit0.000
    Mock0.000
    Connection0.000
    )1.438
    {↵1.084
    0.443
    set0.025
    ResultSet0.000
    Handler0.000
    (((1.135
    SQL0.025
    Unit0.000
    Mock0.000
    Connection0.000
    )1.337
    conn0.126
    ).↵2.592
    1.465
    get0.061
    Statement0.000
    ResultSet0.000
    Handler0.000
    ());↵1.068
    0.504
    }↵0.725
    0.301
    }↵↵0.324
  6. 2.57 … CGAL::Polygon_mesh_processing::fair(poly, region);↵ std::cout << "Fairing : " << (success ? "succeeded" : "failed") << std::endl;↵↵ std …
    All 657 tokens

    #include <CGAL/Exact_predicates_inexact_constructions_kernel.h>↵↵#include <CGAL/Polyhedron_3.h>↵↵#include <CGAL/Polygon_mesh_processing/refine.h>↵#include <CGAL/Polygon_mesh_processing/fair.h>↵↵#include <fstream>↵#include <map>↵↵↵typedef CGAL::Exact_predicates_inexact_constructions_kernel Kernel;↵↵typedef CGAL::Polyhedron_3<Kernel> Polyhedron;↵typedef Polyhedron::Vertex_handle Vertex_handle;↵↵// extract vertices which are at most k (inclusive)↵// far from vertex v in the graph of edges↵void extract_k_ring(Vertex_handle v,↵ int k,↵ std::vector<Vertex_handle>& qv)↵{↵ std::map<Vertex_handle, int> D;↵ qv.push_back(v);↵ D[v] = 0;↵ std::size_t current_index = 0;↵↵ int dist_v;↵ while (current_index < qv.size() && (dist_v = D[qv[current_index]]) < k)↵ {↵ v = qv[current_index++];↵↵ Polyhedron::Halfedge_around_vertex_circulator e(v->vertex_begin()), e_end(e);↵ do {↵ Vertex_handle new_v = e->opposite()->vertex();↵ if (D.insert(std::make_pair(new_v, dist_v + 1)).second) {↵ qv.push_back(new_v);↵ }↵ } while (++e != e_end);↵ }↵}↵↵int main(int argc, char* argv[])↵{↵ const char* filename = (argc > 1) ? argv[1] : "data/blobby.off";↵ std::ifstream input(filename);↵↵ Polyhedron poly;↵ if ( !input || !(input >> poly) || poly.empty()↵ || !CGAL::is_triangle_mesh(poly)) {↵ std::cerr << "Not a valid input file." << std::endl;↵ return 1;↵ }↵↵ std::vector<Polyhedron::Facet_handle> new_facets;↵ std::vector<Vertex_handle> new_vertices;↵↵ CGAL::Polygon_mesh_processing::refine(poly,↵ faces(poly),↵ std::back_inserter(new_facets),↵ std::back_inserter(new_vertices),↵ CGAL::Polygon_mesh_processing::parameters::density_control_factor(2.));↵↵ std::ofstream refined_off("refined.off");↵ refined_off << poly;↵ refined_off.close();↵ std::cout << "Refinement added " << new_vertices.size() << " vertices." << std::endl;↵↵ Polyhedron::Vertex_iterator v = poly.vertices_begin();↵ std::advance(v, 82/*e.g.*/);↵ std::vector<Vertex_handle> region;↵ extract_k_ring(v, 12/*e.g.*/, region);↵↵ bool success = CGAL::Polygon_mesh_processing::fair(poly, region);↵ std::cout << "Fairing : " << (success ? "succeeded" : "failed") << std::endl;↵↵ std::ofstream faired_off("faired.off");↵ faired_off << poly;↵ faired_off.close();↵↵ return 0;↵}

    Values
    TokenNegative-pole strength
    CG0.000
    AL0.021
    ::0.106
    Polygon0.000
    _mesh0.000
    _processing0.000
    ::0.162
    fair0.000
    (poly0.000
    ,1.736
    region0.039
    );↵1.129
    0.415
    std0.000
    ::1.116
    cout0.088
    <<0.277
    "0.000
    Fair0.009
    ing0.000
    :0.000
    "0.000
    <<0.000
    (0.320
    success0.000
    ?0.390
    "0.000
    s0.000
    ucceeded0.000
    "0.480
    :2.567
    "0.101
    failed0.000
    ")1.029
    <<0.030
    std0.054
    ::1.563
    endl0.335
    ;↵↵0.645
    0.291
    std0.000
  7. 2.56 … if (!strcasecmp(var->name, "pretty")) {↵ general->format = ast_true(var->value) ?↵ AST_JSON_PRETTY : AST_JSON_COMPACT;↵ } else {↵ …
    All 789 tokens

    /*↵ * Asterisk -- An open source telephony toolkit.↵ *↵ * Copyright (C) 2013, Digium, Inc.↵ *↵ * David M. Lee, II <██████>↵ *↵ * See http://www.asterisk.org for more information about↵ * the Asterisk project. Please do not directly contact↵ * any of the maintainers of this project for assistance;↵ * the project provides a web site, mailing lists and IRC↵ * channels for your use.↵ *↵ * This program is free software, distributed under the terms of↵ * the GNU General Public License Version 2. See the LICENSE file↵ * at the top of the source tree.↵ */↵↵/*! \file↵ *↵ * \brief Config framework stuffz for ARI.↵ * \author David M. Lee, II <██████>↵ */↵↵#include "asterisk.h"↵↵ASTERISK_FILE_VERSION(__FILE__, "$Revision$")↵↵#include "asterisk/config_options.h"↵#include "internal.h"↵↵/*! \brief Locking container for safe configuration access. */↵static AO2_GLOBAL_OBJ_STATIC(confs);↵↵/*! \brief Mapping of the ARI conf struct's globals to the↵ * general context in the config file. */↵static struct aco_type general_option = {↵ .type = ACO_GLOBAL,↵ .name = "general",↵ .item_offset = offsetof(struct ast_ari_conf, general),↵ .category = "^general$",↵ .category_match = ACO_WHITELIST,↵};↵↵static struct aco_type *general_options[] = ACO_TYPES(&general_option);↵↵/*! \brief Encoding format handler converts from boolean to enum. */↵static int encoding_format_handler(const struct aco_option *opt,↵ struct ast_variable *var, void *obj)↵{↵ struct ast_ari_conf_general *general = obj;↵↵ if (!strcasecmp(var->name, "pretty")) {↵ general->format = ast_true(var->value) ?↵ AST_JSON_PRETTY : AST_JSON_COMPACT;↵ } else {↵ return -1;↵ }↵↵ return 0;↵}↵↵/*! \brief Parses the ast_ari_password_format enum from a config file */↵static int password_format_handler(const struct aco_option *opt,↵ struct ast_variable *var, void *obj)↵{↵ struct ast_ari_conf_user *user = obj;↵↵ if (strcasecmp(var->value, "plain") == 0) {↵ user->password_format = ARI_PASSWORD_FORMAT_PLAIN;↵ } else if (strcasecmp(var->value, "crypt") == 0) {↵ user->password_format = ARI_PASSWORD_FORMAT_CRYPT;↵ } else {↵ return -1;↵ }↵↵ return 0;↵}↵↵/*! \brief Destructor for \ref ast_ari_conf_user */↵static void user_dtor(void *obj)↵{↵ struct ast_ari_conf_user *user = obj;↵ ast_debug(3, "Disposing of user %s\n", user->username);↵ ast_free(user->username);↵}↵↵/*! \brief Allocate an \ref ast_ari_conf_user for config parsing */↵static void *user_alloc(const char *cat)↵{↵ RAII_VAR(struct ast_ari_conf_user *, user, NULL, ao2_cleanup);↵↵ if (!cat) {↵ return NULL;↵ }↵↵ ast_debug(3, "Allocating user %s\n", cat);↵↵ user = ao2_alloc_options(sizeof(*user), user_dtor,↵ AO2_ALLOC_OPT_LOCK_NOLOCK);↵ if (!user) {↵ return NULL;↵ }↵↵ user->username = ast_strdup(cat);↵ if (!user->username) {↵ return NULL;↵ }↵↵ ao2_ref(user, +1);↵ return user;↵}↵↵/*! \brief Sorting function for use with red/black tree */↵static int user_sort_cmp(const void *obj_left, const void *obj_right, int flags)↵{↵ const struct ast_ari_conf_us

    Values
    TokenNegative-pole strength
    if0.929
    (!0.000
    strcasecmp0.003
    (var0.478
    ->0.335
    name0.000
    ,1.990
    "0.085
    pretty0.044
    "))1.728
    {↵1.074
    0.291
    g0.165
    eneral0.009
    ->0.561
    format0.000
    =1.272
    ast0.000
    _true0.000
    (var0.490
    ->0.254
    value0.000
    )1.383
    ?↵1.134
    1.090
    1.525
    AST0.000
    _JSON0.026
    _PRE0.000
    TTY0.024
    :2.561
    AST0.080
    _JSON0.000
    _COMP0.000
    ACT0.234
    ;↵1.531
    0.297
    }1.213
    else0.761
    {↵0.310
    0.000
  8. 2.55 … }↵ m = misticFormatPattern.matcher(line);↵ if (m.matches()) {↵ String[] data = line.split("\\s+");↵ return new MisticLineData(↵ Integer.valueOf(data …
    All 404 tokens

    package org.jiserte.mi.mimatrixviewer.readers.mistic;↵↵import java.util.regex.Pattern;↵import java.util.regex.Matcher;↵↵import org.jiserte.mi.mimatrixviewer.readers.CovariationDataParser;↵import org.jiserte.mi.mimatrixviewer.readers.IncorrectFormatException;↵↵public class MisticLineParser implements CovariationDataParser<MisticLineData> {↵ //////////////////////////////////////////////////////////////////////////////↵ // Class constants↵ /**↵ * Pattern to match a comment line in mistic data↵ */↵ public static final String COMMENT_REGEX = "^\\s*#.+$"; ↵ /**↵ * Pattern to match the output from Mistic<br>↵ * Sample Data:<br>↵ * <pre>↵ * 1 M 2 A 12.182070↵ * </pre>↵ */↵ public final static String MISTIC_FORMAT_LINE = "\\d+\\t[A-Z\\-]\\t\\d+\\t[A-Z\\-]\\t-*\\d+\\.?\\d*[eE]*[-+]*\\d*$"; ↵ //////////////////////////////////////////////////////////////////////////////↵ ↵ @Override↵ public MisticLineData readLine(String line) throws IncorrectFormatException {↵↵ Pattern commentPattern = Pattern.compile(COMMENT_REGEX);↵ Pattern misticFormatPattern = Pattern.compile(MISTIC_FORMAT_LINE);↵ Matcher m = commentPattern.matcher(line);↵ if ( m.matches() ) {↵ return new MisticLineData(); // This is an empty data line↵ }↵ m = misticFormatPattern.matcher(line);↵ if (m.matches()) {↵ String[] data = line.split("\\s+");↵ return new MisticLineData(↵ Integer.valueOf(data[0]),↵ Integer.valueOf(data[2]),↵ data[1].charAt(0), ↵ data[3].charAt(0),↵ Double.valueOf(data[4])); ↵ }↵ ↵ throw new IncorrectFormatException();↵ ↵ }↵↵}

    Values
    TokenNegative-pole strength
    0.416
    }↵0.595
    0.211
    m0.217
    =1.472
    m0.000
    istic0.062
    Format0.000
    Pattern0.000
    .matcher0.052
    (line0.340
    );↵1.240
    0.402
    if0.833
    (0.207
    m0.067
    .matches0.000
    ())1.252
    {↵1.094
    0.324
    String0.201
    []0.126
    data0.000
    =0.861
    line0.000
    .split0.000
    ("\\0.431
    s0.000
    +");↵0.683
    0.793
    return2.550
    new1.625
    M0.053
    istic0.145
    Line0.000
    Data0.000
    (↵1.436
    1.849
    Integer0.247
    .valueOf0.133
    (data0.180
  9. 2.51 … ().equals("CosiAhojAhoj")){ ↵ throw new Error(cont3.getValue()); ↵ } ↵ ↵ return StaticMethods.add(cont1.getValue(),b); ↵ } ↵ ↵ public static int callBackComparison() …
    All 713 tokens

    /* Copyright (C) 2009 by Pavel Savara ↵This file is part of of jni4net - bridge between Java and .NET ↵http://jni4net.sourceforge.net/ ↵ ↵This program is free software: you can redistribute it and/or modify ↵it under the terms of the GNU General Public License as published by ↵the Free Software Foundation, either version 3 of the License, or ↵(at your option) any later version. ↵ ↵This program is distributed in the hope that it will be useful, ↵but WITHOUT ANY WARRANTY; without even the implied warranty of ↵MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ↵GNU General Public License for more details. ↵ ↵You should have received a copy of the GNU General Public License ↵along with this program. If not, see <http://www.gnu.org/licenses/>. ↵*/ ↵ ↵package net.sf.jni4net.tested; ↵ ↵import net.sf.jni4net.Out; ↵import net.sf.jni4net.Ref; ↵import net.sf.jni4net.inj.INJException; ↵import net.sf.jni4net.Bridge; ↵import system.*; ↵import system.Object; ↵ ↵/** ↵ * @author Pavel Savara (original) ↵ */ ↵public class JavaCallBack { ↵ public static void callBackException() { ↵ boolean found = false; ↵ try { ↵ ClrException.ThrowBack(); ↵ } catch (NullReferenceException th) { ↵ found = true; ↵ } ↵ if (!found) { ↵ throw new INJException("wrong!"); ↵ } ↵ } ↵ ↵ public static void callBackExceptionPropagate() { ↵ ClrException.ThrowBack(); ↵ } ↵ ↵ public static int callBackStatic(int a, int b) { ↵ Out<Integer> cont0=new Out<Integer>(); ↵ StaticMethods.TestOutParam(cont0); ↵ ↵ Ref<Integer> cont1=new Ref<Integer>(a+cont0.getValue()); ↵ final int i = StaticMethods.TestRefParam(cont1); ↵ if (i!=-1){ ↵ throw new Error("but "+i); ↵ } ↵ ↵ Out<java.lang.String> cont2=new Out<java.lang.String>(); ↵ StaticMethods.TestOutParamS(cont2); ↵ ↵ Ref<java.lang.String> cont3=new Ref<java.lang.String>("Cosi"+cont2.getValue()); ↵ StaticMethods.TestRefParamS(cont3); ↵ if (!cont3.getValue().equals("CosiAhojAhoj")){ ↵ throw new Error(cont3.getValue()); ↵ } ↵ ↵ return StaticMethods.add(cont1.getValue(),b); ↵ } ↵ ↵ public static int callBackComparison() { ↵ CWithJavaInterface c1=new CWithJavaInterface (1); ↵ CWithJavaInterface c2=new CWithJavaInterface (2); ↵ return c1.compareTo(c2); ↵ } ↵ ↵ public static int callBackComparison2() { ↵ JWithClrInterface c1=new JWithClrInterface(1); ↵ JWithClrInterface c2=new JWithClrInterface(2); ↵ final system.Object other = Bridge.wrapJVM(c2); ↵ return c1.CompareTo(other); ↵ } ↵ ↵ public static int callBackComparison3() { ↵ JWithClrInterfaceUnreg c1=new JWithClrInterfaceUnreg(1); ↵ JWithClrInterfaceUnreg c2=new JWithClrInterfaceUnreg(2); ↵ final system.Object other = Bridge.wrapJVM(c2); ↵ return c1.CompareTo(other); ↵ } ↵ ↵ public static int callBackRun() { ↵ CWithJavaInterface c1=new CWithJavaInterface (2); ↵ c1.run(); ↵ return c1.getValue(); ↵ } ↵ ↵}

    Values
    TokenNegative-pole strength
    ().0.744
    equals0.000
    ("0.051
    C0.000
    osi0.118
    A0.003
    ho0.152
    j0.173
    A0.000
    ho0.000
    j0.071
    ")){ ↵0.615
    0.376
    throw0.895
    new1.701
    Error0.023
    (cont0.175
    30.000
    .getValue0.000
    ()); ↵1.221
    0.333
    } ↵ ↵0.526
    0.053
    return1.950
    Static0.078
    Methods0.035
    .add0.015
    (cont0.150
    10.000
    .getValue0.000
    (),2.513
    b0.125
    ); ↵0.540
    0.089
    } ↵ ↵0.444
    public0.246
    static0.000
    int0.221
    callBack0.000
    Comparison0.000
    ()0.245
  10. 2.48 … nParticles_[celli] = nParticleRef*volumeCells[celli]/minVolume;↵ }↵↵ forAll(nParticles_.boundaryField(), patchi)↵ {↵ fvPatchScalarField …
    All 731 tokens

    /*---------------------------------------------------------------------------*\↵ ========= |↵ \\ / F ield | OpenFOAM: The Open Source CFD Toolbox↵ \\ / O peration |↵ \\ / A nd | Copyright (C) 2016-2021 hyStrath↵ \\/ M anipulation |↵-------------------------------------------------------------------------------↵License↵ This file is part of hyStrath, a derivative work of OpenFOAM.↵↵ OpenFOAM is free software: you can redistribute it and/or modify it↵ under the terms of the GNU General Public License as published by↵ the Free Software Foundation, either version 3 of the License, or↵ (at your option) any later version.↵↵ OpenFOAM is distributed in the hope that it will be useful, but WITHOUT↵ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or↵ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License↵ for more details.↵↵ You should have received a copy of the GNU General Public License↵ along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.↵↵Class↵ dsmcVariableTimeStepModel↵↵Description↵↵\*----------------------------------------------------------------------------*/↵↵#include "addToRunTimeSelectionTable.H"↵#include "dsmcVariableTimeStepModel.H"↵#include "dsmcCloud.H"↵↵// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //↵↵namespace Foam↵{↵ defineTypeNameAndDebug(dsmcVariableTimeStepModel, 0);↵↵ addToRunTimeSelectionTable↵ (↵ dsmcTimeStepModel,↵ dsmcVariableTimeStepModel,↵ fvMesh↵ );↵↵// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //↵↵void dsmcVariableTimeStepModel::findRefCell()↵{↵ // Find the cell with minimum volume↵ // This cell will serve as a reference cell to set the↵ // nParticle/timeStep ratio↵↵ const scalarField& volumeCells = mesh_.V();↵ scalar minVolume = gMin(volumeCells);↵↵ if (Pstream::parRun())↵ {↵ reduce(minVolume, minOp<scalar>());↵ }↵↵ forAll(nParticles_, celli)↵ {↵ if (mag(volumeCells[celli] - minVolume) < SMALL)↵ {↵ refCell_ = celli;↵ break;↵ }↵ }↵}↵↵↵void dsmcVariableTimeStepModel::updatenParticles()↵{↵ findRefCell();↵↵ const scalarField& volumeCells = mesh_.V();↵ const scalar minVolume = volumeCells[refCell_];↵↵ const scalar nParticleRef = nParticles_[refCell_];↵↵ forAll(nParticles_, celli)↵ {↵ nParticles_[celli] = nParticleRef*volumeCells[celli]/minVolume;↵ }↵↵ forAll(nParticles_.boundaryField(), patchi)↵ {↵ fvPatchScalarField& pnParticles =↵ nParticles_.boundaryFieldRef()[patchi];↵↵ forAll(pnParticles, facei)↵ {↵ pnParticles[facei] =↵ nParticles_[mesh_.boundaryMesh()[patchi].faceCells()[facei]];↵ }↵ }↵}↵↵↵void dsmcVariableTimeStepModel::updateTimeStep()↵{↵ const scalar nParticleTimeStepRatio =↵ nPartic

    Values
    TokenNegative-pole strength
    0.177
    n0.039
    Particles0.000
    _[0.881
    cell0.000
    i0.000
    ]1.305
    =1.555
    n0.133
    Particle0.000
    Ref0.000
    *0.255
    volume0.000
    Cells0.000
    [cell0.521
    i0.039
    ]/0.763
    min0.294
    Volume0.000
    ;↵1.591
    0.538
    }↵↵0.584
    0.173
    for0.705
    All0.133
    (n0.743
    Particles0.000
    _.0.189
    boundary0.000
    Field0.000
    (),2.477
    patch0.000
    i0.001
    )↵1.838
    0.468
    {↵0.910
    0.127
    fv0.031
    Patch0.000
    Scalar0.000
    Field0.000
  11. 2.47 … , 14, colors[[n]]]], {n, 1, 5}]↵},↵Plot[data, {x, 0, Pi}, PlotRange -> All, PlotStyle -> colors]↵ …
    All 570 tokens

    # Color the labels given by Label in Plot consistently with the colour of the corresponding function↵↵Consider the following toy example:↵↵With[{↵data = Table[↵Labeled[Sin[n x], n],↵{n, 1, 5}↵]↵},↵Plot[↵data,↵{x, 0, Pi},↵PlotRange -> All↵]↵]↵↵↵which produces the following plot:↵↵In cases like this, it may be hard to figure out what label corresponds to what plot. Is there an easy way to have the labels coloured consistently with the colour of the corresponding line? This would mean in this example to have the 1 coloured blue, the 2 coloured orange, etc.↵↵• In such a case a usual Legend is much better. – corey979 May 29 '17 at 17:27↵• @corey979 I agree for this toy example, but sometimes you have data which is well described with Labeled, except for some of the lines that overlap on the right – glS May 29 '17 at 17:31↵↵You can set the color of the label using Style and assign the color of the curves to be the same as the color of the labels. Further you can control the font face, boldness and size, etc...↵↵First define a list of colors↵↵colors = {Black, Orange, Red, Purple , Blue}↵↵↵Use colors and Style to assign the color of the text (text arbitrarily set to Bold and font size 14 as an example).↵↵With[↵{↵data = Table[Labeled[Sin[n x],↵Style[n, Bold, 14, colors[[n]]]], {n, 1, 5}]↵},↵Plot[data, {x, 0, Pi}, PlotRange -> All, PlotStyle -> colors]↵]↵↵↵## Update↵↵In order to use the default colors (described here) replace colors with ColorData[97, "ColorList"]↵↵With[↵{↵data = Table[Labeled[Sin[n x],↵↵Style[n, Bold, 14, ColorData[97, "ColorList"][[n]]]],↵{n, 1, 5}]↵},↵Plot[data, {x, 0, Pi}, PlotRange -> All,↵PlotStyle -> ColorData[97, "ColorList"]]↵]↵↵↵• this is the straightforward solution, yes. I was however hoping for a solution that wouldn't force me to specify my own color scheme for the plot, instead using the default one used by Mathematica for the plot – glS May 29 '17 at 16:14↵• @glS Update that answers your new question. – Jack LaVigne May 29 '17 at 16:48

    Values
    TokenNegative-pole strength
    ,1.121
    0.422
    10.000
    40.000
    ,0.955
    colors0.064
    [[0.529
    n0.168
    ]]1.358
    ]],2.140
    {0.860
    n0.278
    ,1.543
    0.615
    10.000
    ,1.294
    0.249
    50.000
    }]↵0.516
    },↵1.538
    Plot0.000
    [data0.891
    ,1.833
    {1.299
    x0.314
    ,1.624
    0.758
    00.000
    ,1.178
    Pi0.328
    },2.474
    Plot0.119
    Range0.000
    ->0.773
    All0.059
    ,2.350
    Plot0.134
    Style0.046
    ->0.888
    colors0.000
    ]↵0.997
  12. 2.29 … 1, // Primarily for AM/PM↵ String = Long << 2, // End of flags↵↵ Start = Long << 8,↵ Id = Start << 1,↵ Message …
    All 586 tokens

    /*↵Copyright (C) 2008-2011 Vana Development Team↵↵This program is free software; you can redistribute it and/or↵modify it under the terms of the GNU General Public License↵as published by the Free Software Foundation; version 2↵of the License.↵↵This program is distributed in the hope that it will be useful,↵but WITHOUT ANY WARRANTY; without even the implied warranty of↵MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the↵GNU General Public License for more details.↵↵You should have received a copy of the GNU General Public License↵along with this program; if not, write to the Free Software↵Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.↵*/↵#pragma once↵↵#include "Types.h"↵#include <boost/tr1/unordered_map.hpp>↵#include <boost/utility.hpp>↵#include <string>↵↵using std::string;↵using std::tr1::unordered_map;↵↵namespace Replacements {↵ enum Replacements {↵ Long = 0x01, // Long versions of strings or padded digits↵ Uppercase = Long << 1, // Primarily for AM/PM↵ String = Long << 2, // End of flags↵↵ Start = Long << 8,↵ Id = Start << 1,↵ Message = Start << 2,↵ Time = Start << 3,↵ Event = Start << 4,↵ Origin = Start << 5,↵ Year = Start << 6,↵ StringMonth = Start << 7,↵ IntegerMonth = Start << 8,↵ StringDate = Start << 9,↵ IntegerDate = Start << 10,↵ Hour = Start << 11,↵ MilitaryHour = Start << 12,↵ Minute = Start << 13,↵ Second = Start << 14,↵ AmPm = Start << 15,↵ TimeZone = Start << 16↵ };↵ const uint32_t RemoveFlagMask = 0xFFFFFFF8; // Take off the flag bits↵ const uint32_t GetFlagMask = ~RemoveFlagMask; // Get only the flag bits↵}↵↵// Prevents them from being loaded a bunch of times, keeps them in memory for the life of the application↵class LogReplacements : public boost::noncopyable {↵public:↵ typedef unordered_map<string, int32_t> map_t;↵↵ static LogReplacements * Instance() {↵ if (singleton == nullptr)↵ singleton = new LogReplacements;↵ return singleton;↵ }↵ const map_t & getMap() const { return m_replacementMap; }↵private:↵ LogReplacements();↵ static LogReplacements *singleton;↵ map_t m_replacementMap;↵};

    Values
    TokenNegative-pole strength
    10.000
    ,2.066
    //0.000
    Prim0.046
    arily0.350
    for0.000
    AM0.135
    /0.065
    PM0.000
    ↵0.000
    0.206
    String0.000
    =1.227
    Long0.061
    <<0.237
    0.425
    20.000
    ,1.806
    //0.000
    End0.076
    of0.005
    flags0.060
    ↵↵0.054
    0.225
    Start0.000
    =0.860
    Long0.112
    <<0.240
    0.402
    80.025
    ,↵2.292
    0.850
    Id0.000
    =1.179
    Start0.022
    <<0.109
    0.342
    10.000
    ,↵1.724
    0.587
    Message0.012
Read more

Each token is shaded by negative-pole strength, as a fraction of the neuron's max activation. Each window shows up to 30 tokens before the peak and 10 after it.

Explanation scores on held-out text

How well a judge with only the hypothesis predicts the unit on new text. 0.5 is chance.

Read more

The judge reads 32-token windows of corpus text that the proposer never saw. Detection: it picks the windows that activate the unit. Fuzzing: it checks whether the marked tokens are the active ones. Recorded, not gated.

Detection
0.64
Fuzzing
0.50
Embedding AUROC
0.62

Detection recall by activation strength

0.20
0.00
0.00
0.60
0.60
weakeststrongest

False alarms on inactive windows: 0%.

Judge
muse-spark-1.3
Held-out windows
178 active of 4,000
Judged
50 detection · 37 fuzzing
Detection outcomes
18 missed · 0 false alarm · 7 hit · 25 correct rejection
Seed
1515126200 · mixed-v8 (11 presets, 500 docs, seed [removed])
Detection windows (50), the explanation's mistakes first
  1. missed 2.08 · sim -0.01 , self)._set_default_value_on_column(↵ cr, column_name, context=context)↵ if column_name == 'lastname':↵ cr.execute('UPDATE res
  2. missed 1.88 · sim -0.01 SET NOT NULL')↵ _logger.info("NOT NULL constraint for "↵ "res_partner.lastname correctly set")↵ return res↵↵ def _prepare_name_custom
  3. missed 1.59 · sim 0.16 = &a; // Note, here I assign memory using structure not malloc.↵ newNode->data = data;↵ newNode->link = list;↵ return
  4. missed 1.41 · sim 0.11 endif↵ endif ! voltage↵ ! membrane boundary↵ if (ampl1(itype).gt.0.0) then↵ call
  5. missed 1.33 · sim 0.03 PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/↵ $(INSTALL_DIR) $(1)/usr/lib/↵ $(CP) $(PKG_INSTALL
  6. missed 1.20 · sim 0.01 \beta \\ -\beta^\star &\alpha^\star\end{bmatrix},$$ where $|a|^2+|b|^2=
  7. missed 1.20 · sim 0.02 APRecordedCurrentMotionState */;↵↵INSERT INTO `weenie_properties_d_i_d` (`object_Id`, `type`, `value`)↵VALUES (38
  8. missed 1.17 · sim -0.08 vector U as a unique linear combination of these n vectors$U={U}_{1}{a}_{1}+{U}_{2}{a}_{2}
  9. missed 1.17 · sim 0.06 edObjectIID */;↵↵INSERT INTO `weenie_properties_attribute` (`object_Id`, `type`, `init_Level`, `level_From_C_P`, `c
  10. missed 1.09 · sim -0.03 ########################################↵↵ #load in parameters from specified file↵↵ yaml_path = os.path.abspath('yaml_files/'+args.yaml_file+'.yaml')↵ assert
  11. missed 1.09 · sim 0.05 _DIR)/usr/lib/libubi-utils.a $(1)/usr/lib/↵endef↵↵$(eval $(call BuildPackage,fstools))↵$(eval $(call Build
  12. missed 1.02 · sim -0.00 {% include addPerson.html people=site.people %}↵ </div>↵ {% endif %}{% endfor %}↵↵ {% for people in
  13. missed 1.02 · sim 0.07 blur="searchBox.OnSearchFieldFocus(false)" ↵ onkeyup="searchBox.OnSearchFieldChange(event)"/>↵ </span><span class="right
  14. missed 1.00 · sim 0.06 0.0) then ! if particle is not inside the pore↵ if (sw1.eq.1.0) then ! if particle is inside membrane
  15. missed 0.99 · sim 0.02 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/block $(1)/sbin/↵ $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libblkid
  16. missed 0.97 · sim 0.06 3(x)\end{bmatrix},$$↵that is $$\eta_1=n_2 \rho \sin \theta, \quad \eta_
  17. missed 0.92 · sim 0.12 PENDS:=+libubox +fstools↵endef↵↵define Package/block-mount↵ SECTION:=base↵ CATEGORY:=Base system↵ TITLE
  18. missed 0.91 · sim 0.08 =1}^\infty n^{-m}$$↵↵so↵↵$$\zeta (0)=\sum_{n=1}^\infty n
  19. hit 3.49 · sim 0.05 ,↵ "T8": v,↵ "T9": v,↵}); };↵↵var rootReducer = combineReducers([↵ { scaleId: "1", answer:
  20. hit 2.56 · sim 0.03 enerateReactWidget(event: any): JSX.Element {↵ const Widget = this.widget↵ return (↵ <Widget↵ engine={this.engine}↵
  21. hit 2.05 · sim 0.13 ;↵↵BlockChain::BlockChain(const Chain& chain, const string dataDir) :↵ sqliterate::Database(dataDir == "" ? ":memory:" : data
  22. hit 1.72 · sim 0.04 args.NewValue == null)↵ {↵ dataGrid.MouseDoubleClick -= ExecuteDataGridDoubleClick;↵ }↵ }↵ }↵↵ private static void ExecuteDataGrid
  23. hit 1.49 · sim 0.15 return reducer(acc, value, index + 1);↵ }, scales);↵ };↵}↵↵function buildAnswersValidator(countOfAnswers, validatorArg, invalidS
  24. hit 1.41 · sim 0.06 *event)↵ {↵ QModelIndex item = indexAt(event->pos());↵ bool selected = selectionModel()->isSelected(item);↵ QTreeView::mousePressEvent(event
  25. hit 0.95 · sim 0.10 A.", example = "2013")↵ protected String anoObito;↵ ↵ public Perfil2() {↵ }↵ ↵ public Perfil2(P
  26. correct rejection 0.57 · sim 0.13 রতে ��র ��ি��ল্�� ��েই।↵ক��ভি��ের ��ি���
  27. correct rejection 0.53 · sim 0.11 storm.↵↵Surprising to many, practically no banks or financial institutions that contributed to the crash were indicted or convicted of wrongdoing. Among institutions that were not deemed “
  28. correct rejection 0.52 · sim 0.02 property’s ability to produce a (net) cash flow. This paper aims to show the value-influencing mechanism of on-site energy production from a professional property
  29. correct rejection 0.44 · sim 0.03 داشته و برای کاهش و از بین بردن چین و چروک های صورت یا
  30. correct rejection 0.44 · sim 0.05 가 감사의 노래까지 불러주더라고요. 노래를 한번이라도 들으면 ��지 않는다는 ���라운
  31. correct rejection 0.39 · sim 0.06 her down near the station. Further than that they have luckily not been able to trace her."↵↵"Now your idea is that Miss Prentice, having in some
  32. correct rejection 0.39 · sim 0.10 United States. In 1981, President Ronald Reagan appointed her to the court. O’Connor sided with conservative court members on most issues. But
  33. correct rejection 0.37 · sim 0.09 EP 5,922 A1 describes lip cosmetics where the waxes are useful in lipsticks and are related to those useful in candles.↵U.S
  34. correct rejection 0.35 · sim -0.02 его дочь Рихенза получила бывшие владения Кетленбургов и Брунонов и передала их Вель
  35. correct rejection 0.32 · sim 0.02 by Tony Hoile. Tony was joined by Will and Anne-Marie Mason as joint owners/skippers in 2015 and have now taken over
  36. correct rejection 0.32 · sim 0.04 and writing that keeps readers coming back.↵↵Although a locally-based magazine, we don’t shy from regional stories and in fact our publications are sold nationally in airports and
  37. correct rejection 0.32 · sim 0.01 يركية حتى تستطيع خدمة عملائها الحاليين.↵وأضاف المصدران لوكالة "رويترز"، اليوم السبت، أنه سيتم
  38. correct rejection 0.31 · sim -0.06 and go where I got a good deal and my questions answered. They did not do that."↵↵Avg. Dealer Rating: (9 reviews)↵"The people at Brooklyn
  39. correct rejection 0.31 · sim 0.01 年该项赛事停办后时隔6年首次恢复举办,于2012年5月30日至6月3日在上海进行。↵↵赛事
  40. correct rejection 0.30 · sim -0.08 , 457 and 258 former pupils, respectively, gave their lives. Seven former pupils were among ' the few ' who took part in
  41. correct rejection 0.29 · sim 0.06 tasks were completed on time and to the best of [his/her] ability. [He/She] was self-motivated and continuously looked for opportunities to
  42. correct rejection 0.29 · sim 0.05 종 예상치 못한 결과를 불러왔는데, 아래와 같은↵↵FORMAT [no options] <CR>↵↵명령어는 기본적으로 하
  43. correct rejection 0.27 · sim 0.10 are paying for his keep in a private bug-house. Where's Decker, who had a crack at the Panthers--But what's the use! There's
  44. correct rejection 0.26 · sim 0.05 pur Red Round, NHRDF Red-3 (L-652), Agrifound White, and NHRDF (L-920
  45. correct rejection 0.24 · sim -0.10 ! Music Traitors. Their fourth album, Daisy, was released in 2009 and became their highest charting album in the US, reaching number
  46. correct rejection 0.23 · sim 0.11 ↵ * @sk: sock associated with &sk_buff↵ * @skb: buffer to filter↵ *↵ * Run the filter code and then cut skb
  47. correct rejection 0.21 · sim -0.07 ’s exact needs.↵With warm weather comes the start of road repair. Check out our selection of Asphalt Pavers that will work best for your Asphalt Paving needs
  48. correct rejection 0.21 · sim -0.07 (catalogue number 71002), Swingin ' Pig, and Sister Morphine, usually documenting only the second set. The Swingin '
  49. correct rejection 0.20 · sim -0.06 large bowl, combine the cream cheese, mayonnaise, and sour cream. Mix until smooth.↵↵3. Add the shredded cheddar cheese, bacon, and
  50. correct rejection 0.16 · sim -0.08 -aged rats (12 months, n = 12), old rats (16 months, n = 6), and old-old rats (>20
Fuzzing windows (37), dashed tokens were marked for the judge
  1. marks right · judged wrong 24, 47, 53] },↵ { scaleId: "L
  2. marks right · judged wrong any,↵ outPort: any,↵ addReply?: any↵}↵↵export interface DefaultMessageFactoryOpts<T> {↵ name: string,↵ theme: MessageUI,↵
  3. marks right · judged wrong DataGridDoubleClickCommand", typeof(ICommand), typeof(MyCommands_DgDblClick),↵ new PropertyMetadata(new PropertyChangedCallback(AttachOrRemoveDataGridDoubleClick
  4. marks right · judged wrong switch1(sw1,dsw1,r(iat)%z,p1(1,itype),p1(2,itype),zmemb1,z
  5. marks right · judged wrong AlFacsegSecurityExcEXExpiredOTP.Params params;↵ protected String messageByDefault;↵↵ /**↵ * Gets the value of the errorCode property.↵ *
  6. marks right · judged wrong 38500, 54, 1) /* UseRadius */;↵↵INSERT INTO `weenie_properties_string` (`object_Id`,
  7. marks right · judged wrong store_true", dest='print_minimal', default=False)↵ args = parser.parse_args()↵↵↵ ########################################↵ ######### params from yaml file ########↵
  8. marks right · judged wrong \limits_{n = 1}^\infty \frac{1}{n^z}$, we can extend the domain of $\zeta$ to
  9. marks right · judged wrong */↵ , (38500, 38, 9999) /* ResistLockpick */↵ , (38
  10. marks right · judged wrong <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="16dp" android:height="16dp" android
  11. marks right · judged wrong &lt;element name="errorCode" type="{http://www.isban.es/webservices/TDCs}CODIGO_ERROR_APP_Type" minOccurs="0"/>↵
  12. marks right · judged wrong 500, 93, 1048) /* PhysicsState - ReportCollisions, IgnoreCollisions, Gravity */↵ ,
  13. marks right · judged wrong specified file↵ which_agent = params['which_agent']↵ follow_trajectories = params['follow_trajectories']↵ #data collection↵ use_threading
  14. marks wrong · judged wrong "-", indices: [1, 2, 6, 37, 45] },↵ { scaleId: "1", answer: "+
  15. marks wrong · judged wrong Date: '2016-01-12',↵ lang: 'ar-tn',↵ buttonIcons: false, // show the prev
  16. marks wrong · judged wrong uralNetwork::getStateAsString() const↵ {↵ if (getState() == NN_STATE_READY)↵ return "ready";↵ else if (getState() ==
  17. marks wrong · judged wrong than split.↵ */↵ def numSplits(featureIndex: Int): Int = if (isUnordered(featureIndex)) {↵ numBins(featureIndex)
  18. marks wrong · judged wrong TituloEleitor(String tituloEleitor) {↵ this.tituloEleitor = tituloEleitor;↵ }↵↵ public String getAnoObito() {↵
  19. marks wrong · judged wrong ();↵ this.sexo = pf.getSexo();↵ this.tituloEleitor = pf.getTituloEleitor();↵ this.anoObito = pf
  20. marks wrong · judged wrong 2) /* ShowableOnRadar - ShowMovement */↵ , (22115, 8007, 0) /*
  21. marks wrong · judged wrong 0, 0, 80) /* MaxHealth */↵ , (22115, 3, 150
  22. marks wrong · judged wrong , 0x20000021) /* SoundTable */↵ , (38500, 8, 0
  23. marks wrong · judged wrong frac{\#A}4$).↵So you have to prove that for every pair $(E_A,E_B)\in A\times B$ (*), you
  24. marks wrong · judged wrong 0 & 0 & \frac{1}{z} \end{array} \right)$$↵↵In order to prove that the function is convex
  25. marks wrong · judged wrong 3,4\}$ and consider the two $\sigma$-algebras $A=\{\emptyset,\{1,3\},\{2
  26. marks wrong · judged wrong ってしまった。↵↵中性子数がさらに多い、または少ない核種は、そもそも安定性の土俵に乗れず、結果としてテクネチ
  27. marks wrong · judged wrong ��とくせのある味から��黄色野菜と思われがちですが、カロテン量が意外に少なく(210μ
  28. marks wrong · judged wrong ন��ভা��েই ��্����তি ��েকে ����ছে ��েলা
  29. marks wrong · judged wrong Why adiabatic quantum annealing is unlikely to yield speed-up↵↵We study quantum annealing for combinatorial optimization with Hamiltonian $H = z
  30. marks wrong · judged wrong κτρια ποίησης, 1950-1963) και την μην
  31. marks wrong · judged wrong 79 years combined age group, swimming a total of 7,530 metres.↵The mixed team comprising Lindy Woodrow, Imogen Fife
  32. marks wrong · judged wrong bzw. gutgeschrieben. Spieler, die aus der Qualifikation in das Hauptfeld eintraten, erhielten die angegebenen Qualifik
  33. marks wrong · judged wrong into a system at a fixed location or rendered portable by battery power. By reducing the sensing system size and connecting to wireless communicating devices, added safety and utility can
  34. marks wrong · judged wrong is a mix, combining baking soda with a powdered acid and a starch.↵But the mix isn’t always the same from brand to brand. Since different combinations of
  35. marks wrong · judged wrong Nancy’s mother is widowed and she has 8 children including Nancy. This is a sad situation because Nancy’s mother has no way of supporting her family
  36. marks wrong · judged wrong , and other vampires. The game also contains boss battles, in which the player must defeat a significantly stronger enemy that is aided by normal enemies.↵↵Players assume control
  37. marks wrong · judged wrong causing damage to the protective coating that prevents damage to your record. Now that we have covered the ground rules, let’s move on to some helpful tips!↵How

Rival readings

Other readings that fit the same examples, each scored on the same probes.

Read more

The proposer wrote the rivals, and the reviewer labelled what each one predicts on each probe. The score is balanced accuracy on the measured probes. Recorded, not gated: the verdict is about the hypothesis alone.

ReadingBalanced accuracyProbesDisagrees with the hypothesis
Hypothesis: This pole fires on structural punctuation (commas, colons, dots, semicolons, closing brackets) or the return keyword when it occurs inside a code-delimiter frame of curly braces, parentheses, or square brackets in C-like code; the exact punctuation character does not matter, and the same tokens in prose, in bare delimiter-free fragments, or in lone markup snippets stay near silent. best 0.88 30 —
Rival 1: It fires on any punctuation or return token regardless of context, including in plain prose and isolated fragments. 0.50 30 20
Rival 2: It fires only on syntactically valid code punctuation, so replacing a comma with a semicolon or a dot with an exclamation mark inside code sharply reduces activation. 0.88 30 4

Activation and mechanism

Activation distribution

[0, 0.113): 159643 [0.113, 0.227): 25345 [0.227, 0.34): 8263 [0.34, 0.453): 2746 [0.453, 0.566): 1124 [0.566, 0.68): 605 [0.68, 0.793): 460 [0.793, 0.906): 403 [0.906, 1.02): 331 [1.02, 1.13): 258 [1.13, 1.25): 203 [1.25, 1.36): 141 [1.36, 1.47): 103 [1.47, 1.59): 92 [1.59, 1.7): 73 [1.7, 1.81): 46 [1.81, 1.93): 55 [1.93, 2.04): 36 [2.04, 2.15): 22 [2.15, 2.27): 14 [2.27, 2.38): 7 [2.38, 2.49): 13 [2.49, 2.61): 7 [2.61, 2.72): 5 [2.72, 2.83): 1 [2.83, 2.94): 1 [2.94, 3.06): 1 [3.06, 3.17): 0 [3.17, 3.28): 0 [3.28, 3.4): 1 0.00 3.40

Negative-pole strength per token; bar height is log(1 + count).

Mechanism

Claimed retrospective: responds to tokens already in context.

Input attribution

0 back
12%
1 back
7%
2–4 back
14%
5–16 back
19%
17–64 back
24%
65+ back
23%
  • #1 at :: :0 0.16 e-1 0.12 for-8 0.09 */ -19 0.08(-7 0.07
  • #2 (not converged) at ,: ,0 0.37.Join-3 0.13(ctx-2 0.10(filepath-4 -0.06 content-10 0.03
  • #3 at :: super-2 0.28:0 0.12 return-4 0.08. -6 0.05With-19 0.04
  • #4 at ),: ),0 0.23yp-1 0.09nt-2 0.09)",-13 0.09(-5 -0.05
  • #5 at ). : ). 0 0.19 conn-1 0.18 set-10 0.04 -11 0.04 { -12 0.04

Shares of the gap to <|endoftext|> at every position but the first · converged on 4 of 5 · mean 70.2 tokens back · agreement with replacing one token at a time ρ = 0.39 · reported, not gated

Vocabulary projection

The tokens that this unit's output raises and lowers most.

Jacobian lens

} ↵ · z = +4.79 · #1 promoted } ↵ ) ↵ · z = +4.39 · #2 promoted ) ↵ mdat · z = +4.20 · #3 promoted mdat esson · z = +4.18 · #4 promoted esson \/ · z = +4.18 · #5 promoted \/ ␣ ↵ · z = +4.13 · #6 promoted ␣ ↵ ) ↵ · z = +4.10 · #7 promoted ) ↵ 微量元素 · z = +4.07 · #8 promoted 微量元素 ** ↵ · z = +4.05 · #9 promoted ** ↵ :" · z = +4.02 · #10 promoted :" 运河 · z = -4.18 · #10 suppressed 运河 !↵↵ · z = -4.31 · #9 suppressed !↵↵ -plugins · z = -4.31 · #8 suppressed -plugins RID · z = -4.36 · #7 suppressed RID ……↵↵ · z = -4.38 · #6 suppressed ……↵↵ ␣…↵↵ · z = -4.63 · #5 suppressed ␣…↵↵ /';↵↵ · z = -4.68 · #4 suppressed /';↵↵ !↵↵ · z = -4.70 · #3 suppressed !↵↵ …↵↵ · z = -4.76 · #2 suppressed …↵↵ 啤酒 · z = -5.20 · #1 suppressed 啤酒 -6 -4 -2 0 +2 +4 +6

Logit lens

缣 · z = +5.18 · #1 promoted 缣 ␣.↵↵↵↵ · z = +4.88 · #2 promoted ␣.↵↵↵↵ }());↵ · z = +4.65 · #3 promoted }());↵ .…↵↵ · z = +4.44 · #4 promoted .…↵↵ LAN · z = +4.36 · #5 promoted LAN )row · z = +4.24 · #6 promoted )row ..↵↵↵↵ · z = +4.15 · #7 promoted ..↵↵↵↵ ,Th · z = +4.14 · #8 promoted ,Th />";↵ · z = +4.09 · #9 promoted />";↵ "'; · z = +4.03 · #10 promoted "'; ␣did · z = -4.10 · #10 suppressed ␣did ␣only · z = -4.11 · #9 suppressed ␣only ␣atleast · z = -4.16 · #8 suppressed ␣atleast 仪表 · z = -4.19 · #7 suppressed 仪表 ␣pro · z = -4.25 · #6 suppressed ␣pro ␣everyone · z = -4.32 · #5 suppressed ␣everyone ␣measures · z = -4.35 · #4 suppressed ␣measures .appspot · z = -4.35 · #3 suppressed .appspot ␣all · z = -4.48 · #2 suppressed ␣all ␣at · z = -5.02 · #1 suppressed ␣at -6 -4 -2 0 +2 +4 +6
promotes suppresses Hover a bar for its value.
Values
#Jacobian lens promotessuppressesLogit lens promotessuppresses
1 } +4.79 啤酒 -5.20 缣 +5.18 at -5.02
2 ) +4.39 … -4.76 . +4.88 all -4.48
3 mdat +4.20 ! -4.70 }()); +4.65 .appspot -4.35
4 esson +4.18 /'; -4.68 .… +4.44 measures -4.35
5 \/ +4.18 … -4.63 LAN +4.36 everyone -4.32
6 +4.13 …… -4.38 )row +4.24 pro -4.25
7 ) +4.10 RID -4.36 .. +4.15 仪表 -4.19
8 微量元素 +4.07 -plugins -4.31 ,Th +4.14 atleast -4.16
9 ** +4.05 ! -4.31 />"; +4.09 only -4.11
10 :" +4.02 运河 -4.18 "'; +4.03 did -4.10

Top-10 overlap 0% · cos(w, J·w) 0.09 · kurtosis 3.3 (Jacobian) / 3.1 (logit) · 100 prompts

Read more

The output direction is read through the final norm and the unembedding. The Jacobian lens first carries it to the last layer. Bar length is the token's z-score over the vocabulary, and ␣ marks a space. A kurtosis near 3 means no specific set of tokens.

Patchscope

The model's own description of this unit's output, with no examples.

Read more

The unit's direction replaces the residual stream after the named layer, at the ? of each prompt. It is scaled to each multiple of the norm it replaces, and the model continues greedily. The control injects a random direction, so text that both rows share comes from the prompt. Read after the proposer answered, and shown to neither agent. Reported, not gated.

PromptLayer ×1×2×4
category 2 unit : : : : : : : : : : : :: : : : : : : : : : : :country
control periodemotionanimal
category 3 unit animalemotionnoun
control scienceadjectiveperson
meaning 2 unit that of the word "of" in the sentence "The"to be or become known or known to be" orto express the meaning of a word or phrase. It is
control to increase the value of something. It is used to describeto be used in a positive way. It is not to"to be the subject of a verb, to be the
meaning 3 unit :to be used in the following way: "The meaning ofto indicate the meaning of a word. For example, the
control to increase the intensity of the message. The word "intto be able to do something. The word "industrialthe same as the meaning of the word "happiness"

Hover a prompt's name for its text.

Steering

What the model writes with this pole ablated, untouched, and clamped. Text that matches the baseline is faded.

Read more

The prompts are neutral. The clamp is a multiple of the top activation in the scan (3.40), at every token, and decoding is greedy. Drift at ×1 or ×2 shows what the pole makes the model write. Drift only at ×4 is off-distribution. At most 24 new tokens. Taken after the proposer answered, and shown to neither agent. Reported, not gated.

The weather today is …
Ablated

sunny. It's a good day to go for a walk. I'm going to the park. I'm going to

Baseline

sunny. It's a good day to go for a walk. I'm going to the park. I'm going to

Clamped ×1

sunny. It's a good day to go for a walk. The weather is sunny. It's a good day to

Clamped ×2

sunny. It is _________. A. rainy B. sunny C. cloudy D. windy B The weather

Clamped ×4

sunny. The weather tomorrow is rainy. The weather tomorrow is sunny. The weather tomorrow is rainy. A. A,

I went to the shop and bought …
Ablated

a lot of things. I ________ a lot of things. A. bought B. bought C. am buying D

Baseline

a lot of things. I ________ a lot of things. A. bought B. bought C. am buying D

Clamped ×1

a pair of shoes for $120. The shoes were discounted by 20%. How much did I pay

Clamped ×2

a pair of shoes for $120. I gave the cashier $200. How much money do I

Clamped ×4

a pair of shoes. I paid the full price. I was very happy. I was very happy. I was very

The best way to learn is …
Ablated

to do it. This is the motto of the University of the Philippines (UP) and the University of the Philippines Health

Baseline

to do it. This is the motto of the University of the Philippines (UP) and the University of the Philippines Health

Clamped ×1

to do it. This is the motto of the famous American educator, Benjamin Franklin. He was a great teacher and a

Clamped ×2

to do it. This is the most important part of the learning process. It is the most important part of the learning

Clamped ×4

to do it. The best way to learn is to do it. The best way to learn is to do it.

Once upon a time, …
Ablated

there was a little girl named Lily. She loved to play with her toys and watch the stars. One day, she

Baseline

there was a little girl named Lily. She loved to play with her toys and watch the stars. One day, she

Clamped ×1

there was a man who was very rich. He had a lot of money and he wanted to give it away. He

Clamped ×2

there was a man who was very rich. He had a lot of money. He had a lot of money. He

Clamped ×4

there was a man who was very rich. He had a lot of gold. He had a lot of silver. He

The report concluded that …
Ablated

the 2010 census showed that the population of the United States was 318,000

Baseline

the 2010 census showed that the population of the United States was 318,000

Clamped ×1

the 2010 census showed that the population of the United States was 328,000

Clamped ×2

the 2010-2011 fiscal year was the first year in which the U.S. government

Clamped ×4

the 1999-2000 fiscal year was the first year of the 2000

Wiring

The units that write most directly into this pole (upstream) and read most directly from it (downstream). See its circuit.

Read more

"Directly" means along the residual stream, through no other unit. Linked units have pages in the registry. Reported, not gated.

From the weights. Virtual weights, with each norm's gain folded in. They rank units but have no absolute scale. Each number is how much one unit reads of the other's write. It is signed when one vector reads another (+ means a positive activation raises the read), and a norm otherwise. Heads count through their OV circuit upstream, and through their Q, K and V reads downstream. Channels are on hover.

From activations. Averaged over this pole's peak on 15 of the review's prompts where it fired. Upstream: the first-order change in its strength when a unit's direct write is removed (+ excites). Downstream: the change in a later unit when this pole's write is removed from that unit's input alone (one of Q, K or V for a head).

From the weights

Upstream neurons
L2/N1948 gate -0.205
L2/N813 gate +0.107
L2/N312 gate -0.101
L2/N4376 gate -0.0984
L2/N3250 up +0.0983
L2/N4174 gate +0.0964
L2/N598 gate +0.0959
L1/N964 gate +0.0913
L1/N2461 gate +0.0892
L1/N952 gate -0.0881
Upstream heads
L3/H10 gate +0.116
L3/H3 gate +0.109
L3/H1 gate +0.104
L2/H1 gate +0.0864
L3/H2 gate +0.0845
L2/H6 gate +0.0828
L3/H13 up +0.0795
L3/H8 gate +0.0763
L3/H9 gate +0.0753
L3/H12 gate +0.0745
Downstream neurons
L21/N567 up -0.552
L14/N196 gate -0.173
L10/N1207 gate +0.157
L10/N4229 gate +0.146
L21/N2541 gate -0.125
L23/N3355 gate +0.122
L15/N2472 gate -0.119
L4/N883 gate -0.118
L23/N765 up -0.118
L22/N651 gate +0.115
Downstream heads
L8/H3 q +0.481
L9/H7 k +0.299
L9/H8 k +0.299
L9/H9 k +0.299
L9/H10 k +0.299
L9/H11 k +0.299
L9/H12 k +0.299
L9/H13 k +0.299
L12/H11 q +0.287
L16/H0 q +0.28

From activations

Upstream neurons
L2/N1948 -0.322
L2/N4174 +0.273
L2/N598 +0.158
L1/N3794 -0.0943
L2/N2234 +0.0882
L1/N3231 +0.085
L1/N964 -0.0808
L2/N654 +0.0747
L2/N4318 -0.0718
L0/N50 -0.0696
Upstream heads
L3/H10 -0.437
L2/H6 +0.356
L3/H1 +0.249
L2/H1 +0.246
L1/H12 -0.188
L3/H2 +0.154
L2/H0 +0.153
L1/H9 -0.126
L1/H13 -0.111
L3/H9 -0.0907
Downstream neurons
L6/N3330 +0.465
L23/N2505 +0.379
L23/N4749 +0.312
L23/N607 -0.298
L17/N2888 -0.293
L13/N3545 +0.281
L23/N3122 -0.275
L23/N2345 +0.26
L4/N4483 -0.254
L23/N2228 -0.25
Downstream heads
L12/H0 v +0.293
L10/H6 v +0.262
L8/H3 v +0.25
L14/H1 v +0.245
L14/H10 v +0.212
L5/H9 v +0.196
L4/H12 v +0.182
L13/H3 v +0.18
L23/H1 v +0.174
L10/H7 v +0.167

Covariance and confounds

Confounds

Token identity R²
0.46
Position R²
0.01
Frequency r
0.09
Language R² · MI
0.02 · 0.022 bits
Source R² · MI
0.06 · 0.035 bits
Programming language R² · MI
0.04 · 0.046 bits
Syntax node R² · MI
0.41 · 0.402 bits
Bracket depth R² · MI
0.12 · 0.124 bits
Round depth R² · MI
0.04 · 0.020 bits
Indent depth R² · MI
0.09 · 0.078 bits
Syntax construct R² · MI
0.13 · 0.133 bits
Personal data R² · MI
0.00 · 0.000 bits
Toxicity R² · MI
0.00 · 0.000 bits
Hate speech R² · MI
0.00 · 0.000 bits
Names R² · MI
0.00 · 0.000 bits
Part of speech R² · MI
0.03 · 0.072 bits
Postal addresses R² · MI
0.00 · 0.000 bits
Best trivial baseline
probe length ≥ 16 tokens · 0.60
Hypothesis
0.93 ✓

), return"}, return}, ]; "}, ) (),},

Co-activating neuron poles

Pole Lift ≥ Both ρ r
N2785− 39.7 689 +0.02 -0.18
N4791− 17.0 308 +0.03 -0.13
N2673− 16.8 263 +0.02 -0.05
N3799+ 16.5 299 -0.01 +0.09
N4728+ 16.4 297 +0.03 +0.09
N2109+ 15.3 279 +0.03 +0.08
N4789+ 15.1 276 +0.05 +0.02
N2395− 15.0 273 +0.04 -0.03
N1127+ 14.6 267 +0.02 +0.06
N1643+ 13.7 251 +0.11 -0.01
Read more

Ranked by the 95% lower bound of co-activation lift: how much more often a pole fires when this one does, with chance coincidences discounted. ρ ranks the values, so heavy tails don't sway it.

Joint ablation

Partners
N2785, N4791, N2673
KL pole alone
1.43e-03
KL partners
3.70e-04
KL together
1.88e-03
Redundancy ratio
1.06

The partners don't change the pole's effect much.

Run details

Submitted by
muse-spark-1.3
Reviewed by
muse-spark-1.3 (same model as the proposer: not an independent review)
Reviewed at
2026-11-19 20:00 UTC
Max activation
3.3978
Selection
manual
Corpus
mixed-v8 (11 presets, 500 docs, seed [removed]) · 199,999 tokens · seeded sample of 347/500 docs (≤ 200,000 tokens, seed 0) · licence HuggingFaceFW/fineweb-edu: odc-by; allenai/c4: odc-by; monology/pile-uncopyrighted: other; Salesforce/wikitext: cc-by-sa-3.0, gfdl; codeparrot/github-code-clean: apache-2.0; wikimedia/wikipedia: cc-by-sa-3.0, gfdl; open-web-math/open-web-math: odc-by; HuggingFaceH4/ultrachat_200k: mit; HuggingFaceFW/fineweb-2: odc-by; allenai/peS2o: odc-by; emozilla/pg19: apache-2.0
Languages
en 64% · el 6% · ja 4% · hi 4% · zh 3% · bn 3% · ko 2% · ru 2% · other 12%
Model revision
060db6499f32 · float32
Ran on
scan cpu · review cuda:0
Run cost
83.8 min (slowest: scan, 71.8 min) · peak 9.5 GB RAM · 4 LLM calls · 483,332 + 37,063 tokens · $0.02