Qwen/Qwen2.5-0.5B · L21/N953 · 20261111T162001Z
Experiment 1 of 2 on this neuron, most conclusive first · record
Inside a still-open round bracket '(' (code or prose), fires on the last token of an item whose next token is expected to fuse the item's ending with the closer (e.g. '__)', '")', "')", '])', '++)'); it is strongest (about 14-21) on dunder names such as '(__FILE', '(__name', '(__file', 'defined(__GNUC', moderate (about 5-10) on the last word of a quoted string or a number index inside a call, such as (the "License" or i16(header[388, and weak (about 1-5) on a plain final argument followed by a bare ')'. It is near zero for the same item outside round brackets (after '=', '.', a bare space, or within only '[' or '{'), and after the bracket closes.
The whole hypothesis
Inside a still-open round bracket '(' (code or prose), fires on the last token of an item whose next token is expected to fuse the item's ending with the closer (e.g. '__)', '")', "')", '])', '++)'); it is strongest (about 14-21) on dunder names such as '(__FILE', '(__name', '(__file', 'defined(__GNUC', moderate (about 5-10) on the last word of a quoted string or a number index inside a call, such as (the "License" or i16(header[388, and weak (about 1-5) on a plain final argument followed by a bare ')'. It is near zero for the same item outside round brackets (after '=', '.', a bare space, or within only '[' or '{'), and after the bracket closes.
Hard negatives 12/13 rejected · holdouts 7/7 fired (independent observations; 20 probes) · P(useful) 1.00
Revised by 20261111T163509Z (VERIFIED)
specificity 0.92 · sensitivity 1.00 · counterfactual reproduction 1.00 · protocol v0.8
FILEnamefileGNUC_LIBRARYnext_requireLicenseSoftware0
Adversarial review
positive_holdout: 7/7 passed; hard_negative: 12/13 passed; counterfactual: 8/8 passed; lookahead_consistency: 0/1 passed. Failed gates: lookahead_consistent.
All 29 probes
| Test | Input | Expected | Observed | |
|---|---|---|---|---|
| ✓ | positive holdout | import os
ROOT = os.path.dirname(os.path.abspath(__file__))
print(ROOT) Python nested call with dunder __file__ before '__))' closer, the strongest claimed context. |
active | 15.573 |
| ✓ | positive holdout | #if defined(__linux__) && defined(__GNUC__)
#define FAST 1
#endif C preprocessor defined(__X__) in different dunder names than the examples. |
active | 15.121 |
| ✓ | positive holdout | <?php
require_once(dirname(__FILE__) . '/config.php');
?> PHP dunder constant inside nested call, different surrounding syntax. |
active | 11.174 |
| ✓ | positive holdout | Permission is hereby granted to any person obtaining a copy of this software (the "Software") to deal in it without restriction. Prose parenthetical with quoted word before closing quote-paren, moderate case. |
active | 6.523 |
| ✓ | positive holdout | class Foo:
def show(self):
print(type(self).__name__)
print(self.__class__.__name__) Dunder attribute name as last item in call parentheses, paraphrase of examples. |
active | 19.081 |
| ✓ | positive holdout | self.size = i16(header[384:386]), i16(header[386:388])
self.count = i16(header[388:390]) Number index inside call parentheses, moderate case claimed in hypothesis. |
active | 13.287 |
| ✓ | positive holdout | const path = require('path');
console.log(path.join(__dirname, 'static'));
log(typeof(__filename)) JavaScript node-style dunder identifiers inside call parentheses, another language. |
active | 8.260 |
| ✓ | hard negative | name = __name__
file = __file__
main = __main__ Same dunder names after '=' with no open round bracket; hypothesis says near zero. |
inactive | -0.000 |
| ✓ | hard negative | values = [__FILE__, __LINE__, __name__]
data = {__file__: 1} Dunder names inside only square or curly brackets, claimed near zero. |
inactive | 1.828 |
| ✓ | hard negative | class Foo:
__file__ = None
__name__ = 'x'
__doc__ = 'text'
obj = Foo.__dict__ Dunder names after '=' or '.' with no round bracket anywhere. |
inactive | -0.000 |
| ✓ | hard negative | def f():
return 1
# return (the value) of the function
s = "return(x)" Keyword return, comment and string uses; no dunder or item-before-closer in brackets. |
inactive | 3.729 |
| ✓ | hard negative | #ifndef __cdecl
# define __cdecl
#endif
#pragma once
extern int __stdcall; Dunder macro names at top level with no round bracket open. |
inactive | 0.606 |
| ✓ | hard negative | The library was quiet. She opened the file and read the page by the window. Peak-word senses (file, library, page) in plain prose without any bracket. |
inactive | -0.000 |
| ✓ | hard negative | This is licensed under the Apache License, Version 2.0 and the License applies to the Software as a whole. Same words License and Software in prose without a round bracket. |
inactive | 0.284 |
| ✓ | hard negative | x = [1, 2, 3]
y = x[388]
z = header[388:390]
w = 0 Number indices inside square brackets only, and bare numbers outside calls. |
inactive | 1.167 |
| ✓ | hard negative | result = compute(a, b, c) + 10
answer = result.next
print(done) Identifiers just after a bracket closed or after '.', no open paren at the item. |
inactive | 3.653 |
| ✓ | hard negative | We met in Paris (France) last year, and then (after lunch) we left. Prose parentheticals with plain final word before a bare ')', weak (1-5) by hypothesis, below threshold. |
inactive | 0.360 |
| ✓ | hard negative | // the macro is named __FILE__ and also __LINE__ in docs
/* see __name__ and __file__ for details */ Dunder names in comments with no round bracket open. |
inactive | 1.645 |
| ✓ | hard negative | msg = "the macro __FILE__ is used with __name__ here"
print msg Dunder text inside a string literal with no round bracket. |
inactive | -0.000 |
| ✗ | hard negative | for i in range(4):
yield i
g = gen()
value = g.__next__
print(value) Dunder next used after '.' without call parens, mirrors example 2 but without the open bracket. |
inactive | 6.425 |
| ✓ | counterfactual | logger = logging.getLogger(__name__) -> logger = logging.getLogger[__name__] | Δ 0.85 | Δ 0.86 |
| ✓ | counterfactual | #if defined(__GNUC__) -> #if defined __GNUC__ | Δ 0.70 | Δ 0.70 |
| ✓ | counterfactual | x = foo(__init__) -> x = foo.__init__ | Δ 0.45 | Δ 0.46 |
| ✓ | counterfactual | logger = logging.getLogger(__name__) -> logger = logging.getLogger(name) | Δ 0.75 | Δ 0.76 |
| ✓ | counterfactual | print("hello world") -> print "hello world" | Δ 0.36 | Δ 0.37 |
| ✓ | counterfactual | Licensed under the Apache License, Version 2.0 (the "License"); -> Licensed under the Apache License, Version 2.0, the "License"; | Δ 0.49 | Δ 0.49 |
| ✓ | counterfactual | self.nframe = i16(header[388:390]) -> self.nframe = i16[header[388:390]] | Δ 0.40 | Δ 0.40 |
| ✓ | counterfactual | path = os.path.dirname(__file__) -> path = os.path.dirname(__file__ + x) | Δ 0.00 | Δ 0.00 |
| ✗ | lookahead consistency | logger = logging.getLogger(__name__)
; #if defined(__GNUC__)
; x = foo(__init__)
; logger = logging.getLogger(__name__)
; print("hello world")
; Licensed under the Apache License, Version 2.0 (the "License");
; self.nframe = i16(header[388:390])
; path = os.path.dirname(__file__)
claimed lookahead; measured retrospective (KL=0.00307, tokens=['__)\n', '])\n', '])', '")\n', '");']) |
Minimal pairs
| # | Base → counterfactual | Expected Δ | Observed Δ | Sufficiency | Necessity |
|---|---|---|---|---|---|
| 1 | logger = logging.getLogger(__name__)
→ logger = logging.getLogger[__name__]
|
0.85 | 0.86 | — | — |
| 2 | #if defined(__GNUC__)
→ #if defined __GNUC__
|
0.70 | 0.70 | 1.00 effect 2.21 matched 0.00337 / 0.0697 |
1.00 effect -2.06 matched 0.00333 / 0.0719 |
| 3 | x = foo(__init__)
→ x = foo.__init__
|
0.45 | 0.46 | 1.00 effect 1.05 matched 0.00563 / 0.0755 |
1.00 effect -1.05 matched 0.00463 / 0.0805 |
| 4 | logger = logging.getLogger(__name__)
→ logger = logging.getLogger(name)
|
0.75 | 0.76 | — | — |
| 5 | print("hello world")
→ print "hello world"
|
0.36 | 0.37 | 1.00 effect 0.947 matched 0.00642 / 0.12 |
1.00 effect -0.942 matched 0.0062 / 0.122 |
| 6 | Licensed under the Apache License, Version 2.0 (the "License");
→ Licensed under the Apache License, Version 2.0, the "License";
|
0.49 | 0.49 | 1.00 effect 1.66 matched 0.00528 / 0.232 |
1.00 effect -1.5 matched 0.00502 / 0.246 |
| 7 | self.nframe = i16(header[388:390])
→ self.nframe = i16[header[388:390]]
|
0.40 | 0.40 | — | — |
| 8 | path = os.path.dirname(__file__)
→ path = os.path.dirname(__file__ + x)
|
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
the claimed tokens __) __)) __)
"); ") ') ]) ++) ).
Median effect 1.36 (sufficiency) and -1.28 (necessity). In the table, each cell gives the percentile, the pole's signed effect, and the matched neurons' median and largest |effect|, in logits.
Self-repair (the hydra effect) was mitigated by freezing downstream MLP outputs.
Top-activating examples
Hover a token for its value.
-
19.47
… b $↵↵//this script may only be included - so its better to die if called directly.↵if (strpos($_SERVER["SCRIPT_NAME"], basename(__FILE__)) !== false) {↵ header("location: …
All 864 tokens
<?php↵// (c) Copyright 2002-2013 by authors of the Tiki Wiki CMS Groupware Project↵// ↵// All Rights Reserved. See copyright.txt for details and a complete list of authors.↵// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.↵// $Id: flinkslib.php 50208 2014-03-05 02:18:34Z lindonb $↵↵//this script may only be included - so its better to die if called directly.↵if (strpos($_SERVER["SCRIPT_NAME"], basename(__FILE__)) !== false) {↵ header("location: index.php");↵ exit;↵}↵↵/**↵ *↵ */↵class FlinksLib extends TikiLib↵{↵↵ /**↵ * @param $url↵ * @param $title↵ * @param string $description↵ * @param int $position↵ * @param string $type↵ */↵ function add_featured_link($url, $title, $description = '', $position = 0, $type = 'f')↵ {↵ $query = "delete from `tiki_featured_links` where `url`=?";↵ $result = $this->query($query, array($url), -1, -1, false);↵ $query = "insert into `tiki_featured_links`(`url`,`title`,`description`,`position`,`hits`,`type`) values(?,?,?,?,?,?)";↵ $result = $this->query($query, array($url,$title,$description,$position,0,$type));↵ }↵↵ /**↵ * @param $url↵ */↵ function remove_featured_link($url)↵ {↵ $query = "delete from `tiki_featured_links` where `url`=?";↵ $result = $this->query($query, array($url));↵ }↵↵ /**↵ * @param $url↵ * @param $title↵ * @param $description↵ * @param int $position↵ * @param string $type↵ */↵ function update_featured_link($url, $title, $description, $position = 0, $type = 'f')↵ {↵ $query = "update `tiki_featured_links` set `title`=?, `type`=?, `description`=?, `position`=? where `url`=?";↵↵ $result = $this->query($query, array($title,$type,$description,$position,$url));↵ }↵↵ /**↵ * @param $url↵ */↵ function add_featured_link_hit($url)↵ {↵ global $prefs, $user;↵↵ if ($prefs['count_admin_pvs'] == 'y' || $user != 'admin') {↵ $query = "update `tiki_featured_links` set `hits` = `hits` + 1 where `url` = ?";↵ $result = $this->query($query, array($url));↵ }↵ }↵↵ /**↵ * @param $url↵ * @return bool↵ */↵ function get_featured_link($url)↵ {↵ $query = "select * from `tiki_featured_links` where `url`=?";↵↵ $result = $this->query($query, array($url));↵↵ if (!$result->numRows())↵ return false;↵↵ $res = $result->fetchRow();↵ return $res;↵ }↵↵ /**↵ * @return bool↵ */↵ function generate_featured_links_positions()↵ {↵ $query = "select `url` from `tiki_featured_links` order by `hits` desc";↵ $result = $this->query($query, array());↵ $position = 1;↵↵ while ($res = $result->fetchRow()) {↵ $url = $res["url"];↵↵ $query2 = "update `tiki_featured_links` set `position`=? where `url`=?";↵ $result2 = $this->query($query2, array($position,$url));↵ $position++;↵ }↵↵ return true;↵ }↵}↵$flinkslib = new FlinksLib;
Values
Token Negative-pole strength b0.000 $↵↵0.000 //0.000 this0.000 script0.000 may0.000 only0.000 be0.000 included0.000 -0.000 so0.000 its0.000 better0.000 to0.000 die0.000 if0.000 called0.000 directly0.000 .↵0.000 if0.000 (0.083 strpos0.000 ($_1.020 SERVER1.675 ["0.463 SCRIPT0.000 _NAME0.220 "],4.164 basename4.289 (__0.840 FILE19.473 __))0.000 !==2.721 false0.000 )0.000 {↵0.000 0.000 header0.000 ("2.532 location1.839 :2.504 -
19.27
… , in a special way.↵↵def generatorSimple():↵ for i in range(4):↵ yield i↵↵g = generatorSimple()↵print(g.__next__()) # 0↵print(g.__next …
All 97 tokens
# Generators are used to create iterators,↵# but with a different approach.↵# Generators are simple functions which return an iterable set of items, one at a time, in a special way.↵↵def generatorSimple():↵ for i in range(4):↵ yield i↵↵g = generatorSimple()↵print(g.__next__()) # 0↵print(g.__next__()) # 1↵print(g.__next__()) # 2↵print(g.__next__())
Values
Token Negative-pole strength ,0.000 in0.000 a0.000 special0.000 way0.000 .↵↵0.000 def0.000 generator0.000 Simple0.000 ():↵0.000 0.000 for0.000 i0.000 in0.000 range0.000 (1.922 42.587 ):↵0.000 0.000 yield0.000 i0.000 ↵↵0.000 g0.000 =0.000 generator0.000 Simple0.000 ()↵0.000 print0.000 (g5.256 .__1.512 next19.266 __9.281 ())0.000 #0.000 0.000 00.000 ↵0.000 print0.000 (g3.317 .__0.484 next12.766 -
18.64
… };↵/******/↵/******/ // Execute the module function↵/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);↵/******/↵/******/ // Flag the module as …
All 640 tokens
/******/ (function(modules) { // webpackBootstrap↵/******/ // The module cache↵/******/ var installedModules = {};↵/******/↵/******/ // The require function↵/******/ function __webpack_require__(moduleId) {↵/******/↵/******/ // Check if module is in cache↵/******/ if(installedModules[moduleId])↵/******/ return installedModules[moduleId].exports;↵/******/↵/******/ // Create a new module (and put it into the cache)↵/******/ var module = installedModules[moduleId] = {↵/******/ exports: {},↵/******/ id: moduleId,↵/******/ loaded: false↵/******/ };↵/******/↵/******/ // Execute the module function↵/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);↵/******/↵/******/ // Flag the module as loaded↵/******/ module.loaded = true;↵/******/↵/******/ // Return the exports of the module↵/******/ return module.exports;↵/******/ }↵/******/↵/******/↵/******/ // expose the modules object (__webpack_modules__)↵/******/ __webpack_require__.m = modules;↵/******/↵/******/ // expose the module cache↵/******/ __webpack_require__.c = installedModules;↵/******/↵/******/ // __webpack_public_path__↵/******/ __webpack_require__.p = "";↵/******/↵/******/ // Load entry module and return exports↵/******/ return __webpack_require__(0);↵/******/ })↵/************************************************************************/↵/******/ ([↵/* 0 */↵/*!******************************************************************************************************************************************************!*\↵ !*** ./~/babel-loader/lib?{"presets":["react","es2015","stage-0","stage-1"],"plugins":["transform-decorators-legacy"]}!./app/util/recorderWorker.js ***!↵ \******************************************************************************************************************************************************/↵/***/ function(module, exports) {↵↵ 'use strict';↵ ↵ var recLength = 0,↵ recBuffersL = [],↵ recBuffersR = [],↵ sampleRate;↵ ↵ self.onmessage = function (e) {↵ switch (e.data.command) {↵ case 'init':↵ init(e.data.config);↵ break;↵ case 'record':↵ record(e.data.buffer);↵ break;↵ case 'exportWAV':↵ exportWAV(e.data.type);↵ break;↵ case 'getBuffer':↵ getBuffer();↵ break;↵ case 'clear':↵ clear();↵ break;↵ }↵ };↵ ↵ function init(config) {↵ sampleRate = config.sampleRate;↵ }↵ ↵ function record(inputBuffer) {↵ recBuffersL.push(inputBuffer[0]);↵ recBuffersR.push(inputBuffer[1]);↵ recLength += inputBuffer[0].length;↵ }↵ ↵ function exportWAV(type) {↵ var bufferL = mergeBuffers(recBuffersL, recLength);↵ var bufferR = mergeBuffers(recBuffersR, recLength);↵ var interleaved = interleave(bufferL, bufferR);↵ var dataview = encodeWAV(interleaved);↵ var audioBlob = new Blob([dataview], { type: type });↵ ↵ self.postMessage(audioBlob);↵ }↵ ↵ function getBuffer() {↵ var buffers = [];↵ buffers.push(merg
Values
Token Negative-pole strength 0.000 };↵0.000 /******/↵0.000 /******/0.000 0.000 0.000 //0.000 Execute0.000 the0.000 module0.000 function0.000 ↵0.000 /******/0.000 0.000 mod0.000 ules0.000 [0.000 moduleId0.000 ].0.000 call0.000 (module0.000 .exports2.423 ,0.733 module0.000 ,1.911 module0.000 .exports0.000 ,0.472 __0.308 webpack0.385 _require18.642 __);↵0.000 /******/↵0.000 /******/0.000 0.000 0.000 //0.000 Flag0.000 the0.000 module0.000 as0.000 -
18.26
… /* __i386__ */↵#endif /* __stdcall */↵↵#ifndef __cdecl↵# if defined(__i386__) && defined(__GNUC__)↵# define __cdecl __attribute__((__ …
All 761 tokens
/*↵ * Copyright (C) the Wine project↵ *↵ * 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.1 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 __WINE_WINBASE_H↵#define __WINE_WINBASE_H↵↵#include <stddef.h>↵↵#ifdef __cplusplus↵extern "C" {↵#endif↵↵/* Calling conventions definitions */↵↵#if defined(__i386__) && !defined(_X86_)↵# define _X86_↵#endif↵↵#ifndef __stdcall↵# ifdef __i386__↵# ifdef __GNUC__↵# define __stdcall __attribute__((__stdcall__))↵# elif defined(_MSC_VER)↵ /* Nothing needs to be done. __stdcall already exists */↵# else↵# error You need to define __stdcall for your compiler↵# endif↵# else /* __i386__ */↵# define __stdcall↵# endif /* __i386__ */↵#endif /* __stdcall */↵↵#ifndef __cdecl↵# if defined(__i386__) && defined(__GNUC__)↵# define __cdecl __attribute__((__cdecl__))↵# elif !defined(_MSC_VER)↵# define __cdecl↵# endif↵#endif /* __stdcall */↵↵#ifndef __WINESRC__↵↵#ifndef pascal↵#define pascal __stdcall↵#endif↵#ifndef _pascal↵#define _pascal __stdcall↵#endif↵#ifndef _stdcall↵#define _stdcall __stdcall↵#endif↵#ifndef _fastcall↵#define _fastcall __stdcall↵#endif↵#ifndef __fastcall↵#define __fastcall __stdcall↵#endif↵#ifndef __export↵#define __export __stdcall↵#endif↵#ifndef cdecl↵#define cdecl __cdecl↵#endif↵#ifndef _cdecl↵#define _cdecl __cdecl↵#endif↵↵#ifndef near↵#define near↵#endif↵#ifndef far↵#define far↵#endif↵#ifndef _near↵#define _near↵#endif↵#ifndef _far↵#define _far↵#endif↵#ifndef NEAR↵#define NEAR↵#endif↵#ifndef FAR↵#define FAR↵#endif↵↵#ifndef _declspec↵#define _declspec(x)↵#endif↵#ifndef __declspec↵#define __declspec(x)↵#endif↵↵#endif /* __WINESRC__ */↵↵#define CALLBACK __stdcall↵#define WINAPI __stdcall↵#define APIPRIVATE __stdcall↵#define PASCAL __stdcall↵#define CDECL __cdecl↵#define _CDECL __cdecl↵#define WINAPIV __cdecl↵#define APIENTRY WINAPI↵#define CONST const↵↵/* Misc. constants. */↵↵#undef NULL↵#ifdef __cplusplus↵#define NULL 0↵#else↵#define NULL ((void*)0)↵#endif↵↵#ifdef FALSE↵#undef FALSE↵#endif↵#define FALSE 0↵↵#ifdef TRUE↵#undef TRUE↵#endif↵#define TRUE 1↵↵#ifndef IN↵#define IN↵#endif↵↵#ifndef OUT↵#define OUT↵#endif↵↵#ifndef OPTIONAL↵#define OPTIONAL↵#endif↵↵/* Standard data types */↵↵typedef void *LPVOID;↵typedef const void *LPCV
Values
Token Negative-pole strength 0.000 /*0.000 __0.174 i0.007 30.000 80.000 60.000 __0.000 */↵0.000 #endif0.000 /*0.000 __0.209 stdcall0.000 */↵↵0.000 #ifndef0.000 __0.771 cdecl0.000 ↵0.000 #0.000 if0.000 defined0.000 (__1.479 i2.442 32.284 86.849 615.921 __)0.000 &&0.000 defined0.000 (__1.032 GNUC18.260 __)↵0.000 #0.000 0.000 define0.000 __0.298 cdecl0.000 __0.731 attribute0.000 __((1.909 __0.594 -
17.72
… this in the source for each such file. */
↵
↵#if defined (_LIBC) || !defined (__GNU_LIBRARY__)
↵
↵
↵#if !defined(__GNU_LIBRARY__) && !defined(STDC_HEADERS)
↵extern int …
All 765 tokens
/* ↵ Copyright (C) 2001 Tensilica, Inc. All Rights Reserved. ↵ Revised to support Tensilica processors and to improve overall performance ↵ */ ↵ ↵/* Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc. ↵ ↵NOTE: The canonical source of this file is maintained with the GNU C Library. ↵Bugs can be reported to████████. ↵ ↵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, 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, 59 Temple Place - Suite 330, ↵Boston, MA 02111-1307, USA. */ ↵ ↵#ifdef HAVE_CONFIG_H ↵#if defined (CONFIG_BROKETS) ↵/* We use <config.h> instead of "config.h" so that a compilation ↵ using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h ↵ (which it would do because it found this file in $srcdir). */ ↵#include <config.h> ↵#else ↵#include "config.h" ↵#endif ↵#endif ↵ ↵ ↵#ifndef _GNU_SOURCE ↵#define _GNU_SOURCE ↵#endif ↵ ↵/* This code to undef const added in libiberty. */ ↵#ifndef __STDC__ ↵/* This is a separate conditional since some stdc systems ↵ reject `defined (const)'. */ ↵#ifndef const ↵#define const ↵#endif ↵#endif ↵ ↵#include <errno.h> ↵#include <fnmatch.h> ↵#include <ctype.h> ↵ ↵ ↵/* Comment out all this code if we are using the GNU C Library, and are not ↵ actually compiling the library itself. This code is part of the GNU C ↵ Library, but also included in many other GNU distributions. Compiling ↵ and linking in this code is a waste when using the GNU C library ↵ (especially if it is a shared library). Rather than having every GNU ↵ program understand `configure --with-gnu-libc' and omit the object files, ↵ it is simpler to just do this in the source for each such file. */ ↵ ↵#if defined (_LIBC) || !defined (__GNU_LIBRARY__) ↵ ↵ ↵#if !defined(__GNU_LIBRARY__) && !defined(STDC_HEADERS) ↵extern int errno; ↵#endif ↵ ↵/* Match STRING against the filename pattern PATTERN, returning zero if ↵ it matches, nonzero if not. */ ↵int ↵fnmatch (pattern, string, flags) ↵ const char *pattern; ↵ const char *string; ↵ int flags; ↵{ ↵ register const char *p = pattern, *n = string; ↵ register unsigned char c; ↵ ↵/* Note that this evalutes C many times. */ ↵#define FOLD(c) ((flags & FNM_CASEFOLD) && isupper (c) ? tolower (c) : (c)) ↵ ↵ while ((c = *p++) != '\0') ↵ { ↵ c = FOLD (c); ↵ ↵ switch (c) ↵ { ↵ case '?': ↵ if (*n == '\0') ↵ return FNM_NOMATCH; ↵ else if ((flags & FNM_FILE_NAME) && *n == '/') ↵ return FNM_NOMATCH; ↵ else
Values
Token Negative-pole strength this0.000 in0.000 the0.000 source0.000 for0.000 each0.000 such0.000 file0.000 .0.000 0.000 */ ↵ ↵0.000 #if0.000 defined0.000 (_0.950 LIB2.753 C2.517 )0.000 ||0.000 !0.000 defined0.000 (__1.436 GNU5.412 _LIBRARY9.038 __4.597 ) ↵ ↵ ↵0.000 #if0.000 !0.000 defined0.000 (__0.980 GNU3.563 _LIBRARY17.721 __)0.000 &&0.000 !0.000 defined0.000 (ST2.106 DC7.394 _HEADERS7.212 ) ↵0.000 extern0.000 int0.000 -
17.32
… WINDOWS_SERVICE_START_TYPE_ENUMERATION↵from scap.model.oval_5.defs.EntityStateType import EntityStateType↵↵logger = logging.getLogger(__name__)↵↵class EntityStateServiceStartTypeType(EntityStateType …
All 242 tokens
# Copyright 2016 Casey Jaymes↵↵# This file is part of PySCAP.↵#↵# PySCAP 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.↵#↵# PySCAP 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 PySCAP. If not, see <http://www.gnu.org/licenses/>.↵↵import logging↵↵from scap.model.oval_5 import WINDOWS_SERVICE_START_TYPE_ENUMERATION↵from scap.model.oval_5.defs.EntityStateType import EntityStateType↵↵logger = logging.getLogger(__name__)↵↵class EntityStateServiceStartTypeType(EntityStateType):↵ MODEL_MAP = {↵ }↵↵ def get_value_enum(self):↵ return WINDOWS_SERVICE_START_TYPE_ENUMERATION
Values
Token Negative-pole strength WINDOWS0.000 _SERVICE0.000 _START0.000 _TYPE0.000 _ENUM0.000 ER0.000 ATION0.000 ↵0.000 from0.000 sc0.000 ap0.000 .model0.000 .0.000 oval0.000 _0.130 50.000 .def0.000 s0.000 .Entity0.000 State0.000 Type0.000 import0.000 EntityState0.000 Type0.000 ↵↵0.000 logger0.000 =0.000 logging0.000 .getLogger0.000 (__1.834 name17.316 __)↵↵0.000 class0.000 EntityState0.000 Service0.000 Start0.000 Type0.000 Type0.000 (Entity0.000 State2.540 Type4.958 -
16.18
… OSError: If the resource filename does not exist.↵ """↵ # pylint: disable=unreachable↵ filename = path.join(find_root(__file__), filename)↵ if not path.exists(filename):↵ …
All 433 tokens
"""Test utilities.↵"""↵↵from os import path↵from typing import Any↵↵from google.protobuf import text_format↵↵↵def get_proto_resource(filename: str, message: Any) -> Any:↵ """Parse a relative filename's contents as text-proto."""↵ with open(get_resource(filename)) as pbfile:↵ return text_format.Parse(pbfile.read(), message)↵↵↵def get_resource(filename: str) -> str:↵ """Return a local resource filename for testing.↵↵ This function abstracts away between a Bazel build with resources and direct↵ file access.↵↵ Args:↵ filename: A path relative to the root of this directory whose contents to↵ fetch.↵ Returns:↵ An absolute path to a filename.↵ Raises:↵ OSError: If the resource filename does not exist.↵ """↵ # pylint: disable=unreachable↵ filename = path.join(find_root(__file__), filename)↵ if not path.exists(filename):↵ raise OSError("Resource {} does not exist.".format(filename))↵ return filename↵↵↵def get_resource_dir(dirname: str) -> str:↵ """Return a local resource directory for testing.↵↵ This function abstracts away between a Bazel build with resources and direct↵ file access.↵↵ Args:↵ dirname: A path relative to the root of this directory whose contents to↵ fetch.↵ Returns:↵ An absolute path to a dirname.↵ Raises:↵ OSError: If the resource filename does not exist.↵ """↵ # pylint: disable=unreachable↵ res_dirname = path.join(find_root(dirname), dirname)↵ if not path.isdir(res_dirname):↵ raise OSError(↵ "Resource path {} does not exist or is not a directory".format(↵ res_dirname))↵ return res_dirname↵↵↵def find_root(start_filename: str) -> str:↵ """Return root directory of repository."""↵ dirname = start_filename↵ while not path.exists(path.join(dirname, "LICENSE")):↵ prevname = dirname↵ dirname = path.dirname(dirname)↵ if dirname == prevname:↵ raise ValueError(f"Could not find root at {start_filename}")↵ return dirname
Values
Token Negative-pole strength 0.000 OSError0.000 :0.000 If0.000 the0.000 resource0.000 filename0.000 does0.000 not0.000 exist0.000 .↵0.000 0.000 """↵0.000 0.000 #0.000 pylint0.000 :0.000 disable0.000 =0.000 un0.000 reachable0.000 ↵0.000 0.000 filename0.000 =0.000 path0.000 .join0.000 (find0.000 _root0.951 (__3.565 file16.181 __),1.406 filename3.862 )↵0.000 0.000 if0.000 not0.000 path0.243 .exists0.000 (filename0.000 ):↵0.000 -
16.17
… ipHAP # noqa: F401↵from .services import async_setup_services, async_unload_services↵↵_LOGGER = logging.getLogger(__name__)↵↵CONFIG_SCHEMA = vol.Schema(↵ {↵ …
All 643 tokens
"""Support for HomematicIP Cloud devices."""↵import logging↵↵import voluptuous as vol↵↵from homeassistant import config_entries↵from homeassistant.config_entries import ConfigEntry↵from homeassistant.const import CONF_NAME, EVENT_HOMEASSISTANT_STOP↵from homeassistant.helpers import device_registry as dr↵import homeassistant.helpers.config_validation as cv↵from homeassistant.helpers.typing import ConfigType, HomeAssistantType↵↵from .const import (↵ CONF_ACCESSPOINT,↵ CONF_AUTHTOKEN,↵ DOMAIN,↵ HMIPC_AUTHTOKEN,↵ HMIPC_HAPID,↵ HMIPC_NAME,↵)↵from .device import HomematicipGenericDevice # noqa: F401↵from .hap import HomematicipAuth, HomematicipHAP # noqa: F401↵from .services import async_setup_services, async_unload_services↵↵_LOGGER = logging.getLogger(__name__)↵↵CONFIG_SCHEMA = vol.Schema(↵ {↵ vol.Optional(DOMAIN, default=[]): vol.All(↵ cv.ensure_list,↵ [↵ vol.Schema(↵ {↵ vol.Optional(CONF_NAME, default=""): vol.Any(cv.string),↵ vol.Required(CONF_ACCESSPOINT): cv.string,↵ vol.Required(CONF_AUTHTOKEN): cv.string,↵ }↵ )↵ ],↵ )↵ },↵ extra=vol.ALLOW_EXTRA,↵)↵↵↵async def async_setup(hass: HomeAssistantType, config: ConfigType) -> bool:↵ """Set up the HomematicIP Cloud component."""↵ hass.data[DOMAIN] = {}↵↵ accesspoints = config.get(DOMAIN, [])↵↵ for conf in accesspoints:↵ if conf[CONF_ACCESSPOINT] not in set(↵ entry.data[HMIPC_HAPID]↵ for entry in hass.config_entries.async_entries(DOMAIN)↵ ):↵ hass.async_add_job(↵ hass.config_entries.flow.async_init(↵ DOMAIN,↵ context={"source": config_entries.SOURCE_IMPORT},↵ data={↵ HMIPC_HAPID: conf[CONF_ACCESSPOINT],↵ HMIPC_AUTHTOKEN: conf[CONF_AUTHTOKEN],↵ HMIPC_NAME: conf[CONF_NAME],↵ },↵ )↵ )↵↵ return True↵↵↵async def async_setup_entry(hass: HomeAssistantType, entry: ConfigEntry) -> bool:↵ """Set up an access point from a config entry."""↵↵ # 0.104 introduced config entry unique id, this makes upgrading possible↵ if entry.unique_id is None:↵ new_data = dict(entry.data)↵↵ hass.config_entries.async_update_entry(↵ entry, unique_id=new_data[HMIPC_HAPID], data=new_data↵ )↵↵ hap = HomematicipHAP(hass, entry)↵ hass.data[DOMAIN][entry.unique_id] = hap↵↵ if not await hap.async_setup():↵ return False↵↵ await async_setup_services(hass)↵↵ # Register on HA stop event to gracefully shutdown HomematicIP Cloud connection↵ hap.reset_connection_listener = hass.bus.async_listen_once(↵ EVENT_HOMEASSISTANT_STOP, hap.shutdown↵ )↵↵ # Register hap as device in registry.↵ device_registry = await dr.async_g
Values
Token Negative-pole strength ip0.000 H0.092 AP0.000 0.000 #0.000 noqa0.000 :0.000 F0.525 40.000 00.000 10.000 ↵0.000 from0.000 .0.000 services0.000 import0.000 async0.000 _setup0.000 _services0.000 ,0.000 async0.000 _un0.000 load0.000 _services0.000 ↵↵0.198 _LOGGER0.000 =0.000 logging0.000 .getLogger0.000 (__5.037 name16.173 __)↵↵0.000 CONFIG0.000 _SCHEMA0.000 =0.000 vol0.000 .Schema0.000 (↵1.315 1.246 {↵0.000 0.000 -
15.95
… ]), i16(header[386:388])↵ self.nframe = i16(header[388:390])↵ #print self.size, self.nframe …
All 714 tokens
from PIL import Image, ImageFile↵import numpy as np↵↵#data = np.fromstring(header, 'u2') # u2 is uint16↵#data = np.frombuffer(header, np.uint16) # same↵#x, y, z, dt = data[192:196]↵#self.size = int(x), int(y) # 348*260↵#self.nframe = int(z)↵↵'''↵For installation, this shold be copied in:↵ \Lib\site-packages\PIL↵'''↵↵↵def i16(c):↵ return ord(c[0]) + (ord(c[1])<<8)↵ ↵class iorImageFile(ImageFile.ImageFile):↵ ↵ format = "IOR"↵ format_description = "Imagor Camera Image"↵ ↵ def _open(self):↵ ↵ self.__offset = 584↵ header = self.fp.read(self.__offset)↵ #self.fp.seek(0)↵ if header[92:105] != 'CamDataSeries':↵ raise SyntaxError, "not an ior file"↵ ↵ ## size in pixels (width, height)↵ self.size = i16(header[384:386]), i16(header[386:388])↵ self.nframe = i16(header[388:390])↵ #print self.size, self.nframe↵ ↵ # mode setting↵ self.mode = 'I;16'↵ ↵ # data descriptor↵ self.tile = [↵ ("raw", # decoder↵ (0, 0) + self.size, # 4-tuple to indicate the region↵ self.__offset, # offset to the image data in bytes↵ (self.mode, 0, 1)) # parameters for decoder (mode, stride, orientation)↵ ] # mode: I;16↵ # stride 0 : no padding between lines↵ # orientation 1 : the first line is the top line on the screen↵ ↵ self.step = self.size[0] * self.size[1] * 2 # 16 bit so 2 bytes↵ ## image data in byte = 14476800 when (348,260) ↵ #print self.step # 180960↵ ↵ self.__frame = -1 # current frame to show when tell is called↵ self.__fp = self.fp↵ self.seek(0)↵ ↵ def seek(self, frame):↵ "Select a given frame as current image"↵↵ if frame < 0:↵ frame = 0↵ elif frame >= self.nframe:↵ raise IOError, 'No more frame available at %d in the ior file' % frame↵ self.__frame = frame↵ ↵ self.fp = self.__fp # self.fp may be overwritten by im.show() etc↵ self.fp.seek(self.__offset)↵ self.tile = [("raw", (0,0)+self.size, self.__offset, (self.mode, 0, 1))]↵ ↵ self.__offset = self.step * self.__frame + 584↵ ↵ def tell(self):↵ ↵ return self.__frame↵↵↵Image.register_open("IOR", iorImageFile)↵Image.register_extension("IOR", ".ior")
Values
Token Negative-pole strength ]),0.000 i0.000 10.000 60.000 (header2.027 [0.000 31.783 81.489 67.339 :5.708 32.992 82.784 813.252 ])↵0.000 0.000 self0.000 .n0.000 frame0.000 =0.000 i0.000 10.000 60.000 (header3.434 [0.538 34.635 84.214 810.672 :8.695 33.805 93.514 015.951 ])↵0.000 0.000 #0.000 print0.000 self0.000 .size0.000 ,0.000 self0.000 .n0.000 frame0.000 -
15.52
… for additional information regarding copyright↵ * ownership. Elasticsearch licenses this file to you under↵ * the Apache License, Version 2.0 (the "License"); you may↵ * not use this file except …
All 575 tokens
/*↵ * Licensed to Elasticsearch under one or more contributor↵ * license agreements. See the NOTICE file distributed with↵ * this work for additional information regarding copyright↵ * ownership. Elasticsearch licenses this file to you under↵ * the Apache License, Version 2.0 (the "License"); you may↵ * not use this file except in compliance with the License.↵ * You may obtain a copy of the License at↵ *↵ * http://www.apache.org/licenses/LICENSE-2.0↵ *↵ * Unless required by applicable law or agreed to in writing,↵ * software distributed under the License is distributed on an↵ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY↵ * KIND, either express or implied. See the License for the↵ * specific language governing permissions and limitations↵ * under the License.↵ */↵↵package org.elasticsearch.search.aggregations.bucket.range;↵↵import org.elasticsearch.common.io.stream.StreamInput;↵import org.elasticsearch.common.xcontent.ObjectParser;↵import org.elasticsearch.index.query.QueryShardContext;↵import org.elasticsearch.search.DocValueFormat;↵import org.elasticsearch.search.aggregations.AggregationBuilder;↵import org.elasticsearch.search.aggregations.AggregatorFactories;↵import org.elasticsearch.search.aggregations.AggregatorFactory;↵import org.elasticsearch.search.aggregations.support.CoreValuesSourceType;↵import org.elasticsearch.search.aggregations.support.ValuesSourceAggregationBuilder;↵import org.elasticsearch.search.aggregations.support.ValuesSourceConfig;↵import org.elasticsearch.search.aggregations.support.ValuesSourceRegistry;↵import org.elasticsearch.search.aggregations.support.ValuesSourceType;↵↵import java.io.IOException;↵import java.time.ZonedDateTime;↵import java.util.Map;↵↵public class DateRangeAggregationBuilder extends AbstractRangeBuilder<DateRangeAggregationBuilder, RangeAggregator.Range> {↵ public static final String NAME = "date_range";↵↵ public static final ObjectParser<DateRangeAggregationBuilder, String> PARSER =↵ ObjectParser.fromBuilder(NAME, DateRangeAggregationBuilder::new);↵ static {↵ ValuesSourceAggregationBuilder.declareFields(PARSER, true, true, true);↵ PARSER.declareBoolean(DateRangeAggregationBuilder::keyed, RangeAggregator.KEYED_FIELD);↵↵ PARSER.declareObjectArray((agg, ranges) -> {↵ for (RangeAggregator.Range range : ranges) {↵ agg.addRange(range);↵ }↵ }, (p, c) -> RangeAggregator.Range.PARSER.parse(p, null), RangeAggregator.RANGES_FIELD);↵ }↵↵ public static void registerAggregators(ValuesSourceRegistry.Builder builder) {↵ AbstractRangeAggregatorFactory.registerAggregators(builder, NAME);↵ }↵↵ public DateRangeAggregationBuilder(String name) {↵ super(name, InternalDateRange.FACTORY);↵ }↵↵ protected DateRangeAggregationBuilder(DateRangeAggregationBuilder clone,↵ AggregatorFactories.Builder factoriesBuilder,↵ Ma
Values
Token Negative-pole strength for0.000 additional0.000 information0.000 regarding0.000 copyright0.000 ↵0.000 *0.000 ownership0.000 .0.000 Elasticsearch0.000 licenses0.000 this0.000 file0.000 to0.000 you0.000 under0.371 ↵0.000 *0.000 the0.116 Apache0.000 License0.000 ,0.000 Version0.000 0.000 20.000 .0.000 00.000 (0.000 the0.000 "0.000 License15.515 ");0.000 you0.326 may0.000 ↵0.000 *0.000 not0.000 use0.000 this0.000 file0.000 except0.000 -
15.30
… utf-8 -*-↵# Copyright 2020 Google LLC↵#↵# Licensed under the Apache License, Version 2.0 (the "License");↵# you may not use this file except in …
All 433 tokens
# -*- coding: utf-8 -*-↵# Copyright 2020 Google LLC↵#↵# Licensed under the Apache License, Version 2.0 (the "License");↵# you may not use this file except in compliance with the License.↵# You may obtain a copy of the License at↵#↵# http://www.apache.org/licenses/LICENSE-2.0↵#↵# Unless required by applicable law or agreed to in writing, software↵# distributed under the License is distributed on an "AS IS" BASIS,↵# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.↵# See the License for the specific language governing permissions and↵# limitations under the License.↵#↵import proto # type: ignore↵↵↵__protobuf__ = proto.module(↵ package="google.cloud.aiplatform.v1.schema.trainingjob.definition",↵ manifest={"AutoMlVideoActionRecognition", "AutoMlVideoActionRecognitionInputs",},↵)↵↵↵class AutoMlVideoActionRecognition(proto.Message):↵ r"""A TrainingJob that trains and uploads an AutoML Video Action↵ Recognition Model.↵↵ Attributes:↵ inputs (google.cloud.aiplatform.v1.schema.trainingjob.definition_v1.types.AutoMlVideoActionRecognitionInputs):↵ The input parameters of this TrainingJob.↵ """↵↵ inputs = proto.Field(↵ proto.MESSAGE, number=1, message="AutoMlVideoActionRecognitionInputs",↵ )↵↵↵class AutoMlVideoActionRecognitionInputs(proto.Message):↵ r"""↵ Attributes:↵ model_type (google.cloud.aiplatform.v1.schema.trainingjob.definition_v1.types.AutoMlVideoActionRecognitionInputs.ModelType):↵↵ """↵↵ class ModelType(proto.Enum):↵ r""""""↵ MODEL_TYPE_UNSPECIFIED = 0↵ CLOUD = 1↵ MOBILE_VERSATILE_1 = 2↵ MOBILE_JETSON_VERSATILE_1 = 3↵ MOBILE_CORAL_VERSATILE_1 = 4↵↵ model_type = proto.Field(proto.ENUM, number=1, enum=ModelType,)↵↵↵__all__ = tuple(sorted(__protobuf__.manifest))
Values
Token Negative-pole strength utf3.222 -1.760 80.000 -*-↵0.000 #0.000 Copyright0.000 0.000 20.000 00.000 20.000 00.000 Google0.000 LLC0.000 ↵0.000 #↵0.000 #0.000 Licensed0.000 under0.000 the0.000 Apache0.000 License0.000 ,0.000 Version0.000 0.000 20.000 .0.000 00.000 (0.000 the0.000 "0.000 License15.303 ");↵0.000 #0.000 you0.000 may0.000 not0.000 use0.000 this0.000 file0.000 except0.000 in0.000 -
15.26
/*↵Copyright 2018 Google LLC↵↵Licensed under the Apache License, Version 2.0 (the "License");↵you may not use this file except in compliance …
All 747 tokens
/*↵Copyright 2018 Google LLC↵↵Licensed under the Apache License, Version 2.0 (the "License");↵you may not use this file except in compliance with the License.↵You may obtain a copy of the License at↵↵ http://www.apache.org/licenses/LICENSE-2.0↵↵Unless required by applicable law or agreed to in writing, software↵distributed under the License is distributed on an "AS IS" BASIS,↵WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.↵See the License for the specific language governing permissions and↵limitations under the License.↵*/↵↵package snapshot↵↵import (↵ "fmt"↵ "io/ioutil"↵ "os"↵ "path/filepath"↵ "sort"↵ "syscall"↵↵ "github.com/GoogleContainerTools/kaniko/pkg/config"↵ "github.com/GoogleContainerTools/kaniko/pkg/filesystem"↵ "github.com/GoogleContainerTools/kaniko/pkg/timing"↵ "github.com/GoogleContainerTools/kaniko/pkg/util"↵↵ "github.com/sirupsen/logrus"↵)↵↵// For testing↵var snapshotPathPrefix = ""↵↵// Snapshotter holds the root directory from which to take snapshots, and a list of snapshots taken↵type Snapshotter struct {↵ l *LayeredMap↵ directory string↵ ignorelist []util.IgnoreListEntry↵}↵↵// NewSnapshotter creates a new snapshotter rooted at d↵func NewSnapshotter(l *LayeredMap, d string) *Snapshotter {↵ return &Snapshotter{l: l, directory: d, ignorelist: util.IgnoreList()}↵}↵↵// Init initializes a new snapshotter↵func (s *Snapshotter) Init() error {↵ _, _, err := s.scanFullFilesystem()↵ return err↵}↵↵// Key returns a string based on the current state of the file system↵func (s *Snapshotter) Key() (string, error) {↵ return s.l.Key()↵}↵↵// TakeSnapshot takes a snapshot of the specified files, avoiding directories in the ignorelist, and creates↵// a tarball of the changed files. Return contents of the tarball, and whether or not any files were changed↵func (s *Snapshotter) TakeSnapshot(files []string, shdCheckDelete bool, forceBuildMetadata bool) (string, error) {↵ f, err := ioutil.TempFile(config.KanikoDir, "")↵ if err != nil {↵ return "", err↵ }↵ defer f.Close()↵↵ s.l.Snapshot()↵ if len(files) == 0 && !forceBuildMetadata {↵ logrus.Info("No files changed in this command, skipping snapshotting.")↵ return "", nil↵ }↵↵ filesToAdd, err := filesystem.ResolvePaths(files, s.ignorelist)↵ if err != nil {↵ return "", nil↵ }↵↵ logrus.Info("Taking snapshot of files...")↵ logrus.Debugf("Taking snapshot of files %v", filesToAdd)↵↵ sort.Strings(filesToAdd)↵↵ // Add files to the layered map↵ for _, file := range filesToAdd {↵ if err := s.l.Add(file); err != nil {↵ return "", fmt.Errorf("unable to add file %s to layered map: %s", file, err)↵ }↵ }↵↵ // Get whiteout paths↵ filesToWhiteout := []string{}↵ if shdCheckDelete {↵ _, deletedFiles := util.WalkFS(s.directory, s.l.getFlattenedPathsForWhiteOut(), func(s string) (bool, error) {↵ return true, nil↵ })↵ // The paths left here are the ones that have been deleted in this layer.↵ for path := range deletedFiles {↵ // Only add the whiteout if the directory for the
Values
Token Negative-pole strength /*↵0.000 Copyright0.000 0.000 20.000 00.000 10.000 80.000 Google0.000 LLC0.000 ↵↵0.650 Licensed0.000 under0.000 the0.000 Apache0.000 License0.000 ,0.000 Version0.000 0.000 20.000 .0.000 00.000 (0.003 the0.162 "0.000 License15.261 ");↵0.000 you0.000 may0.000 not0.000 use0.000 this0.000 file0.000 except0.000 in0.000 compliance0.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 recall by activation strength
False alarms on inactive windows: 40%.
- Judge
- claude-haiku-5-5
- Held-out windows
- 544 active of 4,000
- Judged
- 50 detection · 37 fuzzing
- Detection outcomes
- 0 missed · 10 false alarm · 25 hit · 15 correct rejection
- Seed
- 3606380152 · codeparrot/github-code-clean@c48d40f9 (data/train-*.parquet, 500 docs, seed 1)
Detection windows (50), the explanation's mistakes first
- false alarm 4.81 · sim -0.02 this.toString : super.toString());↵ }↵ }↵↵ public Supersized() {↵ setRendererType(DEFAULT_RENDERER);↵ }↵↵ @Override↵ public
- false alarm 4.21 · sim 0.27 uvconstants↵#define ANY41C(NAMEANY, ANY_SIMD, UVSHIFT, DUVSHIFT, BPP, MASK) \↵ void NAME
- false alarm 4.00 · sim -0.13 copy();↵ copy.networkId = networkId;↵ return copy;↵ }↵↵↵ @Implementation↵ public int updateNetwork(WifiConfiguration config) {↵
- false alarm 3.11 · sim -0.09 .exports) {↵ // CommonJS↵ module.exports = factory(require('angular'), root);↵ } else if (typeof define === 'function' && define
- false alarm 2.82 · sim 0.09 default is 14 pt↵+ (void)setFont:(UIFont*)font; // default is [UIFont preferredFontForTextStyle:UIFontTextStyleSubheadline
- false alarm 2.38 · sim -0.04 data('timeformat');↵↵ // If we can't find the fields then we must end our journey.↵ if (typeof to_date_field === undefined) {
- false alarm 2.18 · sim 0.13 )↵↵ if error_ids:↵ self.assert_all_instance_states(↵ error_ids, expected_states, fast_fail_status=[])↵↵ def run_validate_error_instance(self
- false alarm 1.90 · sim -0.10 pCube;↵ else↵ Mvc_CubeSetNext( pList->pTail, pCube );↵ pList->pTail = pCube
- false alarm 1.70 · sim 0.16 bar', 'wp-podcast' ),↵ 'add_new' => _x( 'Add New', 'book', 'wp-podcast' ),↵
- false alarm 1.50 · sim 0.14 (greet, name);↵```↵↵```js↵/*eslint newline-after-var: [2, "never"]*/↵/*eslint-env es6*/↵↵let greet =
- hit 9.85 · sim 0.14 /**↵ * Copyright 2015 Smart Society Services B.V.↵ *↵ * Licensed under the Apache License, Version 2.0 (the "License");
- hit 8.38 · sim 0.16 line = ser.readline().decode("ascii", "ignore").strip()↵↵ imsg.app
- hit 7.92 · sim 0.24 (*property)(void *, struct label *labels);↵=======↵ void (*beginnode)(void *, const char *);↵ void (*endnode)(void *, const char *);↵ void
- hit 7.79 · sim 0.13 = 5;↵ for (int i=0; i < (int)chars.count(); i++) {↵ if (fm->width(chars[i]) >
- hit 7.70 · sim 0.31 s.end(), '.') == 0;↵ }↵}↵↵int main()↵{↵ string s;↵ while (cin >> s && s != "end") {↵
- hit 7.09 · sim 0.13 , err := newData(api, uuid)↵ if err != nil {↵ ctx.Infof("Unable to get the controller summary from the API: %s.", err
- hit 7.01 · sim 0.12 pos the position in the queue↵ *↵ * @return the element at position {@code pos}↵ */↵ public Type get(int pos);↵↵↵ /
- hit 6.87 · sim -0.03 ## Installation↵↵Pre-requisite: download and install [Visual Studio Code](https://code.visualstudio.com/)↵↵Place (or symlink) the `vscode
- hit 6.41 · sim -0.01 RESOLVEAction implements AnAction.TransparentUpdate {↵↵ private static final Logger LOGGER = Logger.getInstance("RESOLVEGenerateVCsAction");↵ private final List<Range
- hit 6.31 · sim 0.01 cellWidth)↵ cellWidth = fm->width(chars[i]);↵ }↵ resize(cellWidth*chars.count()+2, height());↵ update();↵}↵↵void
- hit 5.90 · sim 0.06 StreamReader extends StreamReader↵{↵ private static final Logger logger = LoggerFactory.getLogger(CompressedStreamReader.class);↵↵ protected final CompressionInfo compressionInfo;↵↵ public Compressed
- hit 5.88 · sim 0.07 }↵↵ public void setNote(String note) {↵ this.note = note;↵ }↵↵}
- hit 5.88 · sim 0.06 */↵ public void stopRepeat(int gameAction) {↵ if (gameAction == m_gameAction) {↵ m_gameAction = 0;↵↵
- hit 5.87 · sim 0.21 EINVAL↵ }↵ return EpollCreate1(0)↵}↵↵//sys FanotifyInit(flags uint, event_f_flags uint) (fd int, err
- hit 5.81 · sim 0.05 namespace customcertelement_date;↵↵defined('MOODLE_INTERNAL') || die();↵↵/**↵ * Date - Issue↵ */↵define('CUSTOMCERT_DATE_ISSUE', '-
- hit 5.76 · sim -0.07 table->setHeaders(array('Name', 'Path', 'Pattern'));↵ $table->setLayout(TableHelper::LAYOUT_DEFAULT);↵↵ $controllers = $
- hit 5.72 · sim 0.05 00/](http://localhost:5000/)↵↵> Want to specify a different port?↵↵> ```sh↵> $ python manage.py run
- hit 5.64 · sim 0.01 AddSource(); ↵ void Rotate(float, float, float); ↵ ↵ //mobile ↵ RenderObject* renderer; ↵ float* GenVertexArrayInBound(int&
- hit 5.54 · sim 0.08 false;↵ clear(false);↵ return loadFromXml();↵}↵↵void BaseEvents::reInitState(bool fromLua)↵{↵ if (!fromLua) {↵ getScript
- hit 5.25 · sim 0.24 );↵ ret += rhs; //Money_t::operator+=()↵ return ret;↵}↵↵↵Money_t& Money_t::operator*=(const DecVal &rhs
- hit 5.09 · sim 0.15 >↵ [DomName("STYLE_RULE")]↵ Style = 1,↵ /// <summary>↵ /// Defines a @charset rule.↵ /// </summary
- hit 5.04 · sim 0.14 for (int i=0; i < (int)chars.count(); i++) {↵ QString ch = chars[i];↵ if (current == ch) {↵
- hit 5.03 · sim 0.24 (char **x, const char *n) _pure_;↵↵int getenv_bool(const char *p);↵int getenv_bool_secure(const char *p);↵↵/* Like set
- hit 5.02 · sim 0.21 bool Money_t::operator<=(const Money_t &rhs) const↵{↵ return value_ <= rhs.value_;↵}↵↵↵bool Money_t::operator>=(const
- hit 4.92 · sim 0.04 url = JStringPunycode::urlToPunycode($this->url);↵↵ return parent::store($updateNulls);↵ }↵↵
- correct rejection 1.79 · sim 0.09 _Select',↵ 'CRM_Export_Form_Map',↵ ),↵ 'result' => FALSE,↵ ),↵ 4 => array(↵ 'title' =>
- correct rejection 1.20 · sim 0.16 OR CONSEQUENTIAL DAMAGES (INCLUDING,↵# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,↵# DATA, OR PROFITS; OR BUSINESS INTERRUPTION
- correct rejection 0.99 · sim 0.09 ```↵↵ - Instalar la paquetería de perl-base, curl y SSL:↵ ```bash↵ opkg install perlbase-base perl
- correct rejection 0.56 · sim 0.27 OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;↵/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;↵/*!4
- correct rejection 0.35 · sim 0.01 ="elementindex_Tests_TestData.html">Tests_TestData</a></li>↵
- correct rejection 0.34 · sim 0.01 $_baseCurrencyRate;↵↵ /**↵ * Xml access request↵ *↵ * @var string↵ */↵ protected $_xmlAccessRequest = null;↵↵
- correct rejection 0.16 · sim 0.22 3:48 kk122374 Exp $ ↵ * ↵ * Copyright 2001 Sun Microsystems, Inc. All Rights Reserved. ↵ * ↵
- correct rejection 0.09 · sim -0.04 <select class="palette-layout">↵ <option value="layout-wide" selected="selected">Wide</option>↵ <option value="layout-boxed">
- correct rejection 0.08 · sim 0.10 you may not use this file except in compliance ↵ * with the License. You may obtain a copy of the License at↵ *↵ * http://www.apache.org
- correct rejection -0.00 · sim -0.04 >↵<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">↵<TR>↵<TD
- correct rejection -0.00 · sim 0.06 4j.function.conversion.ThrowableFloatToLongFunction;↵import at.gridtec.lambda4j.function.conversion.ThrowableFloatToShortFunction;↵import at.grid
- correct rejection -0.00 · sim -0.08 \Database\Eloquent\Builder|\Illuminate\Database\Query\Builder|\Illuminate\Support\Collection↵ */↵ public function query()↵ {↵ $query = User::query();↵ ↵
- correct rejection -0.00 · sim 0.26 an "AS IS" BASIS,↵ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.↵ * See the License for the specific language governing permissions and
- correct rejection -0.00 · sim 0.25 on an "AS IS" BASIS,↵// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.↵// See the License for the specific language governing permissions
- correct rejection -0.00 · sim -0.07 ### HEAD↵* Remove `lib/post-types.php` and `lib/metaboxes.php`↵* Make sure Primary Navigation menu always gets created and has the location
Fuzzing windows (37), dashed tokens were marked for the judge
- marks right · judged wrong printf("%d communities needed to fill randomly\n", NumComs - CurCID);↵ }↵ //assign a member to zero-member community (if any
- marks right · judged wrong );↵char **strv_env_delete(char **x, size_t n_lists, ...); /* New copy */↵↵char **strv_env_set(char **x,
- marks right · judged wrong np.cumsum(nsubmodels)↵↵ for imod in range(nsubmodels_sum):↵↵ if imod<nsubmodels_cumsum[0]:↵↵ #
- marks right · judged wrong ' in request.POST: ↵ return redirect('editar_reuniao', id_reuniao=reuniao.id) ↵ elif '_addanother' in request.POST
- marks right · judged wrong In_SM, this);↵ GUIUtil::setupAddressWidget(ui->addressIn_VM, this);↵↵ ui->addressIn_SM->installEventFilter(this);↵
- marks wrong · judged right .raw.beacons);↵ JSONres.put(RoomRealm.class, R.raw.rooms);↵ JSONres.put(FloorRealm.class, R.raw.floors);↵
- marks right · judged wrong {↵ qRegisterMetaTypeStreamOperators<Money_t>("Money_t");↵ if(setDefaultCurrency)↵ setDefaultCurrency_();↵↵ value_ = Dec
- marks wrong · judged wrong cd $(dirname "$0") && pwd)↵ROOTDIR="$SCRIPTDIR/../.."↵RUNTIMES_MANIFEST=${1:-"/ansible/files/runtimes.json
- marks right · judged right (*dtbuf, str, len);↵ *dtbuf = data_append_byte(*dtbuf, '\0');↵}↵↵static void bin_emit_align(void *e,
- marks wrong · judged wrong if (aData[1] === "WARNING" || aData[1] === "ERROR")↵ {↵ $('td', nRow).closest('tr
- marks right · judged right ixedMul((x),scale_mtof)↵↵#define CXMTOFX(x) ((f_x<<16) + MTOFX((x)-
- marks right · judged right :↵ if not os.path.isdir(filepath + model + '/'):↵ os.mkdir(filepath+model+'/')↵↵↵↵ # create data↵ nsubmodels =
- marks wrong · judged wrong Override↵ public String getMakeVariable(String variableName) {↵ return pkg.lookupMakeVariable(variableName, platform);↵ }↵↵ @Override↵ public
- marks wrong · judged wrong .parse("████████████"));↵ verify(ipv6DomainTree).findFirstMoreSpecific(Ipv6Resource.parse("
- marks wrong · judged wrong reactabular-table';↵↵class Body extends React.Component {↵ constructor(props) {↵ super(props);↵↵ this.ref = null;↵ }↵ render() {↵
- marks right · judged right : PropTypes.oneOfType([PropTypes.bool, PropTypes.object]),↵ minTickGap: PropTypes.number,↵ tickSize: PropTypes.number,↵ interval: PropTypes.oneOfType
- marks right · judged right table->integer('company_id')->default(0);↵ $table->string('email');↵ $table->string('password');↵ $table->string
- marks wrong · judged wrong makeMappedFile() {↵ var file = new File({↵ cwd: __dirname,↵ base: path.join(__dirname, 'assets'),↵ path:
- marks wrong · judged wrong copy↵ * of this software and associated documentation files (the "Software"), to deal↵ * in the Software without restriction, including without limitation the rights↵ *
- marks wrong · judged wrong git_diff_output="$(git diff -p 2>&1)"↵↵if [ $? -ne 0 ]; then↵ error_message="$(printf 'Unable to create diff
- marks wrong · judged wrong Tanh extends ActivationFunction {↵↵ private double slope = 2d;↵↵ public Tanh() {↵ }↵↵ public Tanh(double slope) {↵ ↵ this
- marks wrong · judged wrong loorRealm.class)↵ .beginsWith("id", "F." + buildingRealms.get(i).getId())↵ .findAll();↵↵ for (Floor
- marks right · judged right _navbar_top");↵ if(window==top) {↵ allClassesLink.style.display = "block";↵ }↵ else {↵ allClassesLink.style.display
- marks right · judged right bar_top");↵ if(window==top) {↵ allClassesLink.style.display = "block";↵ }↵ else {↵ allClassesLink.style.display =
- marks wrong · judged wrong top"><!-- do not remove this div, it is closed by doxygen! -->↵<div id="titlearea">↵<table cellspacing="0" cellpadding="0">↵ <
- marks wrong · judged wrong _text_proto;↵ tensorflow::protobuf::TextFormat::PrintToString(actual, &actual_text_proto);↵ EXPECT_EQ(expected_text_proto, actual_text_proto);↵↵
- marks wrong · judged wrong .copied" content="Copied to clipboard">↵ <meta name="lang:search.language" content="en">↵ <meta name="lang:
- marks wrong · judged wrong current time↵func IsPodAvailable(pod *Pod, minReadySeconds int32, now unversioned.Time) bool {↵ if !IsPodReady
- marks wrong · judged wrong _Gripper *gripper = AP::gripper();↵ if (gripper == nullptr) {↵ return false;↵ }↵↵ // Note: we ignore
- marks wrong · judged wrong <?php ↵class website_BlockHeaderSuccessView extends block_BlockView ↵{ ↵ /** ↵ * Mandatory execute method... ↵ * ↵ * @param block_BlockContext
- marks wrong · judged wrong 用户的等待都是无谓的,甚至它们不应该到数据库中来浪费资源。 ↵ ↵传统的做法,使用一个标记位来表示这条记录是否已经被更新
- marks wrong · judged wrong returns -fsyntax-only -verify -verify-ignore-unexpected=error %s↵// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -
- marks wrong · judged wrong reformat-shell &↵wait↵↵error_message="$(↵ cat << 'EOF'↵The reformatting check detected code that **does not** fit the guidelines given in
- marks wrong · judged wrong |↵| WEDEPLOY_AUTH_SECURE_FIELDS | Select which Auth fields are secured |↵↵</div>↵↵<aside>↵↵###### <span id="securityFields" class="
- marks wrong · judged wrong #include "content/renderer/media/media_stream_track.h"↵#include "content/renderer/media/tagged_list.h"↵#include "content/renderer/media/webrtc_audio_device_impl.h"↵↵
- marks wrong · judged wrong channel is concerned, a message pipe endpoint↵// is a pointer to a |MessagePipe| together with the port number.↵// - The value of
- marks wrong · judged wrong ↵ public boolean isWifiEnabled() {↵ checkAccessWifiStatePermission();↵ return wifiEnabled;↵ }↵↵ @Implementation↵ public WifiInfo getConnection
Activation and mechanism
Activation distribution
Negative-pole strength per token; bar height is log(1 + count).
Mechanism
Claimed lookahead: prepares upcoming tokens
__)__))__)
");")')])++)).
Input attribution
- 0 back
- 18%
- 1 back
- 10%
- 2–4 back
- 17%
- 5–16 back
- 14%
- 17–64 back
- 11%
- 65+ back
- 29%
- #1 at
FILE:(__-1 0.47FILE0 0.16basename-2 0.11_NAME-4 0.07php-133 -0.06 - #2 at
next:next0 0.65(g-2 0.58yield-11 0.07.__-1 0.04def-24 -0.04 - #3 at
_require:_require0 0.41__(-114 0.09,-8 0.07.exports-4 -0.07function-118 0.06 - #4 at
GNUC:GNUC0 0.24(__-1 0.08(__-9 0.08__ -103 0.07GNUC-104 0.05 - #5 at
_LIBRARY:(__-2 0.35__-7 0.16_LIBRARY0 0.11GNU-1 0.09(__-10 0.04
Shares of the gap to <|endoftext|> at every position but the first · converged on 5 of 5 · mean 55.4 tokens back ·
agreement with replacing one token at a time ρ = 0.53 · reported, not gated
Vocabulary projection
The tokens that this unit's output raises and lowers most.
Jacobian lens
Logit lens
Values
| # | Jacobian lens promotes | suppresses | Logit lens promotes | suppresses | ||||
|---|---|---|---|---|---|---|---|---|
| 1 | .) |
+14.30 | ";
|
-9.50 | )
|
+12.61 | ";
|
-9.19 |
| 2 | ”) |
+14.12 | "
|
-8.57 | .)
|
+12.54 | "
|
-8.72 |
| 3 | )
|
+14.00 | ";
|
-8.39 | .) |
+12.53 | '
|
-8.35 |
| 4 | )
|
+13.94 | '
|
-8.28 | ()) |
+12.51 | ":
|
-8.30 |
| 5 | ).
|
+13.78 | ';
|
-8.20 | )
|
+12.50 | ";
|
-8.18 |
| 6 | .)
|
+13.73 | ";
|
-7.94 | ).
|
+12.36 | ";
|
-8.05 |
| 7 | ). |
+13.62 | "
|
-7.93 | *)
|
+12.31 | ';
|
-7.85 |
| 8 | `) |
+13.57 | ":
|
-7.59 | .)
|
+12.29 | "
|
-7.79 |
| 9 | .)
|
+13.56 | ']]
|
-7.49 | …)
|
+12.13 | ':
|
-7.73 |
| 10 | *) |
+13.55 | "]]
|
-7.40 | ). |
+12.05 | ']]
|
-7.69 |
Top-10 overlap 70% · cos(w, J·w) 0.93 · kurtosis 34.9 (Jacobian) / 22.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.
| Prompt | Layer | ×1 | ×2 | ×4 | |
|---|---|---|---|---|---|
| category | 2 | unit | number | number | job |
| control | period | emotion | animal | ||
| category | 21 | unit | noun | noun | noun |
| control | noun | noun | noun | ||
| meaning | 2 | unit | "a small amount of". The word "in" is | "number of times" or "count". The word " | to indicate the existence of something. The word "exist" |
| control | to increase the value of something. It is used to describe | to be used in a positive way. It is not to | "to be the subject of a verb, to be the | ||
| meaning | 21 | unit | "a question mark" in English. The question mark is | "a question mark" in the sentence "The question mark | "a question mark" in the sentence "The question mark |
| control | "a question mark" in the sentence "The question mark | "a question mark" in the sentence "The question mark | "a question mark" in the sentence "The question mark |
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 (19.47), 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.
sunny. It's a good day to go for a walk. I'm going to the park. I'm going to
sunny. It's a good day to go for a walk. I'm going to the park. I'm going to
sunny. It's a good day to go for a walk. The weather is sunny. It's a good day to
sunny. It will be windy for a few days. The wind will be blowing from the west. The wind will be
sunny. It will be windy for a few hours. The wind will be blowing at a speed of 10 km
a lot of things. I ________ a lot of things. A. bought B. bought C. am buying D
a lot of things. I ________ a lot of things. A. bought B. bought C. am buying D
a lot of things. I ________ a lot of things. A. bought B. bought C. am buying D
a lot of things. I ________ a lot of things. A. bought B. bought C. am buying D
some books. I got 10 books for 1000 rubles. How much did I spend on
to do it. This is the motto of the University of the Philippines (UP) and the University of the Philippines Health
to do it. This is the motto of the University of the Philippines (UP) and the University of the Philippines Health
to do it. This is the main message of the book, The Best Way to Learn, by Dr. John H
to play. The best way to learn is to play. The best way to learn is to play. The best way
to play. It’s a simple truth that has been proven time and again. It’s also a fact that every child
there was a little girl named Lily. She loved to play with her toys and watch the stars. One day, she
there was a little girl named Lily. She loved to play with her toys and watch the stars. One day, she
there was a little girl named Lily. She loved to play with her toys and watch the stars. One day, she
there was a little girl named Lily. She loved to play with her toys and watch the stars. One day, she
there was a little girl named Amelia who loved to play with her toys. One day, she found a toy train set
the 2010 census showed that the population of the United States was 318,000
the 2010 census showed that the population of the United States was 318,000
the 2010 census showed that the population of the country was 110 million, up from
the country’s population is expected to grow by 1.5 percent annually, with the number of people aged 6
the country’s population was expected to grow by 1.5 per cent in 2015, up from
WordNet specificity
AUROC 0.48 for whole.n.02 against its sibling categories. Active on 0% of category words and 0% of sibling words.
Read more
The category is whole, the largest category of the peak words. Each word is measured in 3 neutral sentences, and peak words are left out. AUROC is the chance that a category word is stronger than a sibling word, so 0.5 is no difference. Strengths are fractions of the top activation in the scan. Measured after the proposer answered, and shown to neither agent. Reported, not gated.
person 0.00man 0.00serviceman 0.00young person 0.00child 0.00friend 0.00soldier 0.00house 0.00male child 0.00woman 0.00wife 0.00room 0.00body 0.00tree 0.00horse 0.00companion 0.00mother 0.00door 0.00road 0.00surface 0.00car 0.00girl 0.00animal 0.00military officer 0.00street 0.00human body 0.00Earth 0.00wall 0.00doctor 0.00movie 0.00work 0.00rifle 0.00student 0.00writer 0.00patient 0.00father 0.00gun 0.00window 0.00husband 0.00plant 0.00
location 0.00land 0.00part 0.00footwall 0.00ribbon 0.00film 0.00etcetera 0.00draw 0.00hill 0.00collector's item 0.00keepsake 0.00amulet 0.00finding 0.00ice 0.00moon 0.00remains 0.00vagabond 0.00web 0.00catch 0.00commemorative 0.00discard 0.00iceberg 0.00fomite 0.00growth 0.00hail 0.00head 0.00hoodoo 0.00je ne sais quoi 0.01makeweight 0.00neighbor 0.00paring 0.00custard pie 0.00shiner 0.00closet auger 0.00bagatelle 0.00area 0.00Europe 0.00piece 0.00turf 0.00hanging wall 0.00
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
| L20/N2988 | gate | +0.263 |
| L20/N2291 | gate | +0.255 |
| L20/N2412 | gate | +0.225 |
| L20/N3370 | gate | +0.173 |
| L17/N4768 | gate | -0.172 |
| L20/N2578 | up | -0.158 |
| L20/N3661 | gate | -0.158 |
| L20/N2243 | up | +0.147 |
| L20/N4233 | up | -0.146 |
| L12/N253 | gate | -0.14 |
Upstream heads
| L20/H4 | gate | +1.33 |
| L21/H7 | gate | +1.23 |
| L21/H10 | gate | +0.575 |
| L21/H0 | gate | +0.564 |
| L21/H3 | gate | +0.514 |
| L20/H5 | gate | +0.49 |
| L21/H13 | gate | +0.49 |
| L21/H4 | up | +0.486 |
| L19/H13 | gate | +0.466 |
| L20/H0 | gate | +0.454 |
Downstream neurons
| L22/N3204 | gate | +0.521 |
| L23/N892 | gate | +0.402 |
| L23/N4443 | gate | +0.33 |
| L22/N3011 | gate | +0.263 |
| L23/N4291 | gate | -0.243 |
| L23/N2845 | gate | -0.234 |
| L22/N856 | up | -0.207 |
| L23/N711 | up | +0.18 |
| L23/N363 | up | -0.167 |
| L22/N1711 | up | -0.15 |
Downstream heads
| L23/H1 | q | +0.286 |
| L22/H12 | q | +0.141 |
| L23/H6 | q | +0.12 |
| L22/H8 | q | +0.117 |
| L23/H5 | q | +0.11 |
| L23/H7 | v | +0.1 |
| L23/H8 | v | +0.1 |
| L23/H9 | v | +0.1 |
| L23/H10 | v | +0.1 |
| L23/H11 | v | +0.1 |
From activations
Upstream neurons
| L20/N2412 | -2.85 | |
| L18/N62 | +2.02 | |
| L20/N4689 | +1.87 | |
| L16/N3916 | -0.92 | |
| L20/N2858 | -0.635 | |
| L20/N3661 | -0.551 | |
| L20/N745 | +0.497 | |
| L17/N2579 | +0.475 | |
| L18/N2874 | -0.453 | |
| L20/N2677 | +0.437 |
Upstream heads
| L20/H4 | -1.8 | |
| L21/H1 | +0.599 | |
| L21/H9 | -0.571 | |
| L21/H2 | +0.553 | |
| L14/H2 | +0.551 | |
| L20/H5 | -0.545 | |
| L21/H6 | +0.522 | |
| L21/H0 | +0.512 | |
| L20/H11 | +0.504 | |
| L20/H8 | +0.485 |
Downstream neurons
| L22/N3204 | -10.6 | |
| L23/N892 | -4.11 | |
| L22/N856 | -3.74 | |
| L23/N4291 | -2.91 | |
| L23/N1121 | +2.59 | |
| L23/N4719 | +2.14 | |
| L23/N3716 | +1.75 | |
| L23/N711 | +1.63 | |
| L23/N4365 | +1.49 | |
| L23/N1341 | -1.2 |
Downstream heads
| L23/H1 | v | +0.482 |
| L23/H4 | v | +0.249 |
| L22/H12 | q | +0.238 |
| L23/H5 | q | +0.114 |
| L22/H9 | q | +0.108 |
| L22/H10 | q | +0.0969 |
| L22/H6 | q | +0.0917 |
| L23/H10 | q | +0.0776 |
| L23/H6 | q | +0.0717 |
| L23/H11 | q | +0.0688 |
Covariance and confounds
Confounds
- Token identity R²
- 0.30
- Position R²
- 0.01
- Frequency r
- 0.21
- Programming language R² · MI
- 0.01 · 0.012 bits
- Syntax node R² · MI
- 0.04 · 0.053 bits
- Bracket depth R² · MI
- 0.05 · 0.074 bits
- Round depth R² · MI
- 0.17 · 0.196 bits
- Indent depth R² · MI
- 0.01 · 0.014 bits
- Syntax construct R² · MI
- 0.14 · 0.156 bits
- Personal data R² · MI
- 0.00 · 0.001 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
- Postal addresses R² · MI
- 0.00 · 0.000 bits
- Best trivial baseline
- token identity · 0.53
- Hypothesis
- 0.96 ✓
NilLicenseSoftwarebigNodesrw.currency.nowMethods.yaml.ToArrayucceed
Co-activating neuron poles
| Pole | Lift ≥ | Both | ρ | r |
|---|---|---|---|---|
| N124+ | 34.2 | 610 | -0.00 | +0.22 |
| N1174+ | 27.9 | 503 | +0.04 | +0.03 |
| N2632− | 27.2 | 491 | -0.21 | -0.03 |
| N2227− | 25.5 | 462 | +0.25 | +0.07 |
| N4247+ | 24.7 | 448 | -0.07 | +0.17 |
| N2418+ | 21.9 | 396 | -0.05 | +0.15 |
| N3141+ | 19.6 | 360 | +0.20 | +0.19 |
| N3058+ | 18.0 | 332 | +0.10 | +0.18 |
| N2799− | 17.7 | 323 | +0.01 | -0.17 |
| N2770− | 17.1 | 316 | +0.07 | +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
- N124, N1174, N2632
- KL pole alone
- 1.90e-03
- KL partners
- 7.38e-04
- KL together
- 3.09e-03
- Redundancy ratio
- 1.24
The partners don't change the pole's effect much.
Run details
- Submitted by
- claude-opus-5-5
- Reviewed by
- claude-sonnet-5-5
- Reviewed at
- 2026-11-11 16:20 UTC
- Max activation
- 19.4728
- Selection
- manual
- Corpus
- codeparrot/github-code-clean@c48d40f9 (data/train-*.parquet, 500 docs, seed 1) · 199,994 tokens · seeded sample of 380/500 docs (≤ 200,000 tokens, seed 0) · licence apache-2.0
- Model revision
- 060db6499f32 · float32
- Ran on
- scan cpu · review cpu
- Run cost
- 34.5 min (slowest: scan, 12.5 min) · peak 7.2 GB RAM · 4 LLM calls · 509,412 + 32,660 tokens · $0.60