Open Interpretability Models Contributors Research Posts About

Qwen/Qwen2.5-0.5B · L15/N1604 · 20261021T061847Z

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

#2 · positive pole + REJECTED weak evidence against · 0.25 self-reviewed earlier hypothesis 2026-10-21 · 20261021T061847Z

L15/N1604+ fires at boundary tokens inside a function/method call expression in code — the last fragment of a dotted callee (e.g. `click`, `autoDetectVcsMappings`), a comma between call arguments, or the `").`/`().`/`->` link that closes a call and continues a chain — and stays near zero on prose and on punctuation in standalone arrays and if-conditions. Its firing is set by the call-in-progress prefix (retrospective), while its output direction is tuned to the call's next element (`success`, `then`, `.each`, `.callback`, `(function`).

The whole hypothesis

L15/N1604+ fires at boundary tokens inside a function/method call expression in code — the last fragment of a dotted callee (e.g. `click`, `autoDetectVcsMappings`), a comma between call arguments, or the `").`/`().`/`->` link that closes a call and continues a chain — and stays near zero on prose and on punctuation in standalone arrays and if-conditions. Its firing is set by the call-in-progress prefix (retrospective), while its output direction is tuned to the call's next element (`success`, `then`, `.each`, `.callback`, `(function`).

Hard negatives 10/10 rejected · holdouts 1/6 fired (independent observations; 16 probes) · P(useful) 0.37

Revised by 20261024T194808Z (NEEDS_REVISION)

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

specificity 1.00 · sensitivity 0.17 · counterfactual reproduction 1.00 · protocol v0.6

").,Mappingsclickpassword",Properties.closePath),->.each(req

Adversarial review

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

Hard negatives 10/10 stay below Positive holdouts 1/6 reach it threshold 2.24 (25% of max) → active passed · 0.000 (0% of max) I reset my password twice this morning, then waited for the activation email to arrive. passed · 0.056 (1% of max) Her click on the shutter came a fraction of a second late, and the bird had already flown. passed · 0.112 (1% of max) if status in ('ok', 'retry') and not aborted: pass # keep polling passed · 0.113 (1% of max) The farmer loaded tomatoes, cucumbers, peppers, and onions into the truck before sunrise, then drove to the market. passed · 0.132 (1% of max) const palette = ['#1b2a41', '#324a5f', '#ccc9dc', '#f7f4ea']; passed · 0.212 (2% of max) The release notes explain how the new property mappings are resolved, and how Properties files are loaded before startup. passed · 0.234 (3% of max) const hint = 'remember to call foo.bar() before saving the document'; passed · 0.287 (3% of max) // canvas.closePath() finishes the current subpath; fill it before saving the canvas const caption = 'drawing notes'; passed · 0.380 (4% of max) int timeout = config->retry_limit; passed · 0.944 (11% of max) function resizeImage(width, height, quality, preserveAspect) { // body omitted } failed · 0.469 (5% of max) =IFERROR(VLOOKUP(A2, Products!B2:D500, 3, FALSE), 0) failed · 0.839 (9% of max) let text = serde_json::to_string(&config).unwrap().len(); failed · 0.899 (10% of max) response = session.post(url, data=payload, timeout=15) failed · 1.805 (20% of max) $result = $query->execute($params)->setMaxResults(25)->fetchAll(); failed · 1.853 (21% of max) UserAccount account = userRepository.findById(accountId); passed · 2.946 (33% of max) """Nightly archive sync. The job below copies rendered reports from the staging bucket into the long-term archive and records a manifest entry for every obj… 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 The farmer loaded tomatoes, cucumbers, peppers, and onions into the truck before sunrise, then drove to the market.
Commas between noun-list items in ordinary prose, with no call expression, so the hypothesis predicts near-zero firing.
inactive 0.113
✓ hard negative const palette = ['#1b2a41', '#324a5f', '#ccc9dc', '#f7f4ea'];
Commas and a closing bracket inside a standalone array literal, which the hypothesis explicitly predicts stays near zero.
inactive 0.132
✓ hard negative if status in ('ok', 'retry') and not aborted: pass # keep polling
Comma-separated tuple elements inside an if-condition, the second punctuation context the hypothesis says stays near zero.
inactive 0.112
✓ hard negative function resizeImage(width, height, quality, preserveAspect) { // body omitted }
Commas inside a function definition's parameter list, which is not a call expression, so the hypothesis predicts silence.
inactive 0.944
✓ hard negative Her click on the shutter came a fraction of a second late, and the bird had already flown.
The claimed trigger word 'click' used in its camera-shutter sense in prose, not as a dotted callee, so predicted inactive.
inactive 0.056
✓ hard negative int timeout = config->retry_limit;
The '->' token in C struct member access that neither closes nor continues a call chain, so the hypothesis predicts no firing.
inactive 0.380
✓ hard negative The release notes explain how the new property mappings are resolved, and how Properties files are loaded before startup.
Claimed tokens 'mappings' and 'Properties' in technical prose about configuration, with no call expression, predicted inactive.
inactive 0.212
✓ hard negative // canvas.closePath() finishes the current subpath; fill it before saving the canvas const caption = 'drawing notes';
A call-shaped '.closePath()' buried in a code comment, where the prefix is prose rather than a call in progress, predicted inactive.
inactive 0.287
✓ hard negative I reset my password twice this morning, then waited for the activation email to arrive.
The claimed token 'password' in ordinary prose about account recovery, not a call boundary, so the hypothesis predicts silence.
inactive 0.000
✓ hard negative const hint = 'remember to call foo.bar() before saving the document';
A call's textual form ('foo.bar()') inside a string literal rather than as executed call syntax, which the hypothesis predicts does not fire.
inactive 0.234
✗ positive holdout response = session.post(url, data=payload, timeout=15)
Commas between keyword arguments in a Python HTTP call, a language and context absent from the examples, which the hypothesis predicts fires.
active 0.899
✗ positive holdout UserAccount account = userRepository.findById(accountId);
The final fragment of a dotted callee ('findById') in Java, structurally the claimed trigger but in an unseen language, predicted active.
active 1.853
✗ positive holdout let text = serde_json::to_string(&config).unwrap().len();
Chained ').' links closing calls in Rust, the claimed chain-continuation pattern in a novel syntax, predicted active.
active 0.839
✗ positive holdout $result = $query->execute($params)->setMaxResults(25)->fetchAll();
Arrow links that close calls and continue a chain in PHP, an unseen syntactic family for the claimed '->' trigger, predicted active.
active 1.805
✗ positive holdout =IFERROR(VLOOKUP(A2, Products!B2:D500, 3, FALSE), 0)
Commas between arguments of nested function calls in a spreadsheet formula, a different genre from the scan corpus, predicted active.
active 0.469
✓ positive holdout """Nightly archive sync. The job below copies rendered reports from the staging bucket into the long-term archive and records a manifest entry for every object it moves. It is deliberately conservative: every upload is checksummed first, the manifest is flushed after each batch, and a failed transfer is retried with exponential backoff before the run is abandoned. Operators run this from cron at 02:15 UTC. The previous implementation leaked file handles when the archive endpoint rejected a request, so the current version opens every file inside a context manager and closes the client in a finally block. """ import hashlib import json import logging import os import time from archive.client import ArchiveClient, RetryPolicy from archive.manifest import ManifestWriter LOG = logging.getLogger(__name__) BATCH_SIZE = 250 RETRY = RetryPolicy(attempts=5, backoff=2.0, jitter=True) def checksum(path): '''Return the SHA-256 digest of a file without loading it all at once.''' digest = hashlib.sha256() with open(path, 'rb') as handle: for chunk in iter(lambda: handle.read(65536), b''): digest.update(chunk) return digest.hexdigest() def list_pending(client, prefix, limit): '''Yield keys under prefix that have not been archived yet.''' marker = None emitted = 0 while emitted < limit: page = client.list_objects(prefix, marker=marker, max_keys=BATCH_SIZE) for entry in page.entries: if entry.storage_class != 'ARCHIVE': yield entry emitted += 1 if not page.truncated: break marker = page.next_marker def archive_one(client, entry, dry_run): meta = {'source': entry.key, 'checksum': checksum(entry.path), 'size': entry.size} if dry_run: LOG.info('would archive %s (%d bytes)', entry.key, entry.size) return None target = os.path.join('archive', entry.key) return client.upload(target, checksum=meta['checksum'], metadata=meta, overwrite=False) def run(source_dir, manifest_path, dry_run=False): writer = ManifestWriter(manifest_path) client = ArchiveClient.from_env(retry=RETRY) started = time.time() archived = 0 try: for entry in list_pending(client, 'reports/', limit=5000): result = archive_one(client, entry, dry_run) if result is not None: writer.append(result.id, result.checksum, result.uploaded_at) archived += 1 if archived and archived % BATCH_SIZE == 0: writer.flush() LOG.info('flushed %d entries after %.1fs', archived, time.time() - started) except Exception: LOG.exception('archive run failed after %d entries', archived) raise finally: client.close() writer.close() LOG.info('archived %d objects in %.1fs', archived, time.time() - started) return archived
Call boundaries buried deep in a long (>512-token) Python file, testing that the call-in-progress feature survives long context, predicted active.
active 2.946
✓ counterfactual 'use strict'; app.controller('quizCtrl', ['$scope','$http', function($scope,$http){ function getQuiz(campID){ $http.post("js/ajax/getQuiz.php").success(function(data){ $scope.quizzes = data; }); }]) -> 'use strict'; app.controller('quizCtrl', ['$scope','$http', function($scope,$http){ function getQuiz(campID){ $http.post("js/ajax/getQuiz.php");success(function(data){ $scope.quizzes = data; }); }]) Δ 0.58 Δ 0.58
✓ counterfactual 'use strict'; app.controller('quizCtrl', ['$scope','$http', function($scope,$http){ function getQuiz(campID){ $http.post("js/ajax/getQuiz.php").success(function(data){ $scope.quizzes = data; }); }]) -> 'use strict'; app.controller('quizCtrl', ['$scope','$http', function($scope,$http){ function getQuiz(campID){ $http.post("js/ajax/getQuiz.php").error(function(data){ $scope.quizzes = data; }); }]) Δ 0.00 Δ 0.00
✓ counterfactual 'use strict'; app.controller('quizCtrl', ['$scope','$http', function($scope,$http){ function getQuiz(campID){ $http.post("js/ajax/getQuiz.php").success(function(data){ $scope.quizzes = data; }); }]) -> 'use strict'; app.controller('quizCtrl', ['$scope','$http', function($scope,$http){ function getQuiz(campID){ $http.post("js/ajax/addQuiz.php").success(function(data){ $scope.quizzes = data; }); }]) Δ 0.00 Δ 0.00
✓ counterfactual function loadUsers(db) { db.query("select * from users").then(function(rows){ render(rows); }); } -> function loadUsers(db) { db.query("select * from users");then(function(rows){ render(rows); }); } Δ 0.61 Δ 0.61
✓ counterfactual function copyFile(client) { client.retrieveFile(name, new_file); } -> function copyFile(client) { function retrieveFile(name, new_file) { } Δ 0.43 Δ 0.43
✓ counterfactual function copyFile(client) { client.retrieveFile(name, new_file); } -> function copyFile(client) { var pair = [name, new_file]; } Δ 0.53 Δ 0.53
✓ counterfactual public Dialog onCreateDialog(Bundle savedInstanceState) { dialogBuilder.setPositiveButton(getString(android.R.string.ok), (dialog, which) -> { dialog.dismiss(); }); } -> public Dialog onCreateDialog(Bundle savedInstanceState) { dialogBuilder.setPositiveButton(getString(android.R.string.ok); (dialog, which) -> { dialog.dismiss(); }); } Δ 0.14 Δ 0.14
✓ counterfactual function copyFile(client) { client.retrieveFile(name, new_file); } -> function copyFile(client) { client, retrieve the file name, and the new file. } Δ 0.47 Δ 0.47
✓ lookahead consistency 'use strict'; app.controller('quizCtrl', ['$scope','$http', function($scope,$http){ function getQuiz(campID){ $http.post("js/ajax/getQuiz.php").success(function(data){ $scope.quizzes = data; }); }]); 'use strict'; app.controller('quizCtrl', ['$scope','$http', function($scope,$http){ function getQuiz(campID){ $http.post("js/ajax/getQuiz.php").success(function(data){ $scope.quizzes = data; }); }]); 'use strict'; app.controller('quizCtrl', ['$scope','$http', function($scope,$http){ function getQuiz(campID){ $http.post("js/ajax/getQuiz.php").success(function(data){ $scope.quizzes = data; }); }]); function loadUsers(db) { db.query("select * from users").then(function(rows){ render(rows); }); }; function copyFile(client) { client.retrieveFile(name, new_file); }; function copyFile(client) { client.retrieveFile(name, new_file); }; public Dialog onCreateDialog(Bundle savedInstanceState) { dialogBuilder.setPositiveButton(getString(android.R.string.ok), (dialog, which) -> { dialog.dismiss(); }); }; function copyFile(client) { client.retrieveFile(name, new_file); }
claimed retrospective; measured retrospective (KL=0.007887, tokens=[' function', ' =>', 'success', ' (', '(function'])

Minimal pairs

Median (score) Sufficiency: 0.95 · median of 4 pairs 0.95 Necessity: 0.94 · median of 4 pairs 0.94 0.5 = a typical matched neuron 0 0.25 0.5 0.75 1
sufficiency (clean → corrupted) necessity (corrupted → clean) This record predates per-pair effects, so only the medians are shown.
#Base → counterfactualExpected ΔObserved Δ
1 'use strict'; app.controller('quizCtrl', ['$scope','$http', function($scope,$http){ function getQuiz(campID){ $http.post("js/ajax/getQuiz.php").success(function(data){ $scope.quizzes = data; }); }])
→ 'use strict'; app.controller('quizCtrl', ['$scope','$http', function($scope,$http){ function getQuiz(campID){ $http.post("js/ajax/getQuiz.php");success(function(data){ $scope.quizzes = data; }); }])
0.58 0.58
2 'use strict'; app.controller('quizCtrl', ['$scope','$http', function($scope,$http){ function getQuiz(campID){ $http.post("js/ajax/getQuiz.php").success(function(data){ $scope.quizzes = data; }); }])
→ 'use strict'; app.controller('quizCtrl', ['$scope','$http', function($scope,$http){ function getQuiz(campID){ $http.post("js/ajax/getQuiz.php").error(function(data){ $scope.quizzes = data; }); }])
0.00 0.00
3 'use strict'; app.controller('quizCtrl', ['$scope','$http', function($scope,$http){ function getQuiz(campID){ $http.post("js/ajax/getQuiz.php").success(function(data){ $scope.quizzes = data; }); }])
→ 'use strict'; app.controller('quizCtrl', ['$scope','$http', function($scope,$http){ function getQuiz(campID){ $http.post("js/ajax/addQuiz.php").success(function(data){ $scope.quizzes = data; }); }])
0.00 0.00
4 function loadUsers(db) { db.query("select * from users").then(function(rows){ render(rows); }); }
→ function loadUsers(db) { db.query("select * from users");then(function(rows){ render(rows); }); }
0.61 0.61
5 function copyFile(client) { client.retrieveFile(name, new_file); }
→ function copyFile(client) { function retrieveFile(name, new_file) { }
0.43 0.43
6 function copyFile(client) { client.retrieveFile(name, new_file); }
→ function copyFile(client) { var pair = [name, new_file]; }
0.53 0.53
7 public Dialog onCreateDialog(Bundle savedInstanceState) { dialogBuilder.setPositiveButton(getString(android.R.string.ok), (dialog, which) -> { dialog.dismiss(); }); }
→ public Dialog onCreateDialog(Bundle savedInstanceState) { dialogBuilder.setPositiveButton(getString(android.R.string.ok); (dialog, which) -> { dialog.dismiss(); }); }
0.14 0.14
8 function copyFile(client) { client.retrieveFile(name, new_file); }
→ function copyFile(client) { client, retrieve the file name, and the new file. }
0.47 0.47
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 4 non-control pairs, on next-token KL. Median effect 0.00266 (sufficiency) and 0.000339 (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.29 … lets try another method"↵ with open('filelist.txt','w+') as list_f:↵ for filename in list_f:↵ with open(filename) as f:↵ content = f.read()↵ …
    All 506 tokens

    Q:↵↵Reading a text file and moving files from it to a directory↵↵I have a directory of images. Some of these images must be stored in a text file like 'pic1.jpg'↵I need to extract this filename, pick up the matching file from the current working directory and move it to a separate folder (under the cwd).↵This is the code I have so far, but I cant get the shutil operations to work. What am I doing wrong? ↵Current directory C:\BE↵Have to move a file(s) 1,jpg, 2,jpg etc from a textfile called "filelist.txt" to C:\BE\2014-03-25_02-49-11↵import os, datetime↵import shutil↵↵src = os.getcwd()↵global mydir↵def filecreation(content, filename):↵↵ mydir = os.path.join(os.getcwd(), datetime.datetime.now().strftime('%Y-%m-%d_%H-%M-%S'))↵ try:↵ os.makedirs(mydir)↵↵ except OSError, e:↵↵ if e.errno != 17:↵ raise # This was not a "directory exist" error..↵ with open(os.path.join(mydir, filename), 'w') as d:↵ d.writelines(content)↵↵ #shutil.copyfile(src,mydir)↵↵def main():↵↵ filelist = "filelist.txt"↵ with open(filelist) as f:↵ content = f.read().splitlines()↵ #content = shutil.copyfile(src, mydir)↵ print content↵ print "Here we are"↵ #list=['1.jpg','2.jpg']↵ filecreation(content,"filelist.txt")↵↵ print "lets try another method"↵ with open('filelist.txt','w+') as list_f:↵ for filename in list_f:↵ with open(filename) as f:↵ content = f.read()↵ #content = shutil.move(src,mydir)↵ #content = shutil.copyfile(src,mydir)↵ #for line in f ↵ print "method 2 is working so far"↵↵if __name__ == '__main__':↵↵ main()↵↵A:↵↵This is what finally worked - ↵from shutil import copy↵f = open(r'C:\Users\B\Desktop\BE Project\K\filelist.txt', 'r')↵for i in f.readlines():↵ print i↵ copy(i.strip(),r"E:\Images") ↵↵f.close()↵↵

    Values
    TokenPositive-pole strength
    lets0.000
    try0.020
    another0.004
    method0.000
    "↵0.000
    0.000
    with0.006
    open0.140
    ('0.000
    file0.000
    list0.161
    .txt2.012
    ','1.958
    w1.084
    +')1.735
    as0.000
    list0.000
    _f0.045
    :↵0.000
    0.000
    for0.357
    filename0.500
    in0.000
    list0.251
    _f0.065
    :↵0.000
    0.000
    with0.000
    open0.087
    (filename1.083
    )2.291
    as0.169
    f0.391
    :↵0.000
    0.104
    content0.238
    =0.000
    f0.283
    .read0.634
    ()↵0.000
    0.000
  11. 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
  12. 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
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
1.00
Fuzzing
—
Embedding AUROC
—

Detection recall by activation strength

—
—
—
—
—
weakeststrongest

False alarms on inactive windows: 0%.

Judge
deepseek-flash
Held-out windows
0 active of 4,000
Judged
25 detection · 0 fuzzing
Detection outcomes
0 missed · 0 false alarm · 0 hit · 25 correct rejection
Seed
2514646495 · corpus.jsonl
Detection windows (25), the explanation's mistakes first
  1. correct rejection 0.39 · sim -0.10 Here is the code. You can see where it redirects the user at the bottom of the convert method.↵public class ControllerCreateProposalView {↵↵ public Id property
  2. correct rejection 0.33 · sim 0.05 4976.↵117↵Calculate the greatest common factor of 75 and 3584150.↵25↵Calculate
  3. correct rejection 0.31 · sim 0.06 love this!" "Yeah..." "Lily, listen." "Barney's awesome." "Ron's more than just awe-"some. "" "She's
  4. correct rejection 0.30 · sim 0.00 USA'↵author:↵- G Sciolla↵- C J Martoff↵bibliography:↵- 'all\_DM.bib'↵title: Gaseous
  5. correct rejection 0.30 · sim 0.01 of vitality In which all bodily parts and functions may be altered, and all their performances depressed.^[@ref2]^ Kurt Schneider considered these disturbances of vital feelings to
  6. correct rejection 0.29 · sim -0.03 , but an upgrade for almost anything pre-Sunwell.↵↵Comment by mikititan↵↵Anyone knows if this schematic will be buyable from the trainer or will
  7. correct rejection 0.27 · sim 0.20 2.0 to 2.6 A. Cellular and mutant p21 proteins are almost identical, and the only significant differences are seen in loop L
  8. correct rejection 0.23 · sim 0.09 I'm gonna be able to buy my own clothes, not hand me downs!" That was followed up with, "I'm gonna be rich Sis.... You
  9. correct rejection 0.23 · sim -0.02 Ability of MR cholangiography to reveal stent position and luminal diameter in patients with biliary endoprostheses: in vitro measurements and in
  10. correct rejection 0.21 · sim 0.05 sensors for adding thing like a barometer, magnetometer, and GPS system. The officially supported sensor block (BMP180, HMC58
  11. correct rejection 0.21 · sim 0.02 security gaps.“It’s very easy to be a hacker. It’s a matter of studying for two to three months and you can master the field,” he said
  12. correct rejection 0.18 · sim 0.07
    un, NoppaMad Sirisopon, Punga Suttirin, Porn Paroch, Pramin Jarujarit, Sail Poons
  13. correct rejection 0.17 · sim -0.03 fictionalizes the existential concept of authenticity as a shaping condition of it." ↵↵In a 1980 newspaper interview, Berger said of Neighbors, "
  14. correct rejection 0.16 · sim 0.16 the same phrase over and over and over “now lets see whats happening in your neck of the woods” .
  15. correct rejection 0.16 · sim -0.07 In 1898 he was married to Margaret Emily Marshall of Broadwater, Sussex.↵↵With the outbreak of the First World War, Lohden,
  16. correct rejection 0.15 · sim 0.15 ing more than 5 kb of the 5' flanking region of the cholesteryl ester transfer protein gene. This region contains multiple Alu repeats
  17. correct rejection 0.13 · sim 0.14 2014).↵We do not grant motions for reconsideration absent a compelling reason. J.F. Taylor,↵Inc., ASBCA Nos.
  18. correct rejection 0.11 · sim 0.00 't it populate my tableView↵Here is my class also...↵import Foundation↵↵struct Item {↵ let name: String↵ let carbs: Int↵}↵↵struct
  19. correct rejection 0.11 · sim 0.08 : 16.573 Geçerli Oy : 16.398 Katılım Oranı : % 3
  20. correct rejection 0.10 · sim -0.00 . GENE ALLARD, Plaintiff, Cross-defendant and Respondent,↵v.↵CHURCH OF SCIENTOLOGY OF CALIFORNIA, Defendant
  21. correct rejection 0.09 · sim -0.01 ulla Morioka in January 2018.↵↵Club statistics↵Updated to 30 August 2018.↵↵References↵↵External links↵↵Profile
  22. correct rejection 0.08 · sim 0.04 to 99. Our ranks are made up of men and women; students and retirees; homemakers and business people. Last year, 334
  23. correct rejection 0.07 · sim 0.03 ballot in Nevada or South Carolina to ask the millionaire socialist senator about his three houses. I guess that is what happens when you schedule all your primary debates with only
  24. correct rejection 0.05 · sim 0.10 Απ’ τα ��ημερώματα της Δευτέρας ��ταν
  25. correct rejection 0.02 · sim 0.11 569 ar 178,109.↵↵-, in its reply, acknowledges that part of our decision cited above, but↵argues that

Activation and mechanism

Activation distribution

[0, 0.296): 210410 [0.296, 0.592): 1426 [0.592, 0.888): 206 [0.888, 1.18): 89 [1.18, 1.48): 38 [1.48, 1.78): 22 [1.78, 2.07): 11 [2.07, 2.37): 10 [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.

Vocabulary projection

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

Jacobian lens Logit lens
Promotes _WIFI.callback callback找了 onSuccess<tbody.each_callback .tr迹 callbackTr냄jab.callback successors
Suppresses 非常重要尤为重要至关重要的重要性很重要的很重要十分重要 Important 非常重要尤为重要至关重要十分重要很重要的重要性最关键的很重要的

This record predates vocabulary z-scores, so the tokens are listed without bars.

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.

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 9 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 +1.04
L14/N274 +0.805
L13/N2349 +0.575
L14/N1031 -0.341
L5/N2315 -0.3
L6/N2554 -0.274
L9/N3130 +0.264
L5/N79 -0.259
L11/N106 +0.241
L13/N2219 -0.203
Upstream heads
L14/H1 -1.67
L14/H6 +1.45
L14/H2 +0.737
L15/H10 +0.423
L7/H5 +0.387
L8/H4 +0.352
L12/H13 +0.345
L12/H0 +0.34
L1/H11 -0.312
L11/H5 -0.305
Downstream neurons
L16/N2281 -2.78
L16/N737 -1.86
L19/N4123 -1.67
L17/N4783 +1.6
L16/N2620 -1.55
L23/N1121 -1.36
L23/N1396 +1.26
L20/N233 +1.08
L18/N2947 -1.03
L22/N4486 +0.868
Downstream heads
L21/H9 v +0.449
L23/H1 v +0.445
L19/H8 v +0.318
L18/H9 v +0.242
L20/H13 v +0.241
L18/H10 v +0.209
L20/H1 q +0.198
L17/H11 q +0.187
L18/H12 v +0.158
L23/H6 v +0.152

Covariance and confounds

Confounds

Token identity R²
0.27
Position R²
0.00
Frequency r
0.17
Best trivial baseline
never active · 0.92
Hypothesis
0.58 ✗

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

Co-activating neuron poles

Pole Lift ≥ Both ρ r
N1574+ 27.5 11 +0.06 +0.04
N1817+ 27.5 11 -0.06 +0.02
N2028− 24.4 10 +0.01 -0.04
N708+ 24.2 10 +0.06 +0.02
N2094− 24.2 10 +0.05 -0.07
N1346+ 24.2 10 -0.04 -0.02
N1232− 24.2 10 -0.04 +0.02
N2939+ 24.2 10 +0.01 +0.01
N459− 21.1 9 -0.07 -0.03
N3930− 20.9 9 -0.03 -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, N1817, N2028
KL pole alone
2.11e-03
KL partners
2.01e-04
KL together
2.36e-03
Redundancy ratio
1.02

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

Run details

Submitted by
deepseek-flash
Reviewed by
deepseek-flash (same model as the proposer: not an independent review)
Reviewed at
2026-10-21 06:18 UTC
Max activation
8.9651
Selection
random (seed 4250756776)
Corpus
corpus.jsonl · 212,232 tokens · 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 cpu · review cpu
Run cost
38.6 min (slowest: scan, 12.2 min) · 3 LLM calls