Open Interpretability Models Contributors Research Posts About

Qwen/Qwen2.5-0.5B · L3/N3573 · 20261104T033959Z

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

#2 · negative pole − NEEDS REVISION moderate evidence for · 0.89 self-reviewed earlier hypothesis 2026-11-04 · 20261104T033959Z

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

The whole hypothesis

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

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

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

Revised by 20261119T200054Z (VERIFIED)

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

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

:,[.

Adversarial review

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

Hard negatives 13/14 stay below Positive holdouts 4/6 reach it threshold 1.06 (25% of max) → active passed · 0.159 (4% of max) We agreed to meet at 3:30 in the afternoon for coffee near the old station downtown passed · 0.173 (4% of max) After Paris, we drove to Lyon, then Turin, and finally arrived in Rome late at night. passed · 0.181 (4% of max) She hesitated for a long moment ... then turned away without another word passed · 0.214 (5% of max) : , , , . . . [ [ [ : : : , . [ passed · 0.217 (5% of max) He smiled and whispered Hello, world! under his breath as the program started passed · 0.223 (5% of max) She defended her thesis in spring. The committee approved it. She celebrated with friends. passed · 0.225 (5% of max) The constants are approximately 3.14159 and 2.71828 for the two formulas we tested yesterday passed · 0.230 (5% of max) In 1969 the census counted 1,000,000 residents in the greater metropolitan area passed · 0.239 (6% of max) I met a tall stranger from Oslo on the train [a retired sailor] and we talked for hours passed · 0.265 (6% of max) // TODO: fix this, check Paris, London when the server restarts passed · 0.315 (7% of max) The new routine takes a dataset as input and returns a trained model after several passes through the data passed · 0.449 (11% of max) We left the harbor before sunrise, and the water was calm, gray, and almost silent. The captain poured coffee, checked the ropes, and nodded toward the easte… passed · 0.451 (11% of max) log_message("Hello, world, goodbye, moon") failed · 1.621 (38% of max) result = compute(a; b; c) failed · 0.342 (8% of max) <span class="note">Deadline expired, please renew.</span> failed · 0.416 (10% of max) response = request.session.auth.token.refresh() passed · 1.099 (26% of max) SELECT user_id, display_name, created_at FROM accounts WHERE status = 'active' ORDER BY created_at DESC; passed · 1.319 (31% of max) grid[row][col] = grid[row][col] + offset[delta] passed · 1.338 (32% of max) article { font-size: 16px; line-height: 1.5; color: #333; } passed · 1.819 (43% of max) result = fit_transformer(corpus, labels, max_iter = 200, verbose = True) 0 max 4.24
passed failed Each probe's peak negative-pole strength. The shaded side of the line counts as active. Hover a dot for its prompt.
All 27 probes
TestInputExpectedObserved
✓ positive holdout SELECT user_id, display_name, created_at FROM accounts WHERE status = 'active' ORDER BY created_at DESC;
Tests comma-separated SQL column list, a formal listed-items context absent from the top examples.
active 1.099
✓ positive holdout result = fit_transformer(corpus, labels, max_iter = 200, verbose = True)
Tests commas separating function arguments in a novel Python-style call unlike the JS/Java examples.
active 1.819
✗ positive holdout response = request.session.auth.token.refresh()
Tests dots joining a dotted attribute/method chain in novel vocabulary.
active 0.416
✓ positive holdout grid[row][col] = grid[row][col] + offset[delta]
Tests opening brackets starting index lists in a grid-assignment expression.
active 1.319
✓ positive holdout article { font-size: 16px; line-height: 1.5; color: #333; }
Tests colons inside a formal CSS declaration block, a genre absent from the scan examples.
active 1.338
✗ positive holdout <span class="note">Deadline expired, please renew.</span>
Tests terminal punctuation closing a markup-embedded phrase inside an HTML span.
active 0.342
✓ hard negative After Paris, we drove to Lyon, then Turin, and finally arrived in Rome late at night.
Tests commas in plain travel prose, which the hypothesis says stay silent.
inactive 0.173
✓ hard negative She defended her thesis in spring. The committee approved it. She celebrated with friends.
Tests sentence-final dots in plain prose with no constructed expression.
inactive 0.223
✗ hard negative result = compute(a; b; c)
Tests semicolons substituted into a code-comma argument slot, claimed to score zero.
inactive 1.621
✓ hard negative He smiled and whispered Hello, world! under his breath as the program started
Tests the Hello world string in plain prose without its HTML frame, claimed to stay silent.
inactive 0.217
✓ hard negative The new routine takes a dataset as input and returns a trained model after several passes through the data
Tests code topic with the structural punctuation feature removed entirely.
inactive 0.315
✓ hard negative : , , , . . . [ [ [ : : : , . [
Tests bare delimiter characters with none of the claimed formal-list content.
inactive 0.214
✓ hard negative We agreed to meet at 3:30 in the afternoon for coffee near the old station downtown
Tests a colon in a plain-prose time expression rather than a constructed expression.
inactive 0.159
✓ hard negative I met a tall stranger from Oslo on the train [a retired sailor] and we talked for hours
Tests square brackets as a prose aside rather than an argument or index list.
inactive 0.239
✓ hard negative The constants are approximately 3.14159 and 2.71828 for the two formulas we tested yesterday
Tests dots as decimal points rather than dotted attribute-chain joiners.
inactive 0.225
✓ hard negative In 1969 the census counted 1,000,000 residents in the greater metropolitan area
Tests commas inside a large number and a year context, claimed to score zero.
inactive 0.230
✓ hard negative // TODO: fix this, check Paris, London when the server restarts
Tests commas and a colon buried inside a code comment instead of structural code.
inactive 0.265
✓ hard negative We left the harbor before sunrise, and the water was calm, gray, and almost silent. The captain poured coffee, checked the ropes, and nodded toward the eastern sky. Gulls circled above the masts, crying, diving, and scattering as the sails rose. By midmorning the wind had freshened, and the boat leaned gently into the swell. Passengers gathered on deck, chatting, laughing, and pointing at distant islands. Lunch was bread, cheese, olives, and fruit, served in wooden bowls. In the afternoon the children played cards, told stories, and napped in the shade of the canvas. The navigator marked our course, adjusted the rudder, and logged each hour with care. Clouds gathered far to the north, dark, heavy, and slow moving. Rain arrived near dusk, soft at first, then steady, pattering on the tarpaulin. Dinner was soup, stew, potatoes, and pudding, followed by tea. Someone played a fiddle, another sang, and the crew joined in. The dog slept by the stove, snoring faintly. Later the sky cleared, and stars appeared, sharp and bright. The moon rose over the rigging, silvering the ropes. We talked quietly about home, about work, about plans for winter. The watch changed at midnight, with lanterns, whispers, and sleepy greetings. I lay in my bunk listening to the hull creak, the water slap, and the wind hum. At dawn the fog had lifted, revealing cliffs, meadows, cottages, and sheep. We anchored in a sheltered bay, lowered the boat, and rowed ashore. The village baker gave us rolls, still warm. We bought apples, honey, wool, and candles from the market stalls. Children led us to a chapel, a well, and a garden full of roses. The blacksmith mended a hinge, shoeing a restless mare meanwhile. We drank cider under an oak, thanking our hosts warmly. By evening we were underway again, tired, content, and sunburned. Dolphins followed the bow for an hour, leaping and plunging. The sunset burned red, orange, and violet behind the headland. Night fell quickly after that. We set the anchor light, coiled the lines, and turned in. The journey continued south toward warmer harbors, fair winds, and quiet anchorages. Every mile felt earned, unhurried, and memorable. We kept a journal of birds, fish, weather, and moods. The pages filled with sketches, notes, lists, and small pressed flowers. Nobody hurried, nobody argued, and nobody watched the clock. It was the sort of voyage people remember for decades, retelling each detail with fondness. Morning brought porpoises, pelicans, fresh bread, and fair weather.
Long-context control with abundant prose commas and periods but no formal constructed expression.
inactive 0.449
✓ hard negative She hesitated for a long moment ... then turned away without another word
Tests dots as a prose ellipsis hesitation rather than dotted attribute-chain joiners.
inactive 0.181
✓ hard negative log_message("Hello, world, goodbye, moon")
Tests commas trapped inside a string literal where they separate no listed items.
inactive 0.451
✗ counterfactual y = f(a, b) -> y = f(a; b) Δ 0.80 Δ 0.05
✗ counterfactual <div>Hello, world!</div> -> Hello, world! said Tom Δ 0.70 Δ 0.02
✗ counterfactual o = {k: v} -> o = {k; v} Δ 0.75 Δ 0.19
✗ counterfactual x = a.b -> x = a!b Δ 0.60 Δ -0.04
✗ counterfactual p = q[r] -> p = q@r] Δ 0.65 Δ -0.06
✓ counterfactual k = f(a, b) -> k = f(c, d) Δ 0.05 Δ 0.01
✓ lookahead consistency y = f(a, b); <div>Hello, world!</div>; o = {k: v}; x = a.b; p = q[r]; k = f(a, b)
claimed retrospective; measured retrospective (KL=0.0001788, tokens=[' =', ' x', ')', ' *', ' '])

Minimal pairs

Pair 3 Sufficiency: 0.81 · effect 0.00016 (matched |effect| median 6.31e-05, max 0.000854) o = {k: v} → o = {k; v} Necessity: 0.84 · effect 0.000106 (matched |effect| median 2.99e-05, max 0.000305) o = {k: v} → o = {k; v} Median (score) Sufficiency: 0.81 · median of 1 pairs 0.81 Necessity: 0.84 · median of 1 pairs 0.84 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 y = f(a, b)
→ y = f(a; b)
0.80 0.05 — —
2 <div>Hello, world!</div>
→ Hello, world! said Tom
0.70 0.02 — —
3 o = {k: v}
→ o = {k; v}
0.75 0.19 0.81
effect 0.00016
matched 6.31e-05 / 0.000854
0.84
effect 0.000106
matched 2.99e-05 / 0.000305
4 x = a.b
→ x = a!b
0.60 -0.04 — —
5 p = q[r]
→ p = q@r]
0.65 -0.06 — —
6 k = f(a, b)
→ k = f(c, d)
0.05 0.01 — —
Read more

Δ is the base prompt's peak negative-pole strength minus the counterfactual's, as a fraction of the max activation.

Each causal score ranks the pole's patch effect among the 32 same-layer neurons that change as much between each pair, so 0.5 is typical. Sufficiency patches clean into corrupted, and necessity corrupted into clean. The score is the median over 1 non-control pairs, on next-token KL. Median effect 0.00016 (sufficiency) and 0.000106 (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. 4.24 … = AppSettings.get().isDarkThemeEnabled();↵ dialogBuilder = new AlertDialog.Builder(getActivity(), darkTheme ?↵ R.style.Theme_AppCompat_Dialog : R.style.Theme_AppCompat_Light_Dialog);↵↵ …
    All 570 tokens

    /*#######################################################↵ * Copyright (c) 2014 Jeff Martin↵ * Copyright (c) 2015 Pedro Lafuente↵ * Copyright (c) 2017-2019 Gregor Santner↵ *↵ * Licensed under the MIT license.↵ * You can get a copy of the license text here:↵ * https://opensource.org/licenses/MIT↵###########################################################*/↵package other.writeily.ui;↵↵import android.app.Dialog;↵import android.os.Bundle;↵import android.support.annotation.NonNull;↵import android.support.v4.app.DialogFragment;↵import android.support.v7.app.AlertDialog;↵import android.text.TextUtils;↵↵import net.gsantner.markor.R;↵import net.gsantner.markor.util.AppSettings;↵↵import java.io.Serializable;↵↵public class WrConfirmDialog extends DialogFragment {↵ public static final String FRAGMENT_TAG = "WrConfirmDialog";↵↵ private static final String EXTRA_TITLE = "EXTRA_TITLE";↵ private static final String EXTRA_MESSAGE = "EXTRA_MESSAGE";↵ public static final String EXTRA_DATA = "EXTRA_DATA";↵↵ private Serializable _data;↵ private ConfirmDialogCallback[] _callbacks;↵ private String _summary;↵↵ public static WrConfirmDialog newInstance(String title, String message,↵ Serializable data, ConfirmDialogCallback... callbacks) {↵ 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
    TokenNegative-pole strength
    =0.743
    App0.093
    Settings0.000
    .get0.000
    ().1.020
    is0.000
    Dark0.000
    Theme0.000
    Enabled0.000
    ();↵0.807
    0.320
    dialog0.050
    Builder0.348
    =1.335
    new1.171
    AlertDialog0.000
    .Builder0.342
    (getActivity0.052
    (),3.022
    dark0.048
    Theme0.000
    ?↵1.006
    1.973
    R0.675
    .style0.000
    .Theme0.000
    _App0.000
    Compat0.000
    _D0.000
    ialog0.131
    :4.237
    R0.776
    .style0.000
    .Theme0.000
    _App0.000
    Compat0.000
    _L0.056
    ight0.000
    _D0.000
    ialog0.096
    );↵↵0.938
  2. 3.57 … This is what I tried...↵var menuArray:[Restaurant] = [Restaurant]()↵ override func viewDidLoad() {↵ super.viewDidLoad()↵let shake = Item(name: "Shake", carbs: 20)↵ …
    All 446 tokens

    Q:↵↵Not populating tableview with structure array↵↵I need to populate my tableView with an array of a structure. The first property of the structure is the name. This is what I tried...↵var menuArray:[Restaurant] = [Restaurant]()↵ override func viewDidLoad() {↵ super.viewDidLoad()↵let shake = Item(name: "Shake", carbs: 20)↵ let fries = Item(name: "Fries", carbs: 30)↵↵ let beverages = Category(name: "Beverages", items: [shake])↵ let chips_fries = Category(name: "Chips & Fries", items: [fries])↵ let desserts = Category(name: "Desserts", items: [])↵ let other = Category(name: "Other Menu Items", items: [])↵ let sandwiches_burgers = Category(name: "Sandwiches & Burgers", items: [])↵ let sides = Category(name: "Sides", items: [])↵↵ a_w = Restaurant(name: "A&W", categories: [beverages, chips_fries, desserts, other, sandwiches_burgers, sides])↵↵ let menuArray = [a_w]↵↵}↵↵override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {↵ let currentCell = tableView.dequeueReusableCell(withIdentifier: "cell")↵ let currentRestaurant = menuArray[indexPath.row]↵ currentCell?.textLabel!.text = currentRestaurant.name↵ return currentCell!↵}↵override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {↵↵ return menuArray.count↵}↵↵Why won't it populate my tableView↵Here is my class also...↵import Foundation↵↵struct Item {↵ let name: String↵ let carbs: Int↵}↵↵struct Category {↵ let name: String↵ let items: [Item]↵}↵↵struct Restaurant {↵ let name: String↵ let categories: [Category]↵↵}↵↵A:↵↵In this line↵let menuArray = [a_w]↵↵you are creating a local variable menuArray which is different from the property with the same name representing the data source array.↵Omit let↵menuArray = [a_w]↵↵PS: Please use more descriptive variable names than a_w.↵↵

    Values
    TokenNegative-pole strength
    This0.178
    is0.049
    what0.160
    I0.000
    tried0.000
    ...↵0.000
    var0.067
    menu0.000
    Array0.000
    :[0.883
    Restaurant0.000
    ]0.226
    =0.762
    [0.665
    Restaurant0.000
    ]()↵0.220
    override0.220
    func0.162
    viewDidLoad0.000
    ()0.338
    {↵0.796
    0.534
    super0.719
    .viewDidLoad0.000
    ()↵0.456
    let0.576
    shake0.061
    =0.513
    Item0.000
    (name0.280
    :3.568
    "0.110
    Sh0.109
    ake0.362
    ",1.156
    carbs0.096
    :2.837
    0.546
    20.000
    00.000
    )↵0.848
  3. 3.42 … .module('myApp', ['ngRoute']);↵app.config(['$routeProvider', function($routeProvider) {↵ $routeProvider.when('/price', {templateUrl: 'partials/price.html', controller: 'price …
    All 748 tokens

    Q:↵↵Binding value to select in angular js across 2 controllers↵↵Working with angularJS I am trying to figure out a way to bind the value of a select element under the scope of controller A to use it as an argument for an ng-click call [getQuizByCampID() Function] under the scope of controller B.↵My first idea was to use jquery, but I have read in the link below that using jquery is not recommended when starting with angularJS. ↵"Thinking in AngularJS" if I have a jQuery background?↵I also read in the link below that this is performed using ng-model, the only problem is that that the example provided is all under the same controller. ↵ and Binding value to input in Angular JS↵What is the angularJS way to get the value of the select element under controller A into the function call in the select under controller B?↵Price.html view↵ <div class="col-sm-3" ng-controller="campCtrl"> **Controller A** ↵ <select id="selCampID" class="form-control" ng-model="campInput" >↵ <option ng-repeat="camp in campaigns" value="{{camp.camp_id}}">{{camp.camp_name}}</option> ↵ </select>↵ </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
    TokenNegative-pole strength
    .module0.000
    ('0.000
    my0.000
    App0.000
    ',1.496
    ['0.645
    ng0.002
    Route0.133
    ']);↵0.611
    app0.439
    .config0.000
    (['0.596
    $0.000
    routeProvider0.000
    ',1.082
    function0.193
    ($0.000
    routeProvider0.000
    )0.856
    {↵0.260
    0.370
    $0.215
    routeProvider0.022
    .when0.000
    ('/0.083
    price0.000
    ',1.582
    {1.022
    template0.000
    Url0.000
    :3.418
    '0.155
    partials0.162
    /0.000
    price0.000
    .html0.000
    ',1.499
    controller0.000
    :3.090
    '0.277
    price0.000
  4. 3.39 var config = {↵ type: Phaser.AUTO,↵ parent: 'phaser-example',↵ width: 8 …
    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
    TokenNegative-pole strength
    var0.000
    config0.000
    =0.811
    {↵0.640
    0.724
    type0.000
    :3.185
    Phaser0.000
    .AUTO0.000
    ,↵1.502
    0.949
    parent0.000
    :3.388
    '0.008
    ph0.000
    aser0.068
    -example0.000
    ',↵0.882
    0.700
    width0.000
    :2.643
    0.475
    80.009
  5. 3.17 … %}"></script>↵ </body>↵</html>↵↵extract of functions.js:↵$(function(){↵ var mytree = [↵ {↵ text: "Parent 1",↵ nodes: [↵ …
    All 741 tokens

    Q:↵↵Bootstrap tree-view: Tree doesn't show up↵↵I'm new to tree-view, I'm trying to show a basic tree but it doesn't work and I don't know where I made the mistake.↵I made test.html that follow the same structure of my basic.html (I'm sparing you code of the navbar, alerts, etc). I have other js functions in functions.js that work fine. ↵test.html:↵{% csrf_token %}↵{% load groupfilter %}↵{% load staticfiles %}↵<!DOCTYPE html>↵<html lang="en">↵ <head>↵ <meta name="viewport" content="width=device-width, initial-scale=1" charset="utf-8">↵ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">↵ <link rel="stylesheet" href="{% static 'bootstrap-treeview.min.css' %}">↵ <script src="{% static 'bootstrap-treeview.min.js' %}"></script>↵ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>↵ <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>↵ <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>↵↵ <title>Test</title>↵ </head>↵ <body>↵ <div class="container">↵ <div id="tree"></div>↵ </div>↵ <!-- JavaScript functions -->↵ <script src="{% static 'functions.js' %}"></script>↵ </body>↵</html>↵↵extract of functions.js:↵$(function(){↵ var mytree = [↵ {↵ text: "Parent 1",↵ nodes: [↵ {↵ text: "Child 1",↵ nodes: [↵ {↵ text: "Grandchild 1"↵ },↵ {↵ text: "Grandchild 2"↵ }↵ ]↵ },↵ {↵ text: "Child 2"↵ }↵ ]↵ },↵ {↵ text: "Parent 2"↵ }↵ ];↵↵ $('#tree').treeview({data: mytree});↵});↵↵A:↵↵Can you share sample link that you are following?↵It seems like you are importing Twitter Bootstrap 4.3.1↵↵But as I know, Offical Bootstrap still not provide TreeView on their document.↵↵

    Values
    TokenNegative-pole strength
    %0.447
    }0.731
    "></0.069
    script0.000
    >↵0.398
    0.204
    </0.180
    body0.000
    >↵0.625
    </0.042
    html0.000
    >↵↵0.241
    extract0.072
    of0.000
    functions0.010
    .js0.000
    :↵0.000
    $(0.000
    function0.000
    (){↵0.000
    0.261
    var0.036
    my0.000
    tree0.000
    =0.630
    [↵0.713
    0.570
    {↵0.000
    0.337
    text0.000
    :3.173
    "0.036
    Parent0.061
    0.000
    10.017
    ",↵0.496
    0.620
    nodes0.000
    :2.736
    [↵1.684
    0.566
  6. 3.12 … .needAutodetectMappings()) {↵ autoDetectVcsMappings(false)↵ }↵ }↵↵ override fun moduleAdded(project: Project, module: Module) {↵ myMappingsForRemovedModules.removeAll …
    All 627 tokens

    // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.↵package com.intellij.openapi.vcs.impl↵↵import com.intellij.ProjectTopics↵import com.intellij.openapi.application.ApplicationManager↵import com.intellij.openapi.components.service↵import com.intellij.openapi.extensions.ExtensionNotApplicableException↵import com.intellij.openapi.module.Module↵import com.intellij.openapi.module.ModuleManager↵import com.intellij.openapi.project.ModuleListener↵import com.intellij.openapi.project.Project↵import com.intellij.openapi.project.rootManager↵import com.intellij.openapi.roots.ModuleRootEvent↵import com.intellij.openapi.roots.ModuleRootListener↵import com.intellij.openapi.startup.StartupActivity↵import com.intellij.openapi.vcs.AbstractVcs↵import com.intellij.openapi.vcs.ProjectLevelVcsManager↵import com.intellij.openapi.vcs.VcsDirectoryMapping↵import com.intellij.openapi.vfs.VirtualFile↵↵internal class ModuleVcsDetector(private val project: Project) {↵ private val vcsManager by lazy(LazyThreadSafetyMode.NONE) {↵ (ProjectLevelVcsManager.getInstance(project) as ProjectLevelVcsManagerImpl)↵ }↵↵ internal class MyPostStartUpActivity : StartupActivity.DumbAware {↵ init {↵ 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
    TokenNegative-pole strength
    .0.540
    need0.000
    Aut0.032
    od0.185
    etect0.050
    Mappings0.000
    ())1.146
    {↵1.112
    0.387
    auto0.000
    Detect0.037
    V0.000
    cs0.000
    Mappings0.000
    (false0.012
    )↵0.826
    1.092
    }↵0.560
    0.555
    }↵↵0.168
    0.445
    override0.522
    fun0.589
    module0.000
    Added0.000
    (project0.107
    :2.717
    Project0.256
    ,1.996
    module0.036
    :3.119
    Module0.033
    )1.794
    {↵1.222
    0.626
    my0.245
    Mappings0.000
    For0.000
    Removed0.065
    Modules0.000
    .removeAll0.003
  7. 3.11 … ) {↵ return model;↵ }↵ model = new Gson().fromJson(cursor.getString(cursor.getColumnIndex(WeatherTodayDataHelper.WeatherTodayDBInfo.JSON)), WeatherTodayModel.class);↵ addToCache(model);↵ …
    All 417 tokens

    package tk.woppo.sunday.model;↵↵import android.database.Cursor;↵↵import com.google.gson.Gson;↵import com.google.gson.annotations.SerializedName;↵↵import java.util.HashMap;↵↵import tk.woppo.sunday.dao.WeatherDataHelper;↵import tk.woppo.sunday.dao.WeatherTodayDataHelper;↵↵/**↵ * Created by Ho on 2014/7/4.↵ */↵public class WeatherTodayModel extends BaseModel {↵↵ private static final HashMap<String, WeatherTodayModel> CACHE = new HashMap<String, WeatherTodayModel>();↵↵ /** ���市ID */↵ @SerializedName("cityid")↵ public String id;↵↵ /** ���市名称 */↵ @SerializedName("city")↵ public String cityName;↵↵ /** ��度 */↵ public String temp;↵↵ /** ��气 */↵ public String weather;↵↵ /** ���向 */↵ @SerializedName("WD")↵ public String wind;↵↵ /** ���力 */↵ @SerializedName("WS")↵ public String ws;↵↵ /** ���度 */↵ @SerializedName("SD")↵ public String sd;↵↵ /** 发布时间 */↵ public String time;↵↵ private static void addToCache(WeatherTodayModel model) {↵ CACHE.put(model.id, model);↵ }↵↵ private static WeatherTodayModel getFromCache(String id) {↵ return CACHE.get(id);↵ }↵↵ public static WeatherTodayModel fromJson(String json) {↵ return new Gson().fromJson(json, WeatherTodayModel.class);↵ }↵↵ public static WeatherTodayModel fromCursor(Cursor cursor) {↵ String id = cursor.getString(cursor.getColumnIndex(WeatherDataHelper.WeatherDBInfo.ID));↵ WeatherTodayModel model = getFromCache(id);↵ if (model != null) {↵ return model;↵ }↵ model = new Gson().fromJson(cursor.getString(cursor.getColumnIndex(WeatherTodayDataHelper.WeatherTodayDBInfo.JSON)), WeatherTodayModel.class);↵ addToCache(model);↵ return model;↵ }↵↵ public static class WeatherTodayRequestData {↵ public WeatherTodayModel weatherinfo;↵ }↵}↵

    Values
    TokenNegative-pole strength
    )1.548
    {↵1.146
    0.368
    return2.406
    model0.000
    ;↵0.681
    0.373
    }↵0.678
    0.184
    model0.000
    =1.380
    new1.157
    Gson0.000
    ().1.110
    fromJson0.000
    (cursor0.227
    .getString0.000
    (cursor0.202
    .getColumnIndex0.000
    (0.502
    Weather0.011
    Today0.000
    Data0.000
    Helper0.000
    .We0.030
    ather0.000
    Today0.000
    DB0.000
    Info0.000
    .JSON0.000
    )),3.111
    Weather0.174
    Today0.019
    Model0.000
    .class0.255
    );↵1.272
    0.356
    addTo0.000
    Cache0.000
    (model0.018
    );↵1.196
  8. 3.03 … ClassOrObject) {↵ super.visitClassOrObject(classOrObject)↵ if (classesMap[classOrObject.name] != true) {↵ return↵ }↵↵ name = classOrObject.name …
    All 645 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 containingClass = list.containingClass()↵ val className = containingClass?.name↵ if (containingClass != null && className != null && !classesMap.containsKey(className)) {↵ classesMap[className] = isMultiRule↵ }↵ super.visitSuperTypeList(list)↵ }↵↵ override fun visitClassOrObject(classOrObject: KtClassOrObject) {↵ super.visitClassOrObject(classOrObject)↵ if (classesMap[classOrObject.name] != true) {↵ return↵ }↵↵ name = classOrObject.name?.trim() ?: ""↵ }↵↵ override fun visitProperty(property: KtProperty) {↵

    Values
    TokenNegative-pole strength
    Class0.000
    Or0.008
    Object0.000
    )1.224
    {↵0.937
    0.510
    super0.683
    .visit0.000
    Class0.000
    Or0.033
    Object0.000
    (class0.658
    Or0.000
    Object0.000
    )↵1.653
    0.886
    if1.337
    (0.017
    classes0.000
    Map0.000
    [class0.752
    Or0.001
    Object0.000
    .name0.000
    ]1.270
    !=0.348
    true0.000
    )1.742
    {↵1.171
    0.483
    return3.029
    ↵0.298
    0.678
    }↵↵0.147
    0.258
    name0.000
    =1.379
    class0.273
    Or0.027
    Object0.000
    .name0.072
  9. 2.86 … base = Math.pow(10, v);↵ var f = ((n * base) | 0) % base;↵ return {v: v, f: f};↵}↵↵$provide.value …
    All 937 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": [↵ "Cio",↵ "Lui",↵ "Lus",↵ "Muu",↵ "Lum",↵ "Luf",↵ "Kab",↵ "Lush",↵ "Lut",↵ "Lun",↵ "Kas",↵ "Cis"↵ ],↵ "fullDate": "EEEE d MMMM y",↵ "longDate": "d MMMM y",↵ "medium": "d MMM y HH:mm:ss",↵ "mediumDate": "d MMM y",↵ "mediumTime": "HH:mm:ss",↵ "short": "d/M/y HH:mm",↵ "shortDate": "d/M/y",↵ "shortTime": "HH:mm"↵ },↵ "NUMBER_FORMATS": {↵ "CURRENCY_SYM": "FrCD",↵ "DECIMAL_SEP": ",",↵ "GROUP_SEP": ".",↵ "PATTERNS": [↵ {↵ "gSize": 3,↵ "lgSize": 3,↵ "maxFrac": 3,↵ "minFrac": 0,↵ "minInt": 1,↵ "negPre": "-",↵ "negSuf": "",↵ "posPre": "",↵ "posSuf": ""↵ },↵ {↵ "gSize": 3,↵ "lgSize": 3,↵ "maxFrac": 2,↵ "minFrac": 2,↵ "minInt": 1,↵ "negPre": "-",↵ "negSuf": "\u00a4",↵ "posPre": "",↵ "posSuf": "\u00a4"↵ }↵ ]↵ },↵ "id": "lu-cd",↵ "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}↵});↵}]);

    Values
    TokenNegative-pole strength
    base0.000
    =0.720
    Math0.171
    .pow0.000
    (0.714
    10.000
    00.000
    ,1.250
    v0.205
    );↵0.955
    0.373
    var0.172
    f0.000
    =0.755
    ((0.370
    n0.000
    *0.019
    base0.000
    )1.650
    |0.731
    0.664
    00.000
    )1.623
    %0.000
    base0.101
    ;↵1.487
    0.368
    return2.042
    {0.710
    v0.000
    :2.859
    v0.090
    ,1.409
    f0.000
    :2.256
    f0.000
    };↵0.717
    }↵↵0.280
    $0.133
    provide0.000
    .value0.000
  10. 2.80 … Exception.additionalFields valueForKey:@"BoxUsage"]];↵ }↵}↵↵↵-(NSString *)description↵{↵ NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256];↵↵ [buffer appendString:@"{" …
    All 356 tokens

    /*↵ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.↵ *↵ * Licensed under the Apache License, Version 2.0 (the "License").↵ * You may not use this file except in compliance with the License.↵ * A copy of the License is located at↵ *↵ * http://aws.amazon.com/apache2.0↵ *↵ * or in the "license" file accompanying this file. This file is distributed↵ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either↵ * express or implied. See the License for the specific language governing↵ * permissions and limitations under the License.↵ */↵↵#import "SimpleDBMissingParameterException.h"↵↵↵↵↵@implementation SimpleDBMissingParameterException↵↵@synthesize boxUsage;↵↵↵-(id)initWithMessage:(NSString *)theMessage↵{↵ if (self = [super initWithMessage:theMessage]) {↵ }↵↵ return self;↵}↵↵↵-(void)setPropertiesWithException:(AmazonServiceException *)theException↵{↵ [super setPropertiesWithException:theException];↵↵ if ([theException.additionalFields valueForKey:@"BoxUsage"] != nil) {↵ self.boxUsage = [AmazonSDKUtil convertStringToNumber:[theException.additionalFields valueForKey:@"BoxUsage"]];↵ }↵}↵↵↵-(NSString *)description↵{↵ NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256];↵↵ [buffer appendString:@"{"];↵ [buffer appendString:[[[NSString alloc] initWithFormat:@"BoxUsage: %@,", boxUsage] autorelease]];↵ [buffer appendString:[super description]];↵ [buffer appendString:@"}"];↵↵ return [buffer autorelease];↵}↵↵↵-(void)dealloc↵{↵ [boxUsage release];↵↵ [super dealloc];↵}↵↵@end↵

    Values
    TokenNegative-pole strength
    Exception0.000
    .additional0.038
    Fields0.000
    valueForKey0.031
    :@"0.504
    Box0.000
    Usage0.000
    "]];↵0.919
    0.593
    }↵0.722
    }↵↵↵0.281
    -(0.159
    NSString0.021
    *)0.722
    description0.112
    ↵0.976
    {↵0.280
    0.285
    NSMutable0.127
    String0.000
    *0.163
    buffer0.000
    =0.806
    [[1.129
    NSMutable0.000
    String0.000
    alloc0.072
    ]1.039
    initWith0.481
    Capacity0.007
    :2.801
    20.003
    50.017
    60.107
    ];↵↵1.030
    0.530
    [1.176
    buffer0.000
    appendString0.127
    :@"0.545
    {"0.214
  11. 2.70 … SqlDbType.VarChar).Value = docType;↵ da.Fill(ds);↵ da.Dispose();↵ }↵ ds.DataSetName = "Menus";↵ ds.Tables[0].TableName = "Menu";↵ DataRelation …
    All 731 tokens

    Q:↵↵How to change XML from dataset into HTML UL↵↵I'm working on a C# webforms application and have a datalayer which gathers information about the menu a customer can see, based on their customer number and order type.↵I was using the ASP.NET menu control for this until the qa department asked to change the menu to expand on click instead of hover. At that point, I decided to try and do the menu with a simpler css/html/jquery approach but I've hit a jam.↵I have the following method in my datalayer that gets information for the menu and returns it as XML. What I'm stuck on is how to take the XML that was being gathered, when I was using the menu control and hopefully reformat it into a UL for using in the html/css approach I'd like to do. ↵public static string BuildMenu(string cprcstnm, string docType)↵ {↵ DataSet ds = new DataSet();↵ string connStr = ConfigurationManager.ConnectionStrings["DynamicsConnectionString"].ConnectionString;↵ using (SqlConnection conn = new SqlConnection(connStr))↵ {↵ string sql = "usp_SelectItemMenuByCustomer";↵ SqlDataAdapter da = new SqlDataAdapter(sql, conn);↵ da.SelectCommand.CommandType = CommandType.StoredProcedure;↵ da.SelectCommand.Parameters.Add("@CPRCSTNM", SqlDbType.VarChar).Value = cprcstnm;↵ da.SelectCommand.Parameters.Add("@DOCID", SqlDbType.VarChar).Value = docType;↵ da.Fill(ds);↵ da.Dispose();↵ }↵ ds.DataSetName = "Menus";↵ ds.Tables[0].TableName = "Menu";↵ DataRelation relation = new DataRelation("ParentChild",↵ ds.Tables["Menu"].Columns["MenuID"],↵ ds.Tables["Menu"].Columns["ParentID"],↵ false);↵↵ relation.Nested = true;↵ ds.Relations.Add(relation);↵↵ return ds.GetXml();↵ }↵↵A sample of XMl that is output is as follows: ↵<Menus>↵- <Menu>↵ <MenuID>23</MenuID> ↵ <ITEMNMBR>0</ITEMNMBR> ↵ <Text>ACC</Text> ↵ <Description>ACC</Description> ↵ <ParentID>0</ParentID> ↵- <Menu>↵ <MenuID>34</MenuID> ↵ <ITEMNMBR>1</ITEMNMBR> ↵ <Text>BASE</Text> ↵ <Description>BASE</Description> ↵ <ParentID>23</ParentID> ↵- <Menu>↵ <MenuID>516</MenuID> ↵ <ITEMNMBR>2</ITEMNMBR> ↵ <Text>HYP</Text> ↵ <Description>HYP</Description> ↵ <ParentID>34</ParentID> ↵↵I would need to convert this to something such as :↵<ul class="dropdown">↵ <li><a href="#">ACC</a>↵ <ul class="sub_menu">↵ <li>↵ <a href="#">BASE</a>↵ <ul>↵ <li>↵ <a href="#">HYP</a>↵ <ul>↵ <li><a href="#">Terminal 1</a></li>↵ <li><a href="#">Terminal 1</a></li>↵ </ul> ↵ </li>↵ </ul>↵</li>↵↵A:↵↵You will get some ideas from the following MSDN link that illustrates writing html from a dataset using xslt↵http://msdn.microsoft.com/en-us/librar

    Values
    TokenNegative-pole strength
    SqlDbType0.289
    .VarChar0.000
    ).1.792
    Value0.000
    =1.544
    doc0.000
    Type0.000
    ;↵1.224
    0.450
    da0.269
    .Fill0.000
    (ds0.239
    );↵1.116
    0.481
    da0.314
    .Dispose0.000
    ();↵0.667
    0.585
    }↵0.608
    0.423
    ds0.000
    .Data0.000
    SetName0.029
    =1.595
    "0.294
    Menus0.084
    ";↵0.689
    0.414
    ds0.000
    .Tables0.000
    [2.704
    00.361
    ].1.135
    TableName0.000
    =1.461
    "0.263
    Menu0.008
    ";↵0.639
    0.406
    Data0.066
    Relation0.000
  12. 2.65 … known min and max value which details:↵Array.prototype.scaleBetween = function(scaledMin, scaledMax) {↵ var max = Math.max.apply(Math, this);↵ var min = Math.min.apply(Math …
    All 379 tokens

    Q:↵↵Scale down numbers with known max min to new max min in PHP↵↵Let's say I have this array of numbers:↵$arr = [100, 60, 30, 22, 1]↵and it's based off a 1 - 100 range. And I want it based of a 1 - 5 range.↵I have found this answer here: How to scale down a range of numbers with a known min and max value which details:↵Array.prototype.scaleBetween = function(scaledMin, scaledMax) {↵ var max = Math.max.apply(Math, this);↵ var min = Math.min.apply(Math, this);↵ return this.map(num => (scaledMax-scaledMin)*(num-min)/(max-min)+scaledMin);↵}↵↵But I am not sure how I would translate that to PHP/Laravel.↵↵A:↵↵Not sure if this are the correct results, but it does what you described:↵$arr = [100, 60, 30, 22, 1];↵↵function scale(array $array, float $min, float $max): array↵{↵ $lowest = min($array);↵ $highest = max($array);↵↵ return array_map(function ($elem) use ($lowest, $highest, $min, $max) {↵ return ($max - $min) * ($elem - $lowest) / ($highest - $lowest) + $min;↵ }, $array);↵}↵↵echo json_encode(scale($arr, 1, 10));↵// [10,6.363636363636363,3.6363636363636362,2.909090909090909,1]↵↵

    Values
    TokenNegative-pole strength
    known0.278
    min0.000
    and0.154
    max0.000
    value0.000
    which0.191
    details0.154
    :↵0.000
    Array0.000
    .prototype0.000
    .scale0.000
    Between0.038
    =0.078
    function0.000
    (s0.000
    caled0.042
    Min0.000
    ,0.560
    scaled0.000
    Max0.000
    )0.388
    {↵0.017
    0.337
    var0.301
    max0.000
    =1.037
    Math0.084
    .max0.000
    .apply0.126
    (Math0.663
    ,2.647
    this0.864
    );↵1.181
    0.772
    var0.361
    min0.000
    =0.711
    Math0.142
    .min0.000
    .apply0.135
    (Math0.747
Read more

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

Explanation scores on held-out text

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

Read more

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

Detection
0.78
Fuzzing
0.50
Embedding AUROC
0.48

Detection recall by activation strength

0.40
0.60
0.40
0.60
0.80
weakeststrongest

False alarms on inactive windows: 0%.

Judge
muse-spark-1.3
Held-out windows
177 active of 4,000
Judged
50 detection · 37 fuzzing
Detection outcomes
11 missed · 0 false alarm · 14 hit · 25 correct rejection
Seed
4179954950 · NeelNanda/pile-10k@127bfedc (data/*.parquet, first 500 docs)
Detection windows (50), the explanation's mistakes first
  1. missed 1.86 · sim -0.05 {1}{t}{\ensuremath {\mathbb{E}}}\bigg[\sum_{s\leq t}{\ensuremath {\mathbb
  2. missed 1.77 · sim -0.03 {I}}}_A(\Delta X_s)\bigg],$$ for any Borel set $A$ and $t>0$. Here, $\
  3. missed 1.68 · sim -0.06 and $1<p<2$, the optimal constant is $$\nonumber↵M=\sqrt[p]{\frac{(k_1+\cdots + k
  4. missed 1.45 · sim 0.07 display: inline-block;↵ width: 100%;↵ }↵↵ .hljs-selector-class {↵ color: #9b703f
  5. missed 1.42 · sim 0.04 background-color: #144212;↵ color: #e6e1dc;↵ display: inline-block;↵ width: 1
  6. missed 1.34 · sim -0.02 = -o, 3*o - 5*h + 194 = -89 for o.↵-86↵Solve 4
  7. missed 1.23 · sim -0.02 aws-android-sdk-mobile-client:2.15.+@aar') { transitive = true }↵}↵```↵↵* `aws-android-sdk-kinesis` library
  8. missed 1.19 · sim 0.11 u + 3404*t - 3402*t, 2*u + 10*t + 302 = -1
  9. missed 1.18 · sim -0.08 enum-graecum* L) belongs to the Leguminosae family and is cultivated predominantly in India, West Asia, the Mediterranean, North Africa, and
  10. missed 1.17 · sim -0.01 = 4401*r, -30 = -5*o + 6*r for o.↵6↵Solve -93 = -
  11. missed 1.06 · sim 0.16 (editorial, July 17):↵↵I cannot for the life of me understand why anyone is surprised, much less gobsmacked, as your editorial puts
  12. hit 2.19 · sim -0.04 src = os.getcwd()↵global mydir↵def filecreation(content, filename):↵↵ mydir = os.path.join(os.getcwd(), datetime.datetime.now().strftime('%
  13. hit 2.00 · sim 0.01 spreadsheet with appropriate format:↵for (i in 1:nrow(pval)) {↵ rows <- createRow(sheet, rowIndex=i)↵ for (j in
  14. hit 1.89 · sim 0.12 ::getSessao();↵ return @$sessao[$nome];↵ }↵↵ /**↵ * Pega uma propriedade da sessão e depois a
  15. hit 1.88 · sim 0.13 = kph;↵ }↵↵ public decimal Kph↵ {↵ get{ return this._velocityInKPH; }↵ }↵↵ public decimal M
  16. hit 1.72 · sim 0.14 boost::property<boost::graph_name_t, std::string>>↵create_empty_directed_graph_with_graph_name() noexcept;↵↵#endif // CREATE_EMPTY_DIRECTED_GRAPH
  17. hit 1.66 · sim 0.05 ;" +↵ // "User Id={2};Password={3};Database={4};",↵ // serveris.ToString(), port.ToString(), user.ToString
  18. hit 1.54 · sim 0.10 db.runSql('UPDATE office SET name = \'U.S. Embassy LaPaz\' where name=\'U.S. Embassy La Paz\''),↵↵ ]);↵};↵↵↵
  19. hit 1.47 · sim 0.03 enables us to not have to rely on NODE_PATH.↵ */↵exports.setup = function (options, seedLink) {↵ dbm = options.dbmigrate
  20. hit 1.40 · sim -0.07 I tried with OR condition but it doesn't work.↵$this->db->get_where('genre',array('genre_id'=>$row['genre_id']))->row
  21. hit 1.30 · sim 0.16 / was verified as official when first introduced to the cask↵ url "https://github.com/google/fonts/trunk/ofl/cormorantsc",↵
  22. hit 1.29 · sim 0.00 ).↵Below is the very simple class I have:↵class Notebook↵{↵ private String title;↵ private List<Category> categories;↵↵ public Notebook(String title,
  23. hit 1.21 · sim 0.02 auto, 100% auto; ↵ background-position: center, center, top center; ↵ background-repeat: repeat,
  24. hit 1.12 · sim 0.15 <StringsWrapper x:Key="LibraryItemDetailsViewResources"></StringsWrapper>↵</UserControl.Resources>↵↵<TextBlock FontSize="12" FontWeight="
  25. hit 1.11 · sim 0.06 _VOLLEY = 25812,↵ SPELL_SUMMON_CLOUD = 26590, // summons 15
  26. correct rejection 0.46 · sim -0.01 can only learn this on a pally and it's supposed to only drop for pallies, but it dropped for my DK today (maybe since there were no
  27. correct rejection 0.45 · sim 0.00 should know the methods in gathering the honey from the comb; beeswax is also part of the returns in beekeeping.
  28. correct rejection 0.38 · sim 0.06 .U. embossing folders. I used 2 of the small butterflies from the S
  29. correct rejection 0.37 · sim 0.02 secrets, would the technology of communication have been so↵easily weaponised?↵↵All secrets are weapons, because you cannot have
  30. correct rejection 0.37 · sim 0.03 of choice?↵↵I have nine safety razors in my medicine cabinet! My Gillette Super Speed Red Tip and Slim get the most love. I still use the
  31. correct rejection 0.35 · sim 0.07 ”, continuou a advogada, que por quatro anos atuou como Ouvidora-Geral da Defensoria Pública do Estado de São Paulo
  32. correct rejection 0.35 · sim 0.09 of integrity and poor scientific credentials have been widely exposed”.↵↵“The IPCC is an advocacy group dedicated to wealth redistribution,” he writes. “Its links to Greenpeace and
  33. correct rejection 0.35 · sim 0.06 about spiritual issues. At first, students are fearful and anxious. They’re skeptical about people’s willingness to engage with them. But after an hour or two of
  34. correct rejection 0.34 · sim 0.03 #### Longleat↵↵#### Malmesbury↵↵#### Lacock↵↵#### Avebury↵↵#### Exmoor National Park↵↵#### Dulverton↵↵####
  35. correct rejection 0.33 · sim 0.02 selmi said that the site probably would have been used mainly between the spring and fall, when food would have been plentiful. "The island would have had the
  36. correct rejection 0.33 · sim 0.06 Home Nations Championship. After retiring from playing sport he became a sports administrator, most notably as the chairman of the Lawn Tennis Association.↵↵Personal history↵Lohden
  37. correct rejection 0.32 · sim 0.00 ↵supporters of the Patriot Act.↵[https://en.wikipedia.org/wiki/Patriot_Act#Reauthorizations](https://en.wikipedia.org/wiki/Patri
  38. correct rejection 0.31 · sim -0.05 Quanetta M. Buchannon, deceased↵v.↵Rebecca GERLACH, M.D.↵1991732.↵Supreme Court
  39. correct rejection 0.31 · sim 0.09 greatest way to say something is to say nothing at all↵Sometimes the greatest way to say something is to say nothing
  40. correct rejection 0.30 · sim 0.03 , a sports event, movie, or the like. Often, the purchased ticket can be redeemed at some later stage and location. Similarly a consumer may purchase an
  41. correct rejection 0.30 · sim 0.06 the olefin-based serpentine arm and used the analysis results to make design modifications.↵↵Among those modifications, says Senior Engineer Russ Hempstead: “We removed
  42. correct rejection 0.30 · sim 0.09 . As the jumbo jet accelerated, he saw a flash, followed by a trail of white smoke pouring from the plane as it neared liftoff.
  43. correct rejection 0.29 · sim 0.09 adins.↵↵Comment by DELMistrzu↵↵Can I learn this Schematic as a Rogue ?↵↵Comment by Entilzha2161↵↵You
  44. correct rejection 0.28 · sim 0.00 , in-hospital managements, ED diagnosis and discharge diagnosis were recorded according to pre-designed case report forms. The study protocols were approved by the appropriate institutional review
  45. correct rejection 0.28 · sim 0.02 taking non-verbal actions if he just is the type to do much more than the bare minimum. ↵↵
  46. correct rejection 0.25 · sim -0.01 2-O-β-D-glucopyranoside: Possible mechanisms for Polygoni Multiflori Radix-induced liver injury.↵Polygoni Multiflor
  47. correct rejection 0.22 · sim 0.11 10 y dentro del loop While el contador resta 1, porqué en la "impresión" aparece desde el 10. Sé
  48. correct rejection 0.21 · sim -0.02 If you or your colleagues still "dump" static data from line-of-business systems into a tool like Excel to manipulate, analyze, or present it; or if
  49. correct rejection 0.19 · sim 0.08 Delta X_s\equiv X_s-X_{s^-}$ denotes the magnitude of the jump of $X$ at time $s$ and ${\ensuremath
  50. correct rejection 0.14 · sim 0.04 /fontloader-fonts-ext.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-fonts-syn.lua↵share
Fuzzing windows (37), dashed tokens were marked for the judge
  1. marks right · judged wrong r')↵for i in f.readlines():↵ print i↵ copy(i.strip(),r"E:\Images") ↵↵f.close()↵↵
  2. marks right · judged wrong attribute {↵ color: #cda869;↵ }↵↵ .hljs-meta {↵ color: #9b859d;↵
  3. marks right · judged wrong { ↵ position: fixed; ↵ width: 100vw; ↵ height: 100vh; ↵ } ↵ } ↵ ↵
  4. marks right · judged wrong try another method"↵ with open('filelist.txt','w+') as list_f:↵ for filename in list_f:↵ with open(filename) as f
  5. marks right · judged wrong 3.0 license (html5up.net/license) ↵/// ↵ ↵/* Wrapper */ ↵ ↵ #wrapper { ↵ @include vendor('transition', 'opacity #{_duration
  6. marks right · judged wrong Id;↵↵ public ControllerCreateProposalView(ApexPages.StandardController stdController){↵ propertyId = ApexPages.CurrentPage().getParameters().get('id
  7. marks right · judged wrong "-fgnu-inline-asm" ]↵ ↵ sources -= [↵@@ -387,6 +387,8 @@ component("sandbox_services")
  8. marks right · judged wrong int mSubtypeEnablerTitleRes;↵ int mInputMethodSettingsCategoryTitle;↵ int mInputMethodSettingsCategoryTitleRes;↵ int mSub
  9. marks right · judged wrong select table_name from INFORMATION_SCHEMA.tables WHERE table_schema = ANY (current_schemas(false));", ncon);↵ adapter.SelectCommand = listfill;↵ adapter.Fill
  10. marks right · judged wrong essoa'] = $joao;↵↵// No Controller que recebe os dados↵session_start();↵$joao = $_SESSION['pessoa'];↵print_r($jo
  11. marks right · judged wrong Result, nullptr);↵ size_t length = JSStringGetLength(resultStrRef);↵ char buffer[length + 1];↵ JSStringGetUTF8CString
  12. marks right · judged wrong [self::$BASE_PROPRIEDADES][$nome] = $valor;↵ }↵↵ /**↵ * Configura a sessão para guardar os itens↵
  13. marks right · judged wrong cdots +k_n)}}{k_1^{k_1} \cdots k_n^{k_n}}}.$$ This is a generalization of the
  14. marks wrong · judged wrong 79,7 +379,7 @@ component("sandbox_services") {↵ public_deps += [ ":sandbox_services_headers" ]↵ }↵ ↵-
  15. marks wrong · judged wrong 323;↵ color: #e6e1dc;↵ }↵↵ .hljs-comment,↵ .hljs-quote {↵ color: #
  16. marks wrong · judged wrong what finally worked - ↵from shutil import copy↵f = open(r'C:\Users\B\Desktop\BE Project\K\filelist.txt', '
  17. marks wrong · judged wrong counter = 10;↵while(counter > 0) {↵ counter--;↵ console.log(counter);↵}↵.as-console-wrapper { max-height: 10
  18. marks wrong · judged wrong sources += [↵+ "services/libc_interceptor.cc",↵+ "services/libc_interceptor.h",↵ ]↵ } else if (!is_android
  19. marks wrong · judged wrong (tabulusaraksts);↵ listBox1.DataSource = tabulusaraksts;↵ listBox1.DisplayMember = "table_name";↵ NpgsqlCommand showtable = new Npgsql
  20. marks wrong · judged wrong )↵↵forms.py↵from django import forms↵from project.models import Kiss↵↵class KissForm(forms.ModelForm):↵ class Meta:↵ model = Kiss↵↵and the
  21. marks wrong · judged wrong hosts).↵To pass the starting offset you can use Configuration parameters accessible via job.getConfiguration().getInt(YOUR_PARAM_NAME, 0)↵↵
  22. marks wrong · judged wrong (some_lib SHARED IMPORTED)↵set_target_properties(some_lib↵ PROPERTIES↵ IMPORTED_LOCATION ${EXTERNAL_DIR}/lib/libsome_lib.so
  23. marks wrong · judged wrong top: 0;↵ text-align: center;↵ margin: auto;↵}↵↵and add this css also:↵@media (max-width:767px
  24. marks wrong · judged wrong -header"> ↵ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-2"> ↵ <span class="
  25. marks wrong · judged wrong per cursor same as redis command Zscan.↵↵here is my code snap ↵ using (ConnectionMultiplexer conn = ConnectionMultiplexer.Connect(conf))↵ {↵ var dbs
  26. marks wrong · judged wrong ();↵ flush();↵↵ $proxylisttype = $pb->returnProxyList($_REQUEST['listtype']); // make sure request vars are clean↵
  27. marks wrong · judged wrong 4*r, r - 10*r + 10*d - 39 = 6*d for r.↵-3↵Solve -3
  28. marks wrong · judged wrong ↵ </owner-list>↵ <waiter-list>↵ <waiter id="process203dad848" mode="IX" request
  29. marks wrong · judged wrong factors (like enzymatic deficiencies) and environmental exposures to noxious agents, like cigarette smoking, occupational dusts, air pollution and infections in childhood. The main
  30. marks wrong · judged wrong as an appropriate tool for the monitoring of molecular remission following therapy.↵Screening of JAK2 V617F point mutation becomes more and more important
  31. marks wrong · judged wrong you...↵---------------------- Forwarded by Tana Jones/HOU/ECT on 03/20/2000 04:44
  32. marks wrong · judged wrong to silicon contacts. The results provide direct experimental confirmation that the chemical integrity of the monolayer is preserved and that the molecules play a direct role in electronic con
  33. marks wrong · judged wrong the last 12 months, while↵another 28 per cent say their debt level has stayed the same - which indicates nearly half (49 per
  34. marks wrong · judged wrong Domitia in the Realm," she said. "And I wore nothing that would imply my station."↵↵"That's very good. We might just come out of it
  35. marks wrong · judged wrong the user to the edit view of the new record, we have to first insert that record so that we can pull its id.↵Outside of making a custom edit
  36. marks wrong · judged wrong .↵↵“The international focus on strengthening codes and standards in light of misconduct scandals means that South Africa cannot afford to be complacent,” it said.↵↵As a result,
  37. marks wrong · judged wrong Yohe .↵↵Robert Irwin: ACE Gallery.↵↵The broad spectrum of Light & Space practices included, but was not limited to the use of resin, polymer,

Activation and mechanism

Activation distribution

[0, 0.141): 170338 [0.141, 0.282): 20178 [0.282, 0.424): 4238 [0.424, 0.565): 1459 [0.565, 0.706): 900 [0.706, 0.847): 638 [0.847, 0.989): 490 [0.989, 1.13): 405 [1.13, 1.27): 324 [1.27, 1.41): 238 [1.41, 1.55): 164 [1.55, 1.69): 135 [1.69, 1.84): 99 [1.84, 1.98): 78 [1.98, 2.12): 52 [2.12, 2.26): 49 [2.26, 2.4): 30 [2.4, 2.54): 17 [2.54, 2.68): 12 [2.68, 2.82): 11 [2.82, 2.97): 12 [2.97, 3.11): 12 [3.11, 3.25): 10 [3.25, 3.39): 2 [3.39, 3.53): 3 [3.53, 3.67): 1 [3.67, 3.81): 0 [3.81, 3.95): 0 [3.95, 4.1): 0 [4.1, 4.24): 1 0.00 4.24

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

Mechanism

Claimed retrospective: responds to tokens already in context.

Input attribution

0 back
19%
1 back
13%
2–4 back
13%
5–16 back
22%
17–64 back
6%
65+ back
26%
  • #1 at :: ialog-1 0.19 ? -9 0.13_D-2 0.09 -8 0.07_App-4 0.07
  • #2 (not converged) at :: (name-1 0.45:0 0.19 Item-2 0.08let-5 0.08 =-3 0.07
  • #3 at :: Url-1 0.35:0 0.18template-2 0.06',-4 0.06 view-207 0.06
  • #4 at :: :0 0.39 { -9 0.10 parent-1 0.10, -3 0.09.AUTO-4 0.06
  • #5 at :: :0 0.31 text-1 0.17 -2 0.08 [ -5 0.06 { -3 0.04

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

Vocabulary projection

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

Jacobian lens

} ↵ · z = +6.04 · #1 promoted } ↵ ␣ ↵ · z = +6.01 · #2 promoted ␣ ↵ ] ↵ · z = +5.36 · #3 promoted ] ↵ ␣␣ ↵ · z = +5.33 · #4 promoted ␣␣ ↵ ) ↵ · z = +5.31 · #5 promoted ) ↵ ') ↵ · z = +5.06 · #6 promoted ') ↵ ) ↵ · z = +5.03 · #7 promoted ) ↵ } ↵ ↵ · z = +4.95 · #8 promoted } ↵ ↵ ){ ↵ · z = +4.91 · #9 promoted ){ ↵ ** ↵ · z = +4.83 · #10 promoted ** ↵ ␣hust · z = -4.24 · #10 suppressed ␣hust 蛐 · z = -4.25 · #9 suppressed 蛐 ␣pip · z = -4.28 · #8 suppressed ␣pip …↵↵ · z = -4.33 · #7 suppressed …↵↵ pip · z = -4.41 · #6 suppressed pip ␣trumpet · z = -4.45 · #5 suppressed ␣trumpet 运河 · z = -4.56 · #4 suppressed 运河 ␣Griffin · z = -4.60 · #3 suppressed ␣Griffin 乐团 · z = -4.61 · #2 suppressed 乐团 啤酒 · z = -4.66 · #1 suppressed 啤酒 -8 -6 -4 -2 0 +2 +4 +6 +8

Logit lens

缣 · z = +5.18 · #1 promoted 缣 ␣.↵↵↵↵ · z = +4.88 · #2 promoted ␣.↵↵↵↵ }());↵ · z = +4.65 · #3 promoted }());↵ .…↵↵ · z = +4.44 · #4 promoted .…↵↵ LAN · z = +4.36 · #5 promoted LAN )row · z = +4.24 · #6 promoted )row ..↵↵↵↵ · z = +4.15 · #7 promoted ..↵↵↵↵ ,Th · z = +4.14 · #8 promoted ,Th />";↵ · z = +4.09 · #9 promoted />";↵ "'; · z = +4.03 · #10 promoted "'; ␣did · z = -4.10 · #10 suppressed ␣did ␣only · z = -4.11 · #9 suppressed ␣only ␣atleast · z = -4.16 · #8 suppressed ␣atleast 仪表 · z = -4.19 · #7 suppressed 仪表 ␣pro · z = -4.25 · #6 suppressed ␣pro ␣everyone · z = -4.32 · #5 suppressed ␣everyone ␣measures · z = -4.35 · #4 suppressed ␣measures .appspot · z = -4.35 · #3 suppressed .appspot ␣all · z = -4.48 · #2 suppressed ␣all ␣at · z = -5.02 · #1 suppressed ␣at -8 -6 -4 -2 0 +2 +4 +6 +8
promotes suppresses Hover a bar for its value.
Values
#Jacobian lens promotessuppressesLogit lens promotessuppresses
1 } +6.04 啤酒 -4.66 缣 +5.18 at -5.02
2 +6.01 乐团 -4.61 . +4.88 all -4.48
3 ] +5.36 Griffin -4.60 }()); +4.65 .appspot -4.35
4 +5.33 运河 -4.56 .… +4.44 measures -4.35
5 ) +5.31 trumpet -4.45 LAN +4.36 everyone -4.32
6 ') +5.06 pip -4.41 )row +4.24 pro -4.25
7 ) +5.03 … -4.33 .. +4.15 仪表 -4.19
8 } +4.95 pip -4.28 ,Th +4.14 atleast -4.16
9 ){ +4.91 蛐 -4.25 />"; +4.09 only -4.11
10 ** +4.83 hust -4.24 "'; +4.03 did -4.10

Top-10 overlap 0% · cos(w, J·w) 0.11 · kurtosis 3.5 (Jacobian) / 3.1 (logit) · 100 prompts

Read more

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

Patchscope

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

Read more

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

PromptLayer ×1×2×4
category 2 unit : : : : : : : : : : : :: : : : : : : : : : : :country
control periodemotionanimal
category 3 unit animalemotionnoun
control scienceadjectiveperson
meaning 2 unit that of the word "of" in the sentence "The"to be or become known or known to be" orto express the meaning of a word or phrase. It is
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 3 unit :to be used in the following way: "The meaning ofto indicate the meaning of a word. For example, the
control to increase the intensity of the message. The word "intto be able to do something. The word "industrialthe same as the meaning of the word "happiness"

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 (4.24), 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. It's a good day to go for a walk. Which of the following options correctly expresses this meaning? A

Clamped ×2

sunny. The temperature is 20 degrees Celsius. If the temperature increases by 5 degrees Celsius, what will be

Clamped ×4

sunny. if (weather == "sunny") -> if (weather == "sunny") ->

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 $120. The shoes were discounted by 20%. How much did I pay

Clamped ×2

a pair of shoes for 100 yuan. I gave the cashier 50 yuan and 100

Clamped ×4

a product. I was very happy with the product. I was very satisfied with the product. I was very satisfied with

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. This is the most important lesson I have learned in my life. I have learned that the best way

Clamped ×2

to do it. This is the most important part of the learning process. It is the most important part of the learning

Clamped ×4

to read. The best way to learn is to read. The best way to learn is to read. The best way

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 man who was very rich. He had a lot of money and he wanted to give it away. He

Clamped ×2

there was a man who was very rich. He had a lot of money. He had a lot of money. He

Clamped ×4

the world was a place of peace and contentment. The world was a place of peace and contentment. 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 2010 census showed that the population of the United States was 328,000

Clamped ×2

the 2010-2011 fiscal year was the first year in which the U.S. economy

Clamped ×4

the 1999-01-01 00:00:00 UTC 1

Wiring

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

Read more

"Directly" means along the residual stream, through no other unit. Linked units have pages in the registry. Reported, not gated.

From the weights. Virtual weights, with each norm's gain folded in. They rank units but have no absolute scale. Each number is how much one unit reads of the other's write. It is signed when one vector reads another (+ means a positive activation raises the read), and a norm otherwise. Heads count through their OV circuit upstream, and through their Q, K and V reads downstream. Channels are on hover.

From activations. Averaged over this pole's peak on 7 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
L2/N1948 gate -0.205
L2/N813 gate +0.107
L2/N312 gate -0.101
L2/N4376 gate -0.0984
L2/N3250 up +0.0983
L2/N4174 gate +0.0964
L2/N598 gate +0.0959
L1/N964 gate +0.0913
L1/N2461 gate +0.0892
L1/N952 gate -0.0881
Upstream heads
L3/H10 gate +0.116
L3/H3 gate +0.109
L3/H1 gate +0.104
L2/H1 gate +0.0864
L3/H2 gate +0.0845
L2/H6 gate +0.0828
L3/H13 up +0.0795
L3/H8 gate +0.0763
L3/H9 gate +0.0753
L3/H12 gate +0.0745
Downstream neurons
L21/N567 up -0.552
L14/N196 gate -0.173
L10/N1207 gate +0.157
L10/N4229 gate +0.146
L21/N2541 gate -0.125
L23/N3355 gate +0.122
L15/N2472 gate -0.119
L4/N883 gate -0.118
L23/N765 up -0.118
L22/N651 gate +0.115
Downstream heads
L8/H3 q +0.481
L9/H7 k +0.299
L9/H8 k +0.299
L9/H9 k +0.299
L9/H10 k +0.299
L9/H11 k +0.299
L9/H12 k +0.299
L9/H13 k +0.299
L12/H11 q +0.287
L16/H0 q +0.28

From activations

Upstream neurons
L2/N1948 -0.343
L2/N2234 +0.3
L1/N4644 +0.176
L2/N598 +0.138
L1/N952 -0.115
L1/N255 +0.113
L0/N297 +0.109
L1/N3052 -0.107
L0/N50 -0.102
L1/N3794 -0.0817
Upstream heads
L2/H6 +0.353
L3/H1 +0.325
L3/H10 -0.251
L2/H1 +0.236
L1/H12 -0.205
L2/H0 +0.189
L1/H13 -0.145
L1/H9 -0.14
L1/H7 -0.102
L2/H9 -0.0957
Downstream neurons
L6/N3330 +0.328
L23/N2505 +0.285
L23/N4749 +0.285
L23/N3122 -0.233
L23/N3158 -0.232
L23/N607 -0.201
L17/N2888 -0.2
L23/N2228 -0.195
L23/N2345 +0.186
L23/N779 +0.182
Downstream heads
L12/H0 v +0.22
L8/H3 v +0.187
L10/H6 v +0.183
L14/H1 v +0.181
L14/H10 v +0.146
L13/H3 v +0.131
L4/H12 v +0.13
L5/H9 v +0.128
L23/H1 v +0.126
L21/H9 v +0.115

Covariance and confounds

Confounds

Token identity R²
0.40
Position R²
0.01
Frequency r
0.05
Best trivial baseline
never active · 0.63
Hypothesis
0.80 ✓

return(),'), ":")) ?:), ',$ return))'])

Co-activating neuron poles

Pole Lift ≥ Both ρ r
N2785− 28.5 450 +0.03 -0.16
N1143− 21.1 338 -0.00 -0.14
N4576+ 18.2 294 +0.00 +0.10
N2109+ 17.8 286 +0.04 +0.11
N3799+ 16.6 268 -0.01 +0.09
N455+ 16.1 263 +0.01 -0.06
N547− 15.2 249 +0.00 -0.10
N4375− 15.1 244 +0.06 -0.12
N296− 14.4 237 +0.02 -0.08
N1643+ 13.8 228 +0.08 +0.00
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
N2785, N1143, N4576
KL pole alone
2.06e-04
KL partners
9.09e-05
KL together
2.46e-04
Redundancy ratio
0.75

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

Run details

Submitted by
muse-spark-1.3
Reviewed by
muse-spark-1.3 (same model as the proposer: not an independent review)
Reviewed at
2026-11-04 03:39 UTC
Max activation
4.2369
Selection
manual
Corpus
NeelNanda/pile-10k@127bfedc (data/*.parquet, first 500 docs) · 199,896 tokens · seeded sample of 477/500 docs (≤ 200,000 tokens, seed 0) · licence bigscience-bloom-rail-1.0
Model revision
060db6499f32 · float32
Ran on
scan mps:0 · review mps:0
Run cost
9.9 min (slowest: judge, 3.2 min) · 4 LLM calls · 159,652 + 31,697 tokens · $0.01