Qwen/Qwen2.5-0.5B · L21/N953 · 20261111T163509Z
Experiment 2 of 2 on this neuron, most conclusive first · record
Retrospective: fires on content tokens written while a round bracket '(' is still open, in code or around a quoted string in prose, and is near zero for the same tokens outside any open '(' (after '=', 'print x', inside only '[' or '{', '#ifdef __X__') and after the ')' closes. Strength is tiered: about 10-21 on the name token right after '__' inside the open bracket ('getLogger(__name', 'dirname(__file', 'defined(__GNUC', 'print(g.__next'); about 4-9 on words of a quoted string inside it ('(the "License', 'log.info("... now'), on digits of an index or number argument ('i16(header[388:390', 'range(10'), and on a lone variable argument late in a snippet ('print(value' at 6.4); about 1-4 on plain identifiers in short calls or 'if (...)' conditions, and under 1.5 in prose parentheticals without quotes ('(France)').
The whole hypothesis
Retrospective: fires on content tokens written while a round bracket '(' is still open, in code or around a quoted string in prose, and is near zero for the same tokens outside any open '(' (after '=', 'print x', inside only '[' or '{', '#ifdef __X__') and after the ')' closes. Strength is tiered: about 10-21 on the name token right after '__' inside the open bracket ('getLogger(__name', 'dirname(__file', 'defined(__GNUC', 'print(g.__next'); about 4-9 on words of a quoted string inside it ('(the "License', 'log.info("... now'), on digits of an index or number argument ('i16(header[388:390', 'range(10'), and on a lone variable argument late in a snippet ('print(value' at 6.4); about 1-4 on plain identifiers in short calls or 'if (...)' conditions, and under 1.5 in prose parentheticals without quotes ('(France)').
Hard negatives 13/13 rejected · holdouts 6/7 fired (independent observations; 20 probes) · P(useful) 1.00
Revises 20261111T162001Z (NEEDS_REVISION)
specificity 1.00 · sensitivity 0.86 · counterfactual reproduction 1.00 · protocol v0.8
FILEnamefileGNUC_LIBRARYnext_requireLicense0(value
Adversarial review
hard_negative: 13/13 passed; positive_holdout: 6/7 passed; counterfactual: 9/9 passed; lookahead_consistency: 1/1 passed. All gates passed.
All 30 probes
| Test | Input | Expected | Observed | |
|---|---|---|---|---|
| ✓ | hard negative | import logging
logger = logging.getLogger
module_name = __name__
module_path = __file__
Same dunder names after '=' with no open round bracket; hypothesis says near zero. |
inactive | 0.161 |
| ✓ | hard negative | #ifdef __GNUC__
#define NORETURN __attribute__
#endif
#ifndef __cplusplus
#define EXTERN_C
#endif
GNUC and dunder names after #ifdef with no '(' open. |
inactive | 0.178 |
| ✓ | hard negative | import sys
x = 5
print x
print value
print sys.argv
Python 2 print statement without parentheses; hypothesis names 'print x' as near zero. |
inactive | -0.000 |
| ✓ | hard negative | items = [__name__, __file__, header[388:390], range_list[10]]
Dunder names and digits inside only square brackets; hypothesis says near zero. |
inactive | 1.170 |
| ✓ | hard negative | config = {'name': __file__, 'next': 10, 'library': __name__}
Dunder names and numbers inside only curly braces. |
inactive | 2.391 |
| ✓ | hard negative | The court ruled that the "License" was void and that the "Software" could not be reused by anyone. Quoted words in prose with no open round bracket. |
inactive | -0.000 |
| ✓ | hard negative | * Elasticsearch licenses this file to you under the Apache License, Version 2.0; you may
* not use this file except in compliance with the License.
License comment text without any open parenthesis. |
inactive | 0.114 |
| ✓ | hard negative | foo(a)
result = file_name_value + other_name
value = next_item
Identifiers after the call has closed; hypothesis says near zero after ')'. |
inactive | 0.728 |
| ✓ | hard negative | She visited several countries (France) last summer and then returned home to her family. Prose parenthetical without quotes; hypothesis predicts under 1.5, below the line. |
inactive | 0.762 |
| ✓ | hard negative | // return the file name
/* return __FILE__ */
return name;
return as comment and keyword, with FILE and name outside any bracket. |
inactive | 0.973 |
| ✓ | hard negative | var m = __webpack_require__;
module.exports = __dirname;
var f = __filename;
JavaScript dunder names with no round bracket open. |
inactive | 0.052 |
| ✓ | hard negative | <?php
$f = basename;
$x = __FILE__;
echo __LINE__;
$y = __DIR__;
PHP magic constants outside any call bracket. |
inactive | -0.000 |
| ✓ | hard negative | #ifndef _LIBRARY_H
#define _LIBRARY_H
#define __GNU_LIBRARY__ 2
#endif
LIBRARY and GNU dunder tokens in plain defines without '('. |
inactive | -0.000 |
| ✓ | positive holdout | import os
base = os.path.abspath(os.path.dirname(__file__))
Name after '__' inside nested open call brackets (tier 1). |
active | 15.162 |
| ✓ | positive holdout | require File.join(File.dirname(__FILE__), "lib", "helper")
Ruby, other language, FILE after '(__' inside open call. |
active | 10.963 |
| ✓ | positive holdout | #if defined(__linux__) && defined(__GNUC__) && !defined(__clang__)
#define HAVE_X 1
#endif
C preprocessor defined(__GNUC) paraphrase with open bracket. |
active | 15.121 |
| ✓ | positive holdout | for i in range(10):
total += arr[i]
print(total, len(arr[12:14]))
Digits as arguments inside open calls (tier 2). |
active | 12.436 |
| ✓ | positive holdout | This software is provided (the "License"); you may not use it except in compliance with it. Quoted string inside an open round bracket in prose, with License. |
active | 5.894 |
| ✓ | positive holdout | console.log(typeof __dirname, process.argv[2], __filename); JavaScript, dunder names inside an open call. |
active | 7.699 |
| ✗ | positive holdout | def f(items):
out = []
for item in items:
out.append(item * 2)
value = sum(out)
return value
print(value Lone variable argument late in a snippet inside an unclosed print( call. |
active | 3.015 |
| ✓ | 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 | print(g.__next__()) -> print g.__next__() | Δ 0.50 | Δ 0.51 |
| ✓ | counterfactual | msg("starting the server now") -> msg="starting the server now" | Δ 0.26 | Δ 0.26 |
| ✓ | counterfactual | y = f(arr[i]) -> y = f[arr[i]] | Δ 0.35 | Δ 0.35 |
| ✓ | counterfactual | self.nframe = i16(header[388:390]) -> self.nframe = i16[header[388:390]] | Δ 0.40 | Δ 0.40 |
| ✓ | counterfactual | Licensed under the Apache License, Version 2.0 (the "License"); -> Licensed under the Apache License, Version 2.0 (the License); | Δ 0.47 | Δ 0.48 |
| ✓ | counterfactual | path = os.path.dirname(__file__) -> path = os.path.dirname(__file__ + x) | Δ 0.00 | Δ 0.00 |
| ✓ | counterfactual | logger = logging.getLogger(__name__) -> logger = logging.getLogger(__file__) | Δ -0.05 | Δ -0.05 |
| ✓ | lookahead consistency | logger = logging.getLogger(__name__)
; #if defined(__GNUC__)
; print(g.__next__())
; msg("starting the server now")
; y = f(arr[i])
; self.nframe = i16(header[388:390])
; Licensed under the Apache License, Version 2.0 (the "License");; path = os.path.dirname(__file__)
; logger = logging.getLogger(__name__)
claimed retrospective; measured retrospective (KL=0.003089, 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 0.0846 matched 1.04e-05 / 0.00481 |
1.00 effect 0.201 matched 5.03e-06 / 0.00756 |
| 3 | print(g.__next__())
→ print g.__next__()
|
0.50 | 0.51 | — | — |
| 4 | msg("starting the server now")
→ msg="starting the server now"
|
0.26 | 0.26 | 1.00 effect 0.0325 matched 4.13e-05 / 0.0284 |
0.97 effect 0.0544 matched 6.72e-05 / 0.0549 |
| 5 | y = f(arr[i])
→ y = f[arr[i]]
|
0.35 | 0.35 | 1.00 effect 0.0354 matched 9.21e-05 / 0.00223 |
1.00 effect 0.0438 matched 0.000126 / 0.00395 |
| 6 | self.nframe = i16(header[388:390])
→ self.nframe = i16[header[388:390]]
|
0.40 | 0.40 | — | — |
| 7 | Licensed under the Apache License, Version 2.0 (the "License"); → Licensed under the Apache License, Version 2.0 (the License); |
0.47 | 0.48 | — | — |
| 8 | path = os.path.dirname(__file__)
→ path = os.path.dirname(__file__ + x)
|
0.00 | -0.00 | — | — |
| 9 | logger = logging.getLogger(__name__)
→ logger = logging.getLogger(__file__)
|
-0.05 | -0.05 | — | — |
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 3 non-control pairs, on next-token KL. Median effect 0.0354 (sufficiency) and 0.0544 (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.
-
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: 28%.
- Judge
- claude-haiku-5-5
- Held-out windows
- 503 active of 4,000
- Judged
- 50 detection · 37 fuzzing
- Detection outcomes
- 2 missed · 7 false alarm · 23 hit · 18 correct rejection
- Seed
- 1652200941 · codeparrot/github-code-clean@c48d40f9 (data/train-*.parquet, 500 docs, seed 1)
Detection windows (50), the explanation's mistakes first
- missed 7.27 · sim -0.16 ]-->↵↵<!-- Add your site or application content here -->↵<div class="container">↵ <div class="header">↵ <ul class="nav nav-pills pull
- missed 7.12 · sim 0.14 23:31 | Created by madachuan.↵ */↵↵void dmll(void);↵void dmcll(void);↵void dmchk(void);↵void d
- false alarm 4.28 · sim -0.00 unena_users');↵ $query->where('userid = '.$message->jid);↵ $db->setQuery((string)$query);↵ $message->avatar
- false alarm 4.10 · sim 0.03 { "X-Cust-Header-NoValue", "" , Configuration.Http.RedirectUriForDestinationUri(↵ secure:false,↵ statusCode:302,↵
- false alarm 3.82 · sim -0.01 containsInAnyOrder(ObjectType.DOMAIN));↵ }↵↵ @Test↵ public void validate_enum() {↵ when(update.getUpdatedObject()).thenReturn(Rps
- false alarm 3.11 · sim -0.16 { ↵ super(tableModel, tableColumnModel, listSelectionModel); ↵ this.initUI(); ↵ } ↵ ↵ /** ↵ * Initialize UI for table. ↵ */ ↵
- false alarm 3.05 · sim -0.12 ();↵ $view->assignRef('document', $document);↵↵ $view->setModel( $model, true );↵↵ InstallerHelper::addSub
- false alarm 2.10 · sim -0.05 JavaBytesToStream streamConverter = new JavaBytesToStream();↵↵ ArrayList<? extends Object> original = Lists.newArrayList("A", 123);↵
- false alarm 1.76 · sim 0.01 _device_prop_match(↵ self.fake_pci_1, [{'vendor_id': 'v1', 'device_id': 'd1',↵ 'capabilities_network':
- hit 14.14 · sim -0.01 ) {↵ return Vec(remainder(r1[0], r2[0]), remainder(r1[1], r2[1]),↵ remainder(r1
- hit 9.04 · sim 0.22 License, Version 2.0 (the "License").↵* You may not use this file except in compliance with the License.↵* A copy of the License
- hit 8.97 · sim 0.06 {↵ if (defaultVersion != null) {↵ if (defaultVersion.contains("${default.version}")) {↵ throw new IllegalArgumentException("default version may not contain
- hit 8.97 · sim -0.01 .↵ var showend = $(this)↵ .closest('.fieldset-wrapper')↵ .find('.form-type-checkbox label:contains("Show End Date")')↵
- hit 8.50 · sim 0.13 /**↵ * Copyright 2013 Matija Mazi.↵ *↵ * Licensed under the Apache License, Version 2.0 (the "License");↵ *
- hit 6.95 · sim 0.17 pe): Map[String, String] = Map(..$toMapParams)↵ def fromMap(map: Map[String, String]): $tpe = $com
- hit 6.60 · sim 0.21 b"\x00\x00"), Field("checksum", b"\x00\x00")]↵functions = [checksum("checksum", "test0
- hit 6.46 · sim 0.13 return decoded_packet↵↵ def _update_info(self):↵ ser = self._serial_obj↵↵ ser.write('i')↵ ser.flush()↵ imsg
- hit 6.20 · sim 0.04 1;↵ var thePage = location.href;↵ if (thePage.lastIndexOf('#')!=-1)↵ thePage = thePage.substring(0,thePage
- hit 5.99 · sim -0.26 .setTableRow.bind(this);↵ this.getTableRow = this.getTableRow.bind(this);↵ this.getTableCell = this.getTableCell.bind(this);↵↵ this.tableBody =
- hit 5.96 · sim 0.13 true);↵}↵↵↵Money_t::Money_t(const QString &val)↵{↵ init_(val, true);↵}↵↵↵void Money_t::setValue(const int val)↵{↵
- hit 5.91 · sim 0.02 .redis_models import redis↵↵class Migration(DataMigration):↵↵ def forwards(self, orm):↵ for user in orm['auth.User'].objects.filter(is_active=False):↵
- hit 5.76 · sim -0.12 table->setHeaders(array('Name', 'Path', 'Pattern'));↵ $table->setLayout(TableHelper::LAYOUT_DEFAULT);↵↵ $controllers = $
- hit 5.70 · sim 0.16 returns the serialized data corresponding to a Deep2 slice↵func (o *File) GetDeep2raw(path string) (m, n int, a []
- hit 5.57 · sim -0.07 Action {↵ public ClientStartTurnAction() {↵ super("@CLIENT_START_TURN","@CLIENT_GROUP");↵ }↵↵ @Override↵ public String toString()
- hit 5.56 · sim 0.02 of(currentValue)));↵ return post ? after : before;↵ }↵↵ private Object of(Value value) {↵ switch (getPriority(value.getType())) {↵
- hit 5.41 · sim 0.01 :↵ //! Simply `r1-r2`.↵ Vec diff(Vec r1, Vec r2) { return r1 - r2; };↵ //!
- hit 5.28 · sim 0.25 base.Visit(expression);↵ if (!_isBlocked)↵ {↵ if (_predicate(expression))↵ {↵ _candidates.Add(expression);↵ }↵ else
- hit 5.11 · sim 0.22 ="com.example.ehsueh.appygolucky Class Hierarchy";↵ }↵ }↵ catch(err) {↵ }↵//-->↵</script>↵<n
- hit 5.09 · sim 0.05 find it useful, you can support us at:↵ * ↵ * https://plantuml.com/patreon (only 1$ per month!)↵ * https://
- hit 5.01 · sim -0.15 'html', 'AkeebaView');↵↵ JLoader::import('joomla.client.helper');↵ try {↵ $ftp = JClientHelper::
- hit 4.93 · sim 0.07 f getVelocity(float x, float y, float z); ↵ float getInterpolatedValue(float x, float y, float z, int direction); ↵ ↵ void
- hit 4.89 · sim 0.22 type.↵[assembly: ComVisible(false)]↵↵// Version information for an assembly consists of the following four values:↵//↵// Major Version↵// Minor Version ↵//
- correct rejection 2.91 · sim 0.09 0V_002dSubs.html#D10V_002dSubs">D10V-Subs</a
- correct rejection 2.46 · sim 0.13 /* rxmon.c↵ *↵ * Monitor a DVB ASI receiver for events.↵ *↵ * Copyright (C) 2001-200
- correct rejection 1.42 · sim -0.07 " target="_top">No Frames</a></li> ↵</ul> ↵<ul class="navList" id="allclasses_navbar_top"> ↵<li
- correct rejection 1.16 · sim 0.16 #!/usr/bin/make -f↵##########################################################↵# Copyright (C) 1998 VMware, Inc. All rights reserved.↵#↵# This program
- correct rejection 0.83 · sim 0.24 //__________________________________________________________________________________________________↵//↵// Copyright (C) 2021, Mariusz Postol LODZ POLAND.↵//↵// To be in
- correct rejection 0.55 · sim -0.08 ="topNav"><a name="navbar.top">↵<!-- -->↵</a>↵<div class="skipNav"><a href="#skip.navbar.top" title="
- correct rejection 0.41 · sim 0.13 bl;↵ struct gmac_mdio_bus_data *mdio_bus_data;↵};↵↵enum tx_dma_irq_status {↵ tx_hard_error = 1,↵ tx_hard_error
- correct rejection 0.39 · sim 0.05 https://github.com/fontforge/fontforge/releases/download/20220308/fontforge-20220308.tar.x
- correct rejection 0.35 · sim 0.08 edMachinesCount := ctrStatus.HostedMachineCount↵ servicesCount := ctrStatus.ServiceCount↵ var envsData []envData↵ var aliveEnv
- correct rejection 0.33 · sim -0.12 </ion-item>↵ </ion-list>↵ </ion-col>↵ </ion-row>↵ </ion-grid>↵↵ </ion-slide>↵↵ <
- correct rejection 0.17 · sim -0.06 solid transparent;}↵div.output_wrapper{margin-top:5px;position:relative;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch
- correct rejection 0.05 · sim 0.13 /*↵ * Copyright 2019 Qameta Software OÜ↵ *↵ * Licensed under the Apache License, Version 2.0 (the
- correct rejection 0.03 · sim 0.01 /**↵ * @return SSTable transferred↵ * @throws java.io.IOException if reading the remote sstable fails. Will throw an RTE if local write fails
- correct rejection -0.00 · sim 0.11 angox.aliases $BASE/Resources/etc/pango/↵↵echo "Copying Fontconfig files."↵cp -R $LIBPREFIX/etc/fonts $BASE/Resources/etc/↵#
- correct rejection -0.00 · sim -0.09 {↵ projectName: this.options.projectName,↵ projectDescription: this.options.projectDescription,↵ projectURL: this.options.projectURL,↵ authorName:
- correct rejection -0.00 · sim 0.05 0;Page</span></a></li>↵ <li><a href="namespaces.html"><span>Namespaces</span></a></li>↵
- correct rejection -0.00 · sim 0.01 *↵ * *↵ * Help yourself get started quickly while simultaneously helping *↵ * to support the FreeRTOS project by purchasing a Free
- correct rejection -0.00 · sim 0.03 RenderState.h"↵↵// If the framebuffer format has no alpha channel, it is assumed to↵// ONE on blending. As the backends may emulate this framebuffer
Fuzzing windows (37), dashed tokens were marked for the judge
- marks right · judged wrong , set the ComVisible attribute to true on that type.↵[assembly: ComVisible(false)]↵↵// The following GUID is for the ID of the typelib if this project is
- marks right · judged right // Copyright 2022 Google LLC↵//↵// Licensed under the Apache License, Version 2.0 (the "License");↵// you may not
- marks right · judged right #elif defined(CONFIG_ARCH_MSM8X60)↵#include <mach/msm_smd-8x60.h>↵#endif↵↵#ifndef __ASM_ARCH_M
- marks wrong · judged wrong {↵ public function __construct($config = array()) {↵ parent::__construct($config);↵↵ /*↵ * Make sure the user is authorized to view this
- marks right · judged right candidate[j+=1] = LCHab(l, c, h)↵ end↵↵ # Transformed colors↵ tc = transform(candidate[1
- marks wrong · judged wrong e); ↵ } ↵ } ↵ ↵ @Override ↵ protected synchronized Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException { ↵ for (String pkg : packages
- marks wrong · judged wrong })↵↵ AfterEach(func() {↵ mockCtrl.Finish()↵↵ err = os.RemoveAll(depsDir)↵ Expect(err).To(BeNil())↵↵
- marks wrong · judged wrong require('./menu');↵const kfRouter = require('./kf');↵↵router.get('/wechat', ctx => ctx.redirect('/admin/wechat/baseSetting'));↵router.use('/wechat
- marks right · judged right reformat() {↵ reformat_command=$1↵ reformat_command_output="$(scripts/dev/$reformat_command 2>&1)" || {↵ printf >&2
- marks wrong · judged wrong 0; i < ColumnType.values().length; i++) { ↵ ColumnType type = ColumnType.values()[i]; ↵ ColumnModel cm = new
- marks right · judged right /javascript"><!--↵ try {↵ if (location.href.indexOf('is-external=true') == -1) {↵ parent.document.title="com.cloudycrew
- marks wrong · judged wrong create the server ↵ */ ↵ private LowLevelTankServer(int port) throws IOException { ↵ super(port); ↵ ↵ Log.info("********************************************"); ↵ Log.info
- marks right · judged right " ↵ ↵ if id_reuniao: ↵ reuniao = Reuniao.objects.get(pk=id_reuniao) ↵ else: ↵ reuniao = Re
- marks right · judged right ubmodule_id')->unsigned();↵ $table->integer('type_id')->unsigned(); //TODO ? 1 a N aixi?↵ $table->
- marks wrong · judged wrong VO:↵ return sre->do_repeat_servo(cmd.content.repeat_servo.channel,↵ cmd.content.repeat_servo.pwm,↵ cmd.content.repeat_serv
- marks right · judged right );↵ void processAcceleration(GLKVector3 acc, double sensorTimeStamp);↵ ↵ double getHeadingDegrees();↵ void setHeadingDegrees(double heading);↵ ↵
- marks wrong · judged wrong s_dma_handler(u32 dma_ch);↵void i2s_unmask_handler(u32 dma_ch);↵int i2s_debug_cmd(unsigned int cmd,
- marks right · judged right .screen.Rung;↵↵public class RungListener implements MouseListener, KeyListener↵ {↵ ↵ final JPopupMenu editMenu = new JPopupMenu("Edit
- marks wrong · judged wrong In_SM, this);↵ GUIUtil::setupAddressWidget(ui->addressIn_VM, this);↵↵ ui->addressIn_SM->installEventFilter(this);↵
- marks wrong · judged wrong keys">', "<div>", '<p class="hotkey">' + Common.Utils.String.platformKey("Ctrl+C", "{0}") + "</p>", '<p class
- marks wrong · judged wrong ↵ $source = JComponentHelper::getParams('com_vitabook')->get('vbAvatar');↵ // Get info from database↵ if
- marks right · judged right _binding("BME280");↵↵ if (dev == NULL) {↵ printk("Could not get BME280 device\n");↵ return;↵
- marks right · judged right $table->string('last_name')->nullable();↵ $table->nullableTimestamps();↵↵ // We'll need to ensure that MySQL uses the InnoDB engine
- marks wrong · judged wrong raise an exception↵ # if the next token is not of the given class.↵ def pop(token_class)↵ token = read_next_token(token_class)↵
- marks right · judged right solid cells ↵ for (int i=0;i<Cell_NUM_X+BUFFER*2;i++) ↵ for (int j=0; j<Cell_NUM_Y
- marks wrong · judged wrong (); ↵ ↵ // Run time type information. ↵ // ↵ Adesk::Boolean isKindOf (AcGe::EntityId entType) const; ↵
- marks wrong · judged wrong ']↵end↵↵def load_salt(bag)↵ load_license(bag)['salt']↵end↵↵def ensure_data_bag(bag)↵ begin↵ data_bag
- marks wrong · judged wrong double precision function fdisc(blockno,xc,yc)↵ implicit none↵↵ double precision xc,yc, xp, yp, zp↵
- marks wrong · judged wrong annotation</a> - Draws lines and boxes on chart area.↵ - <a href="https://github.com/chartjs/chartjs-plugin-datalabels"
- marks wrong · judged wrong 2.1 of the License, or (at your option) any later version.↵ *↵ * This library is distributed in the hope that it will be useful,↵
- marks wrong · judged wrong java.nio.channels.Channels;↵import java.nio.channels.ReadableByteChannel;↵↵import com.google.common.base.Throwables;↵↵import org.apache.cassandra.db.Decorated
- marks wrong · judged wrong ) 2012. All rights reserved.↵ * @license GNU General Public License version 2 or later; see LICENSE.txt↵ * @author
- marks wrong · judged wrong accessed via the |MessagePipe|↵// (which has the lock), with the additional information of the port↵// number. So as far as the
- marks wrong · judged wrong ;↵import org.elasticsearch.action.ActionListener;↵import org.elasticsearch.action.fieldcaps.FieldCapabilitiesAction;↵import org.elasticsearch.action.fieldcaps.FieldCapabilitiesRequest;↵import org.elasticsearch.action.field
- marks wrong · judged wrong with this program. If not, see <http://www.gnu.org/licenses/>.↵ *↵ * Contact us by mail: asqatasun AT asqatas
- marks wrong · judged wrong 2011-2014 Sam Vermette and contributors. All rights reserved.↵//↵↵#import <UIKit/UIKit.h>↵#import <AvailabilityMacros
- marks wrong · judged wrong ation;↵ Matrix3x3d _mS;↵ Matrix3x3d _mH;↵ Matrix3x3d _mK;↵
Activation and mechanism
Activation distribution
Negative-pole strength per token; bar height is log(1 + count).
Mechanism
Claimed retrospective: responds to tokens already in context.
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.48 | |
| L18/N62 | +1.84 | |
| L20/N4689 | +1.67 | |
| L16/N3916 | -0.805 | |
| L20/N2858 | -0.617 | |
| L20/N855 | -0.511 | |
| L20/N3661 | -0.481 | |
| L20/N3901 | -0.475 | |
| L19/N63 | -0.469 | |
| L17/N2579 | +0.458 |
Upstream heads
| L20/H4 | -1.48 | |
| L21/H9 | -0.596 | |
| L21/H1 | +0.57 | |
| L14/H2 | +0.538 | |
| L21/H2 | +0.525 | |
| L21/H6 | +0.511 | |
| L20/H5 | -0.485 | |
| L20/H11 | +0.473 | |
| L21/H0 | +0.461 | |
| L20/H8 | +0.448 |
Downstream neurons
| L22/N3204 | -9.77 | |
| L22/N856 | -3.84 | |
| L23/N892 | -3.57 | |
| L23/N4291 | -3.06 | |
| L23/N1121 | +2.4 | |
| L23/N4719 | +1.98 | |
| L23/N3716 | +1.67 | |
| L23/N4365 | +1.45 | |
| L23/N711 | +1.44 | |
| L22/N1439 | +1.09 |
Downstream heads
| L23/H1 | v | +0.432 |
| L23/H4 | v | +0.226 |
| L22/H12 | q | +0.217 |
| L23/H5 | q | +0.113 |
| L22/H9 | q | +0.106 |
| L22/H10 | q | +0.0989 |
| L22/H6 | q | +0.0927 |
| L23/H10 | q | +0.0764 |
| L23/H13 | q | +0.0739 |
| L22/H7 | q | +0.0737 |
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.60
- Hypothesis
- 0.93 ✓
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.92e-03
- KL partners
- 2.70e-03
- KL together
- 4.32e-03
- Redundancy ratio
- 0.84
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:35 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
- 32.6 min (slowest: scan, 12.5 min) · peak 7.2 GB RAM · 4 LLM calls · 510,972 + 27,614 tokens · $0.67