Open Interpretability Models Contributors Research Posts About

Qwen/Qwen2.5-0.5B · L8/N201 · 20261121T180600Z

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

#2 · positive pole + NEEDS REVISION moderate evidence for · 0.61 self-reviewed counts toward status 2026-11-21 · 20261121T180600Z

Retrospective detector of the fused dot-field token of an attribute access: the pole fires on the single tokenizer token that joins a period to a field name (`.value`, `.data`, `.child`, `.size`, `.timeout`, `.email`) in source code and in ordinary prose alike, reaching 0.4-0.8 in both (`cfg.timeout`, but also `She wrote sample.value on the board`). The fusion, not the code syntax or the sentence meaning, carries the signal: the same field word as a separate token after a space (`cfg timeout`, `sample value`) stays at the floor (0.14-0.29), and the field word modulates strength (`.child`, `.value`, `.data`, `.email` strong; `.id`, `.status` weak).

The whole hypothesis

Retrospective detector of the fused dot-field token of an attribute access: the pole fires on the single tokenizer token that joins a period to a field name (`.value`, `.data`, `.child`, `.size`, `.timeout`, `.email`) in source code and in ordinary prose alike, reaching 0.4-0.8 in both (`cfg.timeout`, but also `She wrote sample.value on the board`). The fusion, not the code syntax or the sentence meaning, carries the signal: the same field word as a separate token after a space (`cfg timeout`, `sample value`) stays at the floor (0.14-0.29), and the field word modulates strength (`.child`, `.value`, `.data`, `.email` strong; `.id`, `.status` weak).

Hard negatives 11/14 rejected · holdouts 4/6 fired (independent observations; 20 probes) · P(useful) 0.80 · re-measures the probes of 20261111T043343Z; not independent evidence

Revises 20261021T233306Z (REJECTED)

Balanced accuracy
0.73
Sufficiency
0.84
Necessity
0.81
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.79 · sensitivity 0.67 · counterfactual reproduction 1.00 · protocol v0.10

.value.data.child.size.timeout.email.code.rows.Mask.field

Adversarial review

hard_negative: 11/14 passed; positive_holdout: 4/6 passed; counterfactual: 9/9 passed; lookahead_consistency: 1/1 passed. Failed gates: specificity.

Hard negatives 11/14 stay below Positive holdouts 4/6 reach it threshold 0.31 (25% of max) → active passed · 0.101 (8% of max) She sent an email to the whole department about the schedule change. passed · 0.103 (8% of max) He ordered a medium size and a black coffee at the counter. passed · 0.217 (18% of max) Before the deploy, set cfg timeout to thirty seconds and restart the worker pool. passed · 0.232 (19% of max) The net present value of the project exceeded every forecast we made. passed · 0.245 (20% of max) The teacher asked the class to compare each sample value with the reference sheet. passed · 0.249 (20% of max) Upgrade the firmware to version 2.7.1 before Friday to avoid outages. passed · 0.279 (23% of max) De verkoper verzekerde ons dat de prijs echt niet zou stijgen dit jaar. passed · 0.279 (23% of max) After the merge, the script printed node.id and job.status to the console. passed · 0.288 (23% of max) Save the quarterly report as notes.txt inside the shared folder. passed · 0.296 (24% of max) She finished the draft. Value judgments came much later, after the vote. passed · 0.307 (25% of max) Visit example.com for the full schedule of community events this autumn. failed · 0.439 (36% of max) The loader reads timeout with getattr(cfg, 'timeout') instead of the usual syntax. failed · 0.498 (40% of max) Warning: the archive listed 'value' and 'size' as missing fields. failed · 0.498 (40% of max) Warning: Unknown column 'price' in 'field list' (SQL: insert into ledger (amount) values (0)). failed · 0.132 (11% of max) # The cache eviction policy depends on image.size, so do not change it without approval. failed · 0.298 (24% of max) El servidor guardó la sesión en memoria y luego leyó config.data al reiniciar. passed · 0.308 (25% of max) Please confirm that contact.email is correct before we send the newsletter. passed · 0.464 (38% of max) fn refresh(cfg: &Config) { let limit = cfg.timeout; schedule(limit); } passed · 0.526 (43% of max) The reviewer noticed that record.value had been overwritten during the migration. passed · 0.607 (49% of max) On the first morning of the migration, the team gathered in a narrow room with two whiteboards and a projector that refused to turn on. They had spent three … 0 max 1.23
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 30 probes
TestInputExpectedObserved
✓ hard negative Before the deploy, set cfg timeout to thirty seconds and restart the worker pool.
Space-separated `cfg timeout` is the hypothesis's own floor example, so it predicts the unfused `timeout` token does not fire.
inactive 0.217
✓ hard negative The teacher asked the class to compare each sample value with the reference sheet.
Space-separated `sample value` matches the hypothesis's negative example, so it predicts the unfused field word stays at the floor.
inactive 0.245
✓ hard negative The net present value of the project exceeded every forecast we made.
Plain `value` in a finance phrase has no period fused to it, and the hypothesis says the fusion rather than the word carries the signal.
inactive 0.232
✓ hard negative He ordered a medium size and a black coffee at the counter.
Plain `size` as a clothing size has no fused dot token, so the hypothesis predicts inactivity.
inactive 0.103
✓ hard negative After the merge, the script printed node.id and job.status to the console.
Fused `node.id` and `job.status` use exactly the field words the hypothesis calls weak, so it predicts they stay out of the active band.
inactive 0.279
✓ hard negative Visit example.com for the full schedule of community events this autumn.
`example.com` is a fused dot-word token but not a field name, so the hypothesis predicts the URL token stays inactive.
inactive 0.307
✓ hard negative Save the quarterly report as notes.txt inside the shared folder.
`notes.txt` joins a period to a non-field word, which the hypothesis predicts does not activate the pole.
inactive 0.288
✓ hard negative Upgrade the firmware to version 2.7.1 before Friday to avoid outages.
The version number has bare periods with no fused field word, so the hypothesis predicts inactivity despite the dot surface.
inactive 0.249
✗ hard negative Warning: the archive listed 'value' and 'size' as missing fields.
A `Warning:` colon and quoted plain `value`/`size` mirror example 2's delimiter shape but contain no fused dot-field token, which the hypothesis predicts is inactive.
inactive 0.498
✗ hard negative Warning: Unknown column 'price' in 'field list' (SQL: insert into ledger (amount) values (0)).
An SQL unknown-column error with a quoted column, separate `field list` tokens and a lone `0` mirrors example 1's surface but lacks any fused dot-field token, so the hypothesis predicts inactivity.
inactive 0.498
✗ hard negative The loader reads timeout with getattr(cfg, 'timeout') instead of the usual syntax.
This accesses the same attribute without any fused dot token, so the hypothesis predicts the separate `timeout` word stays at the floor.
inactive 0.439
✓ hard negative De verkoper verzekerde ons dat de prijs echt niet zou stijgen dit jaar.
An ordinary Dutch sentence with no fused dot-field token tests the mid-word activation seen in example 7, which the hypothesis predicts is inactive.
inactive 0.279
✓ hard negative She finished the draft. Value judgments came much later, after the vote.
A sentence boundary makes `Value` a separate token after a period and space, so the hypothesis predicts the unfused word does not fire.
inactive 0.296
✓ hard negative She sent an email to the whole department about the schedule change.
Plain `email` after a space has no fused dot token, so the hypothesis predicts it stays at the floor.
inactive 0.101
✓ positive holdout The reviewer noticed that record.value had been overwritten during the migration.
Fused `record.value` in ordinary prose is the prose activation the hypothesis explicitly claims, so it predicts the fused token fires.
active 0.526
✓ positive holdout fn refresh(cfg: &Config) { let limit = cfg.timeout; schedule(limit); }
Fused `cfg.timeout` in Rust code tests the claim that code syntax and language do not matter, so the hypothesis predicts activation.
active 0.464
✓ positive holdout Please confirm that contact.email is correct before we send the newsletter.
Fused `contact.email` in a non-code sentence is a claimed strong field in prose, so the hypothesis predicts activation.
active 0.308
✗ positive holdout El servidor guardó la sesión en memoria y luego leyó config.data al reiniciar.
Fused `config.data` in Spanish tests the claim that fusion fires in any language, so the hypothesis predicts activation.
active 0.298
✓ positive holdout On the first morning of the migration, the team gathered in a narrow room with two whiteboards and a projector that refused to turn on. They had spent three weeks cataloguing every field the old system had ever written, and now they needed to move those records without losing a single row. The lead engineer, a quiet woman named Mara, divided the work into four tracks: export, validation, replay and rollback. Each track had its own checklist, and every checklist ended with the same warning: never trust a schema you have not read yourself. The export track was the simplest on paper. A small script walked the archive, opened each record in turn, and wrote a line of text for every field it found. The script had been written years earlier by an intern who no longer worked at the company, and nobody fully understood why it sorted the fields in reverse alphabetical order. Mara decided to leave that behavior alone. Changing it, she argued, would create more noise than the ordering itself, and noise was the enemy of a clean comparison. Validation proved harder. The old records had been edited by dozens of people over a decade, and the edits had not always followed the rules. Some lines contained extra spaces. Some fields appeared twice with different spellings. A few records contained nothing at all beyond a timestamp and a name. The team built a checker that flagged every anomaly it could describe, then reviewed the flagged lines by hand, one folder at a time, until the pile of exceptions shrank to something they could carry into the next meeting. Replay was the track everyone feared. During replay, the team fed the old records back into the new system and watched for differences. The first run produced four hundred mismatches, most of them trivial, a handful alarming. Mara printed the alarming ones and pinned them to the wall. The rollback plan stayed on a single page, taped beside the door, in case the replay broke something that could not be repaired quickly. By the end of the second week the team had settled into a rhythm. They met at eight, argued until ten, wrote code until lunch, and tested until the light outside turned orange. On Thursday, when the loader reached the nested node, it read schema.child and stored the pointer in a table beside the original record. Nobody celebrated. The final sentence of the checklist still applied, and the rollback page still hung by the door.
Fused `schema.child` buried deep in a long narrative tests the retrospective detector at long distance and in prose, so the hypothesis predicts activation.
active 0.607
✗ positive holdout # The cache eviction policy depends on image.size, so do not change it without approval.
Fused `image.size` inside a comment tests the claim that syntactic role is irrelevant, so the hypothesis predicts activation.
active 0.132
✓ counterfactual She wrote sample.value on the board. -> She wrote sample value on the board. Δ 0.23 Δ 0.23
✓ counterfactual She wrote sample.email on the board. -> She wrote sample email on the board. Δ 0.23 Δ 0.23
✓ counterfactual She wrote sample.data on the board. -> She wrote sample data on the board. Δ 0.22 Δ 0.22
✓ counterfactual She wrote sample.child on the board. -> She wrote sample child on the board. Δ 0.43 Δ 0.43
✓ counterfactual result = cfg.timeout + 1 -> result = cfg timeout + 1 Δ 0.20 Δ 0.20
✓ counterfactual result = node.child + 1 -> result = node child + 1 Δ 0.39 Δ 0.39
✓ counterfactual The notes.data file was saved by the team. -> The notes data file was saved by the team. Δ 0.31 Δ 0.31
✓ counterfactual She wrote sample.value on the board. -> She wrote sample.value near the board. Δ 0.00 Δ 0.00
✓ counterfactual result = cfg.timeout + 1 -> result = cfg.timeout + 2 Δ 0.00 Δ 0.00
✓ lookahead consistency She wrote sample.value on the board.; She wrote sample.email on the board.; She wrote sample.data on the board.; She wrote sample.child on the board.; result = cfg.timeout + 1; result = node.child + 1; The notes.data file was saved by the team.; She wrote sample.value on the board.; result = cfg.timeout + 1
claimed retrospective; measured retrospective (KL=0.0002006, tokens=['s', '.', ' essays', ' node', '()'])

Minimal pairs

Pair 1 Sufficiency: 0.75 · effect 4.16e-05 (matched |effect| median 2.89e-05, max 7.9e-05) She wrote sample.value on the board. → She wrote sample value on the board. Necessity: 0.81 · effect 7.76e-05 (matched |effect| median 5.19e-05, max 0.000246) She wrote sample.value on the board. → She wrote sample value on the board. Pair 2 Sufficiency: 0.88 · effect 5.38e-05 (matched |effect| median 3.62e-05, max 9.23e-05) She wrote sample.email on the board. → She wrote sample email on the board. Necessity: 0.78 · effect 8.27e-05 (matched |effect| median 5.9e-05, max 0.000248) She wrote sample.email on the board. → She wrote sample email on the board. Pair 3 Sufficiency: 0.88 · effect 3.09e-05 (matched |effect| median 1.91e-05, max 5.01e-05) She wrote sample.data on the board. → She wrote sample data on the board. Necessity: 0.44 · effect 3.63e-05 (matched |effect| median 3.76e-05, max 0.000114) She wrote sample.data on the board. → She wrote sample data on the board. Pair 4 Sufficiency: 0.91 · effect 9.75e-05 (matched |effect| median 3.81e-05, max 0.000172) She wrote sample.child on the board. → She wrote sample child on the board. Necessity: 0.94 · effect 0.000178 (matched |effect| median 6.08e-05, max 0.000345) She wrote sample.child on the board. → She wrote sample child on the board. Pair 5 Sufficiency: 0.84 · effect 2.56e-05 (matched |effect| median 1.49e-05, max 6.54e-05) result = cfg.timeout + 1 → result = cfg timeout + 1 Necessity: 0.81 · effect 2.96e-05 (matched |effect| median 1.45e-05, max 5.12e-05) result = cfg.timeout + 1 → result = cfg timeout + 1 Pair 6 Sufficiency: 0.81 · effect 8.34e-05 (matched |effect| median 4.27e-05, max 0.000183) result = node.child + 1 → result = node child + 1 Necessity: 0.91 · effect 0.000123 (matched |effect| median 4.08e-05, max 0.000185) result = node.child + 1 → result = node child + 1 Pair 7 Sufficiency: 0.78 · effect 5.21e-05 (matched |effect| median 3.19e-05, max 0.0002) The notes.data file was saved by the team. → The notes data file was saved by the team. Necessity: 0.78 · effect 5.94e-05 (matched |effect| median 3.58e-05, max 0.000236) The notes.data file was saved by the team. → The notes data file was saved by the team. Pair 8 Sufficiency: 0.84 · effect 4.91e-06 (matched |effect| median 1.93e-06, max 9.72e-06) She wrote sample.value on the board. → She wrote sample.value near the board. Necessity: 0.97 · effect 7.65e-06 (matched |effect| median 1.74e-06, max 8.18e-06) She wrote sample.value on the board. → She wrote sample.value near the board. Median (score) Sufficiency: 0.84 · median of 8 pairs 0.84 Necessity: 0.81 · median of 8 pairs 0.81 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 She wrote sample.value on the board.
→ She wrote sample value on the board.
0.23 0.23 0.75
effect 4.16e-05
matched 2.89e-05 / 7.9e-05
0.81
effect 7.76e-05
matched 5.19e-05 / 0.000246
2 She wrote sample.email on the board.
→ She wrote sample email on the board.
0.23 0.23 0.88
effect 5.38e-05
matched 3.62e-05 / 9.23e-05
0.78
effect 8.27e-05
matched 5.9e-05 / 0.000248
3 She wrote sample.data on the board.
→ She wrote sample data on the board.
0.22 0.22 0.88
effect 3.09e-05
matched 1.91e-05 / 5.01e-05
0.44
effect 3.63e-05
matched 3.76e-05 / 0.000114
4 She wrote sample.child on the board.
→ She wrote sample child on the board.
0.43 0.43 0.91
effect 9.75e-05
matched 3.81e-05 / 0.000172
0.94
effect 0.000178
matched 6.08e-05 / 0.000345
5 result = cfg.timeout + 1
→ result = cfg timeout + 1
0.20 0.20 0.84
effect 2.56e-05
matched 1.49e-05 / 6.54e-05
0.81
effect 2.96e-05
matched 1.45e-05 / 5.12e-05
6 result = node.child + 1
→ result = node child + 1
0.39 0.39 0.81
effect 8.34e-05
matched 4.27e-05 / 0.000183
0.91
effect 0.000123
matched 4.08e-05 / 0.000185
7 The notes.data file was saved by the team.
→ The notes data file was saved by the team.
0.31 0.31 0.78
effect 5.21e-05
matched 3.19e-05 / 0.0002
0.78
effect 5.94e-05
matched 3.58e-05 / 0.000236
8 She wrote sample.value on the board.
→ She wrote sample.value near the board.
0.00 0.00 0.84
effect 4.91e-06
matched 1.93e-06 / 9.72e-06
0.97
effect 7.65e-06
matched 1.74e-06 / 8.18e-06
9 result = cfg.timeout + 1
→ result = cfg.timeout + 2
0.00 0.00 — —
Read more

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

Each causal score ranks the pole's patch effect among the 32 same-layer neurons that change as much between each pair, so 0.5 is typical. Sufficiency patches clean into corrupted, and necessity corrupted into clean. The score is the median over 8 non-control pairs, on next-token KL. Median effect 4.69e-05 (sufficiency) and 6.85e-05 (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. 1.23 … QueryException (42S22)↵SQLSTATE[42S22]: Column not found: 1054 Unknown column '0' in 'field list' ↵(SQL: insert …
    All 811 tokens

    Q:↵↵How to prepare PHP multidimensional arrays for Laravel Mass updateOrCreate()?↵↵I am trying to mass insert into Laravel (5.6) Model. Having issues with array preparations; It returns ↵lluminate \ Database \ QueryException (42S22)↵SQLSTATE[42S22]: Column not found: 1054 Unknown column '0' in 'field list' ↵(SQL: insert into `_geolocation` (`0`, `1`, `2`, `3`, `4`) values ↵(Manchester,+UK, Manchester,+UK, Manchester,+UK, Manchester,+UK, ↵Manchester,+UK))↵↵I am generating arrays like this:↵if($outputTo->status->message == "OK"){ // if↵ for ($i = 0; $i < $outputTo->total_results; $i++) {↵ //print_r($outputFrom->results[$i]->geometry->lat);↵ $geodata_b [] =[↵ $formattedAddrTo,↵ $outputTo->results[$i]->formatted,↵ $outputTo->results[$i]->geometry->lat,↵ $outputTo->results[$i]->geometry->lng,↵ ];↵ }↵}↵↵This are my array`s output;↵ array:5 [▼↵ 0 => array:4 [▼↵ 0 => "Manchester,+UK"↵ 1 => "Manchester, Greater Manchester, England, United Kingdom"↵ 2 => 53.4791301↵ 3 => -2.2441009↵ ]↵ 1 => array:4 [▼↵ 0 => "Manchester,+UK"↵ 1 => "Chapel Street Primary School, Chapel Street, Manchester M19 3GH, United Kingdom"↵ 2 => 53.443957↵ 3 => -2.1858478↵ ]↵ 2 => array:4 [▼↵ 0 => "Manchester,+UK"↵ 1 => "The Manchester, Lytham Road, Bispham FY1 6AH, United Kingdom"↵ 2 => 53.8067298↵ 3 => -3.0549142↵ ]↵ 3 => array:4 [▼↵ 0 => "Manchester,+UK"↵ 1 => "The Manchester, Bromsgrove Road, Bromsgrove B62 0HH, United Kingdom"↵ 2 => 52.4003403↵ 3 => -2.0539726↵ ]↵ 4 => array:4 [▼↵ 0 => "Manchester,+UK"↵ 1 => "The Harlequin, Spitalfields, Sheffield S3 8GG, United Kingdom"↵ 2 => 53.3884864↵ 3 => -1.4663405↵ ]↵]↵↵Inserting code;↵ $geolCache = \App\Geolocation::updateOrCreate([$geodata_b]);↵↵My Model;↵protected $fillable = ['adrr','faddr','lat','lng'];↵↵Please could anybody help me how to fix this issue?↵↵A:↵↵You are not following key-value pairs. Try this code↵if($outputTo->status->message == "OK"){ // if↵ for ($i = 0; $i < $outputTo->total_results; $i++) {↵ $geodata_b [] = [↵ 'adrr' => $formattedAddrTo,↵ 'faddr' => $outputTo->results[$i]->formatted,↵ 'lat' => $outputTo->results[$i]->geometry->lat,↵ 'lng' => $outputTo->results[$i]->geometry->lng,↵ ];↵ }↵}

    Values
    TokenPositive-pole strength
    Query0.000
    Exception0.011
    (1.025
    40.004
    20.000
    S0.009
    20.000
    20.000
    )↵0.000
    SQL0.014
    STATE0.000
    [0.371
    40.032
    20.000
    S0.000
    20.016
    20.047
    ]:0.135
    Column0.148
    not0.029
    found0.057
    :0.000
    0.000
    10.000
    00.067
    50.000
    40.002
    Unknown0.000
    column0.109
    '0.000
    01.232
    '0.000
    in0.000
    '0.109
    field0.000
    list0.000
    '0.014
    ↵0.000
    (SQL0.082
    :0.037
    insert0.000
  2. 0.95 … var_dump($ib->get_content_area() instanceof GtkWidget);↵$ib->get_content_area(1);↵?>↵--EXPECTF--↵bool(true)↵↵Warning: GtkInfoBar::get_content_area() expects exactly …
    All 162 tokens

    --TEST--↵GtkInfoBar->get_content_area method↵--SKIPIF--↵<?php↵if(!extension_loaded('php-gtk')) die('skip - PHP-GTK extension not available');↵if(!method_exists('GtkInfoBar', 'get_content_area')) die('skip - GtkInfoBar->get_content_area not available, requires GTK 2.18 or higher');↵?>↵--FILE--↵<?php↵$win = new GtkWindow();↵$ib = new GtkInfoBar();↵$win->add($ib);↵var_dump($ib->get_content_area() instanceof GtkWidget);↵$ib->get_content_area(1);↵?>↵--EXPECTF--↵bool(true)↵↵Warning: GtkInfoBar::get_content_area() expects exactly 0 parameters, 1 given in %s on line %d

    Values
    TokenPositive-pole strength
    var0.000
    _dump0.000
    ($0.000
    ib0.000
    ->0.188
    get0.076
    _content0.287
    _area0.315
    ()0.048
    instanceof0.017
    GtkWidget0.000
    );↵0.000
    $0.000
    ib0.000
    ->0.033
    get0.096
    _content0.265
    _area0.300
    (0.009
    10.074
    );↵0.000
    ?>↵0.000
    --0.000
    EXPECT0.160
    F0.000
    --↵0.000
    bool0.000
    (true0.000
    )↵↵0.000
    Warning0.002
    :0.951
    Gtk0.000
    Info0.000
    Bar0.022
    ::0.031
    get0.098
    _content0.197
    _area0.251
    ()0.000
    expects0.000
    exactly0.000
  3. 0.82 … 2 is existing and if not fill with null?↵↵A:↵↵See below example ↵#standardSQL↵WITH `project.dataset.table` AS (↵ SELECT 'timestamp3' time, '{"key1": " …
    All 349 tokens

    Q:↵↵Google Big Query check if json key exists↵↵I have a Google Big Query Table column, which contains a json string. Over time, new keys were introduced to this json string. ↵time col_b ↵--------------------------------------------------↵timestamp3 {"key1": "value", "key2": "value"}↵timestamp2 {"key1": "value"}↵timestamp1 {"key1": "value"}↵↵How can I extract key2 and in case it doesn't exist fill with NaN?↵I thought about something like:↵SELECT ↵ JSON_EXTRACT(col_b, "$.key2) AS key2↵FROM db;↵↵Doing this will throw the error, so it thinks it should be a double instead of a string cause of the null values. ↵Bad double type: value↵↵How can I check in advance whether key2 is existing and if not fill with null?↵↵A:↵↵See below example ↵#standardSQL↵WITH `project.dataset.table` AS (↵ SELECT 'timestamp3' time, '{"key1": "value", "key2": "value"}' col_b UNION ALL↵ SELECT 'timestamp2', '{"key1": "value"}' UNION ALL↵ SELECT 'timestamp1', '{"key1": "value"}' ↵)↵SELECT *, IFNULL(JSON_EXTRACT_SCALAR(col_b, '$.key2'), 'NaN') AS key2↵FROM `project.dataset.table`↵↵with output ↵Row time col_b key2 ↵1 timestamp3 {"key1": "value", "key2": "value"} value ↵2 timestamp2 {"key1": "value"} NaN ↵3 timestamp1 {"key1": "value"} NaN

    Values
    TokenPositive-pole strength
    20.000
    is0.060
    existing0.000
    and0.000
    if0.000
    not0.000
    fill0.107
    with0.119
    null0.073
    ?↵↵0.000
    A0.144
    :↵↵0.000
    See0.000
    below0.000
    example0.072
    ↵0.000
    #0.120
    standard0.148
    SQL0.170
    ↵0.000
    WITH0.000
    `0.000
    project0.051
    .dataset0.149
    .table0.462
    `0.066
    AS0.119
    (↵0.003
    0.000
    SELECT0.000
    '0.822
    timestamp0.000
    30.000
    '0.000
    time0.000
    ,0.000
    '{"0.000
    key0.000
    10.000
    ":0.000
    "0.000
  4. 0.66 … all of the popup forms still show on Monitor 1.↵I found this code to push a form onto a second Monitor:↵Form2.Location=Screen.AllScreens(UBound(Screen.AllScreens)).Bounds.Location …
    All 274 tokens

    Q:↵↵Showing All Forms On Same Monitor As Main Form↵↵In my application, I have an number of forms that pop up (modally) on top of the main form when certain buttons are clicked.↵This works fine when my application is running on Monitor 1 as I preset the location of the form. However, if the user moves the main form to Monitor 2 and clicks these buttons, all of the popup forms still show on Monitor 1.↵I found this code to push a form onto a second Monitor:↵Form2.Location=Screen.AllScreens(UBound(Screen.AllScreens)).Bounds.Location + New Point(100,100)↵Form2.Show()↵↵However, is there a way I can detect what Monitor my Main Form is located on, and then push any requested forms onto that same monitor?↵I also work with 3 Monitors, so I need all my forms to show on the same monitor as the Main app.↵Thanks↵↵A:↵↵With this way you would have to have a reference to the other forms, or use the OpenForms property on the Application namespace and iterate them.↵Private Sub form_Move(sender As Object, e As EventArgs) Handles Me.Move↵ frm2.Location = New Point(Me.Location.X + 200, Me.Location.Y + 200)↵ ' move others↵End Sub

    Values
    TokenPositive-pole strength
    all0.045
    of0.037
    the0.000
    popup0.000
    forms0.000
    still0.000
    show0.000
    on0.029
    Monitor0.062
    0.039
    10.234
    .↵0.025
    I0.000
    found0.000
    this0.000
    code0.041
    to0.000
    push0.000
    a0.000
    form0.109
    onto0.000
    a0.000
    second0.000
    Monitor0.000
    :↵0.000
    Form0.238
    20.216
    .Location0.516
    =0.158
    Screen0.000
    .All0.664
    Screens0.197
    (0.003
    UB0.031
    ound0.106
    (Screen0.041
    .All0.602
    Screens0.280
    )).0.085
    Bounds0.446
    .Location0.551
  5. 0.63 … newCIDRSet(clusterCIDR *net.IPNet, subNetMaskSize int) *cidrSet {↵ clusterMask := clusterCIDR.Mask↵ clusterMaskSize, _ := clusterMask …
    All 943 tokens

    /*↵Copyright 2016 The Kubernetes Authors 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.↵You may obtain a copy of the License at↵↵ http://www.apache.org/licenses/LICENSE-2.0↵↵Unless required by applicable law or agreed to in writing, software↵distributed under the License is distributed on an "AS IS" BASIS,↵WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.↵See the License for the specific language governing permissions and↵limitations under the License.↵*/↵↵package node↵↵import (↵ "encoding/binary"↵ "fmt"↵ "math/big"↵ "net"↵ "sync"↵)↵↵type cidrSet struct {↵ sync.Mutex↵ clusterCIDR *net.IPNet↵ clusterIP net.IP↵ clusterMaskSize int↵ maxCIDRs int↵ nextCandidate int↵ used big.Int↵ subNetMaskSize int↵}↵↵func newCIDRSet(clusterCIDR *net.IPNet, subNetMaskSize int) *cidrSet {↵ clusterMask := clusterCIDR.Mask↵ clusterMaskSize, _ := clusterMask.Size()↵ maxCIDRs := 1 << uint32(subNetMaskSize-clusterMaskSize)↵ return &cidrSet{↵ clusterCIDR: clusterCIDR,↵ clusterIP: clusterCIDR.IP.To4(),↵ clusterMaskSize: clusterMaskSize,↵ maxCIDRs: maxCIDRs,↵ subNetMaskSize: subNetMaskSize,↵ }↵}↵↵func (s *cidrSet) allocateNext() (*net.IPNet, error) {↵ s.Lock()↵ defer s.Unlock()↵↵ nextUnused := -1↵ for i := 0; i < s.maxCIDRs; i++ {↵ candidate := (i + s.nextCandidate) % s.maxCIDRs↵ if s.used.Bit(candidate) == 0 {↵ nextUnused = candidate↵ break↵ }↵ }↵ if nextUnused == -1 {↵ return nil, errCIDRRangeNoCIDRsRemaining↵ }↵ s.nextCandidate = (nextUnused + 1) % s.maxCIDRs↵↵ s.used.SetBit(&s.used, nextUnused, 1)↵↵ j := uint32(nextUnused) << uint32(32-s.subNetMaskSize)↵ ipInt := (binary.BigEndian.Uint32(s.clusterIP)) | j↵ ip := make([]byte, 4)↵ binary.BigEndian.PutUint32(ip, ipInt)↵↵ return &net.IPNet{↵ IP: ip,↵ Mask: net.CIDRMask(s.subNetMaskSize, 32),↵ }, nil↵}↵↵func (s *cidrSet) getBeginingAndEndIndices(cidr *net.IPNet) (begin, end int, err error) {↵ begin, end = 0, s.maxCIDRs↵ cidrMask := cidr.Mask↵ maskSize, _ := cidrMask.Size()↵↵ if !s.clusterCIDR.Contains(cidr.IP.Mask(s.clusterCIDR.Mask)) && !cidr.Contains(s.clusterCIDR.IP.Mask(cidr.Mask)) {↵ return -1, -1, fmt.Errorf("cidr %v is out the range of cluster cidr %v", cidr, s.clusterCIDR)↵ }↵↵ if s.clusterMaskSize < maskSize {↵ subNetMask := net.CIDRMask(s.subNetMaskSize, 32)↵ begin, err = s.getIndexForCIDR(&net.IPNet{↵ IP: cidr.IP.To4().Mask(subNetMask),↵ Mask: subNetMask,↵ })↵ if err != nil {↵ return -1, -1, err↵ }↵↵ ip := make([]byte, 4)↵ ipInt := binary.BigEndian.Uint32(cidr.IP) | (^binary.BigEndian.Uint32(cidr.Mask))↵ binary.BigEndian.PutUint32(ip, ipInt)↵ end, err = s.getIndexForCIDR(&net.IPNet{↵ IP: net.IP(ip).To4().Mask(subNetMask),↵ Mask: subNetMask,↵ })↵ if err != nil {↵ return -1, -1, err↵ }↵ }↵ return begin, end, nil↵}↵↵func (s *cidrSet) release(cidr *net.IPNet) error {↵ begin, end, err := s.getBeginin

    Values
    TokenPositive-pole strength
    new0.000
    CID0.000
    R0.000
    Set0.000
    (cluster0.340
    CID0.205
    R0.138
    *0.005
    net0.000
    .IP0.201
    Net0.202
    ,0.047
    sub0.250
    Net0.288
    Mask0.293
    Size0.140
    int0.109
    )0.073
    *0.000
    cid0.000
    r0.000
    Set0.000
    {↵0.064
    0.000
    cluster0.194
    Mask0.130
    :=0.101
    cluster0.180
    CID0.141
    R0.027
    .Mask0.629
    ↵0.140
    0.000
    cluster0.155
    Mask0.024
    Size0.013
    ,0.140
    _0.000
    :=0.000
    cluster0.089
    Mask0.000
  6. 0.59 … to store ClusterRoleBindings.↵type Registry interface {↵ ListClusterRoleBindings(ctx context.Context, options *metainternalversion.ListOptions) (*rbac.ClusterRoleBindingList, error)↵ CreateClusterRoleBinding …
    All 658 tokens

    /*↵Copyright 2016 The Kubernetes Authors.↵↵Licensed under the Apache License, Version 2.0 (the "License");↵you may not use this file except in compliance with the License.↵You may obtain a copy of the License at↵↵ http://www.apache.org/licenses/LICENSE-2.0↵↵Unless required by applicable law or agreed to in writing, software↵distributed under the License is distributed on an "AS IS" BASIS,↵WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.↵See the License for the specific language governing permissions and↵limitations under the License.↵*/↵↵package clusterrolebinding↵↵import (↵ "context"↵↵ metainternalversion "k8s.io/apimachinery/pkg/apis/meta/internalversion"↵ metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"↵ "k8s.io/apimachinery/pkg/watch"↵ genericapirequest "k8s.io/apiserver/pkg/endpoints/request"↵ "k8s.io/apiserver/pkg/registry/rest"↵ "k8s.io/kubernetes/pkg/apis/rbac"↵)↵↵// Registry is an interface for things that know how to store ClusterRoleBindings.↵type Registry interface {↵ ListClusterRoleBindings(ctx context.Context, options *metainternalversion.ListOptions) (*rbac.ClusterRoleBindingList, error)↵ CreateClusterRoleBinding(ctx context.Context, clusterRoleBinding *rbac.ClusterRoleBinding, createValidation rest.ValidateObjectFunc) error↵ UpdateClusterRoleBinding(ctx context.Context, clusterRoleBinding *rbac.ClusterRoleBinding, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc) error↵ GetClusterRoleBinding(ctx context.Context, name string, options *metav1.GetOptions) (*rbac.ClusterRoleBinding, error)↵ DeleteClusterRoleBinding(ctx context.Context, name string) error↵ WatchClusterRoleBindings(ctx context.Context, options *metainternalversion.ListOptions) (watch.Interface, error)↵}↵↵// storage puts strong typing around storage calls↵type storage struct {↵ rest.StandardStorage↵}↵↵// NewRegistry returns a new Registry interface for the given Storage. Any mismatched↵// types will panic.↵func NewRegistry(s rest.StandardStorage) Registry {↵ return &storage{s}↵}↵↵func (s *storage) ListClusterRoleBindings(ctx context.Context, options *metainternalversion.ListOptions) (*rbac.ClusterRoleBindingList, error) {↵ obj, err := s.List(ctx, options)↵ if err != nil {↵ return nil, err↵ }↵↵ return obj.(*rbac.ClusterRoleBindingList), nil↵}↵↵func (s *storage) CreateClusterRoleBinding(ctx context.Context, clusterRoleBinding *rbac.ClusterRoleBinding, createValidation rest.ValidateObjectFunc) error {↵ _, err := s.Create(ctx, clusterRoleBinding, createValidation, false)↵ return err↵}↵↵func (s *storage) UpdateClusterRoleBinding(ctx context.Context, clusterRoleBinding *rbac.ClusterRoleBinding, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc) error {↵ _, _, err := s.Update(ctx, clusterRoleBinding.Name, rest.DefaultUpdatedObjectInfo(clusterRoleBinding), createValidation, updateValidation)↵ return err↵}↵↵func (s *storage) WatchClusterRoleBindings(ctx context.Context, options

    Values
    TokenPositive-pole strength
    to0.000
    store0.000
    Cluster0.116
    Role0.245
    Bindings0.338
    .↵0.138
    type0.000
    Registry0.087
    interface0.044
    {↵0.021
    List0.045
    Cluster0.197
    Role0.131
    Bindings0.258
    (ctx0.000
    context0.000
    .Context0.168
    ,0.005
    options0.223
    *0.000
    met0.000
    aint0.004
    ernal0.000
    version0.000
    .List0.190
    Options0.239
    )0.000
    (*0.000
    rb0.000
    ac0.182
    .Cluster0.590
    Role0.328
    Binding0.586
    List0.064
    ,0.097
    error0.000
    )↵0.000
    Create0.064
    Cluster0.210
    Role0.067
    Binding0.289
  7. 0.59 In 4 stappen van een overvolle werkweek naar een werkweek van 4 uur. Echt? Nou ja, in ieder geval zal …
    All 208 tokens

    In 4 stappen van een overvolle werkweek naar een werkweek van 4 uur. Echt? Nou ja, in ieder geval zal je door deze methodiek veel tijd winnen. Het boek maakt inzichtelijk hoe je tijd kan steken in zaken die er echt toe doen en werkzaamheden die vanzelf verdwijnen als je geen aandacht aan besteed.↵Het is een leuk boek om te lezen. De schrijver hanteert een praktische en grappige schrijfstijl. Maar dit boek heeft ook een serieuze ondertoon. Want het laat je ook nadenken over het ontstaan van je overvolle agenda en de eindeloze stroom aan op te lossen problemen.↵Ben je klaar met alle uren die je steekt in taken die misschien wel helemaal nergens toe leiden? Dan is dit boek verplichte kost.

    Values
    TokenPositive-pole strength
    In0.000
    0.000
    40.062
    st0.000
    appen0.138
    van0.004
    een0.142
    over0.072
    vol0.000
    le0.174
    werk0.078
    week0.202
    naar0.000
    een0.000
    werk0.028
    week0.079
    van0.023
    0.035
    40.060
    uur0.084
    .0.000
    E0.071
    cht0.587
    ?0.083
    Nou0.000
    ja0.000
    ,0.000
    in0.116
    i0.000
    eder0.068
    ge0.000
    val0.108
    zal0.294
  8. 0.59 … ExecContext ctxt(ep);↵ MCNewAutoNameRef t_path;↵ MCAutoStringRef t_special_folder_path;↵ /* UNCHECKED */ ep.copyasnameref(&t_path);↵ if (!M …
    All 711 tokens

    /* Copyright (C) 2003-2013 Runtime Revolution Ltd.↵↵This file is part of LiveCode.↵↵LiveCode is free software; you can redistribute it and/or modify it under↵the terms of the GNU General Public License v3 as published by the Free↵Software Foundation.↵↵LiveCode is distributed in the hope that it will be useful, but WITHOUT ANY↵WARRANTY; without even the implied warranty of MERCHANTABILITY or↵FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License↵for more details.↵↵You should have received a copy of the GNU General Public License↵along with LiveCode. If not see <http://www.gnu.org/licenses/>. */↵↵#include "prefix.h"↵↵#include "parsedef.h"↵#include "filedefs.h"↵#include "osspec.h"↵//#include "execpt.h"↵#include "globals.h"↵#include "variable.h"↵↵#include "exec.h"↵↵char *MCS_getcurdir(void)↵{↵ MCAutoStringRef t_current;↵ char *t_cstring;↵ MCS_getcurdir(&t_current);↵ if (MCStringGetLength(*t_current) &&↵ MCStringConvertToCString(*t_current, t_cstring))↵ return t_cstring;↵ return NULL;↵}↵↵char *MCS_resolvepath(const char* p_path)↵{↵ MCAutoStringRef t_path;↵ MCAutoStringRef t_resolved;↵ char *t_cstring;↵↵ if (MCStringCreateWithCString(p_path, &t_path) && MCS_resolvepath(*t_path, &t_resolved) && MCStringConvertToCString(*t_resolved, t_cstring))↵ return t_cstring;↵↵ return NULL;↵}↵↵const char *MCS_tmpnam()↵{↵ // MW-2008-06-19: Make sure fname is stored in a static to keep the (rather↵ // unpleasant) current semantics of the call.↵ static char *fname;↵ if (fname != NULL)↵ {↵ delete fname;↵ fname = NULL;↵ }↵↵ MCAutoStringRef t_tmpname;↵ MCS_tmpnam(&t_tmpname);↵ /* UNCHECKED */ MCStringConvertToCString(*t_tmpname, fname);↵↵ return fname;↵}↵↵#ifdef LEGACY_SPEC↵void MCS_getspecialfolder(MCExecPoint &ep)↵{↵ MCExecContext ctxt(ep);↵ MCNewAutoNameRef t_path;↵ MCAutoStringRef t_special_folder_path;↵ /* UNCHECKED */ ep.copyasnameref(&t_path);↵ if (!MCS_getspecialfolder(*t_path, &t_special_folder_path))↵ {↵ MCresult->sets("folder not found");↵ ep.clear();↵ }↵ /* UNCHECKED */ ep.setvalueref(*t_special_folder_path);↵}↵#endif↵↵#ifdef LEGACY_EXEC↵void MCS_getentries(MCExecPoint& ep, bool p_files, bool p_detailed)↵{↵ MCAutoListRef t_list;↵ MCAutoStringRef t_string;↵ if (MCS_getentries(p_files, p_detailed, &t_list) && MCListCopyAsString(*t_list, &t_string))↵ /* UNCHECKED */ ep.setvalueref(*t_string);↵ else↵ ep . clear();↵}↵#endif↵↵Boolean MCS_exists(const char *path, Boolean file)↵{↵ MCAutoStringRef t_string;↵ /* UNCHECKED */ MCStringCreateWithCString(path, &t_string);↵↵ return MCS_exists(*t_string, file == True);↵}

    Values
    TokenPositive-pole strength
    Exec0.055
    Context0.072
    ctxt0.107
    (ep0.196
    );↵0.000
    M0.000
    C0.000
    New0.000
    Auto0.081
    Name0.087
    Ref0.000
    t0.065
    _path0.197
    ;↵0.075
    M0.000
    CA0.000
    uto0.051
    StringRef0.000
    t0.116
    _special0.234
    _folder0.194
    _path0.148
    ;↵0.134
    0.000
    /*0.000
    UN0.000
    CHECK0.175
    ED0.170
    */0.057
    ep0.106
    .copy0.586
    as0.219
    nam0.341
    eref0.255
    (&0.000
    t0.000
    _path0.071
    );↵0.000
    if0.000
    (!0.000
    M0.000
  9. 0.57 … ? as true if performer has images" do↵ performer = Zvent::Performer.new({'images' => ['asdf.jpg']})↵ performer.images?.should eql(true)↵ end↵↵ it …
    All 170 tokens

    require File.dirname(__FILE__) + '/spec_helper'↵↵describe Zvent::Performer do↵ it "should describe images? as true if performer has images" do↵ performer = Zvent::Performer.new({'images' => ['asdf.jpg']})↵ performer.images?.should eql(true)↵ end↵↵ it "should return all real attributes" do↵ performer = Zvent::Performer.new({:not_real_attribute => 'asdf', :name => 'name!', :description => 'a description'})↵ performer.name.should eql("name!")↵ performer.description.should eql('a description')↵ end↵↵ it "should describe images? as false if performer has no images" do↵ performer = Zvent::Performer.new({'images' => []})↵ performer.images?.should eql(false)↵ end↵end

    Values
    TokenPositive-pole strength
    ?0.000
    as0.107
    true0.106
    if0.000
    performer0.000
    has0.000
    images0.223
    "0.121
    do0.099
    ↵0.021
    0.000
    performer0.295
    =0.045
    Z0.051
    vent0.000
    ::0.008
    Per0.210
    former0.340
    .new0.158
    ({'0.000
    images0.175
    '0.000
    =>0.143
    ['0.183
    asdf0.027
    .jpg0.243
    ']0.209
    })↵0.000
    0.000
    performer0.191
    .images0.566
    ?.0.190
    should0.292
    eql0.075
    (true0.178
    )↵0.020
    0.000
    end0.087
    ↵↵0.037
    0.000
    it0.049
  10. 0.56 … [1,2]. We can put this together:↵↵F.<x> = GF(3^15)↵for i in srange(F.cardinality()):↵print(i, '=>', F(i.d …
    All 705 tokens

    # Why is SageMath fail to generate elements in finite field $GF(3^{15})$↵↵I would like to generate elements of finite filed $GF(3^{15})$. To do so I have used the following code :↵↵F.<x> = GF(3^15)↵for i in range(3^15):↵print i,"=>", F.fetch_int(i)↵↵↵But this code failed to generate elements, occurring errors. On there hand the above code works fine for $GF(3^{2})$ given below:↵↵F.<x> = GF(3^2)↵for i in range(3^2):↵print i,"=>", F.fetch_int(i)↵↵↵Produces:↵↵0 => 0↵1 => 1↵2 => 2↵3 => x↵4 => x + 1↵5 => x + 2↵6 => 2*x↵7 => 2*x + 1↵8 => 2*x + 2.↵↵↵Where is the problem?↵↵edit retag close merge delete↵↵You may just iterate on F directly:↵↵sage: F.<x> = GF(3^15)↵sage: for a in F:↵....: print(a)↵....:↵[...]↵↵( 2020-04-03 11:31:35 +0100 )edit↵↵Sort by » oldest newest most voted↵↵See the documentation of GF; the different implementations depending on the size are the first thing mentioned.↵↵In particular, $\log_3(2^{16}) \approx 10.09$ means GF(3^2), ..., GF(3^10) use the Givaro implementation while GF(3^11), GF(3^12), ... use the PARI implementation. The fetch_int method is not available in the PARI implementation, which explains the error.↵↵Note that the mapping you are interested in is very simple: for example $7$ is $2\cdot 3 + 1$, so its ternary (base 3) digits are 21, and the corresponding element of F.<x> = GF(3^k) is 2*x + 1 ($3$ is replaced by $x$).↵↵Since F is a vector space over GF(3) with basis 1, x, x^2, ..., x^(k-1), a vector (or list) of elements of GF(3) can be converted into F. For example, F([1,2]) yields 2*x + 1; the reason for the "reversal" is that the "digits" are interpreted in little endian order. This is convenient because the output of e.g. 7.digits(3) is also in little endian order, yielding [1,2]. We can put this together:↵↵F.<x> = GF(3^15)↵for i in srange(F.cardinality()):↵print(i, '=>', F(i.digits(3)))↵↵↵Though it is kind of pointless to print that gigantic list when you already understand the mapping.↵↵Also, I suppose that a fetch_int method could be added to the PARI implementation for convenience.↵↵more↵↵@rburing tank you very much for your solution.↵↵( 2020-04-03 10:55:28 +0100 )edit

    Values
    TokenPositive-pole strength
    [0.100
    10.003
    ,0.147
    20.058
    ].0.081
    We0.000
    can0.000
    put0.000
    this0.000
    together0.059
    :↵↵0.000
    F0.061
    .<0.000
    x0.082
    >0.132
    =0.000
    GF0.000
    (0.000
    30.000
    ^0.034
    10.066
    50.000
    )↵0.000
    for0.024
    i0.050
    in0.000
    s0.000
    range0.055
    (F0.000
    .card0.426
    inality0.557
    ()):↵0.195
    print0.000
    (i0.121
    ,0.003
    '0.018
    =>0.000
    ',0.000
    F0.051
    (i0.075
    .d0.298
  11. 0.55 … writeln((new QuestionHelper())->ask($input, $output, new Question('Bar?', 'bar')));↵ })↵ ->getApplication()↵ ->setDefaultCommand('app', true)↵ ->run()↵;↵ …
    All 195 tokens

    --STDIN--↵Hello World↵--FILE--↵<?php↵↵use Symfony\Component\Console\Application;↵use Symfony\Component\Console\Helper\QuestionHelper;↵use Symfony\Component\Console\Input\InputInterface;↵use Symfony\Component\Console\Output\OutputInterface;↵use Symfony\Component\Console\Question\Question;↵↵$vendor = __DIR__;↵while (!file_exists($vendor.'/vendor')) {↵ $vendor = \dirname($vendor);↵}↵require $vendor.'/vendor/autoload.php';↵↵(new Application())↵ ->register('app')↵ ->setCode(function(InputInterface $input, OutputInterface $output) {↵ $output->writeln((new QuestionHelper())->ask($input, $output, new Question('Foo?', 'foo')));↵ $output->writeln((new QuestionHelper())->ask($input, $output, new Question('Bar?', 'bar')));↵ })↵ ->getApplication()↵ ->setDefaultCommand('app', true)↵ ->run()↵;↵--EXPECT--↵Foo?Hello World↵Bar?bar

    Values
    TokenPositive-pole strength
    writeln0.033
    ((0.011
    new0.000
    Question0.081
    Helper0.023
    ())->0.052
    ask0.259
    ($0.000
    input0.185
    ,0.023
    $0.000
    output0.000
    ,0.024
    new0.049
    Question0.098
    ('0.029
    Bar0.078
    ?',0.099
    '0.057
    bar0.201
    ')));↵0.013
    0.000
    })↵0.000
    0.110
    ->0.000
    getApplication0.240
    ()↵0.184
    0.151
    ->0.092
    setDefault0.387
    Command0.554
    ('0.049
    app0.056
    ',0.156
    true0.151
    )↵0.161
    0.133
    ->0.051
    run0.124
    ()↵0.045
    ;↵0.000
  12. 0.55 … Rewriter↵{↵ private DesugarTryExpressionRewriter() {}↵↵ public static Expression rewrite(Expression expression)↵ {↵ return ExpressionTreeRewriter.rewriteWith(new Visitor(), expression);↵ }↵↵ …
    All 360 tokens

    /*↵ * Licensed under the Apache License, Version 2.0 (the "License");↵ * you may not use this file except in compliance with the License.↵ * You may obtain a copy of the License at↵ *↵ * http://www.apache.org/licenses/LICENSE-2.0↵ *↵ * Unless required by applicable law or agreed to in writing, software↵ * distributed under the License is distributed on an "AS IS" BASIS,↵ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.↵ * See the License for the specific language governing permissions and↵ * limitations under the License.↵ */↵↵package io.prestosql.sql.planner;↵↵import com.google.common.collect.ImmutableList;↵import io.prestosql.sql.tree.Expression;↵import io.prestosql.sql.tree.ExpressionRewriter;↵import io.prestosql.sql.tree.ExpressionTreeRewriter;↵import io.prestosql.sql.tree.FunctionCall;↵import io.prestosql.sql.tree.LambdaExpression;↵import io.prestosql.sql.tree.QualifiedName;↵import io.prestosql.sql.tree.TryExpression;↵↵public class DesugarTryExpressionRewriter↵{↵ private DesugarTryExpressionRewriter() {}↵↵ public static Expression rewrite(Expression expression)↵ {↵ return ExpressionTreeRewriter.rewriteWith(new Visitor(), expression);↵ }↵↵ private static class Visitor↵ extends ExpressionRewriter<Void>↵ {↵ @Override↵ public Expression rewriteTryExpression(TryExpression node, Void context, ExpressionTreeRewriter<Void> treeRewriter)↵ {↵ Expression expression = treeRewriter.rewrite(node.getInnerExpression(), context);↵↵ return new FunctionCall(↵ QualifiedName.of("$internal$try"),↵ ImmutableList.of(new LambdaExpression(ImmutableList.of(), expression)));↵ }↵ }↵}

    Values
    TokenPositive-pole strength
    Rew0.050
    riter0.020
    ↵0.009
    {↵0.083
    0.018
    private0.000
    Des0.000
    ugar0.057
    Try0.012
    Expression0.044
    Rew0.000
    riter0.000
    ()0.000
    {}↵↵0.000
    0.000
    public0.000
    static0.027
    Expression0.094
    rewrite0.379
    (Expression0.090
    expression0.425
    )↵0.303
    0.000
    {↵0.103
    0.000
    return0.043
    Expression0.194
    Tree0.093
    Rew0.101
    riter0.124
    .re0.552
    write0.544
    With0.302
    (new0.000
    Visitor0.025
    (),0.020
    expression0.141
    );↵0.036
    0.000
    }↵↵0.000
    0.018
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.

Activation and mechanism

Activation distribution

[0, 0.0411): 118752 [0.0411, 0.0822): 27630 [0.0822, 0.123): 21265 [0.123, 0.164): 14389 [0.164, 0.205): 8787 [0.205, 0.246): 4768 [0.246, 0.288): 2334 [0.288, 0.329): 1015 [0.329, 0.37): 528 [0.37, 0.411): 245 [0.411, 0.452): 112 [0.452, 0.493): 81 [0.493, 0.534): 33 [0.534, 0.575): 23 [0.575, 0.616): 8 [0.616, 0.657): 2 [0.657, 0.698): 1 [0.698, 0.739): 1 [0.739, 0.781): 0 [0.781, 0.822): 0 [0.822, 0.863): 1 [0.863, 0.904): 1 [0.904, 0.945): 0 [0.945, 0.986): 1 [0.986, 1.03): 1 [1.03, 1.07): 0 [1.07, 1.11): 0 [1.11, 1.15): 0 [1.15, 1.19): 0 [1.19, 1.23): 1 0.00 1.23

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

Mechanism

Claimed retrospective: responds to tokens already in context.

Input attribution

0 back
14%
1 back
9%
2–4 back
13%
5–16 back
13%
17–64 back
30%
65+ back
21%
  • #1 at 0: Unknown-3 0.2700 0.25 '-1 -0.14 Laravel-51 0.11 Database-32 0.11
  • #2 (not converged) at :: Warning-1 0.47EXPECT-7 0.18) -2 0.17:0 0.08bool-4 -0.07
  • #3 (not converged) at ': '0 1.19 and-27 0.45 to-164 0.34 in-107 0.20 be-58 0.18
  • #4 (not converged) at .All: .All0 0.37 main-78 0.10 the-79 0.06 -100 -0.06.Location-3 0.05
  • #5 at .Mask: .Mask0 0.36R-1 0.24 cluster-3 0.09CID-2 0.07"sync-92 0.05

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

Vocabulary projection

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

Jacobian lens

␣Indians · z = +5.70 · #1 promoted ␣Indians ".↵↵ · z = +5.25 · #2 promoted ".↵↵ .↵↵ · z = +4.92 · #3 promoted .↵↵ ":↵↵ · z = +4.86 · #4 promoted ":↵↵ ␣Indian · z = +4.75 · #5 promoted ␣Indian ."↵↵ · z = +4.65 · #6 promoted ."↵↵ 。↵↵ · z = +4.61 · #7 promoted 。↵↵ --↵↵ · z = +4.57 · #8 promoted --↵↵ ",[ · z = +4.57 · #9 promoted ",[ @↵↵ · z = +4.54 · #10 promoted @↵↵ olocation · z = -4.34 · #10 suppressed olocation 罹 · z = -4.40 · #9 suppressed 罹 ␣|\ · z = -4.44 · #8 suppressed ␣|\ ˣ · z = -4.45 · #7 suppressed ˣ ␣� · z = -4.66 · #6 suppressed ␣� ␣| ↵ · z = -4.67 · #5 suppressed ␣| ↵ ␣\ ↵ · z = -4.68 · #4 suppressed ␣\ ↵ ␣\\↵ · z = -4.68 · #3 suppressed ␣\\↵ ...</ · z = -4.88 · #2 suppressed ...</ \ ↵ · z = -5.30 · #1 suppressed \ ↵ -6 -4 -2 0 +2 +4 +6

Logit lens

ní · z = +4.60 · #1 promoted ní 就给大家 · z = +4.34 · #2 promoted 就给大家 fl · z = +4.32 · #3 promoted fl силь · z = +4.28 · #4 promoted силь Assistant · z = +4.18 · #5 promoted Assistant 腐蚀 · z = +4.05 · #6 promoted 腐蚀 ことです · z = +4.00 · #7 promoted ことです :↵↵ · z = +3.91 · #8 promoted :↵↵ ␣inclusive · z = +3.89 · #9 promoted ␣inclusive Suddenly · z = +3.85 · #10 promoted Suddenly ksz · z = -4.01 · #10 suppressed ksz 疳 · z = -4.05 · #9 suppressed 疳 ␣@$_ · z = -4.06 · #8 suppressed ␣@$_ enance · z = -4.10 · #7 suppressed enance *</ · z = -4.13 · #6 suppressed *</ 卫星 · z = -4.14 · #5 suppressed 卫星 '</ · z = -4.20 · #4 suppressed '</ ideo · z = -4.35 · #3 suppressed ideo "</ · z = -4.53 · #2 suppressed "</ -expanded · z = -4.57 · #1 suppressed -expanded -6 -4 -2 0 +2 +4 +6
promotes suppresses Hover a bar for its value.
Values
#Jacobian lens promotessuppressesLogit lens promotessuppresses
1 Indians +5.70 \ -5.30 ní +4.60 -expanded -4.57
2 ". +5.25 ...</ -4.88 就给大家 +4.34 "</ -4.53
3 . +4.92 \\ -4.68 fl +4.32 ideo -4.35
4 ": +4.86 \ -4.68 силь +4.28 '</ -4.20
5 Indian +4.75 | -4.67 Assistant +4.18 卫星 -4.14
6 ." +4.65 � -4.66 腐蚀 +4.05 *</ -4.13
7 。 +4.61 ˣ -4.45 ことです +4.00 enance -4.10
8 -- +4.57 |\ -4.44 : +3.91 @$_ -4.06
9 ",[ +4.57 罹 -4.40 inclusive +3.89 疳 -4.05
10 @ +4.54 olocation -4.34 Suddenly +3.85 ksz -4.01

Top-10 overlap 0% · cos(w, J·w) 0.18 · kurtosis 3.4 (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 colorpoliticspolitician
control periodemotionanimal
category 8 unit jobjobpolitics
control jobanimalsport
meaning 2 unit that it is a word that is not a part of thethat it is used to indicate that something is not the casethat it is a word that is used to describe something that
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 8 unit to be determined by the context. The word "meaning"to find the value of the unknown variable in a given equationto find the value of the unknown variable in a given equation
control to be determined by the context. The word "meaning"to be determined by the context in which it is used.to be determined by the context in which it is used.

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 (1.23), 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. I'm going to the park. I'm going to

Clamped ×2

sunny and warm. The temperature is 25 degrees Celsius. If you want to drink 100 millilit

Clamped ×4

sunny and warm. The temperature is 25 degrees Celsius. What is the temperature in Fahrenheit? To convert a temperature

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% and then increased by

Clamped ×2

a pair of shoes for $120. The shoes were discounted by 20% and then I paid a

Clamped ×4

a pair of shoes for $120. The shoes were discounted by 20% and then I had to

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 practice. The best way to practice is to do it. The best way to do it is to do it right

Clamped ×2

to practice. The best way to practice is to learn. The best way to learn is to practice. The best way

Clamped ×4

to practice. The best way to practice is to learn. The best way to learn is to practice. 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 little girl named Lily. She loved to play with her toys and watch the stars. One day, she

Clamped ×2

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

Clamped ×4

there was a little girl named Lily who loved to play with her toys. She had a big box of toys, and

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 318,000

Clamped ×2

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

Clamped ×4

the 2010 census showed that the population of the United States was 318 million, up from

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 13 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
L7/N354 gate -0.0948
L5/N4317 gate +0.0934
L7/N4422 gate -0.0922
L4/N4645 gate -0.0915
L7/N4286 gate -0.0883
L6/N4164 gate +0.0832
L6/N708 up -0.0802
L5/N1082 up +0.0787
L5/N2240 up +0.0772
L7/N3669 gate -0.0758
Upstream heads
L8/H6 gate +0.17
L4/H9 gate +0.162
L5/H11 gate +0.159
L4/H11 gate +0.154
L8/H3 gate +0.154
L4/H7 gate +0.152
L5/H7 gate +0.15
L7/H3 up +0.149
L5/H10 up +0.146
L6/H10 gate +0.146
Downstream neurons
L21/N567 gate +0.295
L9/N4404 gate -0.186
L9/N4225 gate -0.17
L10/N3684 gate +0.158
L23/N408 gate +0.146
L17/N1137 gate +0.14
L12/N4161 gate +0.138
L17/N3519 gate -0.134
L10/N785 gate +0.13
L9/N3333 gate +0.128
Downstream heads
L16/H0 q +0.323
L16/H11 q +0.31
L14/H12 q +0.302
L11/H1 q +0.302
L13/H9 q +0.3
L13/H13 q +0.298
L11/H8 q +0.289
L16/H1 k +0.287
L16/H2 k +0.287
L16/H3 k +0.287

From activations

Upstream neurons
L7/N1902 +0.0809
L0/N1144 +0.0651
L5/N2706 +0.0455
L6/N2355 +0.0357
L7/N4757 +0.0348
L2/N3676 -0.0319
L7/N4286 +0.0275
L7/N2592 -0.0269
L3/N2673 +0.024
L7/N281 +0.0231
Upstream heads
L8/H3 +0.123
L4/H11 -0.0765
L8/H10 -0.0699
L6/H10 -0.0592
L4/H12 +0.057
L2/H9 -0.0544
L8/H13 -0.0539
L8/H6 -0.0441
L2/H13 +0.0415
L5/H10 -0.0386
Downstream neurons
L22/N1069 +0.139
L23/N1121 +0.117
L9/N3332 +0.107
L15/N354 -0.0817
L23/N3914 +0.0781
L9/N3411 +0.0775
L23/N4484 +0.077
L9/N4404 -0.0756
L16/N2985 +0.0745
L17/N4226 -0.0722
Downstream heads
L12/H0 v +0.0917
L10/H6 v +0.0896
L14/H1 v +0.0795
L13/H3 v +0.0606
L14/H2 v +0.0455
L14/H10 v +0.0452
L12/H5 q +0.0394
L21/H9 v +0.0382
L12/H6 v +0.036
L12/H1 v +0.0354

Covariance and confounds

Confounds

Token identity R²
0.40
Position R²
0.02
Frequency r
0.06
Language R² · MI
0.08 · 0.064 bits
Source R² · MI
0.02 · 0.019 bits
Programming language R² · MI
0.02 · 0.019 bits
Syntax node R² · MI
0.09 · 0.072 bits
Bracket depth R² · MI
0.03 · 0.025 bits
Round depth R² · MI
0.02 · 0.015 bits
Indent depth R² · MI
0.00 · 0.005 bits
Syntax construct R² · MI
0.02 · 0.022 bits
Personal data R² · MI
0.00 · 0.000 bits
Toxicity R² · MI
0.00 · 0.000 bits
Hate speech R² · MI
0.00 · 0.000 bits
Names R² · MI
0.00 · 0.001 bits
Postal addresses R² · MI
0.00 · 0.000 bits
Best trivial baseline
probe length ≥ 25 tokens · 0.68
Hypothesis
0.73 ✓

.Clustersystem.LocationFields.MakeIterations specifieswriteBitBinding.Time_context

Co-activating neuron poles

Pole Lift ≥ Both ρ r
N3315− 12.9 215 +0.02 -0.05
N3223+ 11.0 185 -0.05 +0.01
N1702+ 10.5 177 -0.01 +0.04
N514− 9.5 162 -0.03 -0.01
N2693+ 9.3 158 -0.02 -0.01
N3793− 7.3 127 -0.02 -0.02
N763− 7.1 123 -0.09 +0.07
N99− 6.5 114 -0.04 -0.01
N82+ 6.2 109 +0.03 +0.06
N4186− 6.1 107 +0.02 -0.05
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
N3315, N3223, N1702
KL pole alone
4.53e-05
KL partners
1.43e-04
KL together
1.71e-04
Redundancy ratio
0.62

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-11-21 18:06 UTC
Max activation
1.2324
Selection
manual
Corpus
mixed-v5 (9 presets, 500 docs, seed 1201083216) · 199,979 tokens · seeded sample of 370/500 docs (≤ 200,000 tokens, seed 0) · licence HuggingFaceFW/fineweb-edu: odc-by; allenai/c4: odc-by; monology/pile-uncopyrighted: other; Salesforce/wikitext: cc-by-sa-3.0, gfdl; codeparrot/github-code-clean: apache-2.0; wikimedia/wikipedia: cc-by-sa-3.0, gfdl; open-web-math/open-web-math: odc-by; HuggingFaceH4/ultrachat_200k: mit; HuggingFaceFW/fineweb-2: odc-by
Languages
ja 9% · hi 8% · el 8% · zh 8% · uk 7% · ru 7% · ta 6% · bn 5% · other 42%
Model revision
060db6499f32 · float32
Ran on
scan cuda:0 · review cpu
Run cost
14.7 min (slowest: wiring, 7.4 min) · peak 5.0 GB RAM