Open Interpretability Models Contributors Research Posts About

Qwen/Qwen2.5-0.5B · L17/N4098 · 20261026T173510Z

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

#2 · positive pole + NEEDS REVISION weak evidence for · 0.02 re-measured since 2026-10-26 · 20261026T173510Z

L17/N4098+ fires where a text says or implements that ONE item is being taken out of a source: in prose the extraction verb itself (took, extracted, withdrew, snatched, plucked, seized, grabbed, removed, fetched, retrieved, pulled, picked, brought, got, Portuguese 'pega' - 'He walked to the shelf and took the red folder down' peaks at 6.4 on ' took' while the identical frame with left/touched/inspected/pushed stays at 0.76), and in code the call or operator that hands a single value across ('$this->_stmt->fetch(...)' 3.9, 'scanner.nextLine()' 3.7, 'getPropriedadeLimpar' 3.3 on the '::', '$_SESSION' 2.2 on ' $_', 'CACHE.get(id)' 1.9, '__getitem__', 'pop', 'RemoveFlag', 'load_command_class', 'Retrieves ...', and the ' =' of the item-at-a-time read loop 'while ($data = $this->_stmt->fetch(...))' 3.9). It is near zero when the same text acts on the whole collection instead of one item ('fetchAll'/foreach, array_map, .mapNotNull, .Items/.Rows/.Clear, list.entries: 0.01-0.35 - the regime where this neuron's negative pole fires at 1.7-8.3), and near zero on idiomatic or non-extraction uses of the same verbs ('It took two hours' 0.20, 'took the bus' 0.26, 'took a photo' 0.23, pushed/left/found/dropped 0.76); the unexplained leftovers are the weak (1.2-1.8) article/preposition tokens of Spanish and Portuguese code explanations (' la', ' el', ' de', ' uma').

The whole hypothesis

L17/N4098+ fires where a text says or implements that ONE item is being taken out of a source: in prose the extraction verb itself (took, extracted, withdrew, snatched, plucked, seized, grabbed, removed, fetched, retrieved, pulled, picked, brought, got, Portuguese 'pega' - 'He walked to the shelf and took the red folder down' peaks at 6.4 on ' took' while the identical frame with left/touched/inspected/pushed stays at 0.76), and in code the call or operator that hands a single value across ('$this->_stmt->fetch(...)' 3.9, 'scanner.nextLine()' 3.7, 'getPropriedadeLimpar' 3.3 on the '::', '$_SESSION' 2.2 on ' $_', 'CACHE.get(id)' 1.9, '__getitem__', 'pop', 'RemoveFlag', 'load_command_class', 'Retrieves ...', and the ' =' of the item-at-a-time read loop 'while ($data = $this->_stmt->fetch(...))' 3.9). It is near zero when the same text acts on the whole collection instead of one item ('fetchAll'/foreach, array_map, .mapNotNull, .Items/.Rows/.Clear, list.entries: 0.01-0.35 - the regime where this neuron's negative pole fires at 1.7-8.3), and near zero on idiomatic or non-extraction uses of the same verbs ('It took two hours' 0.20, 'took the bus' 0.26, 'took a photo' 0.23, pushed/left/found/dropped 0.76); the unexplained leftovers are the weak (1.2-1.8) article/preposition tokens of Spanish and Portuguese code explanations (' la', ' el', ' de', ' uma').

Hard negatives 9/11 rejected · holdouts 2/5 fired (independent observations; 16 probes) · P(useful) 0.51

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

specificity 0.82 · sensitivity 0.40 · counterfactual reproduction 1.00 · protocol v0.7

took fetched extracted Retrievesega scanner =->:: $_popRemove

Adversarial review

hard_negative: 9/11 passed; positive_holdout: 2/5 passed; counterfactual: 10/10 passed; lookahead_consistency: 1/1 passed. Failed gates: sensitivity, beats_confound_baseline.

Hard negatives 9/11 stay below Positive holdouts 2/5 reach it threshold 0.97 (25% of max) → active passed · 0.140 (4% of max) const labels = members.mapNotNull((m) => m.displayName); grid.Rows.Clear(); registry.Items.forEach(renderAll); passed · 0.147 (4% of max) The hospital installed a new CT scanner in the basement wing for the lung imaging trial. passed · 0.198 (5% of max) The radio played cheerful pop hits all morning while the kids sang along loudly in the back seat. passed · 0.300 (8% of max) El informe sobre la arquitectura de la red explica que uma camada de software coordina el trafico de dados entre os modulos do sistema. passed · 0.335 (9% of max) It took three hours to drive across the desert, and the engine overheated twice along the way. passed · 0.378 (10% of max) After the election she took office in January and promised sweeping reforms to the city council. passed · 0.420 (11% of max) $_SESSION['prefs'] = $defaults; SessionUtils::setPropriedade('tema', $azul); $cache->saveAll($items); // persist everything in bulk passed · 0.446 (11% of max) int x = 5; String city = "Lisboa"; float ratio = 0.75; boolean ready = false; // simple local bindings passed · 0.763 (20% of max) He walked to the shelf and left the red folder there without even touching its dusty cover. failed · 1.007 (26% of max) This nightly endpoint retrieves all customer records in a single batch for reconciliation and reporting. failed · 2.393 (62% of max) while ($row = $this->_stmt->fetchAll(PDO::FETCH_ASSOC)) { $result[] = $row; } // bulk-load every record at once failed · 0.019 (0% of max) The nurse drew a single vial of blood from the patient's arm and labelled it carefully for the laboratory. failed · 0.637 (16% of max) From the brimming harvest basket, Marta withdrew a single ripe fig and slipped it quietly into her pocket. failed · 0.817 (21% of max) entry = inbox.claim_next_ticket() log(entry) # hands exactly one pending request across the queue boundary passed · 2.635 (68% of max) From the crowded lost-and-found box, he singled out his own leather glove and lifted it free of the tangled pile. passed · 2.892 (75% of max) We left the coastal town before sunrise and followed the river road north through fog, pastures, toll booths, sunflower fields, abandoned mills, roadside cha… 0 max 3.88
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 27 probes
TestInputExpectedObserved
✓ hard negative It took three hours to drive across the desert, and the engine overheated twice along the way.
Same trigger token 'took' in the idiomatic duration sense the hypothesis says stays near zero.
inactive 0.335
✓ hard negative After the election she took office in January and promised sweeping reforms to the city council.
Idiomatic 'took office' uses the trigger verb with no item leaving a source.
inactive 0.378
✓ hard negative He walked to the shelf and left the red folder there without even touching its dusty cover.
Identical shelf frame as the claimed contrast but with a non-extraction verb, predicted near zero.
inactive 0.763
✗ hard negative while ($row = $this->_stmt->fetchAll(PDO::FETCH_ASSOC)) { $result[] = $row; } // bulk-load every record at once
Same fetch call shape but fetchAll bulk loads the whole collection, the regime the hypothesis says is silent.
inactive 2.393
✓ hard negative const labels = members.mapNotNull((m) => m.displayName); grid.Rows.Clear(); registry.Items.forEach(renderAll);
Whole-collection operators from the negative pole regime with no single-item handoff.
inactive 0.140
✓ hard negative The radio played cheerful pop hits all morning while the kids sang along loudly in the back seat.
Trigger token 'pop' in the music sense, sharing surface form with stack pop but no extraction.
inactive 0.198
✓ hard negative The hospital installed a new CT scanner in the basement wing for the lung imaging trial.
Trigger token 'scanner' as a medical imaging device rather than a line-by-line reader.
inactive 0.147
✓ hard negative $_SESSION['prefs'] = $defaults; SessionUtils::setPropriedade('tema', $azul); $cache->saveAll($items); // persist everything in bulk
Contains $_, :: and -> but stores into the session and cache instead of taking one item out.
inactive 0.420
✓ hard negative int x = 5; String city = "Lisboa"; float ratio = 0.75; boolean ready = false; // simple local bindings
Trigger token '=' as plain assignment with no read loop or value crossing from a source.
inactive 0.446
✗ hard negative This nightly endpoint retrieves all customer records in a single batch for reconciliation and reporting.
Boundary probe: trigger verb 'retrieves' acting on the whole collection at once, which the hypothesis says stays near zero.
inactive 1.007
✓ hard negative El informe sobre la arquitectura de la red explica que uma camada de software coordina el trafico de dados entre os modulos do sistema.
Spanish and Portuguese articles and prepositions with no extraction event, testing the weak leftover tokens.
inactive 0.300
✗ positive holdout From the brimming harvest basket, Marta withdrew a single ripe fig and slipped it quietly into her pocket.
Novel prose extraction with 'withdrew' taking exactly one item from a container.
active 0.637
✓ positive holdout From the crowded lost-and-found box, he singled out his own leather glove and lifted it free of the tangled pile.
Paraphrase of one-item-out-of-source using none of the claimed trigger tokens or verbs.
active 2.635
✗ positive holdout entry = inbox.claim_next_ticket() log(entry) # hands exactly one pending request across the queue boundary
Novel single-value handoff in code using a claim-style call absent from the top examples.
active 0.817
✗ positive holdout The nurse drew a single vial of blood from the patient's arm and labelled it carefully for the laboratory.
Cross-genre medical holdout expressing single-item extraction via 'drew', a paraphrase of the claimed verbs.
active 0.019
✓ positive holdout We left the coastal town before sunrise and followed the river road north through fog, pastures, toll booths, sunflower fields, abandoned mills, roadside chapels, stone bridges, chestnut groves, railway crossings, market squares, olive terraces, granite quarries, pine forests, shepherd huts, waterfall lookouts, vineyard slopes, ferry landings, customs posts, lighthouse cliffs, fishing hamlets, salt flats, cork oak stands, marble villages, reservoir dams, goat trails, pottery kilns, thermal springs, beech woods, monastery gates, apple orchards, slate rooftops, gorge viewpoints, lavender rows, windmill hills, castle ruins, harbor promenades, citrus gardens, basalt columns, peat bogs, ferry queues, mountain passes, lake cabins, ski lifts, border checkpoints, wheat plains, brick factories, canal locks, ferry decks, riverside cafes, flood markers, bird sanctuaries, reed beds, dune paths, cliff stairs, cove beaches, tide pools, sea caves, oyster beds, shrimp boats, net menders, rope makers, sail lofts, anchor forges, bell towers, clock squares, library steps, archive corridors, map rooms, reading halls, catalog drawers, manuscript shelves, microfilm cabinets, newspaper stacks, photo albums, postcard trays, stamp drawers, coin cases, medal chests, uniform closets, medal rolls, census ledgers, parish registers, ship manifests, land deeds, will bundles, court files, and ticket stubs. The archivist unlocked the basement vault, slid out a long metal drawer, thumbed past dozens of folders, and at last reached into the archive box and withdrew a single faded letter from the crowded file.
Long-context holdout burying a single-item withdrawal deep in a travel narrative after hundreds of filler tokens.
active 2.892
✓ counterfactual She reached up and took the red folder down. -> She reached up and left the red folder down. Δ 0.48 Δ 0.48
✓ counterfactual She opened the drawer and fetched the letter from inside it. -> She opened the drawer and used the letter from inside it. Δ 0.50 Δ 0.50
✓ counterfactual She opened the drawer and pulled the letter out of it. -> She opened the drawer and pushed the letter out of it. Δ 0.91 Δ 0.91
✓ counterfactual She opened the drawer and retrieved the letter from it. -> She opened the drawer and read the letter from it. Δ 0.30 Δ 0.30
✓ counterfactual while ($data = $this->_stmt->fetch(\PDO::FETCH_ASSOC)) { } -> if ($data = $this->_stmt->fetch(\PDO::FETCH_ASSOC)) { } Δ 0.50 Δ 0.50
✓ counterfactual while ($row = $db->fetch($id)) { $out[] = $row; } -> foreach ($rows as $row) { $out[] = $row; $n++; } Δ 0.48 Δ 0.48
✓ counterfactual $row = $db->fetch($id); $out[] = $row; -> $row = $db->fetchAll($id); $out[] = $row; Δ 0.13 Δ 0.13
✓ counterfactual He walked to the shelf and took the red folder down. -> He walked to the shelf and took the blue folder down. Δ 0.00 Δ 0.00
✓ counterfactual She opened the drawer and fetched the letter from inside it. -> She opened the drawer and fetched the letter from within it. Δ 0.00 Δ 0.00
✓ counterfactual It took two hours to finish the report. -> It took five hours to finish the report. Δ 0.00 Δ -0.00
✓ lookahead consistency She reached up and took the red folder down.; She opened the drawer and fetched the letter from inside it.; She opened the drawer and pulled the letter out of it.; She opened the drawer and retrieved the letter from it.; while ($data = $this->_stmt->fetch(\PDO::FETCH_ASSOC)) { } ; while ($row = $db->fetch($id)) { $out[] = $row; } ; $row = $db->fetch($id); $out[] = $row; ; He walked to the shelf and took the red folder down.; She opened the drawer and fetched the letter from inside it.; It took two hours to finish the report.
claimed retrospective; measured retrospective (KL=0.0005999, tokens=[' out', 'fetch', ' from', ' a', ' off'])

Minimal pairs

Pair 1 Sufficiency: 0.94 · effect 0.000931 (matched |effect| median 0.000222, max 0.00242) She reached up and took the red folder down. → She reached up and left the red folder down. Necessity: 0.94 · effect 0.00106 (matched |effect| median 0.000217, max 0.00163) She reached up and took the red folder down. → She reached up and left the red folder down. Pair 2 Sufficiency: 0.94 · effect 0.000627 (matched |effect| median 0.000168, max 0.000781) She opened the drawer and fetched the letter from inside it. → She opened the drawer and used the letter from inside it. Necessity: 0.97 · effect 0.00066 (matched |effect| median 0.000171, max 0.000999) She opened the drawer and fetched the letter from inside it. → She opened the drawer and used the letter from inside it. Pair 3 Sufficiency: 0.97 · effect 0.00235 (matched |effect| median 0.000264, max 0.00279) She opened the drawer and pulled the letter out of it. → She opened the drawer and pushed the letter out of it. Necessity: 0.91 · effect 0.00143 (matched |effect| median 6.77e-05, max 0.00212) She opened the drawer and pulled the letter out of it. → She opened the drawer and pushed the letter out of it. Pair 4 Sufficiency: 0.72 · effect 0.000204 (matched |effect| median 0.000119, max 0.000648) She opened the drawer and retrieved the letter from it. → She opened the drawer and read the letter from it. Necessity: 0.62 · effect 0.000129 (matched |effect| median 9.37e-05, max 0.00077) She opened the drawer and retrieved the letter from it. → She opened the drawer and read the letter from it. Pair 5 Sufficiency: 0.97 · effect 0.00315 (matched |effect| median 0.000227, max 0.00434) while ($data = $this->_stmt->fetch(\PDO::FETCH_ASSOC)) { } → if ($data = $this->_stmt->fetch(\PDO::FETCH_ASSOC)) { } Necessity: 0.94 · effect 0.00207 (matched |effect| median 0.000289, max 0.00295) while ($data = $this->_stmt->fetch(\PDO::FETCH_ASSOC)) { } → if ($data = $this->_stmt->fetch(\PDO::FETCH_ASSOC)) { } Pair 6 Sufficiency: 1.00 · effect 9.23e-05 (matched |effect| median 6.83e-06, max 7.32e-05) while ($row = $db->fetch($id)) { $out[] = $row; } → foreach ($rows as $row) { $out[] = $row; $n++; } Necessity: 0.88 · effect 0.000812 (matched |effect| median 0.000133, max 0.00185) while ($row = $db->fetch($id)) { $out[] = $row; } → foreach ($rows as $row) { $out[] = $row; $n++; } Pair 7 Sufficiency: 0.78 · effect 6.43e-05 (matched |effect| median 4.36e-05, max 0.000405) $row = $db->fetch($id); $out[] = $row; → $row = $db->fetchAll($id); $out[] = $row; Necessity: 0.72 · effect 0.000137 (matched |effect| median 8.72e-05, max 0.000415) $row = $db->fetch($id); $out[] = $row; → $row = $db->fetchAll($id); $out[] = $row; Median (score) Sufficiency: 0.94 · median of 7 pairs 0.94 Necessity: 0.91 · median of 7 pairs 0.91 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 reached up and took the red folder down.
→ She reached up and left the red folder down.
0.48 0.48 0.94
effect 0.000931
matched 0.000222 / 0.00242
0.94
effect 0.00106
matched 0.000217 / 0.00163
2 She opened the drawer and fetched the letter from inside it.
→ She opened the drawer and used the letter from inside it.
0.50 0.50 0.94
effect 0.000627
matched 0.000168 / 0.000781
0.97
effect 0.00066
matched 0.000171 / 0.000999
3 She opened the drawer and pulled the letter out of it.
→ She opened the drawer and pushed the letter out of it.
0.91 0.91 0.97
effect 0.00235
matched 0.000264 / 0.00279
0.91
effect 0.00143
matched 6.77e-05 / 0.00212
4 She opened the drawer and retrieved the letter from it.
→ She opened the drawer and read the letter from it.
0.30 0.30 0.72
effect 0.000204
matched 0.000119 / 0.000648
0.62
effect 0.000129
matched 9.37e-05 / 0.00077
5 while ($data = $this->_stmt->fetch(\PDO::FETCH_ASSOC)) { }
→ if ($data = $this->_stmt->fetch(\PDO::FETCH_ASSOC)) { }
0.50 0.50 0.97
effect 0.00315
matched 0.000227 / 0.00434
0.94
effect 0.00207
matched 0.000289 / 0.00295
6 while ($row = $db->fetch($id)) { $out[] = $row; }
→ foreach ($rows as $row) { $out[] = $row; $n++; }
0.48 0.48 1.00
effect 9.23e-05
matched 6.83e-06 / 7.32e-05
0.88
effect 0.000812
matched 0.000133 / 0.00185
7 $row = $db->fetch($id); $out[] = $row;
→ $row = $db->fetchAll($id); $out[] = $row;
0.13 0.13 0.78
effect 6.43e-05
matched 4.36e-05 / 0.000405
0.72
effect 0.000137
matched 8.72e-05 / 0.000415
8 He walked to the shelf and took the red folder down.
→ He walked to the shelf and took the blue folder down.
0.00 0.00 — —
9 She opened the drawer and fetched the letter from inside it.
→ She opened the drawer and fetched the letter from within it.
0.00 0.00 — —
10 It took two hours to finish the report.
→ It took five hours to finish the report.
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 7 non-control pairs, on next-token KL. Median effect 0.000627 (sufficiency) and 0.000812 (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. 3.88 … /** @override */↵ protected function _hydrateAll()↵ {↵ $result = array();↵ $cache = array();↵ while ($data = $this->_stmt->fetch(\PDO::FETCH …
    All 421 tokens

    <?php↵/*↵ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS↵ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT↵ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR↵ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT↵ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,↵ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT↵ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,↵ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY↵ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT↵ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE↵ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.↵ *↵ * This software consists of voluntary contributions made by many individuals↵ * and is licensed under the LGPL. For more information, see↵ * <http://www.doctrine-project.org>.↵ */↵↵namespace Doctrine\ORM\Internal\Hydration;↵↵use Doctrine\DBAL\Connection;↵↵/**↵ * Hydrator that produces flat, rectangular results of scalar data.↵ * The created result is almost the same as a regular SQL result set, except↵ * that column names are mapped to field names and data type conversions take place.↵ *↵ * @author Roman Borschel <██████>↵ * @since 2.0↵ */↵class ScalarHydrator extends AbstractHydrator↵{↵ /** @override */↵ protected function _hydrateAll()↵ {↵ $result = array();↵ $cache = array();↵ while ($data = $this->_stmt->fetch(\PDO::FETCH_ASSOC)) {↵ $result[] = $this->_gatherScalarRowData($data, $cache);↵ }↵ return $result;↵ }↵↵ /** @override */↵ protected function _hydrateRow(array $data, array &$cache, array &$result)↵ {↵ $result[] = $this->_gatherScalarRowData($data, $cache);↵ }↵}

    Values
    TokenPositive-pole strength
    0.000
    /**0.000
    @0.000
    override0.000
    */↵0.000
    0.000
    protected0.000
    function0.000
    _0.010
    hydrate0.371
    All0.000
    ()↵0.000
    0.000
    {↵0.000
    0.000
    $0.000
    result0.000
    =0.275
    array0.000
    ();↵0.045
    0.000
    $0.000
    cache0.000
    =0.186
    array0.000
    ();↵0.145
    0.000
    while1.380
    ($0.968
    data0.366
    =3.880
    $0.442
    this0.644
    ->_2.097
    stmt2.606
    ->3.721
    fetch1.483
    (\0.000
    PDO0.000
    ::0.000
    FETCH0.347
  2. 3.70 … feat");↵ String response = client.getReplyString();↵ Scanner scanner = new Scanner(response);↵ while(scanner.hasNextLine()) {↵ String line = scanner.nextLine();↵ if(line.contains("XCRC")) …
    All 335 tokens

    name1=filename[k];↵ // CHECK IF FILE EXISTS↵ if (!name.equals(name1)) {↵ new_file = new FileOutputStream("C:\\test\\RTR_ZIP\\" + name);↵ client.retrieveFile(name, new_file);↵ j++;↵ exists=true;↵ } ↵ }↵ }//else↵ }//if contains .zip↵ }//for↵↵Thanks in advance. ↵↵A:↵↵If your ftp server supports XCRC command it could be possible to compare checksum (CRC32) of local and remote file.↵You could iterate all files in the folder and compare its crc with local one.↵import java.io.File;↵import java.io.IOException;↵import java.net.SocketException;↵import java.util.Scanner;↵↵import org.apache.commons.io.FileUtils;↵import org.apache.commons.net.ftp.FTPClient;↵↵public class DownloadFile {↵↵ private FTPClient client = new FTPClient();↵↵ public void connect() throws SocketException, IOException {↵ client.connect("127.0.0.1");↵ client.login("user", "password");↵ }↵↵ public boolean hasXCRCSupport() throws IOException {↵ client.sendCommand("feat");↵ String response = client.getReplyString();↵ Scanner scanner = new Scanner(response);↵ while(scanner.hasNextLine()) {↵ String line = scanner.nextLine();↵ if(line.contains("XCRC")) {↵ return true;↵ }↵ }↵ return false;↵ }↵↵ public boolean isSameFile() throws IOException {↵ if(hasXCRCSupport()) {↵ File file = new File("D:/test.txt");↵ String localCRC = Integer.toHexString((int) FileUtils.checksumCRC32(file))

    Values
    TokenPositive-pole strength
    feat0.096
    ");↵0.002
    0.230
    String0.171
    response0.014
    =0.748
    client0.365
    .get0.416
    Reply0.306
    String0.000
    ();↵0.000
    0.000
    Scanner0.000
    scanner0.000
    =0.253
    new0.000
    Scanner0.163
    (response0.000
    );↵0.000
    0.325
    while0.414
    (scanner1.507
    .hasNext0.302
    Line0.000
    ())0.000
    {↵0.000
    0.137
    String0.023
    line0.000
    =0.713
    scanner3.697
    .nextLine0.000
    ();↵0.141
    0.000
    if0.003
    (line0.000
    .contains0.000
    ("0.080
    XC0.152
    RC0.044
    "))0.000
  3. 3.31 … classe util para a sessão↵class SessionUtils {↵↵ private static $BASE_PROPRIEDADES = "props";↵↵ /**↵ * Pega uma propriedade da sessão ↵ * …
    All 512 tokens

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

    Values
    TokenPositive-pole strength
    classe0.083
    util0.006
    para0.081
    a0.019
    sess0.108
    ão0.022
    ↵0.000
    class0.084
    Session0.014
    Utils0.000
    {↵↵0.007
    0.000
    private0.034
    static0.000
    $0.000
    BASE0.014
    _PROP0.077
    RI0.000
    ED0.053
    ADE0.001
    S0.006
    =0.016
    "0.015
    props0.010
    ";↵↵0.074
    0.013
    /**↵0.109
    0.000
    *0.170
    P0.000
    ega3.306
    uma1.543
    prop0.023
    ried0.031
    ade0.608
    da0.301
    sess0.162
    ão0.666
    ↵0.000
    0.000
    *0.058
  4. 2.64 … projects\test345\test345\source.asm(27): error C2061: syntax error : identifier 'pop'↵1>c:\users\damian\documents …
    All 512 tokens

    Q:↵↵Assembly in Visual Studio 2013 not building even after enabling Microsoft Macro Assembler↵↵I'm trying to run a pretty basic assembly file to do a little math and print the output, nothing challenging. I've followed the steps given from places such as here but my build still fails and there are errors on every single line about syntax. Errors such as:↵1>c:\users\damian\documents\visual studio 2013\projects\test345\test345\source.asm(22): error C2061: syntax error : identifier 'dword'↵1>c:\users\damian\documents\visual studio 2013\projects\test345\test345\source.asm(24): error C2061: syntax error : identifier 'add'↵1>c:\users\damian\documents\visual studio 2013\projects\test345\test345\source.asm(27): error C2061: syntax error : identifier 'pop'↵1>c:\users\damian\documents\visual studio 2013\projects\test345\test345\source.asm(12): error C2061: syntax error : identifier 'main'↵↵The code I'm trying to run is here. I've tried changing from cpp to c compiling, I've tried setting an entry point in the linker, and I've tried right clicking on project->Build Dependencies->Build Customizations and checking masm but none of those made any difference at all. Is there something else I'm missing?↵↵A:↵↵The code you tried to assemble uses NASM syntax. You need to configure Visual Studio to use NASM instead. ↵1) Install NASM and add it's path to the PATH environment variable.↵2) Right click on your asm file and then choose Properties->General and then choose Custom Build Tool for the Item Type field.↵3) Click on Apply.↵4) On the Custom Build Tool page set nasm -f win32 -o "$(ProjectDir)$(IntDir)%(Filename).obj" "%(FullPath)" for the Command Line field.↵5) Set the Outputs field to $(IntermediateOutputPath)%(Filename).obj ↵This will make NASM assemble your assembly source file into visual studio compatible object file.↵We are not done yet though, you need to make some changes to the assembly

    Values
    TokenPositive-pole strength
    projects0.017
    \0.093
    test0.000
    30.196
    40.000
    50.029
    \0.159
    test0.070
    30.262
    40.029
    50.142
    \0.114
    source0.084
    .asm0.000
    (0.205
    20.182
    70.017
    ):0.000
    error0.009
    C0.305
    20.336
    00.000
    60.056
    10.000
    :0.446
    syntax0.000
    error0.151
    :0.276
    identifier0.296
    '0.427
    pop2.638
    '↵0.235
    10.097
    >c0.326
    :\0.207
    users0.000
    \0.051
    dam0.173
    ian0.000
    \0.042
    documents0.001
  5. 2.36 … make unlootable↵ if (m_pInstance->GetData(TYPE_BUG_TRIO) != DONE)↵ {↵ m_creature->RemoveFlag(UNIT_DYNAMIC_FLAGS,
    All 512 tokens

    art, images,↵ * and lore are copyrighted by Blizzard Entertainment, Inc.↵ */↵↵/**↵ * ScriptData↵ * SDName: bug_trio↵ * SD%Complete: 75↵ * SDComment: Summon Player spell NYI; Poison Cloud damage spell NYI; Timers need adjustments↵ * SDCategory: Temple of Ahn'Qiraj↵ * EndScriptData↵ */↵↵#include "precompiled.h"↵#include "temple_of_ahnqiraj.h"↵↵enum↵{↵ // kri↵ SPELL_CLEAVE = 26350,↵ SPELL_TOXIC_VOLLEY = 25812,↵ SPELL_SUMMON_CLOUD = 26590, // summons 15933↵↵ // vem↵ SPELL_CHARGE = 26561,↵ SPELL_VENGEANCE = 25790,↵ SPELL_KNOCKBACK = 26027,↵↵ // yauj↵ SPELL_HEAL = 25807,↵ SPELL_FEAR = 26580,↵↵ NPC_YAUJ_BROOD = 15621↵};↵↵struct MANGOS_DLL_DECL boss_kriAI : public ScriptedAI↵{↵ boss_kriAI(Creature* pCreature) : ScriptedAI(pCreature)↵ {↵ m_pInstance = (ScriptedInstance*)pCreature->GetInstanceData();↵ Reset();↵ }↵↵ ScriptedInstance* m_pInstance;↵↵ uint32 m_uiCleaveTimer;↵ uint32 m_uiToxicVolleyTimer;↵↵ void Reset() override↵ {↵ m_uiCleaveTimer = urand(4000, 8000);↵ m_uiToxicVolleyTimer = urand(6000, 12000);↵ }↵↵ void JustDied(Unit* /*pKiller*/) override↵ {↵ // poison cloud on death↵ DoCastSpellIfCan(m_creature, SPELL_SUMMON_CLOUD, CAST_TRIGGERED);↵↵ if (!m_pInstance)↵ {↵ return;↵ }↵↵ // If the other 2 bugs are still alive, make unlootable↵ if (m_pInstance->GetData(TYPE_BUG_TRIO) != DONE)↵ {↵ m_creature->RemoveFlag(UNIT_DYNAMIC_FLAGS,

    Values
    TokenPositive-pole strength
    make0.000
    un1.309
    lo0.022
    ot0.131
    able0.000
    ↵0.000
    0.624
    if1.290
    (1.514
    m0.451
    _p0.281
    Instance0.452
    ->0.885
    GetData0.536
    (TYPE0.005
    _B0.104
    UG0.000
    _TR0.000
    IO0.523
    )1.141
    !=0.015
    DONE0.000
    )↵0.053
    0.000
    {↵0.049
    0.412
    m0.155
    _c0.074
    reature0.534
    ->0.736
    Remove2.355
    Flag0.465
    (0.031
    UNIT0.000
    _DYNAMIC0.000
    _FLAGS0.145
    ,0.054
  6. 2.32 … _ITERATION(1), <boost/mpl/aux_/advance_backward.hpp>))↵# include BOOST_PP_ITERATE()↵#endif↵↵ typedef BOOST_PP_CAT(iter,BOOST_PP_FRAME_ITERATION(1 …
    All 282 tokens

    N - BOOST_MPL_LIMIT_UNROLLING↵ )>↵ , chunk_result_↵ >::type type;↵ };↵};↵↵}}}↵↵#endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS↵#endif // BOOST_MPL_AUX778076_ADVANCE_BACKWARD_HPP_INCLUDED↵↵///// iteration, depth == 1↵↵// For gcc 4.4 compatability, we must include the↵// BOOST_PP_ITERATION_DEPTH test inside an #else clause.↵#else // BOOST_PP_IS_ITERATING↵#if BOOST_PP_ITERATION_DEPTH() == 1↵#define i_ BOOST_PP_FRAME_ITERATION(1)↵↵template<>↵struct advance_backward< BOOST_PP_FRAME_ITERATION(1) >↵{↵ template< typename Iterator > struct apply↵ {↵ typedef Iterator iter0;↵↵#if i_ > 0↵# define BOOST_PP_ITERATION_PARAMS_2 \↵ (3,(1, BOOST_PP_FRAME_ITERATION(1), <boost/mpl/aux_/advance_backward.hpp>))↵# include BOOST_PP_ITERATE()↵#endif↵↵ typedef BOOST_PP_CAT(iter,BOOST_PP_FRAME_ITERATION(1)) type;↵ };↵↵#if defined(BOOST_MPL_CFG_MSVC_60_ETI_BUG)↵ /// ETI workaround↵ template<> struct apply<int>↵ {↵ typedef int type;↵ };↵#endif↵};↵↵#undef i_↵↵///// iteration, dep

    Values
    TokenPositive-pole strength
    _ITER0.049
    ATION0.363
    (0.073
    10.047
    ),0.000
    <0.095
    boost0.000
    /m0.044
    pl0.040
    /0.017
    aux0.081
    _/0.007
    advance0.000
    _backward0.022
    .hpp0.202
    >0.000
    ))↵0.000
    #0.000
    0.000
    include0.003
    BOOST0.090
    _PP0.052
    _ITER0.000
    ATE0.001
    ()↵0.000
    #endif0.000
    ↵↵0.000
    0.076
    typedef0.042
    BOOST0.000
    _PP2.325
    _CAT1.090
    (iter0.067
    ,0.977
    BOOST0.000
    _PP1.079
    _FRAME0.558
    _ITER0.240
    ATION0.392
    (0.198
    10.247
  7. 2.31 … [DEFAULT_DB_ALIAS], item)↵ File "/usr/local/lib/python2.7/dist-packages/django/db/utils.py", line 93, in __getitem__↵ backend = load_backend(db[' …
    All 512 tokens

    (app_name, name))↵ File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module↵ __import__(name)↵ File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/syncdb.py", line 8, in <module>↵ from django.core.management.sql import custom_sql_for_model, emit_post_sync_signal↵ File "/usr/local/lib/python2.7/dist-packages/django/core/management/sql.py", line 9, in <module>↵ from django.db import models↵ File "/usr/local/lib/python2.7/dist-packages/django/db/__init__.py", line 40, in <module>↵ backend = load_backend(connection.settings_dict['ENGINE'])↵ File "/usr/local/lib/python2.7/dist-packages/django/db/__init__.py", line 34, in __getattr__↵ return getattr(connections[DEFAULT_DB_ALIAS], item)↵ File "/usr/local/lib/python2.7/dist-packages/django/db/utils.py", line 93, in __getitem__↵ backend = load_backend(db['ENGINE'])↵ File "/usr/local/lib/python2.7/dist-packages/django/db/utils.py", line 27, in load_backend↵ return import_module('.base', backend_name)↵ File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module↵ __import__(name)↵ File "/usr/local/lib/python2.7/dist-packages/django/db/backends/mysql/base.py", line 17, in <module>↵ raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)↵django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb↵↵python manage.py syncdb --noinput failed, check your configuration↵Traceback (most recent call last):↵ File "manage.py", line 10, in <module>↵ execute_from_command_line(sys.argv)↵ File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 453, in execute_from_command_line↵ utility.execute()↵ File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 392, in execute↵ self.fetch_command(subcommand).run_from_argv(self.argv)↵ File

    Values
    TokenPositive-pole strength
    [0.237
    DEFAULT0.000
    _DB0.020
    _ALIAS0.000
    ],0.000
    item0.000
    )↵0.078
    0.000
    File0.000
    "/0.000
    usr0.001
    /local0.005
    /lib0.000
    /python0.131
    20.171
    .0.186
    70.000
    /dist0.141
    -packages0.000
    /d0.000
    jango0.094
    /db0.101
    /utils0.003
    .py0.021
    ",0.141
    line0.137
    0.000
    90.000
    30.000
    ,0.000
    in2.313
    __0.933
    getitem0.738
    __↵0.000
    2.089
    backend0.000
    =0.872
    load1.340
    _backend0.000
    (db0.000
    ['0.036
  8. 2.14 … sessão e depois a exclui da mesma↵ * @return a propriedade ou null se não existir↵ */↵ public static function getPropriedadeLimpar($nome){↵ …
    All 286 tokens

    não existir↵ */↵ public static function getPropriedade($nome){↵ self::configurarSessao();↵ $sessao = self::getSessao();↵ return @$sessao[$nome];↵ }↵↵ /**↵ * Pega uma propriedade da sessão e depois a exclui da mesma↵ * @return a propriedade ou null se não existir↵ */↵ public static function getPropriedadeLimpar($nome){↵ self::configurarSessao();↵ $sessao = self::getSessao();↵ $valor = @$sessao[$nome];↵ self::setPropriedade($nome, null);↵ return $valor;↵ }↵↵ /**↵ * Seta uma propriedade na sessão↵ */↵ public static function setPropriedade($nome, $valor){↵ self::configurarSessao();↵ $_SESSION[self::$BASE_PROPRIEDADES][$nome] = $valor;↵ }↵↵ /**↵ * Configura a sessão para guardar os itens↵ */↵ private static function configurarSessao(){↵ if(!isset($_SESSION)){↵ session_start();↵ }↵ if(!self::getSessao() || !is_array(self::getSessao())){↵ self::setSessao(array());↵ }↵ }↵↵ private static f

    Values
    TokenPositive-pole strength
    sess0.075
    ão0.521
    e0.669
    depois0.000
    a0.690
    excl0.099
    ui0.127
    da0.000
    mesma0.100
    ↵0.000
    0.000
    *0.019
    @0.000
    return0.297
    a0.316
    prop0.047
    ried0.004
    ade0.550
    ou0.019
    null0.000
    se0.003
    não0.170
    exist0.039
    ir0.000
    ↵0.000
    0.000
    */↵0.088
    0.006
    public0.066
    static0.000
    function2.137
    get0.942
    Prop0.017
    ried0.034
    ade0.000
    Lim0.000
    par0.000
    ($0.037
    nome0.000
    ){↵0.000
    0.000
  9. 2.12 … :↵↵I do all my shell scripting in python.↵It's easier to read, more powerful and works on windows as well.↵↵A:↵↵You could just take the base name as an argument and use $1 …
    All 268 tokens

    Q:↵↵What's the simplest way to pass a file as an argument in a simple shell script?↵↵The following works fine on Mac OS X:↵#!/bin/bash↵R CMD Sweave myfile.Rnw↵pdflatex myfile.tex↵open myfile.pdf↵↵Now, I realize that these 3 lines of code are really helpful for my work – independently of some particular file. Thus I'd like to use the file as an argument. I know how to use an argument itself but have problems splitting the input after the string and concat it afterwards. If I was able to split the filename argument like: ↵split($1,".") # return some array or list ("name","ext")↵↵Or is there a simpler, completely different way than using Python within a shell script?↵Thx in advance for any general advice and examples as well !↵↵A:↵↵I do all my shell scripting in python.↵It's easier to read, more powerful and works on windows as well.↵↵A:↵↵You could just take the base name as an argument and use $1.Rnw, $1.tex, and $1.pdf. Python is great for shell scripts, but I usually stick with bash for things less than 10 lines long.↵If you really want to take a file name, you can use cut -f 1 -d '.' $1.↵↵

    Values
    TokenPositive-pole strength
    :↵↵0.008
    I0.038
    do0.000
    all0.000
    my0.000
    shell0.000
    scripting0.128
    in0.078
    python0.160
    .↵0.009
    It0.000
    's0.000
    easier0.000
    to0.028
    read0.000
    ,0.000
    more0.000
    powerful0.000
    and0.029
    works0.000
    on0.018
    windows0.000
    as0.000
    well0.124
    .↵↵0.065
    A0.272
    :↵↵0.015
    You0.000
    could0.000
    just0.000
    take2.118
    the1.767
    base0.515
    name0.606
    as0.655
    an0.906
    argument0.120
    and0.077
    use0.489
    $0.120
    11.337
  10. 2.07 … chp, frag, postfix = extractVolChapterFragmentPostfix(item['title'])↵ if not (chp or vol or frag) or 'preview' in item['title'].lower():↵ return None …
    All 100 tokens

    def extractStartlingSurprisesAtEveryStep(item):↵ vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title'])↵ if not (chp or vol or frag) or 'preview' in item['title'].lower():↵ return None↵ if 'bu bu jing xin' in item['tags']:↵ return buildReleaseMessageWithType(item, 'Bu Bu Jing Xin', vol, chp, frag=frag, postfix=postfix)↵ return False↵

    Values
    TokenPositive-pole strength
    ch0.013
    p0.035
    ,0.084
    frag0.000
    ,0.000
    postfix0.199
    =0.000
    extract0.000
    Vol0.023
    Chapter0.000
    Fragment0.113
    Post0.373
    fix0.112
    (item0.000
    ['0.035
    title0.000
    '])↵0.126
    if0.000
    not0.000
    (0.000
    ch0.000
    p0.111
    or1.144
    vol0.000
    or0.728
    frag0.000
    )0.000
    or1.642
    '0.040
    preview0.049
    '2.072
    in0.000
    item0.123
    ['0.000
    title0.000
    '].0.000
    lower0.000
    ():↵0.095
    0.000
    return0.000
    None0.000
  11. 2.03 … specific language governing permissions and↵// limitations under the License.↵//↵// Code generated by Microsoft (R) AutoRest Code Generator.↵// Changes may cause incorrect behavior and will be lost if the code is regenerated …
    All 512 tokens

    package network↵↵// Copyright (c) Microsoft and contributors. 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.↵//↵// Code generated by Microsoft (R) AutoRest Code Generator.↵// Changes may cause incorrect behavior and will be lost if the code is regenerated.↵↵import (↵ "context"↵ "github.com/Azure/go-autorest/autorest"↵ "github.com/Azure/go-autorest/autorest/azure"↵ "github.com/Azure/go-autorest/tracing"↵ "net/http"↵)↵↵// VpnSitesClient is the network Client↵type VpnSitesClient struct {↵ BaseClient↵}↵↵// NewVpnSitesClient creates an instance of the VpnSitesClient client.↵func NewVpnSitesClient(subscriptionID string) VpnSitesClient {↵ return NewVpnSitesClientWithBaseURI(DefaultBaseURI, subscriptionID)↵}↵↵// NewVpnSitesClientWithBaseURI creates an instance of the VpnSitesClient client.↵func NewVpnSitesClientWithBaseURI(baseURI string, subscriptionID string) VpnSitesClient {↵ return VpnSitesClient{NewWithBaseURI(baseURI, subscriptionID)}↵}↵↵// CreateOrUpdate creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.↵// Parameters:↵// resourceGroupName - the resource group name of the VpnSite.↵// vpnSiteName - the name of the VpnSite being created or updated.↵// vpnSiteParameters - parameters supplied to create or update VpnSite.↵func (client VpnSitesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, vpnSiteName string, vpnSiteParameters VpnSite) (result VpnSitesCreateOrUpdateFuture, err error) {↵ if tracing.IsEnabled() {↵ ctx = tracing.StartSpan(ctx, fqdn+"/VpnSitesClient.CreateOrUpdate")↵ defer func() {↵ sc := -1↵ if result.Response() != nil {↵ sc = result.Response().StatusCode↵ }↵ tr

    Values
    TokenPositive-pole strength
    specific0.055
    language0.148
    governing0.220
    permissions0.276
    and0.037
    ↵0.122
    //0.000
    limitations0.155
    under0.090
    the0.054
    License0.282
    .↵0.169
    //↵0.000
    //0.000
    Code0.052
    generated0.000
    by0.092
    Microsoft0.106
    (0.000
    R0.000
    )0.000
    Auto0.053
    Rest0.000
    Code0.085
    Generator0.000
    .↵0.007
    //0.000
    Changes0.051
    may0.640
    cause0.170
    incorrect2.033
    behavior0.298
    and0.000
    will0.026
    be0.000
    lost1.272
    if0.000
    the0.000
    code0.000
    is0.000
    regenerated0.010
  12. 1.93 … TodayModel model) {↵ CACHE.put(model.id, model);↵ }↵↵ private static WeatherTodayModel getFromCache(String id) {↵ return CACHE.get(id);↵ }↵↵ public static WeatherToday …
    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
    TokenPositive-pole strength
    Today0.055
    Model0.000
    model0.000
    )0.000
    {↵0.000
    0.000
    CACHE0.821
    .put0.203
    (model0.041
    .id0.000
    ,0.317
    model0.029
    );↵0.006
    0.087
    }↵↵0.000
    0.054
    private0.000
    static0.000
    Weather0.029
    Today0.000
    Model1.742
    get1.156
    From0.744
    Cache0.385
    (String0.000
    id0.000
    )0.000
    {↵0.000
    0.000
    return1.584
    CACHE1.925
    .get0.367
    (id0.000
    );↵0.068
    0.000
    }↵↵0.000
    0.017
    public0.046
    static0.000
    Weather0.048
    Today0.000
Read more

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

Explanation scores on held-out text

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

Read more

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

Detection
0.50
Fuzzing
—
Embedding AUROC
1.00

Detection recall by activation strength

—
0.00
—
—
—
weakeststrongest

False alarms on inactive windows: 0%.

Judge
muse-spark-1.3
Held-out windows
1 active of 40
Judged
2 detection · 0 fuzzing
Detection outcomes
1 missed · 0 false alarm · 0 hit · 1 correct rejection
Seed
3291663869 · sample_corpus.txt
Detection windows (2), the explanation's mistakes first
  1. missed 3.20 · sim 0.19 For i in range(10): print(i)
  2. correct rejection 0.10 · sim 0.12 The algorithm runs in O(n log n) time on average.

Activation and mechanism

Activation distribution

[0, 0.129): 162654 [0.129, 0.259): 28177 [0.259, 0.388): 7174 [0.388, 0.517): 1256 [0.517, 0.647): 263 [0.647, 0.776): 119 [0.776, 0.905): 92 [0.905, 1.03): 42 [1.03, 1.16): 30 [1.16, 1.29): 21 [1.29, 1.42): 16 [1.42, 1.55): 14 [1.55, 1.68): 5 [1.68, 1.81): 9 [1.81, 1.94): 3 [1.94, 2.07): 3 [2.07, 2.2): 5 [2.2, 2.33): 1 [2.33, 2.46): 3 [2.46, 2.59): 0 [2.59, 2.72): 3 [2.72, 2.85): 0 [2.85, 2.97): 1 [2.97, 3.1): 0 [3.1, 3.23): 1 [3.23, 3.36): 1 [3.36, 3.49): 0 [3.49, 3.62): 0 [3.62, 3.75): 2 [3.75, 3.88): 1 0.00 3.88

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

Mechanism

Claimed retrospective: responds to tokens already in context.

Input attribution

0 back
5%
1 back
6%
2–4 back
3%
5–16 back
8%
17–64 back
14%
65+ back
65%
  • #1 (not converged) at =: =0 -0.15 protected-24 0.08 _-22 0.07 ($-2 0.07result-14 0.06
  • #2 (not converged) at scanner: .hasNext-8 0.26 scanner0 0.10 =-16 0.10 while-10 0.09 -4 0.07
  • #3 at ega: P-1 0.17ega0 0.17: -491 0.03 { -286 -0.03_PROP-14 0.03
  • #4 at pop: :-6 0.18 '-1 -0.17 :-3 0.14,-185 0.14add-50 0.13
  • #5 (not converged) at Remove: Remove0 -0.29_c-3 -0.18MON-64 0.18xic-160 -0.13_C-63 -0.12

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

Vocabulary projection

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

Jacobian lens

␣TOP · z = +5.61 · #1 promoted ␣TOP top · z = +5.58 · #2 promoted top -top · z = +5.36 · #3 promoted -top anuts · z = +5.16 · #4 promoted anuts TOP · z = +5.10 · #5 promoted TOP ␣top · z = +4.97 · #6 promoted ␣top _top · z = +4.80 · #7 promoted _top 顶部 · z = +4.71 · #8 promoted 顶部 Top · z = +4.70 · #9 promoted Top _HEAD · z = +4.69 · #10 promoted _HEAD ␣Filtering · z = -4.31 · #10 suppressed ␣Filtering ␣Filter · z = -4.31 · #9 suppressed ␣Filter ␣looping · z = -4.31 · #8 suppressed ␣looping ␣Iterate · z = -4.31 · #7 suppressed ␣Iterate ␣_: · z = -4.39 · #6 suppressed ␣_: ␣filter · z = -4.40 · #5 suppressed ␣filter ␣filtered · z = -4.41 · #4 suppressed ␣filtered ␣iterate · z = -4.64 · #3 suppressed ␣iterate ␣filtering · z = -4.74 · #2 suppressed ␣filtering ␣iter · z = -5.19 · #1 suppressed ␣iter -6 -4 -2 0 +2 +4 +6

Logit lens

ssi · z = +4.81 · #1 promoted ssi >Last · z = +4.70 · #2 promoted >Last ottenham · z = +4.37 · #3 promoted ottenham tep · z = +4.35 · #4 promoted tep 顶 · z = +4.33 · #5 promoted 顶 уча · z = +4.28 · #6 promoted уча erve · z = +4.23 · #7 promoted erve utton · z = +4.21 · #8 promoted utton 得起 · z = +4.17 · #9 promoted 得起 orld · z = +4.17 · #10 promoted orld ␣cle · z = -4.14 · #10 suppressed ␣cle "][$ · z = -4.16 · #9 suppressed "][$ ␣energies · z = -4.16 · #8 suppressed ␣energies ␣passes · z = -4.19 · #7 suppressed ␣passes ␣giả · z = -4.21 · #6 suppressed ␣giả ␣circular · z = -4.29 · #5 suppressed ␣circular ␣linear · z = -4.45 · #4 suppressed ␣linear ␣#: · z = -4.50 · #3 suppressed ␣#: ␣iter · z = -4.64 · #2 suppressed ␣iter 的通知 · z = -4.65 · #1 suppressed 的通知 -6 -4 -2 0 +2 +4 +6
promotes suppresses Hover a bar for its value.
Values
#Jacobian lens promotessuppressesLogit lens promotessuppresses
1 TOP +5.61 iter -5.19 ssi +4.81 的通知 -4.65
2 top +5.58 filtering -4.74 >Last +4.70 iter -4.64
3 -top +5.36 iterate -4.64 ottenham +4.37 #: -4.50
4 anuts +5.16 filtered -4.41 tep +4.35 linear -4.45
5 TOP +5.10 filter -4.40 顶 +4.33 circular -4.29
6 top +4.97 _: -4.39 уча +4.28 giả -4.21
7 _top +4.80 Iterate -4.31 erve +4.23 passes -4.19
8 顶部 +4.71 looping -4.31 utton +4.21 energies -4.16
9 Top +4.70 Filter -4.31 得起 +4.17 "][$ -4.16
10 _HEAD +4.69 Filtering -4.31 orld +4.17 cle -4.14

Top-10 overlap 0% · cos(w, J·w) 0.69 · kurtosis 3.3 (Jacobian) / 3.3 (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 : : : : : : : : : : : :wordnoun
control periodemotionanimal
category 17 unit nounnounnoun
control nounnounnoun
meaning 2 unit that the word is used to refer to the person or thing"what" or "what is it?" in the context____.
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 17 unit "not specified" or "unknown". It is used to"unknown" or "unknowns". The word "unknown"unknown" or "unknowns". The word "unknown
control "not specified" or "unknown". It is used to"not specified" or "unknown". It is used to"a question mark" in English. The question mark is

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 (3.88), 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. It's a good day to go for a walk. I'm going to the park. I'm going to

Clamped ×4

sunny. It is ________ than yesterday.____ A. more B. less C. the most

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 lot of things. I ________ a lot of things. A. bought B. bought C. am buying D

Clamped ×2

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

Clamped ×4

a pair of shoes.(对画线部分提问) ____ you____ a pair of shoes? What did,buy

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 teach. This is the philosophy of the International Association of Teachers of Mathematics (IATM). The IATM

Clamped ×2

to teach. That’s the message from the University of California, Berkeley, which has launched a new program to teach students

Clamped ×4

to teach. That’s the philosophy behind the new online course, “The Art of Teaching,” which is being offered by

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

a young girl named Lily was playing with her favorite toy, a spinning top. She loved spinning it up and down,

The report concluded that …
Ablated

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

Baseline

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

Clamped ×1

the 2010 census showed that the number of people living in the United States had increased by 10

Clamped ×2

the 2010 census showed that the number of people living in the United States had increased by 10

Clamped ×4

the 2010 census showed that the number of people living in the United States was 30.4

Wiring

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

Read more

"Directly" means along the residual stream, through no other unit. Linked units have pages in the registry. Reported, not gated. Backfilled after the review by open-interpretability wiring-backfill, from the record's model revision and the review's prompts. It is not part of the record.

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

From activations. Averaged over this pole's peak on 10 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
L15/N1236 up -0.118
L16/N324 up -0.117
L13/N2649 up +0.11
L16/N1472 gate -0.104
L10/N3361 up +0.104
L9/N3667 gate +0.0995
L11/N4349 up +0.0956
L13/N362 gate +0.0938
L7/N4072 up +0.0937
L16/N886 up +0.0934
Upstream heads
L10/H4 up +0.298
L12/H4 gate +0.277
L14/H8 up +0.266
L13/H7 up +0.253
L15/H10 up +0.242
L12/H1 gate +0.239
L10/H7 up +0.238
L12/H3 gate +0.235
L10/H0 up +0.23
L12/H2 gate +0.228
Downstream neurons
L23/N3887 gate +0.146
L20/N1233 gate -0.135
L23/N4547 gate +0.128
L23/N1396 gate -0.127
L22/N29 gate +0.126
L23/N4161 gate +0.121
L23/N1121 gate -0.118
L22/N346 gate +0.117
L23/N2287 up +0.115
L23/N1083 gate +0.114
Downstream heads
L21/H7 v +0.333
L21/H8 v +0.333
L21/H9 v +0.333
L21/H10 v +0.333
L21/H11 v +0.333
L21/H12 v +0.333
L21/H13 v +0.333
L21/H0 v +0.301
L21/H1 v +0.301
L21/H2 v +0.301

From activations

Upstream neurons
L16/N775 +0.594
L16/N3695 +0.235
L6/N153 +0.215
L16/N1472 +0.182
L15/N1700 +0.181
L16/N1240 +0.178
L16/N100 +0.168
L7/N1113 +0.161
L15/N2312 +0.15
L3/N1974 +0.15
Upstream heads
L14/H7 +0.766
L14/H10 -0.748
L14/H11 +0.463
L10/H10 +0.327
L17/H0 -0.289
L10/H11 +0.288
L10/H7 -0.282
L13/H3 -0.267
L17/H3 -0.224
L17/H2 -0.217
Downstream neurons
L19/N4273 +0.698
L23/N2539 +0.522
L23/N1121 +0.49
L23/N4861 -0.46
L18/N150 +0.452
L23/N246 +0.444
L23/N1396 +0.407
L23/N3423 +0.399
L23/N4144 -0.383
L23/N2345 -0.37
Downstream heads
L21/H9 v +0.301
L23/H1 v +0.295
L18/H11 q +0.168
L18/H9 v +0.145
L23/H4 v +0.116
L19/H8 v +0.113
L20/H1 q +0.0964
L18/H2 q +0.0859
L19/H11 v +0.0807
L18/H12 v +0.0807

Covariance and confounds

Confounds

Token identity R²
0.27
Position R²
0.00
Frequency r
0.12
Best trivial baseline
never active · 0.71
Hypothesis
0.61 ✗

Retrieves CACHE scannerSESSION primeroSet incorrect_FRAME:[ $__module->_

Co-activating neuron poles

Pole Lift ≥ Both ρ r
N1849+ 19.4 36 +0.02 +0.04
N4079− 15.6 30 +0.08 -0.07
N3988+ 15.6 30 -0.02 +0.02
N3491− 15.6 30 +0.00 -0.02
N4429+ 14.4 28 -0.02 +0.00
N2125− 13.7 27 +0.00 -0.03
N3953− 13.1 26 +0.05 -0.06
N3436− 13.1 26 +0.03 -0.04
N2256− 13.1 26 -0.01 -0.02
N1642+ 12.5 25 +0.00 +0.01
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
N1849, N4079, N3988
KL pole alone
1.91e-04
KL partners
8.26e-05
KL together
2.67e-04
Redundancy ratio
0.96

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

Run details

Submitted by
deepseek-flash
Reviewed by
muse-spark-1.3
Reviewed at
2026-10-26 17:35 UTC
Max activation
3.8797
Selection
random (seed 3508659395)
Corpus
corpus.jsonl · 199,896 tokens · seeded sample of 477/500 docs (≤ 200,000 tokens, seed 0) · 512-token windows every 256 tokens · source NeelNanda/pile-10k@127bfedc (data/*.parquet, first 500 docs) (inferred) · licence bigscience-bloom-rail-1.0
Model revision
060db6499f32 · float32
Ran on
scan mps:0 · review cpu
Run cost
7.9 min (slowest: causal_metrics, 5.9 min) · 2 LLM calls