Open Interpretability Models Contributors Research Posts About

Qwen/Qwen2.5-1.5B · L1/N444 · 20261112T210945Z

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

#2 · negative pole − VERIFIED moderate evidence for · 0.89 self-reviewed counts toward status 2026-11-12 · 20261112T210945Z

This pole fires on structural punctuation inside a formal constructed expression: commas separating listed items (function arguments, array dimensions, SQL column lists), opening brackets starting argument or index lists, dots joining dotted attribute chains, and terminal marks closing markup-embedded phrases. The same characters in plain prose stay silent: commas after 'Paris' or '1969' and sentence-final dots score 0, a semicolon substituted into a code-comma slot scores 0, and the identical 'Hello, world!' string fires only inside its HTML frame.

The whole hypothesis

This pole fires on structural punctuation inside a formal constructed expression: commas separating listed items (function arguments, array dimensions, SQL column lists), opening brackets starting argument or index lists, dots joining dotted attribute chains, and terminal marks closing markup-embedded phrases. The same characters in plain prose stay silent: commas after 'Paris' or '1969' and sentence-final dots score 0, a semicolon substituted into a code-comma slot scores 0, and the identical 'Hello, world!' string fires only inside its HTML frame.

Hard negatives 13/14 rejected · holdouts 4/6 fired (independent observations; 20 probes) · P(useful) 0.94

Sister study: tests the explanation of openai-community--gpt2/L1/N1435-positive/20261030T113932Z, unchanged

Balanced accuracy
0.80
Sufficiency
1.00
Necessity
1.00
Lookahead KL
0.0015
✓ enough hard negatives ✓ enough holdouts ✓ specificity ✓ sensitivity ✓ counterfactual reproduction ✓ lookahead consistent ✓ independent review ✓ beats confound baseline ✓ not default on

specificity 0.93 · sensitivity 0.67 · counterfactual reproduction 1.00 · protocol v0.8

),; ): =>

Adversarial review

hard_negative: 13/14 passed; positive_holdout: 4/6 passed; counterfactual: 6/6 passed; lookahead_consistency: 1/1 passed. All gates passed.

Hard negatives 13/14 stay below Positive holdouts 4/6 reach it threshold 0.97 (25% of max) → active passed · 0.016 (0% of max) On June 5, 1969, about 1,000 villagers gathered in Marseille to hear the speech. passed · 0.021 (1% of max) Mr. Smith arrived at approx. 5 p.m. He strolled home slowly. Then he fell asleep. passed · 0.042 (1% of max) After graduating in 1969, she left Paris, and settled near Lyon, where she baked bread and wrote letters. passed · 0.077 (2% of max) // remember to close the parser ) tomorrow morning passed · 0.104 (3% of max) Her memoir (published in 1987) describes childhood in Provence with warmth. passed · 0.117 (3% of max) She opened the beginner tutorial and typed Hello, world! into the blank console, then smiled. passed · 0.118 (3% of max) He typed a sad face ): Then he closed the laptop and left. passed · 0.125 (3% of max) The booklet listed pi as 3.14 and version 2.0.1 on page 42, for memorization. passed · 0.140 (4% of max) Great news :) she texted after the exam, adding a smiley to celebrate downtown. passed · 0.169 (4% of max) She waited... and waited... until morning came at last. passed · 0.221 (6% of max) The report noted high prices => lower demand, in plain language without software. passed · 0.408 (11% of max) The jar label read pickles ) extra sour ( in faded marker, and nobody understood it. passed · 0.708 (18% of max) She paused; Then she kept walking home through quiet streets. failed · 1.763 (45% of max) SELECT name; age; city FROM users WHERE active equals one failed · 0.325 (8% of max) <html><body><p>Hello, world!</p></body></html> failed · 0.784 (20% of max) result = account.profile.settings.theme_name passed · 1.545 (40% of max) SELECT id, name, email, created_at FROM customers WHERE active = 1 ORDER BY name passed · 1.716 (44% of max) The quarterly inventory audit dragged on for weeks while clerks counted pallets in cold warehouses and managers argued over spreadsheets before anyone touche… passed · 1.788 (46% of max) fn main() { let vals = vec![10, 20, 30]; let out = compute(vals[0], vals[1]); println!("{}", out); } passed · 2.712 (70% of max) match status { Some(v) => v + 1, None => 0, _ => -1 } 0 max 3.88
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 27 probes
TestInputExpectedObserved
✓ hard negative After graduating in 1969, she left Paris, and settled near Lyon, where she baked bread and wrote letters.
Tests commas after 1969 and Paris in plain prose, which the hypothesis says stay silent.
inactive 0.042
✓ hard negative Mr. Smith arrived at approx. 5 p.m. He strolled home slowly. Then he fell asleep.
Tests sentence-final dots and abbreviations in ordinary prose, predicted silent.
inactive 0.021
✓ hard negative She opened the beginner tutorial and typed Hello, world! into the blank console, then smiled.
Tests the identical Hello, world! string without its HTML frame, predicted silent.
inactive 0.117
✓ hard negative Great news :) she texted after the exam, adding a smiley to celebrate downtown.
Tests a closing parenthesis as a prose emoticon smiley, not a code structure.
inactive 0.140
✓ hard negative The jar label read pickles ) extra sour ( in faded marker, and nobody understood it.
Tests parens inside a prose jar label, changing their syntactic role from call brackets to plain text.
inactive 0.408
✗ hard negative SELECT name; age; city FROM users WHERE active equals one
Tests semicolons substituted into a SQL comma slot, which the hypothesis says scores zero.
inactive 1.763
✓ hard negative The booklet listed pi as 3.14 and version 2.0.1 on page 42, for memorization.
Tests dots in decimals and version numbers, not dotted attribute chains.
inactive 0.125
✓ hard negative The report noted high prices => lower demand, in plain language without software.
Tests the arrow token in plain English prose without any formal expression.
inactive 0.221
✓ hard negative She paused; Then she kept walking home through quiet streets.
Tests a semicolon plus line break in prose rather than code.
inactive 0.708
✓ hard negative He typed a sad face ): Then he closed the laptop and left.
Tests a sad emoticon colon-paren plus newline in chat prose, not a function signature.
inactive 0.118
✓ hard negative On June 5, 1969, about 1,000 villagers gathered in Marseille to hear the speech.
Tests commas in dates and thousands in plain prose, predicted silent.
inactive 0.016
✓ hard negative Her memoir (published in 1987) describes childhood in Provence with warmth.
Tests round brackets as a prose aside with a date, not call arguments.
inactive 0.104
✓ hard negative She waited... and waited... until morning came at last.
Tests dots as a prose ellipsis of waiting, not an attribute chain.
inactive 0.169
✓ hard negative // remember to close the parser ) tomorrow morning
Tests a closing paren buried inside a line comment with no surrounding call.
inactive 0.077
✓ positive holdout SELECT id, name, email, created_at FROM customers WHERE active = 1 ORDER BY name
Positive holdout: SQL column-list commas in a formal query, predicted to fire.
active 1.545
✓ positive holdout fn main() { let vals = vec![10, 20, 30]; let out = compute(vals[0], vals[1]); println!("{}", out); }
Positive holdout in Rust, a language absent from the examples: call arguments and vector items.
active 1.788
✗ positive holdout result = account.profile.settings.theme_name
Positive holdout: dotted attribute chain in a new variable context.
active 0.784
✓ positive holdout match status { Some(v) => v + 1, None => 0, _ => -1 }
Positive holdout in Rust: fat arrows in match arms, a new formal use of the arrow token.
active 2.712
✗ positive holdout <html><body><p>Hello, world!</p></body></html>
Positive holdout: Hello, world! embedded in its HTML frame, predicted to fire.
active 0.325
✓ positive holdout The quarterly inventory audit dragged on for weeks while clerks counted pallets in cold warehouses and managers argued over spreadsheets before anyone touched software Yet the fix was tiny int[][] matrix = new int[3][4]; matrix[1][2] = 42; sum(matrix[0][0], matrix[1][2]);
Positive holdout in Java with a long lead-in: array dimensions and indexes deep in context.
active 1.716
✓ counterfactual int add(int a, int b) -> he left (quite late today now) Δ 0.75 Δ 0.77
✓ counterfactual call foo(a, b) -> call foo late today now ok Δ 0.45 Δ 0.44
✓ counterfactual reportCompare(expect, actual) -> reportCompare expect actual now ok Δ 0.65 Δ 0.66
✓ counterfactual int x; int y; -> big fox; red hen now Δ 0.60 Δ 0.61
✓ counterfactual sum(a, b) -> sum(a, c) Δ -0.05 Δ -0.05
✓ counterfactual foo(a, b, c) -> Paris, London, Rome today now Δ 0.60 Δ 0.60
✓ lookahead consistency int add(int a, int b); call foo(a, b); reportCompare(expect, actual); int x; int y;; sum(a, b); foo(a, b, c)
claimed retrospective; measured retrospective (KL=0.001465, tokens=[' {\n', ');\n', ' b', ' =', ' =>'])

Minimal pairs

Pair 1 Sufficiency: 1.00 · effect 0.00164 (matched |effect| median 1.9e-06, max 0.000312) int add(int a, int b) → he left (quite late today now) Necessity: 1.00 · effect 0.000374 (matched |effect| median 2.32e-07, max 1.29e-05) int add(int a, int b) → he left (quite late today now) Pair 2 Sufficiency: 1.00 · effect 0.00101 (matched |effect| median 8.49e-05, max 0.000605) call foo(a, b) → call foo late today now ok Necessity: 1.00 · effect 0.00065 (matched |effect| median 3.75e-05, max 0.000254) call foo(a, b) → call foo late today now ok Pair 3 Sufficiency: 1.00 · effect 0.00192 (matched |effect| median 6.9e-05, max 0.00123) reportCompare(expect, actual) → reportCompare expect actual now ok Necessity: 1.00 · effect 0.000527 (matched |effect| median 1.2e-05, max 0.000175) reportCompare(expect, actual) → reportCompare expect actual now ok Pair 4 Sufficiency: 1.00 · effect 0.0028 (matched |effect| median 1.06e-06, max 0.000392) int x; int y; → big fox; red hen now Necessity: 1.00 · effect 0.0069 (matched |effect| median 2.86e-06, max 0.00114) int x; int y; → big fox; red hen now Pair 6 Sufficiency: 1.00 · effect 0.000816 (matched |effect| median 4.3e-07, max 0.000264) foo(a, b, c) → Paris, London, Rome today now Necessity: 1.00 · effect 0.000543 (matched |effect| median 3.65e-07, max 0.000243) foo(a, b, c) → Paris, London, Rome today now Median (score) Sufficiency: 1.00 · median of 5 pairs 1.00 Necessity: 1.00 · median of 5 pairs 1.00 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 add(int a, int b)
→ he left (quite late today now)
0.75 0.77 1.00
effect 0.00164
matched 1.9e-06 / 0.000312
1.00
effect 0.000374
matched 2.32e-07 / 1.29e-05
2 call foo(a, b)
→ call foo late today now ok
0.45 0.44 1.00
effect 0.00101
matched 8.49e-05 / 0.000605
1.00
effect 0.00065
matched 3.75e-05 / 0.000254
3 reportCompare(expect, actual)
→ reportCompare expect actual now ok
0.65 0.66 1.00
effect 0.00192
matched 6.9e-05 / 0.00123
1.00
effect 0.000527
matched 1.2e-05 / 0.000175
4 int x; int y;
→ big fox; red hen now
0.60 0.61 1.00
effect 0.0028
matched 1.06e-06 / 0.000392
1.00
effect 0.0069
matched 2.86e-06 / 0.00114
5 sum(a, b)
→ sum(a, c)
-0.05 -0.05 — —
6 foo(a, b, c)
→ Paris, London, Rome today now
0.60 0.60 1.00
effect 0.000816
matched 4.3e-07 / 0.000264
1.00
effect 0.000543
matched 3.65e-07 / 0.000243
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 5 non-control pairs, on next-token KL. Median effect 0.00164 (sufficiency) and 0.000543 (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.88 … direction vector. Before the y rotation the direction vector↵# might be in negative z, but not afterward.↵↵def AimZ(ri,direction) :↵if (direction[0]==0 and direction …
    All 885 tokens

    ## Saturday, 6 November 2010↵↵### Jon's Teapot↵↵After a lunch time design meeting (in the Ship) Luiz decided that the name Jon's coding blog was crap, so after much discussion it was decided to call this blog "Jon's Teapot". The main motivation for this is the fact that most of my demos include some form of Utah Teapot, and it is also an oblique reference to Russell's teapot as well.↵↵The image above was created using Renderman Python using a simple Fractional Brownian motion (fBM) displacement shader↵↵displacement fbmDisp↵(↵float Km=0.1;↵float Layers=6;↵output varying float Freq=1;↵)↵{↵↵/* init the shader values */↵vector NN=normalize(N);↵float i;↵float mag=0;↵for(i=0; i<Layers; i+=1)↵{↵mag+=(float noise(Pt*Freq)-0.5)*2/Freq;↵Freq*=2;↵}↵mag /=length(vtransform("object",NN));↵P=P+mag*NN*Km;↵N=calculatenormal(P);↵↵}↵↵↵↵The basic scene was created using a Python for Renderman script below, this script is a two stage script which generates shadow maps by moving the camera to the position of each of the lights and rendering a Z depth map which the special shadowspot shader uses to calculate the occlusion.↵↵Once these maps are generated the final scene is rendered using these maps.↵↵#!/usr/bin/python↵# for bash we need to add the following to our .bashrc↵# export PYTHONPATH=$PYTHONPATH:$RMANTREE/bin↵import getpass↵import time,random,math↵# import the python renderman library↵import prman↵↵# Modified from Renderman Examples in The renderman Companion↵# AimZ(): rotate the world so the direction vector points in↵# positive z by rotating about the y axis, then x. The cosine↵# of each rotation is given by components of the normalized↵# direction vector. Before the y rotation the direction vector↵# might be in negative z, but not afterward.↵↵def AimZ(ri,direction) :↵if (direction[0]==0 and direction[1]==0 and direction[2]==0) :↵return↵#↵# The initial rotation about the y axis is given by the projection of↵# the direction vector onto the x,z plane: the x and z components↵# of the direction.↵↵xzlen = math.sqrt(direction[0]*direction[0]+direction[2]*direction[2])↵if (xzlen == 0) :↵if(direction[1] <0) :↵yrot = 0↵else :↵yrot =180↵↵# yrot = (direction[1] < 0) ? 180 : 0↵else :↵yrot = 180*math.acos(direction[2]/xzlen)/math.pi;↵↵# The second rotation, about the x axis, is given by the projection on↵# the y,z plane of the y-rotated direction vector: the original y↵# component, and the rotated x,z vector from above.↵↵yzlen = math.sqrt(direction[1]*direction[1]+xzlen*xzlen)↵xrot = 180*math.acos(xzlen/yzlen)/math.pi # yzlen should never be 0↵↵if (direction[1] > 0) :↵ri.Rotate(xrot, 1.0, 0.0, 0.0)↵else :↵ri.Rotate(-xrot, 1.0, 0.0, 0.0)↵#The last rotation declared gets performed first↵if (direction[0] > 0) :↵ri.Rotate(-yrot, 0.0, 1.0, 0.0)↵else :↵ri.Rotate(yrot, 0.0, 1.0, 0.0)↵↵#↵print "Rendering Shadow pass %s.z" %(Name)↵ri.Begin("__render")↵ri.Display(Name+".z", "zfile", "z")↵ri.Clipping(1,10)↵# Specify PAL resolution 1:1 pixel Aspect ratio↵ri.Format(512,512,1)↵# now

    Values
    TokenNegative-pole strength
    direction0.000
    vector0.074
    .0.050
    0.058
    Before0.000
    the0.000
    y0.012
    rotation0.033
    the0.051
    direction0.014
    vector0.024
    ↵0.143
    #0.000
    might0.000
    be0.010
    in0.000
    negative0.000
    z0.003
    ,0.479
    but0.000
    not0.016
    afterward0.000
    .↵↵0.028
    def0.000
    Aim0.000
    Z0.000
    (0.516
    ri0.000
    ,d1.943
    irection0.143
    )3.881
    :↵2.503
    if0.038
    (0.089
    direction0.000
    [1.040
    01.804
    ]==1.264
    01.036
    and0.232
    direction0.009
  2. 3.64 … _FINISHED);↵ xfree (buf);↵}↵↵static void namesplit(TCHAR *s)↵{↵ int l;↵↵ l = _tcslen(s) - 1;↵ while (l >= 0 …
    All 975 tokens

    /*↵* UAE - The Un*x Amiga Emulator↵*↵* Pro-Wizard glue code↵*↵* Copyright 2004 Toni Wilen↵*/↵↵#include "sysconfig.h"↵#include "sysdeps.h"↵↵#ifdef PROWIZARD↵↵#include "options.h"↵#include "uae/io.h"↵#include "uae/memory.h"↵#include "uae/seh.h"↵#include "moduleripper.h"↵#include "gui.h"↵#include "uae.h"↵↵#ifdef FSUAE // NL↵↵typedef unsigned char Uchar;↵typedef unsigned long Ulong;↵↵extern "C" {↵#include "../prowizard/include/globals.h"↵#include "../prowizard/include/extern.h"↵}↵↵#endif↵↵static int got, canceled;↵↵static void mc (uae_u8 *d, uaecptr s, int size)↵{↵ int i;↵↵ for (i = 0; i < size; i++)↵ d[i] = get_byte (s++);↵}↵↵#ifdef _WIN32↵static LONG WINAPI ExceptionFilter (struct _EXCEPTION_POINTERS * pExceptionPointers, DWORD ec)↵{↵ return EXCEPTION_EXECUTE_HANDLER;↵}↵#endif↵↵void moduleripper (void)↵{↵ int size;↵ uae_u8 *buf, *p;↵↵ size = currprefs.chipmem_size;↵ size += currprefs.fastmem_size;↵ size += currprefs.bogomem_size;↵ size += currprefs.mbresmem_low_size;↵ size += currprefs.mbresmem_high_size;↵ size += currprefs.z3fastmem_size;↵ size += currprefs.z3fastmem2_size;↵ buf = p = xmalloc (uae_u8, size);↵ if (!buf)↵ return;↵ memcpy (p, chipmem_bank.baseaddr, currprefs.chipmem_size);↵ p += currprefs.chipmem_size;↵ mc (p, fastmem_bank.start, currprefs.fastmem_size);↵ p += currprefs.fastmem_size;↵ mc (p, fastmem2_bank.start, currprefs.fastmem2_size);↵ p += currprefs.fastmem2_size;↵ mc (p, bogomem_bank.start, currprefs.bogomem_size);↵ p += currprefs.bogomem_size;↵ mc (p, a3000lmem_bank.start, currprefs.mbresmem_low_size);↵ p += currprefs.mbresmem_low_size;↵ mc (p, a3000hmem_bank.start, currprefs.mbresmem_high_size);↵ p += currprefs.mbresmem_high_size;↵ mc (p, z3fastmem_bank.start, currprefs.z3fastmem_size);↵ p += currprefs.z3fastmem_size;↵ mc (p, z3fastmem_bank.start + currprefs.z3fastmem_size, currprefs.z3fastmem2_size);↵ p += currprefs.z3fastmem2_size;↵↵ got = 0;↵ canceled = 0;↵#ifdef _WIN32↵#ifdef FSUAE↵↵#else↵ __try {↵#endif↵#endif↵ prowizard_search (buf, size);↵#ifdef _WIN32↵#ifdef FSUAE↵↵#else↵ } __except(ExceptionFilter (GetExceptionInformation (), GetExceptionCode ())) {↵ write_log (_T("prowizard scan crashed\n"));↵ }↵#endif↵#endif↵ if (!got)↵ notify_user (NUMSG_MODRIP_NOTFOUND);↵ else if (!canceled)↵ notify_user (NUMSG_MODRIP_FINISHED);↵ xfree (buf);↵}↵↵static void namesplit(TCHAR *s)↵{↵ int l;↵↵ l = _tcslen(s) - 1;↵ while (l >= 0) {↵ if (s[l] == '.')↵ s[l] = 0;↵ if (s[l] == '\\' || s[l] == '/' || s[l] == ':' || s[l] == '?') {↵ l++;↵ break;↵ }↵ l--;↵ }↵ if (l > 0)↵ memmove(s, s + l, (_tcslen(s + l) + 1) * sizeof (TCHAR));↵}↵↵static void moduleripper_filename(const char *aname, TCHAR *out, bool fullpath)↵{↵ TCHAR tmp[MAX_DPATH];↵ TCHAR img[MAX_DPATH];↵ TCHAR *name;↵↵ fetch_ripperpath(tmp, sizeof tmp / sizeof(TCHAR));↵↵ img[0] = 0;↵ if (currprefs.floppyslots[0].dfxtype >= 0)↵ _tcscpy(img, currprefs.floppyslots[0].df);↵ else if (currprefs.cdslots[0].inuse)↵ _tcscpy(img, currprefs.cdslots[0].name);↵ if (img[0]) {↵ namespli

    Values
    TokenNegative-pole strength
    _FIN0.056
    ISHED0.000
    );↵0.943
    0.000
    xf0.000
    ree0.009
    (0.150
    buf0.000
    );↵2.017
    }↵↵0.107
    static0.000
    void0.000
    names0.007
    plit0.279
    (T0.000
    CHAR0.159
    *0.223
    s0.015
    )↵2.925
    {↵0.274
    int0.003
    l0.085
    ;↵↵2.185
    l0.025
    =1.123
    _0.144
    t0.000
    cs0.000
    len0.247
    (s0.000
    )3.639
    -1.140
    1.207
    12.451
    ;↵0.684
    while0.000
    (0.209
    l0.011
    >=1.504
    0.478
    01.941
  3. 3.62 … sorted.↵ """↵ self._locks = self._validate(locks)↵ self._held_locks = []↵↵ def _validate(self, locks):↵ """↵ Remove duplicate locks and sort the locks …
    All 657 tokens

    #↵# Copyright 2016 Red Hat, Inc.↵#↵# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA↵#↵# Refer to the README and COPYING files for full details of the license↵#↵↵from __future__ import absolute_import↵import itertools↵import logging↵import operator↵import sys↵↵import six↵↵log = logging.getLogger('storage.guarded')↵↵↵class ReleaseError(Exception):↵ pass↵↵↵class Deadlock(Exception):↵ msg = "Attempt to lock will deadlock: {self.locks}"↵↵ def __init__(self, locks):↵ self.locks = locks↵↵ def __str__(self):↵ return self.msg.format(self=self)↵↵↵class context(object):↵ """↵ A context manager to lock groups of storage entities for an operation.↵↵ When performing an operation on storage (eg. copying data from one volume↵ to another volume), the entities (volumes) must be locked to protect them↵ from conflicting access by other threads of this application and (in the↵ future) from simultaneous access by other hosts. This requires the use of↵ multiple layers of locks and rigid lock ordering rules to prevent deadlock.↵↵ This class receives a variable number of lock lists corresponding to each↵ entity involved in an operation. The locks from all entities are grouped↵ together and any duplicate locks removed. Next, the locks are sorted by↵ namespace and then by name. When entering the context the locks are↵ acquired in sorted order. When exiting the context the locks are released↵ in reverse order. Errors are handled as gracefully as possible with any↵ acquired locks being released in the proper order.↵↵ Attemping to lock the same lock twice with differnt mode is not supported↵ and will raise a Deadlock exception with the conflicting locks.↵ """↵↵ def __init__(self, locks):↵ """↵ Receives a variable number of locks which must descend from↵ AbstractLock. The locks are deduplicated and sorted.↵ """↵ self._locks = self._validate(locks)↵ self._held_locks = []↵↵ def _validate(self, locks):↵ """↵ Remove duplicate locks and sort the locks.↵↵ Raises Deadlock if trying to take the same lock with different modes.↵ """↵ locks = sorted(set(locks))↵ by_ns_name = operator.attrgetter("ns", "name")↵ for _, group in itertools.groupby(locks, by_ns_name):↵

    Values
    TokenNegative-pole strength
    sorted0.004
    .↵0.057
    0.000
    """↵0.000
    0.005
    self0.000
    ._0.000
    locks0.000
    =0.594
    self0.000
    ._0.000
    validate0.000
    (0.000
    locks0.000
    )↵2.609
    0.074
    self0.000
    ._0.000
    held0.006
    _lock0.000
    s0.023
    =0.540
    []↵↵0.035
    0.000
    def0.000
    _0.000
    validate0.000
    (self0.000
    ,0.407
    locks0.000
    ):↵3.620
    0.157
    """↵0.026
    0.009
    Remove0.000
    duplicate0.002
    locks0.016
    and0.350
    sort0.018
    the0.019
    locks0.000
  4. 3.56 … fetch from 'node-fetch';↵↵const METAWEATHER_API_URL = "https://www.metaweather.com/api/location/";↵↵const getWeather = (data) => {↵ return fetch(METAWEATHER_API …
    All 337 tokens

    import fetch from 'node-fetch';↵↵const METAWEATHER_API_URL = "https://www.metaweather.com/api/location/";↵↵const getWeather = (data) => {↵ return fetch(METAWEATHER_API_URL + data.woeid)↵ .then(response => response.json())↵};↵↵// get woeid (where on earth id) using city name↵const getWoeid = (place) => {↵ return fetch(`${METAWEATHER_API_URL}search/?query=${place}`)↵ .then(response => response.json())↵ .then(jsonResponse => jsonResponse[0])↵};↵↵// resolvers -> get where on earth id -> get consolidated_weather data and return↵const resolvers = {↵ Query: {↵ cityWeather: (root, args, context, info) => {↵ return getWoeid(args.city_name).then( (response) => {↵ if (!response) {↵ return null;↵ }↵ return getWeather(response).then( (weather) => {↵ if (!weather) {↵ return null;↵ }↵ let consolidated_weather = weather.consolidated_weather;↵ // check for args applicable_date to apply filter↵ consolidated_weather = args.applicable_date ? consolidated_weather.find(item => item.applicable_date === args.applicable_date) : consolidated_weather[0];↵ const respObj = {'temp': consolidated_weather.the_temp.toString(), 'min_temp': consolidated_weather.min_temp.toString(), 'max_temp': consolidated_weather.max_temp.toString(), 'city_name': weather.title, 'applicable_date': consolidated_weather.applicable_date};↵ return respObj;↵ });↵ });↵ }↵ },↵};↵↵export default resolvers;

    Values
    TokenNegative-pole strength
    fetch0.000
    from0.000
    '0.019
    node0.000
    -fetch0.007
    ';↵↵0.000
    const0.000
    META0.000
    WE0.000
    ATHER0.000
    _API0.000
    _URL0.000
    =0.000
    "0.000
    https0.000
    ://0.000
    www0.000
    .met0.000
    awe0.000
    ather0.000
    .com0.000
    /api0.000
    /location0.000
    /";↵↵0.000
    const0.000
    get0.000
    Weather0.000
    =0.055
    (0.000
    data0.000
    )3.561
    =>2.357
    {↵0.000
    0.000
    return0.000
    fetch0.015
    (M0.000
    ETA0.000
    WE0.000
    ATHER0.000
    _API0.000
  5. 3.50 … (UINTN) - 1) & ~(sizeof(UINTN) - 1) )↵↵typedef CHAR8 * va_list;↵↵#define va_start(ap,v) ( ap = (va_list)&v + …
    All 309 tokens

    /* $FreeBSD: head/sys/boot/efi/include/efistdarg.h 163898 2006-11-02 02:42:48Z marcel $ */↵#ifndef _EFISTDARG_H_↵#define _EFISTDARG_H_↵↵/*++↵↵Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved↵This software and associated documentation (if any) is furnished↵under a license and may only be used or copied in accordance↵with the terms of the license. Except as permitted by such↵license, no part of this software or documentation may be↵reproduced, stored in a retrieval system, or transmitted in any↵form or by any means without the express written consent of↵Intel Corporation.↵↵Module Name:↵↵ devpath.h↵↵Abstract:↵↵ Defines for parsing the EFI Device Path structures↵↵↵↵Revision History↵↵--*/↵↵#define _INTSIZEOF(n) ( (sizeof(n) + sizeof(UINTN) - 1) & ~(sizeof(UINTN) - 1) )↵↵typedef CHAR8 * va_list;↵↵#define va_start(ap,v) ( ap = (va_list)&v + _INTSIZEOF(v) )↵#define va_arg(ap,t) ( *(t *)((ap += _INTSIZEOF(t)) - _INTSIZEOF(t)) )↵#define va_end(ap) ( ap = (va_list)0 )↵↵↵#endif /* _INC_STDARG */

    Values
    TokenNegative-pole strength
    (UINT0.000
    N0.000
    )1.757
    -0.411
    0.753
    11.765
    )0.409
    &0.109
    ~(0.286
    sizeof0.072
    (UINT0.000
    N0.000
    )1.762
    -0.345
    0.673
    11.895
    )0.391
    )↵↵0.422
    typedef0.000
    CHAR0.022
    80.030
    *0.036
    va0.000
    _list0.008
    ;↵↵0.709
    #define0.000
    va0.000
    _start0.019
    (ap0.000
    ,v1.787
    )3.504
    0.988
    (0.259
    ap0.000
    =1.546
    (0.226
    va0.000
    _list0.010
    )&0.835
    v0.095
    +0.918
  6. 3.26 … : expandtab sw=4 ts=4 sts=4:↵**********************************************************************/↵↵abstract class Avatar {↵ var $user;↵↵ function __construct($user) {↵ $this->user = $user;↵ …
    All 709 tokens

    <?php↵/*********************************************************************↵ class.avatar.php↵↵ Avatar sources for users and agents↵↵ Jared Hancock <██████>↵ Peter Rotich <██████>↵ Copyright (c) 2006-2015 osTicket↵ http://www.osticket.com↵↵ Released under the GNU General Public License WITHOUT ANY WARRANTY.↵ See LICENSE.TXT for details.↵↵ vim: expandtab sw=4 ts=4 sts=4:↵**********************************************************************/↵↵abstract class Avatar {↵ var $user;↵↵ function __construct($user) {↵ $this->user = $user;↵ }↵↵ abstract function getUrl($size);↵↵ function getImageTag($size=null) {↵ $style = ($size)↵ ? sprintf('style="max-height:%spx"', $size)↵ : '';↵ return "<img {$style} class=\"avatar\" alt=\""↵ .__('Avatar').'" src="'.$this->getUrl($size).'" />';↵ }↵↵ function __toString() {↵ return $this->getImageTag();↵ }↵↵ function isChangeable() {↵ return false;↵ }↵ function toggle() {}↵}↵↵abstract class AvatarSource {↵ static $id;↵ static $name;↵ var $mode;↵↵ function __construct($mode=null) {↵ if (isset($mode))↵ $this->mode = $mode;↵ }↵↵ function getName() {↵ return __(static::$name);↵ }↵↵ abstract function getAvatar($user);↵↵ static $registry = array();↵ static function register($class) {↵ if (!class_exists($class))↵ throw new Exception($class.': Does not exist');↵ if (!isset($class::$id))↵ throw new Exception($class.': AvatarClass must specify $id');↵ static::$registry[$class::$id] = $class;↵ }↵↵ static function lookup($id, $mode=null) {↵ $class = static::$registry[$id];↵ if (!isset($class))↵ ; // TODO: Return built-in avatar source↵ if (is_string($class))↵ $class = static::$registry[$id] = new $class($mode);↵ return $class;↵ }↵↵ static function allSources() {↵ return static::$registry;↵ }↵↵ static function getModes() {↵ return null;↵ }↵}↵↵class LocalAvatarSource↵extends AvatarSource {↵ static $id = 'local';↵ static $name = /* @trans */ 'Built-In';↵ var $mode = 'ateam';↵↵ static function getModes() {↵ return array(↵ 'ateam' => __("Oscar's A-Team"),↵ );↵ }↵↵ function getAvatar($user) {↵ return new LocalAvatar($user, $this->mode);↵ }↵}↵AvatarSource::register('LocalAvatarSource');↵↵class LocalAvatar↵extends Avatar {↵ var $mode;↵ var $code;↵ var $size;↵↵ function __construct($user, $mode) {↵ parent::__construct($user);↵ $this->mode = $mode;↵ }↵↵ function setSize($size) {↵ $this->size = $size;↵ }↵↵ function getUrl($size) {↵ $code = $this->code;↵ if (!$code && method_exists($this->user, 'getExtraAttr'))↵ $code = $this->user->getExtraAttr('avatar');↵↵ if ($code)↵ $uid

    Values
    TokenNegative-pole strength
    :0.077
    expand0.000
    tab0.000
    sw0.008
    =0.214
    40.133
    ts0.000
    =0.162
    40.135
    sts0.035
    =0.109
    40.105
    :↵0.073
    ****************************************************************0.000
    ******/↵↵0.000
    abstract0.000
    class0.000
    Avatar0.000
    {↵0.031
    0.000
    var0.000
    $0.069
    user0.000
    ;↵↵1.423
    0.000
    function0.000
    __0.053
    construct0.000
    ($0.000
    user0.000
    )3.257
    {↵0.402
    0.004
    $0.014
    this0.000
    ->0.019
    user0.015
    =0.722
    $0.000
    user0.000
    ;↵1.481
  7. 3.23 … USE_ROOT_ERROR↵↵#ifndef MNLOG↵#define MN_OS std::cerr↵#else ↵#define MN_OS MNLOG↵#endif↵↵#define MN_INFO_MSG(str) \↵ MN_OS << "Info: " << …
    All 750 tokens

    // @(#)root/minuit2:$Id$↵// Authors: M. Winkler, F. James, L. Moneta, A. Zsenei 2003-2005 ↵↵/**********************************************************************↵ * *↵ * Copyright (c) 2005 LCG ROOT Math team, CERN/PH-SFT *↵ * *↵ **********************************************************************/↵↵#ifndef ROOT_Minuit2_MnPrint↵#define ROOT_Minuit2_MnPrint↵↵#include "Minuit2/MnConfig.h"↵↵//#define DEBUG↵//#define WARNINGMSG↵↵#include <iostream>↵↵#ifdef DEBUG↵#ifndef WARNINGMSG↵#define WARNINGMSG↵#endif↵#endif↵↵↵↵↵namespace ROOT {↵↵ namespace Minuit2 {↵↵↵/**↵ define ostream operators for output ↵*/↵↵class FunctionMinimum;↵std::ostream& operator<<(std::ostream&, const FunctionMinimum&);↵↵class MinimumState;↵std::ostream& operator<<(std::ostream&, const MinimumState&);↵↵class LAVector;↵std::ostream& operator<<(std::ostream&, const LAVector&);↵↵class LASymMatrix;↵std::ostream& operator<<(std::ostream&, const LASymMatrix&);↵↵class MnUserParameters;↵std::ostream& operator<<(std::ostream&, const MnUserParameters&);↵↵class MnUserCovariance;↵std::ostream& operator<<(std::ostream&, const MnUserCovariance&);↵↵class MnGlobalCorrelationCoeff;↵std::ostream& operator<<(std::ostream&, const MnGlobalCorrelationCoeff&);↵↵class MnUserParameterState;↵std::ostream& operator<<(std::ostream&, const MnUserParameterState&);↵↵class MnMachinePrecision;↵std::ostream& operator<<(std::ostream&, const MnMachinePrecision&);↵↵class MinosError;↵std::ostream& operator<<(std::ostream&, const MinosError&);↵↵class ContoursError;↵std::ostream& operator<<(std::ostream&, const ContoursError&);↵↵ ↵// class define static print level values ↵↵class MnPrint { ↵↵public:↵ // set print level and return the previous one↵ static int SetLevel(int level);↵ ↵ // return current level↵ static int Level(); ↵ ↵ // print current minimization state ↵ static void PrintState(std::ostream & os, const MinimumState &, const char * msg, int iter = -1);↵};↵↵↵↵ } // namespace Minuit2↵↵} // namespace ROOT↵↵↵// macro to report messages↵↵#ifndef USE_ROOT_ERROR↵↵#ifndef MNLOG↵#define MN_OS std::cerr↵#else ↵#define MN_OS MNLOG↵#endif↵↵#define MN_INFO_MSG(str) \↵ MN_OS << "Info: " << str \↵ << std::endl;↵#define MN_ERROR_MSG(str) \↵ MN_OS << "Error: " << str \↵ << std::endl;↵# define MN_INFO_VAL(x) \↵ MN_OS << "Info: " << #x << " = " << (x) << std::endl; ↵# define MN_ERROR_VAL(x) \↵ MN_OS << "Error: " << #x << " = " << (x) << std::endl; ↵↵↵// same giving a location↵↵#define MN_INFO_MSG2(loc,str) \↵ MN_OS << "Info in " << loc << " : " << str \↵ << std::endl;↵#define MN_ERROR_MSG2(loc,str) \↵ MN_OS << "Error in " << loc << " : " << str \↵ << std::endl;↵# define MN_INFO_VAL2(loc,x) \↵ MN_OS << "Info in " << loc << " : " << #x << " = " << (x) << std::endl;↵# define MN_ERROR_VAL2(loc,x) \↵ MN_OS << "Err

    Values
    TokenNegative-pole strength
    USE0.000
    _ROOT0.000
    _ERROR0.001
    ↵↵0.260
    #ifndef0.000
    MN0.000
    LOG0.000
    ↵0.257
    #define0.000
    MN0.000
    _OS0.000
    std0.041
    ::0.026
    cerr0.000
    ↵0.335
    #else0.000
    ↵0.308
    #define0.000
    MN0.000
    _OS0.000
    MN0.000
    LOG0.000
    ↵0.503
    #endif0.000
    ↵↵0.000
    #define0.000
    MN0.000
    _INFO0.000
    _MSG0.000
    (str0.000
    )3.232
    \↵0.667
    0.000
    MN0.000
    _OS0.000
    <<0.441
    "0.178
    Info0.000
    :0.332
    "0.007
    <<0.000
  8. 3.14 … ) *C.char {↵ return C.CString(s)↵}↵↵//export _cgopy_ErrorIsNil↵func _cgopy_ErrorIsNil(err error) bool {↵ return err == nil↵}↵↵//export …
    All 921 tokens

    // Copyright 2015 The go-python Authors. All rights reserved.↵// Use of this source code is governed by a BSD-style↵// license that can be found in the LICENSE file.↵↵package bind↵↵import (↵ "fmt"↵ "go/token"↵ "strings"↵↵ "golang.org/x/tools/go/types"↵)↵↵const (↵ goPreamble = `// Package main is an autogenerated binder stub for package %[1]s.↵// gopy gen -lang=go %[1]s↵//↵// File is generated by gopy gen. Do not edit.↵package main↵↵//#cgo pkg-config: %[2]s --cflags --libs↵//#include <stdlib.h>↵//#include <string.h>↵//#include <complex.h>↵import "C"↵↵import (↵ "fmt"↵ "sync"↵ "unsafe"↵↵ %[3]s↵)↵↵var _ = unsafe.Pointer(nil)↵var _ = fmt.Sprintf↵↵// --- begin cgo helpers ---↵↵//export _cgopy_GoString↵func _cgopy_GoString(str *C.char) string {↵ return C.GoString(str)↵}↵↵//export _cgopy_CString↵func _cgopy_CString(s string) *C.char {↵ return C.CString(s)↵}↵↵//export _cgopy_ErrorIsNil↵func _cgopy_ErrorIsNil(err error) bool {↵ return err == nil↵}↵↵//export _cgopy_ErrorString↵func _cgopy_ErrorString(err error) *C.char {↵ return C.CString(err.Error())↵}↵↵// --- end cgo helpers ---↵↵// --- begin cref helpers ---↵↵type cobject struct {↵ ptr unsafe.Pointer↵ cnt int32↵}↵↵// refs stores Go objects that have been passed to another language.↵var refs struct {↵ sync.Mutex↵ next int32 // next reference number to use for Go object, always negative↵ refs map[unsafe.Pointer]int32↵ ptrs map[int32]cobject↵}↵↵//export cgopy_incref↵func cgopy_incref(ptr unsafe.Pointer) {↵ refs.Lock()↵ num, ok := refs.refs[ptr]↵ if ok {↵ s := refs.ptrs[num]↵ refs.ptrs[num] = cobject{s.ptr, s.cnt + 1}↵ } else {↵ num = refs.next↵ refs.next--↵ if refs.next > 0 {↵ panic("refs.next underflow")↵ }↵ refs.refs[ptr] = num↵ refs.ptrs[num] = cobject{ptr, 1}↵ }↵ refs.Unlock()↵}↵↵//export cgopy_decref↵func cgopy_decref(ptr unsafe.Pointer) {↵ refs.Lock()↵ num, ok := refs.refs[ptr]↵ if !ok {↵ panic("cgopy: decref untracked object")↵ }↵ s := refs.ptrs[num]↵ if s.cnt - 1 <= 0 {↵ delete(refs.ptrs, num)↵ delete(refs.refs, ptr)↵ refs.Unlock()↵ return↵ }↵ refs.ptrs[num] = cobject{s.ptr, s.cnt - 1}↵ refs.Unlock()↵}↵↵func init() {↵ refs.Lock()↵ refs.next = -24 // Go objects get negative reference numbers. Arbitrary starting point.↵ refs.refs = make(map[unsafe.Pointer]int32)↵ refs.ptrs = make(map[int32]cobject)↵ refs.Unlock()↵↵ // make sure cgo is used and cgo hooks are run↵ str := C.CString(%[1]q)↵ C.free(unsafe.Pointer(str))↵}↵↵// --- end cref helpers ---↵`↵)↵↵type goGen struct {↵ *printer↵↵ fset *token.FileSet↵ pkg *Package↵ lang int // python's version API (2 or 3)↵ err ErrorList↵}↵↵func (g *goGen) gen() error {↵↵ g.genPreamble()↵↵ // create a Cgo hook for empty packages↵ g.genPackage()↵↵ // process slices, arrays, ...↵ for _, n := range g.pkg.syms.names() {↵ sym := g.pkg.syms.sym(n)↵ if !sym.isType() {↵ continue↵ }↵ g.genType(sym)↵ }↵↵ for _, s := range g.pkg.structs {↵ g.genStruct(s)↵ }↵↵ // expose ctors at module level↵ for _, s := range g.pkg.structs {↵ for _, ctor := range s.ctor

    Values
    TokenNegative-pole strength
    )2.743
    *0.398
    C0.000
    .char0.309
    {↵0.443
    return0.000
    C0.000
    .C0.068
    String0.034
    (s0.000
    )↵2.231
    }↵↵0.000
    //0.000
    export0.000
    _0.005
    cg0.000
    opy0.018
    _Error0.000
    Is0.019
    Nil0.035
    ↵0.308
    func0.000
    _0.019
    cg0.012
    opy0.031
    _Error0.000
    Is0.027
    Nil0.039
    (err0.000
    error0.408
    )3.135
    bool0.057
    {↵0.243
    return0.000
    err0.121
    ==1.436
    nil0.800
    ↵0.561
    }↵↵0.000
    //0.000
    export0.000
  9. 3.12 … 0;↵typedef void (*mainloop_test_iteration_cb) (int check_event);↵↵#define MAINLOOP_DEFAULT_TIMEOUT 2↵↵#define mainloop_test_done(pass) \↵ if (pass) { \↵ cr …
    All 833 tokens

    /* ↵ * Copyright (C) 2009 Andrew Beekhof <███████>↵ * ↵ * 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 software 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 library; if not, write to the Free Software↵ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA↵ */↵↵#include <crm_internal.h>↵↵#include <sys/param.h>↵#include <stdio.h>↵#include <sys/time.h>↵#include <sys/types.h>↵#include <sys/stat.h>↵#include <unistd.h>↵#include <sys/utsname.h>↵↵#include <stdlib.h>↵#include <errno.h>↵#include <fcntl.h>↵↵#include <crm/crm.h>↵#include <crm/msg_xml.h>↵#include <crm/common/ipc.h>↵#include <crm/cluster/internal.h>↵↵#include <crm/stonith-ng.h>↵#include <crm/fencing/internal.h>↵#include <crm/common/xml.h>↵↵#include <crm/common/mainloop.h>↵↵GMainLoop *mainloop = NULL;↵crm_trigger_t *trig = NULL;↵int mainloop_iter = 0;↵int callback_rc = 0;↵typedef void (*mainloop_test_iteration_cb) (int check_event);↵↵#define MAINLOOP_DEFAULT_TIMEOUT 2↵↵#define mainloop_test_done(pass) \↵ if (pass) { \↵ crm_info("SUCCESS - %s", __FUNCTION__); \↵ mainloop_iter++; \↵ mainloop_set_trigger(trig); \↵ } else { \↵ crm_err("FAILURE = %s async_callback %d", __FUNCTION__, callback_rc); \↵ crm_exit(pcmk_err_generic); \↵ } \↵ callback_rc = 0; \↵↵↵/* *INDENT-OFF* */↵enum test_modes {↵ /* class dev test using a very specific environment */↵ test_standard = 0,↵ /* watch notifications only */↵ test_passive,↵ /* sanity test stonith client api using fence_dummy */↵ test_api_sanity,↵ /* sanity test mainloop code with async respones. */↵ test_api_mainloop,↵};↵↵static struct crm_option long_options[] = {↵ {"verbose", 0, 0, 'V'},↵ {"version", 0, 0, '$'},↵ {"help", 0, 0, '?'},↵ {"passive", 0, 0, 'p'},↵ {"api_test", 0, 0, 't'},↵ {"mainloop_api_test", 0, 0, 'm'},↵↵ {0, 0, 0, 0}↵};↵/* *INDENT-ON* */↵↵stonith_t *st = NULL;↵struct pollfd pollfd;↵int st_opts = st_opt_sync_call;↵int expected_notifications = 0;↵int verbose = 0;↵↵static void↵dispatch_helper(int timeout)↵{↵ int rc;↵↵ crm_debug("Looking for notification");↵ pollfd.events = POLLIN;↵ while (true) {↵ rc = poll(&pollfd, 1, timeout); /* wait 10 minutes, -1 forever */↵ if (rc > 0) {↵ if (!stonith_dispatch(st)) {↵ break;↵ }↵ } else {↵ break;↵ }↵ }↵}↵↵static void↵st_callback(stonith_t * st, stonith_event_t * e)↵{↵ if (st->stat

    Values
    TokenNegative-pole strength
    01.814
    ;↵0.214
    typedef0.000
    void0.016
    (*0.000
    main0.000
    loop0.000
    _test0.000
    _iteration0.000
    _cb0.000
    )1.223
    (0.077
    int0.000
    check0.007
    _event0.018
    );↵↵1.144
    #define0.000
    MAIN0.000
    LOOP0.000
    _DEFAULT0.000
    _TIMEOUT0.000
    1.165
    20.349
    ↵↵0.256
    #define0.000
    main0.000
    loop0.000
    _test0.000
    _done0.000
    (pass0.000
    )3.125
    \↵0.658
    0.031
    if0.000
    (0.044
    pass0.000
    )2.221
    {0.770
    \↵0.042
    0.023
    cr0.003
  10. 3.07 … ↵↵#define CLUTTER_TYPE_STAGE_WIN32 (clutter_stage_win32_get_type ())↵#define CLUTTER_STAGE_WIN32(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), …
    All 767 tokens

    /* Clutter.↵ * An OpenGL based 'interactive canvas' library.↵ * Authored By Matthew Allum <██████>↵ * Copyright (C) 2006-2007 OpenedHand↵ *↵ * This library is free software; you can redistribute it and/or↵ * modify it under the terms of the GNU Lesser General Public↵ * License as published by the Free Software Foundation; either↵ * version 2 of the License, or (at your option) any later version.↵ *↵ * This library 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↵ * Lesser General Public License for more details.↵ *↵ * You should have received a copy of the GNU Lesser General Public↵ * License along with this library; if not, write to the↵ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,↵ * Boston, MA 02111-1307, USA.↵ */↵↵#ifndef __CLUTTER_STAGE_WIN32_H__↵#define __CLUTTER_STAGE_WIN32_H__↵↵#include <clutter/clutter-group.h>↵#include <clutter/clutter-stage.h>↵#include <windows.h>↵↵#include "clutter-backend-win32.h"↵↵G_BEGIN_DECLS↵↵#define CLUTTER_TYPE_STAGE_WIN32 (clutter_stage_win32_get_type ())↵#define CLUTTER_STAGE_WIN32(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLUTTER_TYPE_STAGE_WIN32, ClutterStageWin32))↵#define CLUTTER_IS_STAGE_WIN32(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_TYPE_STAGE_WIN32))↵#define CLUTTER_STAGE_WIN32_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CLUTTER_TYPE_STAGE_WIN32, ClutterStageWin32Class))↵#define CLUTTER_IS_STAGE_WIN32_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_STAGE_WIN32))↵#define CLUTTER_STAGE_WIN32_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_STAGE_WIN32, ClutterStageWin32Class))↵↵typedef struct _ClutterStageWin32 ClutterStageWin32;↵typedef struct _ClutterStageWin32Class ClutterStageWin32Class;↵↵struct _ClutterStageWin32↵{↵ ClutterGroup parent_instance;↵↵ HWND hwnd;↵ HDC client_dc;↵ gint win_width;↵ gint win_height;↵ gint scroll_pos;↵ RECT fullscreen_rect;↵ gboolean is_foreign_win;↵↵ ClutterBackendWin32 *backend;↵ ClutterStageState state;↵↵ ClutterStage *wrapper;↵};↵↵struct _ClutterStageWin32Class↵{↵ ClutterGroupClass parent_class;↵};↵↵GType clutter_stage_win32_get_type (void) G_GNUC_CONST;↵↵void clutter_stage_win32_map (ClutterStageWin32 *stage_win32);↵void clutter_stage_win32_unmap (ClutterStageWin32 *stage_win32);↵↵/* Defined in clutter-event-win32.c */↵LRESULT CALLBACK _clutter_stage_win32_window_proc (HWND hwnd,↵ UINT msg,↵ WPARAM wparam,↵ LPARAM lparam);↵↵void _clutter_stage_win32_get_min_max_info (ClutterStageWin32 *stage_win32,↵ MINMAXINFO *min_max_info);↵↵G_END_DECLS↵↵#endif /* __CLUTTER_STAGE_H__ */

    Values
    TokenNegative-pole strength
    ↵↵0.064
    #define0.000
    CL0.000
    UT0.000
    TER0.000
    _TYPE0.000
    _STAGE0.000
    _WIN0.000
    30.000
    20.000
    0.226
    (0.051
    cl0.000
    utter0.000
    _stage0.000
    _win0.000
    30.027
    20.014
    _get0.000
    _type0.000
    ())↵0.170
    #define0.000
    CL0.000
    UT0.000
    TER0.000
    _STAGE0.000
    _WIN0.000
    30.000
    20.000
    (obj0.000
    )3.072
    0.535
    (0.138
    G0.000
    _TYPE0.000
    _CHECK0.000
    _INSTANCE0.000
    _CAST0.000
    ((0.042
    obj0.000
    ),1.337
  11. 3.06 … ThreadImplBrowserIPCTestHelper::DummyListener↵ : public IPC::Listener {↵ public:↵ bool OnMessageReceived(const IPC::Message& message) override { return true; }↵};↵↵RenderThreadImpl …
    All 548 tokens

    // Copyright 2014 The Chromium Authors. All rights reserved.↵// Use of this source code is governed by a BSD-style license that can be↵// found in the LICENSE file.↵↵#include "content/test/render_thread_impl_browser_test_ipc_helper.h"↵↵#include "content/common/mojo/channel_init.h"↵#include "ipc/mojo/ipc_channel_mojo_host.h"↵#include "testing/gtest/include/gtest/gtest.h"↵↵namespace content {↵↵class RenderThreadImplBrowserIPCTestHelper::DummyListener↵ : public IPC::Listener {↵ public:↵ bool OnMessageReceived(const IPC::Message& message) override { return true; }↵};↵↵RenderThreadImplBrowserIPCTestHelper::RenderThreadImplBrowserIPCTestHelper() {↵ message_loop_.reset(new base::MessageLoopForIO());↵↵ channel_id_ = IPC::Channel::GenerateVerifiedChannelID("");↵ dummy_listener_.reset(new DummyListener());↵↵ SetupIpcThread();↵↵ if (IPC::ChannelMojo::ShouldBeUsed()) {↵ SetupMojo();↵ } else {↵ channel_ = IPC::ChannelProxy::Create(channel_id_, IPC::Channel::MODE_SERVER,↵ dummy_listener_.get(),↵ ipc_thread_->task_runner());↵ }↵}↵↵RenderThreadImplBrowserIPCTestHelper::~RenderThreadImplBrowserIPCTestHelper() {↵}↵↵void RenderThreadImplBrowserIPCTestHelper::SetupIpcThread() {↵ ipc_thread_.reset(new base::Thread("test_ipc_thread"));↵ base::Thread::Options options;↵ options.message_loop_type = base::MessageLoop::TYPE_IO;↵ ASSERT_TRUE(ipc_thread_->StartWithOptions(options));↵}↵↵void RenderThreadImplBrowserIPCTestHelper::SetupMojo() {↵ InitializeMojo();↵↵ ipc_support_.reset(new IPC::ScopedIPCSupport(ipc_thread_->task_runner()));↵ mojo_host_.reset(new IPC::ChannelMojoHost(ipc_thread_->task_runner()));↵ mojo_application_host_.reset(new MojoApplicationHost());↵ mojo_application_host_->OverrideIOTaskRunnerForTest(↵ ipc_thread_->task_runner());↵↵ channel_ = IPC::ChannelProxy::Create(↵ IPC::ChannelMojo::CreateServerFactory(mojo_host_->channel_delegate(),↵ ipc_thread_->task_runner(),↵ channel_id_),↵ dummy_listener_.get(), ipc_thread_->task_runner());↵↵ mojo_application_host_->Init();↵ mojo_application_host_->Activate(channel_.get(),↵ base::GetCurrentProcessHandle());↵ mojo_host_->OnClientLaunched(base::GetCurrentProcessHandle());↵}↵↵scoped_refptr<base::SingleThreadTaskRunner>↵RenderThreadImplBrowserIPCTestHelper::GetIOTaskRunner() const {↵ return ipc_thread_->task_runner();↵}↵↵} // namespace content

    Values
    TokenNegative-pole strength
    Thread0.013
    Impl0.001
    Browser0.000
    IP0.000
    CTest0.000
    Helper0.000
    ::0.057
    Dummy0.000
    Listener0.000
    ↵0.448
    0.029
    :0.187
    public0.000
    IPC0.000
    ::0.104
    Listener0.000
    {↵0.071
    public0.000
    :↵0.239
    0.000
    bool0.000
    On0.000
    Message0.000
    Received0.000
    (const0.000
    IPC0.000
    ::0.112
    Message0.030
    &0.131
    message0.025
    )3.062
    override0.000
    {0.479
    return0.000
    true0.316
    ;0.495
    }↵0.319
    };↵↵0.000
    Render0.000
    Thread0.028
    Impl0.006
  12. 3.06 … */↵ public function initModules()↵ {↵ $modules = $this->front->getControllerDirectory();↵ foreach ($modules as $module => $dir) {↵ if ('default' == …
    All 675 tokens

    <?php↵/** Zend_Controller_Plugin_Abstract */↵require_once 'Zend/Controller/Plugin/Abstract.php';↵↵/**↵ * Plugin to initialize application state↵ * ↵ * @uses Zend_Controller_Plugin_Abstract↵ * @category My↵ * @package My_Plugin↵ * @license New BSD {@link http://framework.zend.com/license/new-bsd}↵ * @version $Id: $↵ */↵class My_Plugin_Initialize extends Zend_Controller_Plugin_Abstract↵{↵ /**↵ * Constructor↵ * ↵ * @param string $basePath Base path of application↵ * @param string $env Application environment↵ * @return void↵ */↵ public function __construct($env = 'production')↵ {↵ $this->env = $env;↵ $this->initConfig();↵ }↵↵ /**↵ * Route Startup handler↵ * ↵ * @param Zend_Controller_Request_Abstract $request ↵ * @return void↵ */↵ public function routeStartup(Zend_Controller_Request_Abstract $request)↵ {↵ $this->front = Zend_Controller_Front::getInstance();↵ $this->initControllers()↵ ->initHelpers()↵ ->initLog()↵ ->initCache()↵ ->initDb()↵ ->initView()↵ ->initModules();↵ }↵↵ /**↵ * PreDispatch actions↵ *↵ * Initialize module bootstraps↵ * ↵ * @param Zend_Controller_Request_Abstract $request ↵ * @return void↵ */↵ public function initModules()↵ {↵ $modules = $this->front->getControllerDirectory();↵ foreach ($modules as $module => $dir) {↵ if ('default' == $module) {↵ continue;↵ }↵ $bootstrapFile = dirname($dir) . '/Bootstrap.php';↵ $class = ucfirst($module) . '_Bootstrap';↵ if (Zend_Loader::loadFile('Bootstrap.php', dirname($dir))↵ && class_exists($class)↵ ) {↵ $bootstrap = new $class;↵ $bootstrap->setAppBootstrap($this);↵ $bootstrap->bootstrap();↵ }↵ }↵ return $this;↵ }↵↵ /**↵ * Initialize configuration↵ * ↵ * @return My_Plugin_Initialize↵ */↵ public function initConfig()↵ {↵ $this->config = new Zend_Config_Ini(APPLICATION_PATH . '/config/site.ini', $this->env, true);↵ Zend_Registry::set('config', $this->config);↵ return $this;↵ }↵↵ /**↵ * Initialize controller directories↵ * ↵ * @return My_Plugin_Initialize↵ */↵ public function initControllers()↵ {↵ $this->front->setControllerDirectory($this->config->appPath . '/controllers', 'default');↵ $this->front->addModuleDirectory($this->config->appPath . '/modules');↵ return $this;↵ }↵↵ /**↵ * Initialize action helpers↵ * ↵ * @return My_Plugin_Initialize↵ */↵ public function initHelpers()↵ {↵ Zend_Controller_Action_HelperBroker::addHelper(new My_Controller_Helper_ResourceLoader());↵ return $this;↵ }↵↵ /**↵ * Initialize logger(s)↵ * ↵ * @return My

    Values
    TokenNegative-pole strength
    0.000
    */↵0.000
    0.000
    public0.000
    function0.000
    init0.000
    Modules0.000
    ()↵0.166
    0.042
    {↵0.066
    0.003
    $0.011
    modules0.000
    =0.970
    $0.000
    this0.000
    ->0.004
    front0.067
    ->0.131
    get0.044
    Controller0.000
    Directory0.000
    ();↵0.000
    0.024
    foreach0.032
    ($0.000
    modules0.000
    as1.893
    $0.077
    module0.000
    =>3.059
    $0.000
    dir0.000
    )2.302
    {↵0.547
    0.011
    if0.000
    ('0.000
    default0.000
    '0.059
    ==0.000
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.90
Fuzzing
0.50
Embedding AUROC
0.62

Detection recall by activation strength

0.60
0.60
0.80
1.00
1.00
weakeststrongest

False alarms on inactive windows: 0%.

Judge
muse-spark-1.3
Held-out windows
273 active of 4,000
Judged
50 detection · 37 fuzzing
Detection outcomes
5 missed · 0 false alarm · 20 hit · 25 correct rejection
Seed
3172984344 · mixed-v4 (8 presets, 500 docs, seed [removed])
Detection windows (50), the explanation's mistakes first
  1. missed 1.59 · sim 0.10 . Put f, w, 3 in increasing order.↵w, f, 3↵Let t = 597 - 596.
  2. missed 1.26 · sim 0.03 for each tangent space $T_pM$ I fix such a basis. Hence, I've obtained a possibly discontinuous global frame $X_1,\cd
  3. missed 1.18 · sim 0.07 ?<|im_end|>↵<|im_start|>assistant↵Certainly! Customer testimonials can be a powerful way to showcase the effectiveness of your products and services. Here's an updated email marketing template
  4. missed 1.10 · sim 0.28 N >= 0. */↵/* > \endverbatim */↵/* > */↵/* > \param[in,out] A */↵/* > \verbatim */↵/* > A
  5. missed 1.02 · sim 0.10 * @access public↵ * @param User $user↵ * @param Project $project↵ * @return booelean↵ */↵ function
  6. hit 3.70 · sim 0.11 de->son[idx]; ↵ __trieNode *out = kde;↵ while (out) { ↵ for (unsigned j=0; j
  7. hit 2.68 · sim -0.06 ↵void bcm2835_peri_set_bits(volatile uint32_t* paddr, uint32_t value, uint32_t mask
  8. hit 2.68 · sim 0.05 (n, m) indices, as well as to detect optical signals from individual nanotubes.↵↵Kataura plot↵↵The band structure of carbon nanot
  9. hit 2.56 · sim 0.10 Klausur($klausurId);↵ if ($klausur) {↵ $this->klausurForm->bind($klausur);↵
  10. hit 2.35 · sim -0.04 _1+w_2)\sim (v, w_1) + (v, w_2),$$ $$(\lambda v, w) \
  11. hit 2.31 · sim 0.17 ( "\n\n\n\n", $body ) . "\n\n\n\n";↵ $home_url = get_home_url();↵ if ( $type
  12. hit 2.30 · sim 0.24 () {↵ return data;↵ }↵↵ /**↵ * The encoded debug information.↵ * @param data data or {@code null} for none↵
  13. hit 2.12 · sim -0.02 [-B*D[f[t, x], x, x], x, w, FourierParameters -> {0, -2 Pi}]↵↵Out[1]=
  14. hit 2.06 · sim 0.07 T value;↵ public:↵ custom_type(T x) : value(x) {}↵↵ std::size_t hash() const↵ {↵ boost::
  15. hit 1.91 · sim 0.13 ; ↵ queue<__trieNode*> Q;↵ Q.push(root);↵ __trieNode *superRoot = new __trieNode();↵ for (
  16. hit 1.80 · sim 0.10 ,↵ getExtension,↵ ensureFuseBoxPath,↵ joinFuseBoxPath,↵ createStringConst,↵ createVarString,↵ parseVersion,↵
  17. hit 1.78 · sim 0.15 )↵{↵ if (debug)↵ printf("bcm2835_peri_write_nb paddr %08X, value %08X\n",(
  18. hit 1.74 · sim 0.05 ↵ cw := area.Dx()↵ ch := area.Dy()↵↵ if cx != x {↵ t.Errorf("expected x to be %d
  19. hit 1.66 · sim 0.08 name="token" value="<?php echo $token; ?>"/>↵↵This will generate a nice long string that is unique to the person browsing that page. The point
  20. hit 1.39 · sim 0.02 IndividualContainer( child ),↵ m_cameraController( new IECore::Camera ),↵ m_cameraInMotion( false ),↵ m_dragTracking( false )↵{↵↵
  21. hit 1.37 · sim 0.04 ]["employeefirstname"].ToString());↵ this.txtemployeelastname = empinfo.Tables[0].Rows[1]["employeelastname
  22. hit 1.19 · sim 0.04 ) {↵ Init()↵ defer Close()↵↵ b := NewBlock()↵ b.X = 10↵ b.Y = 20↵↵ b.Float = AlignCenter↵
  23. hit 1.09 · sim 0.04 }F(x, t)}{\partial x^{2}} \\ \\ IC: F(x, 0) = 1 \end{gather*}↵↵I
  24. hit 1.06 · sim 0.26 of positive integers c1,c2,,cnc1,c2,…,cn where cici is the number of consecutive brackets “(”
  25. hit 1.00 · sim -0.04 , y.↵-0.07, y, 0.4, 2↵Suppose 0 = -45*y + 65
  26. correct rejection 0.33 · sim 0.06 x=(5+1)/6↵↵=6/6↵↵= 1↵↵Also,↵↵x=(5-1)/6↵↵=4/6↵↵
  27. correct rejection 0.32 · sim 0.19 basic word order is subject – object – verb, similar to Latin and Japanese. Like other Niger – Congo languages it has a noun class system where nouns are classified
  28. correct rejection 0.32 · sim -0.01 BYF Festival in Bulgaria, and many more.↵↵Some of the projects he was involved in recording orchestral music for movies are: Hostel: Part III,
  29. correct rejection 0.20 · sim 0.01 ockeyspieler↵ Pete Fenson (* 1968), Curler und Bronzemedaille-Gewinner bei den Olympischen Spielen
  30. correct rejection 0.18 · sim 0.17 988, 75–94. · Zbl 0656.60055 [5] S.-Y.
  31. correct rejection 0.16 · sim 0.01 have a Reliance mobile, then only SIM of reliance will work in the mobile phone and rest of the other companies sim will not work. This means CDMA
  32. correct rejection 0.14 · sim -0.06 . ↵In your problem, this d must be a random quantity bound by your original 'r'. Calculating a d then gives you the central angle,
  33. correct rejection 0.13 · sim -0.04 of detail, he must freely use his own judgment, and the broad lessons, moral and religious, of the history, may be trusted to impress themselves on his
  34. correct rejection 0.12 · sim 0.11 ν ��θοποιοί και ��παιξαν, παιδιά ακόμα, σ
  35. correct rejection 0.12 · sim 0.01 commercial studio systems of ukiyo-e and shin-hanga. He initiated movements in folk arts and children's art education that continue to be influential in Japan.↵↵
  36. correct rejection 0.10 · sim 0.01 prioritize during your visit of the city!↵First up, you will visit the Flavian amphitheater, more famously known as the Colosseum! Enter
  37. correct rejection 0.09 · sim 0.14 0 - 23:00↵イオン���見��地店: 9:00 - 23:00
  38. correct rejection 0.09 · sim 0.06 are coequal branches is of recent vintage. This late view is based on a mischaracterization of what the founding generation did believe a
  39. correct rejection 0.08 · sim 0.07 charger’s compressor isn’t generating boost, and the right side of the piston is exposed to the idle vacuum in the intake manifold. At idle, the BOV
  40. correct rejection 0.08 · sim 0.10 φή, καταργείται σαν «ανεξάρτητος» ��ι
  41. correct rejection 0.08 · sim -0.02 without other changes in conditions.↵↵## Applications of bernoulli’s principle↵↵Many devices and situations occur in which fluid flows at a constant height and thus can be
  42. correct rejection 0.07 · sim 0.13 <?php↵/**↵ * File containing the ezcTreeTransactionItem class.↵ *↵ * @copyright Copyright (C) 2005-201
  43. correct rejection 0.07 · sim -0.00 鄙會的骨幹成員,經常率領全班搞惡作劇,在一個學期內氣走七個老師。插班生姚
  44. correct rejection 0.06 · sim 0.05 the entire time after the initiator makes its request. However, the ToF calculations can take many milliseconds to accomplish. This can force the initiator to dwell on the
  45. correct rejection 0.06 · sim -0.01 and Atlas Shrugged (1957). Rand was the consummate economic conservative. In her world the good guys were entrepreneurs, tycoons who bought
  46. correct rejection 0.05 · sim 0.07 was to spy on people and invade their privacy, and he started to feel guilty for his actions. He tried to resist the temptation to use his power for malicious
  47. correct rejection 0.05 · sim 0.03 )となった特急「にちりん9号」が突風で脱線、乗客と運��士計6名が負傷
  48. correct rejection 0.05 · sim 0.03 عشرة (2003–06)↵أعضاء الكنيست العشرون (2015–)↵إسرائيليون من أصل تون
  49. correct rejection 0.04 · sim 0.07 its tax evasion. The story of the trulli is a story of tax evasion.↵They say that in the middle age the farmers of the area, in
  50. correct rejection 0.02 · sim 0.09 0431.42011 [7] R. Fe
Fuzzing windows (37), dashed tokens were marked for the judge
  1. marks right · judged wrong function addComment($content, $is_private = false) {↵ $comment = new Comment();↵ $comment->setText($content);↵
  2. marks right · judged wrong urEntity = new KlausurEntity();↵↵ if ($klausurId) {↵ $this->updateKlausur($klausurId);↵
  3. marks right · judged wrong */↵ public SendDebugCaptureRequest setData(java.lang.String data) {↵ this.data = data;↵ return this;↵ }↵↵ /**↵ * The [
  4. marks right · judged wrong the total spin angular momentum has a well-defined value of $$|\mathbf S|^2 = \hbar^2 s(s+1)$$ for $$
  5. marks right · judged wrong <|im_end|>↵<|im_start|>user↵I've always been interested in Kung Fu. What makes it different from other forms of martial arts?<|im_end|>↵<|im_start|>assistant↵K
  6. marks right · judged wrong and wait 5 seconds.↵//digitalWrite(relay2, HIGH); // add 5v to arduino pin 12 so relay in2 will
  7. marks right · judged wrong ('./this/path/is/wild/right/ok.module');↵ expect(name).toEqual('this-path-is-wild-right-ok');↵ });↵↵ it('should beaut
  8. marks right · judged wrong ballBanter #BookNowOrRegretLater<|im_end|>↵<|im_start|>user↵That's amazing! Can you also add some highlights from the game and maybe a quote
  9. marks right · judged wrong , 13)↵↵ b.Border = true↵ assert("border, no padding", 11, 12, 10, 11
  10. marks right · judged wrong ): $\inline&space;P(tie)&space;=&space;P(zz)+P(yzz)+P(yyzz)+...&space;=&
  11. marks right · judged wrong i... ...Computer Graphics The usefulness of a matrix in computer graphics is its ability to
  12. marks right · judged wrong _object_id` = ' . DB::escape($this->getId()),↵ 'order' => '`order`'↵ )); // findAll↵ } //
  13. marks right · judged wrong * Array of searchable columns↵ *↵ * @var array↵ */↵ protected $searchable_columns = array('title', 'text', 'additional_text
  14. marks wrong · judged wrong } ↵ } ↵ }↵ ↵ inline vector<int> trie::reportMatchedWords(const string &S) { ↵ vector<int> res(__
  15. marks wrong · judged wrong _send ) {↵ foreach ( $mail_to_send as $to => $subjects ) {↵ $body_to_send = '';↵ foreach ( $subjects as $
  16. marks wrong · judged wrong get↵ // list if the previous access was to a different peripheral.↵ *paddr = value;↵ *paddr = value;↵ }↵}↵↵// write
  17. marks wrong · judged wrong def test_id(self):↵ residue = Residue("bar")↵ with remove_warnings:↵ with self.assertRaises(ChemfilesError):↵ _ = residue.id
  18. marks wrong · judged wrong search',array(↵ 'model'=>$model,↵)); ?>↵</div><!-- search-form -->↵↵<?php $this->widget('zii.widgets.grid.CGridView',
  19. marks wrong · judged wrong $$self[2];↵}↵↵# Return the order of an object↵sub order↵{↵ my $self = shift;↵ return $$self[3];↵}↵↵#
  20. marks wrong · judged wrong ;↵↵class ProfessorController extends AbstractActionController {↵↵ protected $professorService;↵ protected $klausurForm;↵ protected $klausurEntity;↵↵
  21. marks wrong · judged wrong M)-structure;↵Language↵English↵Cited by↵References↵1.↵Publ. Math. Debrecen, vol.54. pp.
  22. marks wrong · judged wrong rowatts/m2)↵The rats’ exposure in this study is higher than the applicable time averaged standard in NZ (NZS 2772.1
  23. marks wrong · judged wrong else↵ kde->son[i]->nextOutput = kde->son[i]->higher; ↵ Q.push(kde->son[i]); ↵
  24. marks wrong · judged wrong do?↵↵-↵↵$$\displaystyle \lim_{x\to 0^+}\frac{e^{-\frac{1}{x}}}{x}
  25. marks wrong · judged wrong -1↵Suppose 0 = -4*b - 16, -2*b = -h - b + 8. Let y be (
  26. marks wrong · judged wrong Cazcarro, Rogan, 2000). We have developed and validated single copy DNA probes (quickly and without cloning) for F
  27. marks wrong · judged wrong progenitors of W UMa stars. As many (perhaps all) contact binaries have companions, there is a possibility that some were formed in a Kozai
  28. marks wrong · judged wrong :↵↵You're assigning the value to the textbox (at least, I assume txtemployeefirstname is a textbox). I think you mean txtem
  29. marks wrong · judged wrong namespace Rubberduck.ToDoItems↵{↵ /// <summary>↵ /// Represents a Todo comment and the necessary information to display and navigate to that comment.↵
  30. marks wrong · judged wrong 4 года командирован с полком на Кавказ и поступил в распоряжение генерал-майора В. 
  31. marks wrong · judged wrong den Park all competed with each other to host Scottish Cup Finals and Scotland matches, one of which could generate up to £ 1,000 in re
  32. marks wrong · judged wrong phone line.↵↵She tried to remain calm, but every creak of the floorboards made her jump out of her skin. She crept through her house,
  33. marks wrong · judged wrong the vague but strongly held understanding of checks and balances that presently approaches consensus in the United States.↵The problem with this truism is that it fundamentally resets the
  34. marks wrong · judged wrong ��在《志雲飯局》的描述,羅美薇原是新藝城的暑假工,而陳加玲則是高志
  35. marks wrong · judged wrong موصل ضعيف والخارجية طبقة معدنية. وهناك أيضا فراغ هوائي بين الطبقتين للمساعدة على العزل.
  36. marks wrong · judged wrong stylesheet">↵↵ <!-- Custom styles for this template -->↵ <link href="assets/site/lib/cover.css" rel="stylesheet">↵↵ <!-- HTML5 shim and
  37. marks wrong · judged wrong 0 and earning a No. 20 ranking in the polls. Over the final eight games the Wolverines went 1 – 7 however, ending the

Activation and mechanism

Activation distribution

[0, 0.129): 192948 [0.129, 0.259): 2883 [0.259, 0.388): 1062 [0.388, 0.517): 616 [0.517, 0.647): 445 [0.647, 0.776): 386 [0.776, 0.906): 296 [0.906, 1.03): 197 [1.03, 1.16): 180 [1.16, 1.29): 145 [1.29, 1.42): 130 [1.42, 1.55): 132 [1.55, 1.68): 99 [1.68, 1.81): 94 [1.81, 1.94): 64 [1.94, 2.07): 58 [2.07, 2.2): 45 [2.2, 2.33): 53 [2.33, 2.46): 40 [2.46, 2.59): 25 [2.59, 2.72): 30 [2.72, 2.85): 23 [2.85, 2.98): 14 [2.98, 3.1): 13 [3.1, 3.23): 6 [3.23, 3.36): 2 [3.36, 3.49): 1 [3.49, 3.62): 4 [3.62, 3.75): 1 [3.75, 3.88): 1 0.00 3.88

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

Mechanism

Claimed retrospective: responds to tokens already in context.

Input attribution

0 back
49%
1 back
9%
2–4 back
8%
5–16 back
11%
17–64 back
8%
65+ back
15%
  • #1 at ): )0 0.70def-7 0.15,d-2 0.11irection-1 0.08ri-3 0.04
  • #2 at ): )0 0.88(s-1 0.32 _-5 0.04 =-6 0.03 l-7 0.03
  • #3 at ): : ): 0 0.81(self-3 0.11 def-6 0.11,-2 0.04 """ -66 0.03
  • #4 at ): )0 0.83data-1 0.12 (-2 0.11const-6 0.09'; -25 -0.07
  • #5 at ): )0 0.85,v-1 0.24#define-5 0.11(ap-2 0.06 va-4 0.05

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

Vocabulary projection

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

Jacobian lens

␣yg · z = +6.44 · #1 promoted ␣yg ␣''' ↵ · z = +6.14 · #2 promoted ␣''' ↵ ''' ↵ · z = +5.86 · #3 promoted ''' ↵ & · z = +5.29 · #4 promoted & ') ↵ · z = +4.95 · #5 promoted ') ↵ ␣didnt · z = +4.90 · #6 promoted ␣didnt ␣&( · z = +4.86 · #7 promoted ␣&( ␣doesnt · z = +4.79 · #8 promoted ␣doesnt '] ↵ · z = +4.77 · #9 promoted '] ↵ (&( · z = +4.74 · #10 promoted (&( ␣---↵ · z = -6.71 · #10 suppressed ␣---↵ ␣"... · z = -6.73 · #9 suppressed ␣"... ␣"-- · z = -6.77 · #8 suppressed ␣"-- ," · z = -6.94 · #7 suppressed ," ␣-- · z = -7.21 · #6 suppressed ␣-- —" · z = -7.22 · #5 suppressed —" --↵ · z = -7.28 · #4 suppressed --↵ ..." · z = -7.50 · #3 suppressed ..." "-- · z = -7.75 · #2 suppressed "-- ␣--↵ · z = -7.93 · #1 suppressed ␣--↵ -8 -6 -4 -2 0 +2 +4 +6 +8

Logit lens

adients · z = +4.77 · #1 promoted adients cased · z = +4.45 · #2 promoted cased aza · z = +4.35 · #3 promoted aza /WebAPI · z = +4.35 · #4 promoted /WebAPI ⇥attack · z = +4.34 · #5 promoted ⇥attack edImage · z = +4.21 · #6 promoted edImage _ends · z = +4.10 · #7 promoted _ends arning · z = +4.10 · #8 promoted arning SUCCESS · z = +4.04 · #9 promoted SUCCESS /respond · z = +4.02 · #10 promoted /respond 会觉得 · z = -4.07 · #10 suppressed 会觉得 icast · z = -4.09 · #9 suppressed icast 信じ · z = -4.14 · #8 suppressed 信じ Binder · z = -4.15 · #7 suppressed Binder (bind · z = -4.16 · #6 suppressed (bind держан · z = -4.20 · #5 suppressed держан ␣crem · z = -4.30 · #4 suppressed ␣crem ␣drafts · z = -4.31 · #3 suppressed ␣drafts ␣Nun · z = -4.42 · #2 suppressed ␣Nun 公司将 · z = -4.85 · #1 suppressed 公司将 -8 -6 -4 -2 0 +2 +4 +6 +8
promotes suppresses Hover a bar for its value.
Values
#Jacobian lens promotessuppressesLogit lens promotessuppresses
1 yg +6.44 -- -7.93 adients +4.77 公司将 -4.85
2 ''' +6.14 "-- -7.75 cased +4.45 Nun -4.42
3 ''' +5.86 ..." -7.50 aza +4.35 drafts -4.31
4 & +5.29 -- -7.28 /WebAPI +4.35 crem -4.30
5 ') +4.95 —" -7.22 attack +4.34 держан -4.20
6 didnt +4.90 -- -7.21 edImage +4.21 (bind -4.16
7 &( +4.86 ," -6.94 _ends +4.10 Binder -4.15
8 doesnt +4.79 "-- -6.77 arning +4.10 信じ -4.14
9 '] +4.77 "... -6.73 SUCCESS +4.04 icast -4.09
10 (&( +4.74 --- -6.71 /respond +4.02 会觉得 -4.07

Top-10 overlap 0% · cos(w, J·w) 0.10 · kurtosis 4.4 (Jacobian) / 3.2 (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 1 unit politicspoliticspolitics
control punctuationlanguagefood
meaning 1 unit ________.____.
control :________

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.88), 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

very hot. The temperature is 30 degrees Celsius. If the temperature increases by 5 degrees Celsius tomorrow, what

Baseline

very hot. The temperature is 30 degrees Celsius. If the temperature increases by 5 degrees Celsius tomorrow, what

Clamped ×1

very hot. The temperature is 30 degrees Celsius. What is the temperature in degrees Fahrenheit? To convert a temperature

Clamped ×2

very nice. Which of the following options correctly expresses this sentence? A. The weather is very nice today. B.

Clamped ×4

very nice. Which of the following is the most suitable title for this passage?____ A. Weather B.

I went to the shop and bought …
Ablated

a new pair of shoes. I put them on and walked out of the store. I was so happy that I had

Baseline

a new pair of shoes. I put them on and walked out of the store. I was so happy that I had

Clamped ×1

some food. I put it in my bag and left. Where might I have gone? Choose the most suitable

Clamped ×2

a new pair of shoes. Given the context: What will the other person want to do next? Possible answers

Clamped ×4

a new pair of shoes .____ A. 了 B. 了 C. 了 D

The best way to learn is …
Ablated

to do. The best way to do is to practice. The best way to practice is to play. The best way

Baseline

to do. The best way to do is to practice. The best way to practice is to play. The best way

Clamped ×1

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

Clamped ×2

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

Clamped ×4

by doing. The best way to learn is by doing. The best way to learn is by doing. The best way

Once upon a time, …
Ablated

there was a little girl named Lily. She lived in a small village with her parents and grandparents. One day, Lily

Baseline

there was a little girl named Lily. She lived in a small village with her parents and grandparents. One day, Lily

Clamped ×1

there was a young man named John. He was a very kind and generous person. One day, he was walking through

Clamped ×2

there was a king who had a beautiful daughter. The king loved his daughter very much, and he wanted to give her

Clamped ×4

there was a small island in the middle of the sea. There was a big rock in the middle of the island.

The report concluded that …
Ablated

the number of people who died in the 2010 earthquake was 22,000, with

Baseline

the number of people who died in the 2010 earthquake was 22,000, with

Clamped ×1

the use of the term “climate change” was “inappropriate” and that the term “climate disruption” was “

Clamped ×2

the use of the term “black” in the title of the book was “inappropriate” and “offensive”

Clamped ×4

the use of the new technology was not cost-effective and that the company should not invest in it. The report was written

Wiring

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

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 10 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
L0/N1506 gate +0.174
L0/N310 gate +0.136
L0/N2570 up +0.129
L0/N6760 up +0.118
L0/N4510 up -0.115
L0/N2634 up +0.113
L0/N3194 up -0.105
L0/N4675 up -0.104
L0/N6144 up +0.101
L0/N1574 up +0.0997
Upstream heads
L1/H0 gate +0.127
L1/H8 gate +0.121
L1/H4 up +0.119
L1/H11 gate +0.117
L1/H9 gate +0.111
L1/H2 gate +0.109
L0/H2 up +0.104
L1/H1 up +0.102
L0/H8 up +0.0947
L0/H7 up +0.0919
Downstream neurons
L26/N2908 up +0.846
L26/N7035 up -0.616
L27/N5544 gate -0.294
L26/N974 up +0.292
L27/N494 up +0.259
L2/N7258 up -0.256
L2/N4644 up +0.256
L2/N3614 up -0.244
L26/N2538 up -0.244
L14/N1785 up +0.243
Downstream heads
L15/H7 q +1.41
L17/H6 v +0.889
L17/H7 v +0.889
L17/H8 v +0.889
L17/H9 v +0.889
L17/H10 v +0.889
L17/H11 v +0.889
L14/H6 q +0.886
L27/H6 v +0.83
L27/H7 v +0.83

From activations

Upstream neurons
L0/N4814 +0.164
L0/N4510 +0.0855
L0/N4205 -0.0734
L0/N6144 -0.0686
L0/N3577 +0.061
L0/N7366 -0.0584
L0/N2570 +0.0566
L0/N3654 +0.0409
L0/N8677 -0.0401
L0/N1506 +0.0392
Upstream heads
L0/H6 +0.457
L1/H5 -0.41
L0/H10 +0.316
L0/H0 -0.271
L1/H3 -0.229
L0/H4 -0.185
L0/H2 -0.161
L1/H2 -0.148
L0/H3 +0.134
L1/H8 +0.13
Downstream neurons
L2/N4183 -0.986
L6/N7456 -0.669
L3/N6173 -0.423
L3/N8636 -0.393
L27/N2646 -0.388
L3/N8058 +0.322
L2/N8828 -0.317
L7/N4056 -0.316
L2/N7258 +0.291
L17/N8586 -0.282
Downstream heads
L15/H7 v +0.842
L2/H4 v +0.779
L18/H10 v +0.743
L19/H6 v +0.7
L11/H8 v +0.695
L10/H5 v +0.679
L5/H1 v +0.565
L15/H5 v +0.543
L7/H3 v +0.539
L20/H7 v +0.516

Covariance and confounds

Confounds

Token identity R²
0.36
Position R²
0.01
Frequency r
0.24
Language R² · MI
0.00 · 0.019 bits
Source R² · MI
0.04 · 0.058 bits
Programming language R² · MI
0.02 · 0.039 bits
Syntax node R² · MI
0.22 · 0.150 bits
Bracket depth R² · MI
0.04 · 0.048 bits
Round depth R² · MI
0.04 · 0.023 bits
Indent depth R² · MI
0.02 · 0.023 bits
Syntax construct R² · MI
0.04 · 0.055 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.003 bits
Postal addresses R² · MI
0.00 · 0.000 bits
Best trivial baseline
token identity · 0.68
Hypothesis
0.80 ✓

=null_; =~ =>_;])); ++) ToString,$)$ :=

Co-activating neuron poles

Pole Lift ≥ Both ρ r
N6953+ 30.9 425 +0.08 +0.31
N1847+ 29.0 401 +0.13 +0.11
N4287+ 26.4 366 +0.20 +0.13
N8160− 23.2 324 +0.26 -0.02
N5296+ 19.7 279 +0.08 +0.15
N8050− 17.7 252 +0.22 -0.13
N5992+ 17.3 247 +0.12 +0.10
N1186− 16.7 239 +0.19 -0.12
N1457+ 15.6 224 +0.03 +0.04
N1484+ 14.5 209 -0.03 +0.03
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
N6953, N1847, N4287
KL pole alone
4.93e-04
KL partners
7.01e-05
KL together
5.62e-04
Redundancy ratio
1.00

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-12 21:09 UTC
Max activation
3.8809
Selection
manual
Corpus
mixed-v4 (8 presets, 500 docs, seed [removed]) · 199,993 tokens · seeded sample of 380/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
Languages
el 24% · ja 21% · ru 15% · de 10% · en 8% · fr 7% · hi 5% · zh 5% · other 5%
Model revision
8faed761d45a · float32
Ran on
scan mps:0 · review cuda:0 (streamed from disk)
Run cost
9.1 min (slowest: reviewer, 2.7 min) · peak 4.2 GB RAM · 3 LLM calls · 66,770 + 23,015 tokens · $0.01