Open Interpretability Models Contributors Research Posts About

Qwen/Qwen2.5-0.5B · L15/N1604 · 20261024T194808Z

Experiment 3 of 4 on this neuron, most conclusive first · record

#3 · positive pole + NEEDS REVISION weak evidence for · 0.21 self-reviewed earlier hypothesis 2026-10-24 · 20261024T194808Z

L15/N1604+ fires when processing function calls that establish a callback or async continuation point, and stays quiet on straightforward value-returning calls. The activation peaks at the boundary where the call's continuation is defined (e.g., ').' before .success(function(', 'String.class' for AjaxCallback, 'click(function('), or on security-related parameters like password. The firing is retrospective: it reads ahead through the call's arguments to recognize the callback/event handler pattern (AjaxCallback class name, .success() method name, .click() event handler), then fires at the marker where the continuation is registered. Examples driven mostly by surrounding context (http.post string, url parameter) because they show the callback pattern clearly; examples driven mostly by the peak token (click, password) because those tokens themselves signal the callback/event or security context.

The whole hypothesis

L15/N1604+ fires when processing function calls that establish a callback or async continuation point, and stays quiet on straightforward value-returning calls. The activation peaks at the boundary where the call's continuation is defined (e.g., ').' before .success(function(', 'String.class' for AjaxCallback, 'click(function('), or on security-related parameters like password. The firing is retrospective: it reads ahead through the call's arguments to recognize the callback/event handler pattern (AjaxCallback class name, .success() method name, .click() event handler), then fires at the marker where the continuation is registered. Examples driven mostly by surrounding context (http.post string, url parameter) because they show the callback pattern clearly; examples driven mostly by the peak token (click, password) because those tokens themselves signal the callback/event or security context.

Hard negatives 8/10 rejected · holdouts 3/6 fired (independent observations; 16 probes) · P(useful) 0.61

Revises 20261021T061847Z (REJECTED) · Revised by 20261026T131527Z (REJECTED)

Balanced accuracy
0.65
Sufficiency
0.94
Necessity
1.00
Lookahead KL
0.0020
✓ enough hard negatives ✓ enough holdouts ✓ specificity ✗ sensitivity ✗ counterfactual reproduction ✓ lookahead consistent ✓ independent review ✗ beats confound baseline

specificity 0.80 · sensitivity 0.50 · counterfactual reproduction 0.12 · protocol v0.7

).successpasswordclickString.classString]callback.eachPropertiesremove

Adversarial review

hard_negative: 8/10 passed; positive_holdout: 3/6 passed; counterfactual: 1/8 passed; lookahead_consistency: 1/1 passed. Failed gates: sensitivity, counterfactual_reproduction, beats_confound_baseline.

Hard negatives 8/10 stay below Positive holdouts 3/6 reach it threshold 2.24 (25% of max) → active passed · 0.364 (4% of max) String.class callback method passed · 0.597 (7% of max) POST /api/endpoint passed · 0.625 (7% of max) function callback() { return true; } passed · 0.674 (8% of max) if (user.password === 'correct') { authenticate(); } passed · 0.776 (9% of max) var result = myFunction('success'); passed · 0.778 (9% of max) function success(data) { console.log(data); } passed · 1.108 (12% of max) http.request({ url: '/api', success: function(data) { } }); passed · 1.458 (16% of max) var onSuccess = function(response) { processData(response); }; failed · 2.553 (28% of max) document.getElementById('click').addEventListener('click', function(e) { }); failed · 3.054 (34% of max) myPromise.then(function(result) { console.log(result); }); failed · 0.191 (2% of max) try { const response = await fetch('/api/secure'); } catch (e) { } failed · 1.329 (15% of max) async function login(password) { const result = await api.login(password); return result; } failed · 1.587 (18% of max) WebSocket.onopen = function() { console.log('Connected'); }; passed · 2.515 (28% of max) req.on('success', function(data) { handle(data); }); passed · 2.850 (32% of max) getUser().then(user => { if (user.password) { checkAuth(user.password); } }); passed · 5.217 (58% of max) socket.emit('password', data, function(err) { if (err) logout(); }); 0 max 8.97
passed failed Each probe's peak positive-pole strength. The shaded side of the line counts as active. Hover a dot for its prompt.
All 25 probes
TestInputExpectedObserved
✓ hard negative var result = myFunction('success');
Hard negative targeting token identity shortcut. The peak token 'success' appears here without any callback context, function registration, or async continuation pattern.
inactive 0.776
✓ hard negative if (user.password === 'correct') { authenticate(); }
Hard negative targeting punctuation shortcut. Contains 'password' token and the exact string '.success(' pattern, but it's a condition check (if statement), not a callback/event handler registration.
inactive 0.674
✓ hard negative function success(data) { console.log(data); }
Hard negative targeting 'any function' shortcut. Contains the peak token 'success' as a function name in the body of a regular function call, not as part of a callback registration pattern.
inactive 0.778
✗ hard negative document.getElementById('click').addEventListener('click', function(e) { });
Hard negative targeting 'any callback' shortcut. Contains 'click' token and callback syntax, but this is an event listener attached directly to an element, not a jQuery-style callback registration with a marker token.
inactive 2.553
✓ hard negative String.class callback method
Hard negative targeting token identity and syntax shortcut. Contains 'String.class' and 'callback' as separate tokens with a generic space-separated pattern, but no actual function call, continuation marker, or callback registration.
inactive 0.364
✓ hard negative var onSuccess = function(response) { processData(response); };
Hard negative targeting token identity shortcut. Uses 'onSuccess' variable naming and function syntax similar to the hypothesis, but this is a standalone function assignment without any call to register the callback, no callback/event context.
inactive 1.458
✓ hard negative http.request({ url: '/api', success: function(data) { } });
Hard negative targeting 'any call expression' shortcut. Contains '.success(' as an option property, not a method call marker or continuation point. The hypothesis relies on the '.success(' being at a specific boundary in a call expression.
inactive 1.108
✗ hard negative myPromise.then(function(result) { console.log(result); });
Hard negative targeting language/framework mismatch. Uses JavaScript Promise pattern with .then() instead of .success(), but still represents an async continuation point. Tests if the hypothesis is overly specific to the callback/event handler patterns shown in examples.
inactive 3.054
✓ hard negative function callback() { return true; }
Hard negative targeting function name shortcut. Contains 'callback' as a standalone function definition, not as part of a callback registration or continuation pattern.
inactive 0.625
✓ hard negative POST /api/endpoint
Hard negative targeting HTTP/URL context shortcut. Contains 'POST' and 'endpoint' but no callback, event handler, or continuation marker. Tests if the hypothesis is over-indexing on HTTP/URL patterns from examples.
inactive 0.597
✓ positive holdout req.on('success', function(data) { handle(data); });
Positive holdout testing offshoot variant. Similar to Node.js stream handlers but with a success event instead of data. If the hypothesis commits to event handler patterns broadly, this should activate.
active 2.515
✗ positive holdout WebSocket.onopen = function() { console.log('Connected'); };
Positive holdout testing offshoot variant. Uses WebSocket event handler pattern (onopen) with function assignment, not a callback parameter. If the hypothesis commits to event handlers broadly, this should activate.
active 1.587
✗ positive holdout async function login(password) { const result = await api.login(password); return result; }
Positive holdout testing offshoot variant. Async function using await syntax with password parameter. If the hypothesis generalizes to async/await patterns, this should activate.
active 1.329
✗ positive holdout try { const response = await fetch('/api/secure'); } catch (e) { }
Positive holdout testing offshoot variant. Contains 'secure' path and async fetch call. If the hypothesis extends to security-related async operations, this should activate.
active 0.191
✓ positive holdout getUser().then(user => { if (user.password) { checkAuth(user.password); } });
Positive holdout testing offshoot variant. Async chain with password check pattern. Combines async continuation (then) with security token in callback body. If the hypothesis covers async operations with security tokens, this should activate.
active 2.850
✓ positive holdout socket.emit('password', data, function(err) { if (err) logout(); });
Positive holdout testing offshoot variant. Emits password parameter with a callback. Tests if the hypothesis extends to socket.io patterns and password as event data.
active 5.217
✗ counterfactual http.post('ajax/getQuiz.php').success(function(data) { console.log(data); }); -> http.post('ajax/getQuiz.php').success(data); Δ -0.50 Δ 0.00
✗ counterfactual aq.ajax(url, String.class, new AjaxCallback<String>() { callback(String url, String html, AjaxStatus status) { } }); -> aq.ajax(url, String.class); Δ -0.70 Δ 0.00
✗ counterfactual $(x).click(function (e) { e.preventDefault(); }); -> $(x).click(); Δ -0.60 Δ -0.00
✗ counterfactual this->model->login($_POST['email'], $_POST['password']); -> this->model->login($_POST['email'], $_POST['username']); Δ -0.30 Δ 0.06
✗ counterfactual this->model->login($_POST['email'], $_POST['password']); -> this->model->login($_POST['password'], $_POST['email']); Δ -0.20 Δ -0.07
✗ counterfactual vcsDetector.autoDetectVcsMappings(true); -> vcsDetector.autoDetectVcsMappings(false); Δ -0.15 Δ 0.00
✓ counterfactual response = session.post(url, data=payload, timeout=15); -> response = session.get(url, data=payload, timeout=15); Δ -0.05 Δ -0.01
✗ counterfactual $query->execute($params)->setMaxResults(25)->fetchAll(); -> $query->execute($params)->fetchAll(); Δ -0.10 Δ 0.00
✓ lookahead consistency http.post('ajax/getQuiz.php').success(function(data) { console.log(data); });; aq.ajax(url, String.class, new AjaxCallback<String>() { callback(String url, String html, AjaxStatus status) { } });; $(x).click(function (e) { e.preventDefault(); });; this->model->login($_POST['email'], $_POST['password']);; this->model->login($_POST['email'], $_POST['password']);; vcsDetector.autoDetectVcsMappings(true);; response = session.post(url, data=payload, timeout=15);; $query->execute($params)->setMaxResults(25)->fetchAll();
claimed retrospective; measured retrospective (KL=0.001981, tokens=[',', 'done', ' function', '(function', "'],"])

Minimal pairs

Pair 5 Sufficiency: 0.94 · effect 0.000252 (matched |effect| median 2.35e-05, max 0.00058) this->model->login($_POST['email'], $_POST['password']); → this->model->login($_POST['password'], $_POST['email']); Necessity: 1.00 · effect 0.000205 (matched |effect| median 7.64e-06, max 8.43e-05) this->model->login($_POST['email'], $_POST['password']); → this->model->login($_POST['password'], $_POST['email']); Median (score) Sufficiency: 0.94 · median of 1 pairs 0.94 Necessity: 1.00 · median of 1 pairs 1.00 0.5 = a typical matched neuron 0 0.25 0.5 0.75 1
sufficiency (clean → corrupted) necessity (corrupted → clean) Hover a bar for its effect and prompts.
#Base → counterfactualExpected ΔObserved ΔSufficiencyNecessity
1 http.post('ajax/getQuiz.php').success(function(data) { console.log(data); });
→ http.post('ajax/getQuiz.php').success(data);
-0.50 0.00 — —
2 aq.ajax(url, String.class, new AjaxCallback<String>() { callback(String url, String html, AjaxStatus status) { } });
→ aq.ajax(url, String.class);
-0.70 0.00 — —
3 $(x).click(function (e) { e.preventDefault(); });
→ $(x).click();
-0.60 -0.00 — —
4 this->model->login($_POST['email'], $_POST['password']);
→ this->model->login($_POST['email'], $_POST['username']);
-0.30 0.06 — —
5 this->model->login($_POST['email'], $_POST['password']);
→ this->model->login($_POST['password'], $_POST['email']);
-0.20 -0.07 0.94
effect 0.000252
matched 2.35e-05 / 0.00058
1.00
effect 0.000205
matched 7.64e-06 / 8.43e-05
6 vcsDetector.autoDetectVcsMappings(true);
→ vcsDetector.autoDetectVcsMappings(false);
-0.15 0.00 — —
7 response = session.post(url, data=payload, timeout=15);
→ response = session.get(url, data=payload, timeout=15);
-0.05 -0.01 — —
8 $query->execute($params)->setMaxResults(25)->fetchAll();
→ $query->execute($params)->fetchAll();
-0.10 0.00 — —
Read more

Δ is the base prompt's peak positive-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 1 non-control pairs, on next-token KL. Median effect 0.000252 (sufficiency) and 0.000205 (necessity). In the table, each cell gives the percentile, the pole's signed effect, and the matched neurons' median and largest |effect|, in nats of KL. Self-repair (the hydra effect) was mitigated by freezing downstream MLP outputs.

Top-activating examples

Hover a token for its value.

  1. 8.97 … .logout();↵}↵getQuiz(); // Load all available campaigns ↵function getQuiz(campID){ ↵ $http.post("js/ajax/getQuiz.php").success(function(data){↵ $scope.quizzes = …
    All 492 tokens

    </div>↵↵ <div class="col-sm-3" ng-controller="quizCtrl"> **Controller B**↵ <select ng-click="getQuizByCampID($('#selCampID').val())" class="form-control" ng-model="quizInput">↵ <option ng-controller="quizCtrl" ng-repeat="quiz in quizzesById" value="{{quiz.quiz_id}}">{{quiz.quiz_name}}</option> ↵ </select>↵ </div>↵↵App.js↵var app= angular.module('myApp', ['ngRoute']);↵app.config(['$routeProvider', function($routeProvider) {↵ $routeProvider.when('/price', {templateUrl: 'partials/price.html', controller: 'priceCtrl'});↵}]);↵↵$routeProvider.when('/price', {templateUrl: 'partials/price.html', controller: 'priceCtrl'});↵↵Quiz Controller↵'use strict';↵↵app.controller('quizCtrl', ['$scope','$http','loginService', function($scope,$http,loginService){↵$scope.txt='Quiz';↵$scope.logout=function(){↵ loginService.logout();↵}↵getQuiz(); // Load all available campaigns ↵function getQuiz(campID){ ↵ $http.post("js/ajax/getQuiz.php").success(function(data){↵ $scope.quizzes = data;↵ //console.log(data);↵ });↵};↵ $scope.getQuizByCampID = function (campid) {↵ alert(campid);↵$http.post("js/ajax/getQuiz.php?campid="+campid).success(function(data){↵ $scope.quizzesById = data;↵ $scope.QuizInput = "";↵ });↵ };↵↵ $scope.addQuiz = function (quizid, quizname, campid) { ↵ console.log(quizid + quizname + campid); ↵ $http.post("js/ajax/addQuiz.php?quizid="+quizid+"&quizname="+quizname+"&campid="+campid).success(function(data){↵↵ getQuiz();↵ $scope.QuizInput = "";↵});↵ };↵↵}])↵↵A:↵↵You should store the value in a service.↵example: ↵app.factory('SharedService', function() {↵ this.inputValue = null;↵↵ this.setInputValue = function(value) {↵ this.inputValue = value;↵ }↵↵ this.getInputValue = function() {↵ return this.inputValue;↵ }↵↵ return this;↵});↵↵Example on Plunkr↵Read: AngularJS Docs on services↵or check

    Values
    TokenPositive-pole strength
    .logout4.151
    ();↵0.422
    }↵0.000
    get0.249
    Quiz0.349
    ();0.409
    //0.000
    Load0.086
    all0.050
    available0.002
    campaigns0.000
    ↵0.155
    function0.000
    get0.008
    Quiz0.139
    (c0.448
    amp0.374
    ID0.900
    ){0.493
    ↵0.000
    0.573
    $0.473
    http1.046
    .post0.046
    ("0.000
    js0.000
    /ajax0.000
    /get0.000
    Quiz0.000
    .php0.490
    ").8.965
    success3.813
    (function0.888
    (data0.422
    ){↵0.103
    0.532
    $0.641
    scope0.014
    .qu0.000
    izzes0.287
    =0.000
  2. 4.49 … tried the following code to access my PHP page:↵String url = "http://mypage.example.com/test.php?name="+data;↵aq.ajax(url, String.class, new AjaxCallback<String>() {↵↵ …
    All 369 tokens

    Q:↵↵AndroidQuery ajax doesn't call php page when page contains IFRAME↵↵I tried the following code to access my PHP page:↵String url = "http://mypage.example.com/test.php?name="+data;↵aq.ajax(url, String.class, new AjaxCallback<String>() {↵↵ @Override↵ public void callback(String url, String html, AjaxStatus status) {↵ Log.w(Tags.DEBUG,String.valueOf(status.getCode()));↵ }↵↵});↵↵My PHP page writes a file if the call was made. When I use the URL inside a browser, the file is created. When I use my Android app, nothing happens, the status code is 200. What else should I set?↵UPDATE:↵The source of my page:↵<html>↵ <head>↵ <title>MY WEBSITE</title>↵ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>↵ <frameset rows="92, *" frameborder=NO border=1 framespacing=0 cols=*>↵ <frame name="topFrame" scrolling=NO noresize src="http://example.com/ads.php?ad=user12&cat=16" frameborder=NO>↵ <frame name="user" src="http://example.com/user12/test.php" scrolling=auto>↵ </frameset>↵ <noframes>↵ <body bgcolor=#FFFFFF text=#000000>↵ <a href="http://example.com/user12/test.php">http://example.com/user12/test.php</a>↵ </body>↵ </noframes>↵ </html>↵↵A:↵↵It seems that the web page was the problem, it sent back its source code and there was an IFRAME in it. ↵↵

    Values
    TokenPositive-pole strength
    tried0.000
    the0.000
    following0.018
    code0.019
    to0.000
    access0.000
    my0.000
    PHP0.000
    page0.000
    :↵0.000
    String0.000
    url0.608
    =0.000
    "0.000
    http0.000
    ://0.000
    myp0.000
    age0.181
    .example0.000
    .com0.000
    /test0.000
    .php0.395
    ?0.323
    name0.139
    ="+0.000
    data0.389
    ;↵0.000
    aq0.000
    .ajax0.453
    (url3.765
    ,4.491
    String0.645
    .class1.346
    ,3.772
    new1.372
    Ajax0.286
    Callback0.316
    <String0.000
    >()1.023
    {↵↵0.241
    0.930
  3. 3.82 … _ROOTS, listener)↵↵ if (vcsDetector.vcsManager.needAutodetectMappings()) {↵ vcsDetector.autoDetectVcsMappings(true)↵ }↵ }↵ }↵↵ private …
    All 371 tokens

    {↵ if (ApplicationManager.getApplication().isUnitTestMode) {↵ throw ExtensionNotApplicableException.INSTANCE↵ }↵ }↵↵ override fun runActivity(project: Project) {↵ val vcsDetector = project.service<ModuleVcsDetector>()↵↵ val listener = vcsDetector.MyModulesListener()↵ val busConnection = project.messageBus.connect()↵ busConnection.subscribe(ProjectTopics.MODULES, listener)↵ busConnection.subscribe(ProjectTopics.PROJECT_ROOTS, listener)↵↵ if (vcsDetector.vcsManager.needAutodetectMappings()) {↵ vcsDetector.autoDetectVcsMappings(true)↵ }↵ }↵ }↵↵ private inner class MyModulesListener : ModuleRootListener, ModuleListener {↵ private val myMappingsForRemovedModules: MutableList<VcsDirectoryMapping> = mutableListOf()↵↵ override fun beforeRootsChange(event: ModuleRootEvent) {↵ myMappingsForRemovedModules.clear()↵ }↵↵ override fun rootsChanged(event: ModuleRootEvent) {↵ myMappingsForRemovedModules.forEach { mapping -> vcsManager.removeDirectoryMapping(mapping) }↵ // the check calculates to true only before user has done any change to mappings, i.e. in case modules are detected/added automatically↵ // on start etc (look inside)↵ if (vcsManager.needAutodetectMappings()) {↵ autoDetectVcsMappings(false)↵ }↵ }↵↵ override fun moduleAdded(project: Project, module: Module) {↵ myMappingsForRemovedModules.removeAll(getMappings(module))↵ autoDetectModuleVcsMapping(module)↵ }↵↵ override fun beforeModuleRemoved(project: Project, module: Module) {↵ myMappingsForRemovedModules.addAll(getMappings(module))↵ }↵ }↵↵ private fun autoDetectVcsMappings(tryMapPieces: Boolean) {↵ if (vcsM

    Values
    TokenPositive-pole strength
    _ROOT0.000
    S0.000
    ,1.004
    listener0.218
    )↵↵0.000
    0.000
    if0.017
    (0.030
    v0.000
    cs0.000
    Detector0.000
    .v0.000
    cs0.054
    Manager0.000
    .0.000
    need0.000
    Aut0.000
    od0.000
    etect0.000
    Mappings0.132
    ())0.000
    {↵0.000
    0.000
    v0.000
    cs0.552
    Detector0.000
    .auto0.000
    Detect0.226
    V0.000
    cs1.938
    Mappings3.817
    (true1.467
    )↵0.012
    0.003
    }↵0.063
    0.000
    }↵0.000
    0.000
    }↵↵0.000
    0.000
    private0.000
  4. 3.53 … press the back button, the .wrapper is still faded out. (Perhaps a cache thing?)↵function fadeAndGo(x) {↵↵ $(x).click(function (e) {↵ e.preventDefault();↵ …
    All 312 tokens

    Q:↵↵Page transitions, depending on URL↵↵This code fades each page out, before going to the URL's destination. However, there are some instances where the user doesn't go to a new page, but goes to a PDF in the browser, or it opens the default mail application. On Safari it seems, if you go to an external site (www.twitter.com) and press the back button, the .wrapper is still faded out. (Perhaps a cache thing?)↵function fadeAndGo(x) {↵↵ $(x).click(function (e) {↵ e.preventDefault();↵ var href = this.href;↵ $('.wrapper').fadeOut(function(){↵ window.location = href;↵↵ });↵ // $('.wrapper').delay()fadeIn();↵ });↵}↵↵fadeAndGo('a');↵↵Is it possible to either:↵↵Fade out, only if the URL does not contain 'PDF, mailto', or is an external link?↵Fade in after a certain amount of time (it faded out, but faded back in after a couple of seconds, in case it was a PDF/mailto).↵↵A:↵↵Try this:↵function fadeAndGo(x) {↵ $(x).click(function (e) {↵ e.preventDefault();↵ var href = $(this).attr("href");↵ if (!/PDF|mailto/gi.test(href)) {↵ $('.wrapper').fadeOut(function () {↵ window.location = href;↵ }).delay(2000).fadeIn();↵ } else {↵ window.location = href;↵ }↵ });↵}↵↵fadeAndGo('a');↵↵

    Values
    TokenPositive-pole strength
    press0.000
    the0.000
    back0.000
    button0.000
    ,0.009
    the0.051
    .0.000
    wrapper0.000
    is0.000
    still0.000
    faded0.000
    out0.000
    .0.000
    (0.067
    Perhaps0.154
    a0.119
    cache0.000
    thing0.000
    ?)↵0.000
    function0.023
    fade0.000
    And0.000
    Go0.000
    (x0.000
    )0.492
    {↵↵0.000
    0.063
    $(0.834
    x1.568
    ).2.118
    click3.534
    (function0.233
    (0.785
    e0.000
    )0.265
    {↵0.000
    0.000
    e0.509
    .preventDefault0.217
    ();↵0.000
    0.114
  5. 3.18 … AND isset($_POST['email']) AND isset($_POST['password'])) {↵ $this->model->login($_POST['email'], $_POST['password']);↵ }↵}↵↵A:↵↵Não foi explicito …
    All 512 tokens

    Q:↵↵Como passar objetos entre controllers no MVC utilizando POO↵↵Basicamente, eu preciso que ser o login for bem sucedido salvar o nome de usuário em uma variável e utilizar-lá em outro controller.↵Model.php:↵ public function login($email, $password) {↵ session_start();↵↵ $sql = "SELECT * FROM users WHERE email = :email AND password= :password;";↵ $query = $this->db->prepare($sql);↵↵ $parameters = array(':email' => $email, ':password' => $password);↵ $query->execute($parameters);↵ $rows = $query->fetch(PDO::FETCH_NUM);↵↵ if($rows > 0) {↵ header ("Location: " . URL . "home");↵ } else {↵ exit ('Email or password incorrect');↵ }↵}↵↵Controller.php ↵ public function login() {↵ if (isset($_POST['login_submit']) AND isset($_POST['email']) AND isset($_POST['password'])) {↵ $this->model->login($_POST['email'], $_POST['password']);↵ }↵}↵↵A:↵↵Não foi explicito mas parece que você quer que seja mandado por session. Sendo assim você pode simplesmente setar na sessão e pegar de volta no outro controle.↵<?php↵// declaração da classe Pessoa↵class Pessoa {↵ public $nome;↵}↵↵// No Controller que envia os parametros↵session_start();↵$joao = new Pessoa();↵$joao->nome = "João";↵$_SESSION['pessoa'] = $joao;↵↵// No Controller que recebe os dados↵session_start();↵$joao = $_SESSION['pessoa'];↵print_r($joao);↵↵Ou se quiser padronizar isso e jogar no paradigma de orientação a objetos↵<?php↵↵// controller que envia ↵$joao = new Pessoa();↵$joao->nome = "João";↵SessionUtils::setPropriedade('pessoa', $joao);↵↵// controller que recebe ↵$joao = SessionUtils::getPropriedadeLimpar('pessoa');↵print_r($joao);↵↵// declaração da classe Pessoa↵class Pessoa {↵ public $nome;↵}↵↵// classe util para a sessão↵class SessionUtils {↵↵ private static $BASE_PROPRIEDADES = "props";↵↵ /**↵ * Pega uma propriedade da sessão ↵ * @return a propriedade ou null se

    Values
    TokenPositive-pole strength
    AND0.000
    isset0.036
    ($_0.463
    POST0.334
    ['0.149
    email0.000
    '])0.024
    AND0.000
    isset0.018
    ($_0.364
    POST0.136
    ['0.113
    password0.000
    ']))0.431
    {↵0.000
    0.134
    $0.129
    this0.024
    ->0.000
    model0.392
    ->0.659
    login0.100
    ($_0.000
    POST0.817
    ['0.000
    email0.064
    '],0.599
    $_0.293
    POST0.286
    ['0.004
    password3.183
    ']);↵0.255
    0.182
    }↵0.000
    }↵↵0.000
    A0.000
    :↵↵0.138
    Não0.000
    foi0.037
    explicit0.000
    o0.043
  6. 2.93 'use strict';↵angular.module("ngLocale", [], ["$provide", function($provide) {↵var PLURAL_CATEGORY = …
    All 512 tokens

    'use strict';↵angular.module("ngLocale", [], ["$provide", function($provide) {↵var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};↵function getDecimals(n) {↵ n = n + '';↵ var i = n.indexOf('.');↵ return (i == -1) ? 0 : n.length - i - 1;↵}↵↵function getVF(n, opt_precision) {↵ var v = opt_precision;↵↵ if (undefined === v) {↵ v = Math.min(getDecimals(n), 3);↵ }↵↵ var base = Math.pow(10, v);↵ var f = ((n * base) | 0) % base;↵ return {v: v, f: f};↵}↵↵$provide.value("$locale", {↵ "DATETIME_FORMATS": {↵ "AMPMS": [↵ "Dinda",↵ "Dilolo"↵ ],↵ "DAY": [↵ "Lumingu",↵ "Nkodya",↵ "Nd\u00e0ay\u00e0",↵ "Ndang\u00f9",↵ "Nj\u00f2wa",↵ "Ng\u00f2vya",↵ "Lubingu"↵ ],↵ "MONTH": [↵ "Ciongo",↵ "L\u00f9ishi",↵ "Lus\u00f2lo",↵ "M\u00f9uy\u00e0",↵ "Lum\u00f9ng\u00f9l\u00f9",↵ "Lufuimi",↵ "Kab\u00e0l\u00e0sh\u00ecp\u00f9",↵ "L\u00f9sh\u00eck\u00e0",↵ "Lutongolo",↵ "Lung\u00f9di",↵ "Kasw\u00e8k\u00e8s\u00e8",↵ "Cisw\u00e0"↵ ],↵ "SHORTDAY": [↵ "Lum",↵ "Nko",↵ "Ndy",↵ "Ndg",↵ "Njw",↵ "Ngv",↵ "Lub"↵ ],↵ "SHORTMONTH": [↵ "

    Values
    TokenPositive-pole strength
    'use0.000
    strict0.385
    ';↵0.082
    angular0.168
    .module0.000
    ("0.000
    ng0.000
    Locale0.000
    ",0.181
    [],2.831
    ["0.000
    $0.109
    provide0.000
    ",2.925
    function0.717
    ($0.161
    provide0.000
    )0.124
    {↵0.000
    var0.076
    PL0.000
    URAL0.000
    _CATEGORY0.000
    =0.068
  7. 2.74 … > = mutableMapOf()↵↵ fun getMultiRule(): MultiRule {↵ val rules = mutableListOf<String>()↵↵ val ruleProperties = rulesVisitor.ruleProperties↵ .mapNotNull { properties[it] }↵ …
    All 512 tokens

    package io.gitlab.arturbosch.detekt.generator.collection↵↵import io.gitlab.arturbosch.detekt.api.DetektVisitor↵import io.gitlab.arturbosch.detekt.generator.collection.exception.InvalidDocumentationException↵import io.gitlab.arturbosch.detekt.rules.isOverride↵import org.jetbrains.kotlin.psi.KtCallExpression↵import org.jetbrains.kotlin.psi.KtClassOrObject↵import org.jetbrains.kotlin.psi.KtFile↵import org.jetbrains.kotlin.psi.KtProperty↵import org.jetbrains.kotlin.psi.KtReferenceExpression↵import org.jetbrains.kotlin.psi.KtSuperTypeList↵import org.jetbrains.kotlin.psi.KtValueArgumentList↵import org.jetbrains.kotlin.psi.psiUtil.containingClass↵import org.jetbrains.kotlin.psi.psiUtil.referenceExpression↵↵data class MultiRule(↵ val name: String,↵ val rules: List<String> = listOf()↵) {↵↵ operator fun contains(ruleName: String) = ruleName in this.rules↵}↵↵private val multiRule = io.gitlab.arturbosch.detekt.api.MultiRule::class.simpleName ?: ""↵↵class MultiRuleCollector : Collector<MultiRule> {↵ override val items = mutableListOf<MultiRule>()↵↵ override fun visit(file: KtFile) {↵ val visitor = MultiRuleVisitor()↵ file.accept(visitor)↵↵ if (visitor.containsMultiRule) {↵ items.add(visitor.getMultiRule())↵ }↵ }↵}↵↵class MultiRuleVisitor : DetektVisitor() {↵ val containsMultiRule↵ get() = classesMap.any { it.value }↵ private var classesMap = mutableMapOf<String, Boolean>()↵ private var name = ""↵ private val rulesVisitor = RuleListVisitor()↵ private val properties: MutableMap<String, String> = mutableMapOf()↵↵ fun getMultiRule(): MultiRule {↵ val rules = mutableListOf<String>()↵↵ val ruleProperties = rulesVisitor.ruleProperties↵ .mapNotNull { properties[it] }↵ rules.addAll(ruleProperties)↵ rules.addAll(rulesVisitor.ruleNames)↵↵ if (name.isEmpty()) {↵ throw InvalidDocumentationException("MultiRule without name found.")↵ }↵ if (rules.isEmpty()) {↵ throw InvalidDocumentationException("MultiRule $name contains no rules.")↵ }↵ return MultiRule(name, rules)↵ }↵↵ override fun visitSuperTypeList(list: KtSuperTypeList) {↵ val isMultiRule = list.entries↵ ?.mapNotNull { it.typeAsUserType?.referencedName }↵ ?.any { it == multiRule } ?: false↵↵ val containing

    Values
    TokenPositive-pole strength
    >0.014
    =0.000
    mutable0.000
    Map0.000
    Of0.000
    ()↵↵0.000
    0.094
    fun0.000
    get0.000
    Multi0.000
    Rule0.000
    ():0.091
    Multi0.000
    Rule0.000
    {↵0.000
    0.000
    val0.000
    rules1.102
    =0.000
    mutableListOf0.000
    <String0.000
    >()↵↵0.021
    0.404
    val0.000
    rule0.185
    Properties1.165
    =0.176
    rules0.611
    Visitor0.012
    .rule0.860
    Properties2.740
    ↵0.581
    1.459
    .2.095
    map0.106
    NotNull0.437
    {0.000
    properties0.000
    [it0.256
    ]0.048
    }↵0.502
  8. 2.71 … r' | ssh-add - > /dev/null↵↵mkdir -p ~/.ssh↵chmod 700 ~/.ssh↵↵echo "$SSH_PRIVATE_KEY" > ~/.ssh/known_hosts↵chmod 6 …
    All 512 tokens

    Q:↵↵ssh authentication failure with public/private keys↵↵I'm setting up a Continuous Deployment pipeline on gitlab.↵Unfortunately, when trying to ssh from the pipeline to the target server, the authentication fails.↵I am asking the question here because I am fairly sure the problem is unix related and not gitlab.↵Here is the setup:↵↵Using ssh-keygen I created a key pair.↵I added the public key in ~/.ssh/authorized_keys on the server.↵The private key is export in an env var 'SSH_PRIVATE_KEY' on the client server.↵permissions on the server: ~/.ssh 700, ~/.ssh/authorized_keys 600↵sshd configs on the server are all defaults.↵↵On commit, gitlab spins up a docker executor (docker image node:11.2).↵Then, those commands are executed inside the container:↵'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'↵eval $(ssh-agent -s)↵↵ ##↵ ## Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store↵ ## We're using tr to fix line endings which makes ed25519 keys work↵ ## without extra base64 encoding.↵ ## https://gitlab.com/gitlab-examples/ssh-private-key/issues/1#note_48526556↵ ##↵echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null↵↵mkdir -p ~/.ssh↵chmod 700 ~/.ssh↵↵echo "$SSH_PRIVATE_KEY" > ~/.ssh/known_hosts↵chmod 644 ~/.ssh/known_hosts↵ssh -vvv user@server↵↵I followed the instructions here: https://docs.gitlab.com/ce/ci/ssh_keys/↵Here is the output of my execution: ↵Running with gitlab-runner 11.5.0 (3afdaba6)↵ on Runner2 7eb17b67↵Using Docker executor with image node:11.2 ...↵Pulling docker image node:11.2 ...↵Using docker image sha256:e9737a5f718d8364a4bde8d82751bf0d2bace3d1b6492f6c16f1526b6e73cfa4 for node:11.2 ...↵Running on runner-7

    Values
    TokenPositive-pole strength
    r0.000
    '1.227
    |0.204
    ssh0.000
    -add0.325
    -0.025
    >0.000
    /0.000
    dev0.000
    /null0.039
    ↵↵0.000
    mkdir0.000
    -0.000
    p0.000
    ~/.0.000
    ssh0.000
    ↵0.000
    chmod0.000
    0.044
    70.000
    00.000
    00.000
    ~/.0.000
    ssh0.000
    ↵↵0.000
    echo0.071
    "$0.000
    SSH0.048
    _PRIVATE0.379
    _KEY0.660
    "2.710
    >0.000
    ~/.0.000
    ssh0.000
    /0.000
    known0.000
    _hosts0.000
    ↵0.000
    chmod0.000
    0.000
    60.000
  9. 2.35 … * innerRadius;↵ graphics.lineTo(x, y);↵ rot += step;↵ }↵↵ graphics.lineTo(cx, cy - outerRadius);↵ graphics.closePath();↵ graphics.fillPath();↵ graphics.strokePath …
    All 413 tokens

    var config = {↵ type: Phaser.AUTO,↵ parent: 'phaser-example',↵ width: 800,↵ height: 600,↵ scene: {↵ create: create↵ },↵};↵↵var game = new Phaser.Game(config);↵↵function create() {↵↵ var graphics = this.add.graphics();↵↵ drawStar(graphics, 100, 300, 4, 50, 50 / 2, 0xffff00, 0xff0000);↵ drawStar(graphics, 400, 300, 5, 100, 100 / 2, 0xffff00, 0xff0000);↵ drawStar(graphics, 700, 300, 6, 50, 50 / 2, 0xffff00, 0xff0000);↵}↵↵function drawStar (graphics, cx, cy, spikes, outerRadius, innerRadius, color, lineColor)↵{↵ var rot = Math.PI / 2 * 3;↵ var x = cx;↵ var y = cy;↵ var step = Math.PI / spikes;↵↵ graphics.lineStyle(4, lineColor, 1);↵ graphics.fillStyle(color, 1);↵ graphics.beginPath();↵ graphics.moveTo(cx, cy - outerRadius);↵↵ for (i = 0; i < spikes; i++)↵ {↵ x = cx + Math.cos(rot) * outerRadius;↵ y = cy + Math.sin(rot) * outerRadius;↵ graphics.lineTo(x, y);↵ rot += step;↵↵ x = cx + Math.cos(rot) * innerRadius;↵ y = cy + Math.sin(rot) * innerRadius;↵ graphics.lineTo(x, y);↵ rot += step;↵ }↵↵ graphics.lineTo(cx, cy - outerRadius);↵ graphics.closePath();↵ graphics.fillPath();↵ graphics.strokePath();↵}↵

    Values
    TokenPositive-pole strength
    *0.000
    inner0.081
    Radius0.031
    ;↵0.000
    0.000
    graphics0.000
    .lineTo0.000
    (x0.000
    ,0.000
    y0.000
    );↵0.000
    0.000
    rot0.000
    +=0.000
    step0.000
    ;↵0.000
    0.000
    }↵↵0.000
    0.000
    graphics0.160
    .lineTo0.000
    (cx0.000
    ,0.000
    cy0.000
    -0.000
    outer0.000
    Radius0.000
    );↵0.000
    0.000
    graphics0.259
    .closePath2.353
    ();↵0.024
    0.034
    graphics0.326
    .fill0.505
    Path0.717
    ();↵0.000
    0.000
    graphics0.166
    .stroke0.115
    Path0.312
  10. 2.25 … igrate dependency from dbmigrate initially.↵ * This enables us to not have to rely on NODE_PATH.↵ */↵exports.setup = function (options, seedLink) {↵ dbm = options.db …
    All 256 tokens

    'use strict';↵↵var dbm;↵var type;↵var seed;↵↵/**↵ * We receive the dbmigrate dependency from dbmigrate initially.↵ * This enables us to not have to rely on NODE_PATH.↵ */↵exports.setup = function (options, seedLink) {↵ dbm = options.dbmigrate;↵ type = dbm.dataType;↵ seed = seedLink;↵};↵↵exports.up = function (db) {↵ return Promise.all([↵ db.runSql('UPDATE office SET name = \'Office of Brazil and Southern Cone (WHA/BSC)\' where name=\'Office of Brail and Southern Cone (WHA/BSC)\''),↵ db.runSql('UPDATE office SET name = \'U.S. Embassy La Paz\' where name=\'U.S. Embassy LaPaz\''),↵↵ ]);↵};↵↵exports.down = function (db) {↵ return Promise.all([↵ db.runSql('UPDATE office SET name = \'Office of Brail and Southern Cone (WHA/BSC)\' where name=\'Office of Brazil and Southern Cone (WHA/BSC)\''),↵ db.runSql('UPDATE office SET name = \'U.S. Embassy LaPaz\' where name=\'U.S. Embassy La Paz\''),↵↵ ]);↵};↵↵↵

    Values
    TokenPositive-pole strength
    igrate0.000
    dependency0.017
    from0.000
    db0.000
    m0.000
    igrate0.000
    initially0.000
    .↵0.009
    0.005
    *0.153
    This0.028
    enables0.317
    us0.202
    to0.173
    not0.000
    have0.000
    to0.000
    rely0.000
    on0.000
    NODE0.000
    _PATH0.002
    .↵0.000
    0.000
    */↵0.000
    exports0.000
    .setup0.063
    =0.314
    function0.191
    (0.668
    options0.586
    ,2.251
    seed0.266
    Link0.451
    )0.530
    {↵0.000
    0.000
    db0.291
    m0.000
    =0.083
    options0.000
    .db0.343
  11. 2.19 … dialogBuilder.setTitle(title);↵ if (!TextUtils.isEmpty(message)) {↵ dialogBuilder.setMessage(message);↵ }↵↵ dialogBuilder.setPositiveButton(getString(android.R.string.ok), (dialog, which) -> {↵ if (_ …
    All 314 tokens

    ) {↵ WrConfirmDialog confirmDialog = new WrConfirmDialog();↵ Bundle args = new Bundle();↵ args.putSerializable(EXTRA_DATA, data);↵ args.putString(EXTRA_TITLE, title);↵ args.putString(EXTRA_MESSAGE, message);↵ confirmDialog.setArguments(args);↵ confirmDialog.setCallbacks(callbacks);↵ return confirmDialog;↵ }↵↵ public void setCallbacks(ConfirmDialogCallback[] callbacks) {↵ _callbacks = callbacks;↵ }↵↵ @Override↵ @NonNull↵ public Dialog onCreateDialog(Bundle savedInstanceState) {↵ String title = getArguments().getString(EXTRA_TITLE);↵ String message = getArguments().getString(EXTRA_MESSAGE);↵ _data = getArguments().getSerializable(EXTRA_DATA);↵↵ AlertDialog.Builder dialogBuilder;↵ boolean darkTheme = AppSettings.get().isDarkThemeEnabled();↵ dialogBuilder = new AlertDialog.Builder(getActivity(), darkTheme ?↵ R.style.Theme_AppCompat_Dialog : R.style.Theme_AppCompat_Light_Dialog);↵↵ dialogBuilder.setTitle(title);↵ if (!TextUtils.isEmpty(message)) {↵ dialogBuilder.setMessage(message);↵ }↵↵ dialogBuilder.setPositiveButton(getString(android.R.string.ok), (dialog, which) -> {↵ if (_callbacks != null) {↵ for (ConfirmDialogCallback cdc : _callbacks) {↵ if (cdc != null) {↵ cdc.onConfirmDialogAnswer(true, _data);↵ }↵ }↵ }↵ });↵↵ dialogBuilder.setNegativeButton(getString(R.string.cancel), (dialog, which) -> {↵ dialog.dismiss();↵ for (ConfirmDialogCallback cdc : _cal

    Values
    TokenPositive-pole strength
    dialog0.464
    Builder0.579
    .setTitle0.000
    (title0.378
    );↵0.000
    0.000
    if0.030
    (!0.000
    TextUtils0.000
    .isEmpty0.000
    (message0.000
    ))0.000
    {↵0.000
    0.000
    dialog0.000
    Builder0.138
    .setMessage0.000
    (message0.407
    );↵0.000
    0.000
    }↵↵0.082
    0.109
    dialog0.640
    Builder0.749
    .setPositiveButton0.363
    (getString0.000
    (android0.057
    .R0.085
    .string0.126
    .ok0.114
    ),2.188
    (0.837
    dialog0.000
    ,0.448
    which0.000
    )1.264
    ->0.383
    {↵0.000
    0.427
    if0.103
    (_0.132
  12. 2.02 … .length == 0) {↵ new_file = new FileOutputStream("C:\\test\\RTR_ZIP\\" + name);↵ client.retrieveFile(name, new_file);↵ j++;↵ exists=true;↵ …
    All 512 tokens

    Q:↵↵How to check if file exist when downloading from FTP↵↵I'm downloading from FTP server and I don't know exactly how to check if file already exist. What I want to do is that I retrieve filname from FTP server and then compare it with all files in folder. If file already exists then it compares next FTP filename with all files in folder and so on. ↵I already did comparison and it's working if all files from folder have same name as files on FTP server but if I add some older file then it downloads all files once again and I don't want that. ↵Here is my scratch code:↵String[] names = client.listNames();↵ File folder = new File("c:\\test\\RTR_ZIP\\");↵ String[] filename = folder.list();↵↵ for (;i<names.length;i++) {↵ name = names[i];↵↵ exists=false;↵↵ if (name.contains(".zip")) {↵↵ if (filename.length == 0) {↵ new_file = new FileOutputStream("C:\\test\\RTR_ZIP\\" + name);↵ client.retrieveFile(name, new_file);↵ j++;↵ exists=true;↵ } else {↵ for (;k<filename.length;k++) {↵ name = names[i];↵ i++;↵ name1=filename[k];↵ // CHECK IF FILE EXISTS↵ if (!name.equals(name1)) {↵ new_file = new FileOutputStream("C:\\test\\RTR_ZIP\\" + name);↵ client.retrieveFile(name, new_file);↵ j++;↵ exists=true;↵ } ↵ }↵ }//else↵ }//if contains .zip↵ }//for↵↵Thanks in advance. ↵↵A:↵↵If your ftp server supports XCRC command it could be possible to compare checksum (CRC32) of local and remote file.↵You could iterate all files in the folder and compare its crc with local one.↵import java.io.File;↵import java.io.IOException;↵import java.net.SocketException;↵import java.util.Scanner;↵↵import org.apache.commons.io.FileUtils;↵import org.apache.commons.net.ftp.FTPClient;↵↵public class DownloadFile {↵↵ private FTPClient client = new FTPClient();↵↵ public void connect() throws SocketException, IOException {↵ client.connect("127.0.0.1");↵ client.login("user", "password");↵ }↵↵ public boolean hasXCRCSupport() throws IOException {↵ client.sendCommand("feat");↵ String response = client.getReplyString();↵ Scanner scanner = new Scanner(response);↵ while(scanner.hasNextLine

    Values
    TokenPositive-pole strength
    .length0.144
    ==0.049
    0.000
    00.000
    )0.000
    {↵0.000
    0.000
    new0.000
    _file0.395
    =0.000
    new0.008
    FileOutputStream0.000
    ("0.000
    C0.000
    :\\0.000
    test0.000
    \\0.000
    R0.000
    TR0.000
    _Z0.000
    IP0.000
    \\"0.000
    +0.000
    name0.000
    );↵0.000
    0.034
    client0.888
    .retrieve0.183
    File0.104
    (name1.767
    ,2.018
    new0.684
    _file0.205
    );↵0.000
    0.000
    j0.000
    ++;↵0.000
    0.000
    exists0.000
    =true0.000
    ;↵0.000
Read more

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

Explanation scores on held-out text

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

Read more

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

Detection
0.50
Fuzzing
—
Embedding AUROC
1.00

Detection recall by activation strength

—
0.00
—
—
—
weakeststrongest

False alarms on inactive windows: 0%.

Judge
glm-4.7-flash
Held-out windows
1 active of 4,000
Judged
2 detection · 0 fuzzing
Detection outcomes
1 missed · 0 false alarm · 0 hit · 1 correct rejection
Seed
209622040 · corpus.jsonl
Detection windows (2), the explanation's mistakes first
  1. missed 2.37 · sim 0.03 ApexPages.currentPage().getHeaders().get('Host');↵ sServerName = 'https://'+sServerName+'/';↵ String editName='/e?
  2. correct rejection 0.19 · sim 0.03 . There was no psammoma body and it had a hyperchromatic nuclei without mitotic features. Electron microscopic studies revealed no typical interdigitation but irregular

Activation and mechanism

Activation distribution

[0, 0.296): 198158 [0.296, 0.592): 1363 [0.592, 0.888): 197 [0.888, 1.18): 85 [1.18, 1.48): 36 [1.48, 1.78): 21 [1.78, 2.07): 7 [2.07, 2.37): 9 [2.37, 2.66): 1 [2.66, 2.96): 4 [2.96, 3.26): 1 [3.26, 3.55): 4 [3.55, 3.85): 4 [3.85, 4.14): 2 [4.14, 4.44): 0 [4.44, 4.73): 1 [4.73, 5.03): 0 [5.03, 5.33): 0 [5.33, 5.62): 1 [5.62, 5.92): 0 [5.92, 6.21): 0 [6.21, 6.51): 0 [6.51, 6.81): 0 [6.81, 7.1): 0 [7.1, 7.4): 1 [7.4, 7.69): 0 [7.69, 7.99): 0 [7.99, 8.29): 0 [8.29, 8.58): 0 [8.58, 8.88): 1 0.00 8.88

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

Mechanism

Claimed retrospective: responds to tokens already in context.

Input attribution

0 back
6%
1 back
4%
2–4 back
8%
5–16 back
23%
17–64 back
30%
65+ back
29%
  • #1 at ").: http-8 0.16.post-7 0.10 $-9 0.09").0 0.09.php-1 -0.05
  • #2 at ,: (url-1 0.19 url-19 0.11String-20 0.11; -4 0.08.ajax-2 -0.07
  • #3 at Mappings: .auto-4 0.17Detect-3 0.12etect-12 0.10Aut-14 0.08 -8 -0.08
  • #4 at click: click0 0.28function-11 0.11 { -5 0.11 is-22 -0.10: -105 0.08
  • #5 at password: password0 0.09->-10 -0.08model-11 0.08['-1 0.07->-12 0.06

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

Vocabulary projection

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

Jacobian lens

.callback · z = +4.46 · #1 promoted .callback _WIFI · z = +4.42 · #2 promoted _WIFI ␣callback · z = +4.41 · #3 promoted ␣callback 找了 · z = +4.32 · #4 promoted 找了 <tbody · z = +4.27 · #5 promoted <tbody ␣onSuccess · z = +4.24 · #6 promoted ␣onSuccess dataProvider · z = +3.88 · #7 promoted dataProvider _callback · z = +3.85 · #8 promoted _callback .each · z = +3.84 · #9 promoted .each /apps · z = +3.81 · #10 promoted /apps 至关 · z = -6.29 · #10 suppressed 至关 最重要的 · z = -6.37 · #9 suppressed 最重要的 ␣Important · z = -6.61 · #8 suppressed ␣Important 十分重要 · z = -6.75 · #7 suppressed 十分重要 很重要 · z = -7.30 · #6 suppressed 很重要 很重要的 · z = -7.45 · #5 suppressed 很重要的 的重要性 · z = -7.52 · #4 suppressed 的重要性 至关重要 · z = -7.74 · #3 suppressed 至关重要 尤为重要 · z = -8.39 · #2 suppressed 尤为重要 非常重要 · z = -8.40 · #1 suppressed 非常重要 -10 -5 0 +5 +10

Logit lens

.tr · z = +4.70 · #1 promoted .tr 迹 · z = +4.58 · #2 promoted 迹 ␣callback · z = +4.25 · #3 promoted ␣callback Tr · z = +4.25 · #4 promoted Tr 냄 · z = +4.13 · #5 promoted 냄 jab · z = +4.11 · #6 promoted jab .callback · z = +4.10 · #7 promoted .callback ␣successors · z = +4.08 · #8 promoted ␣successors .each · z = +4.05 · #9 promoted .each ␣experiences · z = +3.93 · #10 promoted ␣experiences zell · z = -5.02 · #10 suppressed zell fdc · z = -5.39 · #9 suppressed fdc 很重要的 · z = -5.41 · #8 suppressed 很重要的 最关键的 · z = -5.48 · #7 suppressed 最关键的 的重要性 · z = -5.53 · #6 suppressed 的重要性 很重要 · z = -5.74 · #5 suppressed 很重要 十分重要 · z = -6.08 · #4 suppressed 十分重要 至关重要 · z = -6.13 · #3 suppressed 至关重要 尤为重要 · z = -6.35 · #2 suppressed 尤为重要 非常重要 · z = -6.49 · #1 suppressed 非常重要 -10 -5 0 +5 +10
promotes suppresses Hover a bar for its value.
Values
#Jacobian lens promotessuppressesLogit lens promotessuppresses
1 .callback +4.46 非常重要 -8.40 .tr +4.70 非常重要 -6.49
2 _WIFI +4.42 尤为重要 -8.39 迹 +4.58 尤为重要 -6.35
3 callback +4.41 至关重要 -7.74 callback +4.25 至关重要 -6.13
4 找了 +4.32 的重要性 -7.52 Tr +4.25 十分重要 -6.08
5 <tbody +4.27 很重要的 -7.45 냄 +4.13 很重要 -5.74
6 onSuccess +4.24 很重要 -7.30 jab +4.11 的重要性 -5.53
7 dataProvider +3.88 十分重要 -6.75 .callback +4.10 最关键的 -5.48
8 _callback +3.85 Important -6.61 successors +4.08 很重要的 -5.41
9 .each +3.84 最重要的 -6.37 .each +4.05 fdc -5.39
10 /apps +3.81 至关 -6.29 experiences +3.93 zell -5.02

Top-10 overlap 30% · cos(w, J·w) 0.62 · kurtosis 3.9 (Jacobian) / 3.4 (logit) · 100 prompts

Read more

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

Patchscope

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

Read more

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

PromptLayer ×1×2×4
category 2 unit occupationnewspolitics
control periodemotionanimal
category 15 unit personpersonperson
control foodfoodfood
meaning 2 unit ____."in the first place" or "in the first place"to be" or "to have" in the past
control to increase the value of something. It is used to describeto be used in a positive way. It is not to"to be the subject of a verb, to be the
meaning 15 unit "not specified" or "unknown". It is used to"not specified" or "unknown". It is used to"not specified" or "unknown". It is used to
control "not specified" or "unknown". It is used to"not specified" or "unknown". It is used to"not specified" or "unknown". It is used to

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 (8.97), at every token, and decoding is greedy. Drift at ×1 or ×2 shows what the pole makes the model write. Drift only at ×4 is off-distribution. At most 24 new tokens. Taken after the proposer answered, and shown to neither agent. Reported, not gated.

The weather today is …
Ablated

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

Baseline

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

Clamped ×1

sunny and warm. The temperature is 25 degrees Celsius. If the temperature rises by 5 degrees Celsius, what

Clamped ×2

very hot. The temperature is 35℃. The temperature is ______ than the temperature today. (Choose the correct

Clamped ×4

not very good for the new baby baby girl. On the day of the baby girl's birthday, the baby girl's

I went to the shop and bought …
Ablated

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

Baseline

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

Clamped ×1

a pair of shoes for $100 and a hat for $50. I gave the cashier $20

Clamped ×2

a pair of shoes and a watch. The price of the watch was $100 and the price of the shoes

Clamped ×4

the children's baby girl girl girl girl girl girl girl girl girl girl girl girl girl girl girl girl girl girl girl girl

The best way to learn is …
Ablated

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

Baseline

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

Clamped ×1

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

Clamped ×2

to do it. The best way to learn to be a good teacher is to do it. I have taught for

Clamped ×4

a do/each failure, and the best way to learn from failure is the success. (All the success has been

Once upon a time, …
Ablated

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

Baseline

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

Clamped ×1

there was a farmer who had a big field. The field was so big that it was like a big playground for all

Clamped ×2

there was a group of friends who decided to create a fun game of "Guess the Number" together. Each friend was

Clamped ×4

the world had been told of a great and wondrous planet, and all the children and grown-up people on the world

The report concluded that …
Ablated

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

Baseline

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

Clamped ×1

the United States had a "significant" impact on the global economy, with the United States accounting for 10.

Clamped ×2

the United States had been "unprepared for the scale of the attack on the United States and the resulting response" and

Clamped ×4

the countries with the largest number of countries with the success of the development of the countries of the region and the countries with

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. Backfilled after the review by open-interpretability wiring-backfill, from the record's model revision and the review's prompts. It is not part of the record.

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 6 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
L12/N1469 gate -0.132
L14/N1565 gate +0.112
L14/N48 gate +0.112
L13/N2711 up -0.109
L14/N2598 gate +0.107
L11/N340 up +0.107
L13/N1801 gate +0.106
L13/N361 gate -0.101
L13/N522 up +0.0975
L9/N4353 up +0.0963
Upstream heads
L14/H6 gate +0.315
L10/H4 gate +0.284
L14/H1 gate +0.269
L12/H4 up +0.261
L12/H3 up +0.259
L14/H2 gate +0.255
L10/H1 up +0.247
L13/H7 gate +0.237
L10/H0 gate +0.232
L14/H5 up +0.226
Downstream neurons
L21/N567 up +0.315
L16/N2281 gate +0.217
L20/N3749 gate -0.197
L23/N2207 gate -0.177
L17/N452 gate +0.174
L19/N2111 gate -0.162
L23/N4474 gate -0.151
L17/N4241 gate -0.148
L22/N445 gate -0.145
L21/N323 gate -0.142
Downstream heads
L21/H7 v +0.276
L21/H8 v +0.276
L21/H9 v +0.276
L21/H10 v +0.276
L21/H11 v +0.276
L21/H12 v +0.276
L21/H13 v +0.276
L23/H1 q +0.273
L16/H5 q +0.239
L18/H11 q +0.238

From activations

Upstream neurons
L10/N1862 +0.482
L14/N274 +0.384
L13/N2441 +0.366
L13/N2349 +0.303
L5/N3500 +0.293
L5/N79 -0.166
L14/N3010 +0.162
L12/N546 -0.138
L7/N3974 +0.136
L5/N2706 -0.132
Upstream heads
L14/H1 -0.762
L14/H2 +0.487
L14/H6 +0.419
L6/H9 -0.276
L7/H5 +0.262
L15/H3 +0.244
L5/H1 +0.239
L11/H5 -0.232
L11/H0 +0.232
L4/H1 +0.222
Downstream neurons
L16/N2620 -1.66
L19/N4123 -1.33
L16/N737 -1.12
L16/N2281 -0.994
L23/N1121 -0.784
L17/N4783 +0.775
L23/N1396 +0.756
L19/N4075 -0.731
L19/N3562 +0.662
L19/N2294 +0.56
Downstream heads
L21/H9 v +0.26
L23/H1 v +0.255
L19/H8 v +0.165
L20/H13 v +0.164
L18/H9 v +0.134
L19/H11 v +0.11
L22/H10 v +0.107
L18/H12 v +0.107
L17/H2 q +0.101
L17/H1 v +0.0986

Covariance and confounds

Confounds

Token identity R²
0.28
Position R²
0.00
Frequency r
0.17
Best trivial baseline
token identity · 0.68
Hypothesis
0.65 ✗

success").').Propertiesremove']))Moduleswrapperpassword.SelectCommandMappings.Fill

Co-activating neuron poles

Pole Lift ≥ Both ρ r
N1574+ 25.3 10 +0.06 +0.04
N1346+ 25.3 10 -0.04 -0.02
N1232− 25.3 10 -0.02 +0.02
N2028− 25.3 10 -0.02 -0.04
N1316+ 22.1 9 +0.02 +0.04
N708+ 21.9 9 +0.09 +0.02
N2094− 21.9 9 +0.06 -0.07
N1817+ 21.9 9 -0.05 +0.02
N4853+ 21.9 9 +0.02 +0.03
N4826− 21.9 9 -0.01 -0.02
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
N1574, N1346, N1232
KL pole alone
2.58e-03
KL partners
4.09e-04
KL together
3.14e-03
Redundancy ratio
1.06

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

Run details

Submitted by
glm-4.7-flash
Reviewed by
glm-4.7-flash (same model as the proposer: not an independent review)
Reviewed at
2026-10-24 19:48 UTC
Max activation
8.9651
Selection
manual
Corpus
corpus.jsonl · 199,896 tokens · seeded sample of 477/500 docs (≤ 200,000 tokens, seed 0) · 512-token windows every 256 tokens · source NeelNanda/pile-10k@127bfedc (data/*.parquet, first 500 docs) (inferred) · licence bigscience-bloom-rail-1.0
Model revision
060db6499f32 · float32
Ran on
scan mps:0 · review mps:0
Run cost
8.5 min (slowest: proposer, 3.1 min) · 3 LLM calls