Qwen/Qwen2.5-0.5B · L23/N1769 · 20261026T011607Z
Experiment 1 of 4 on this neuron, most conclusive first · record
L23/N1769+ is a retrospective 'Java-family member declaration' unit: in Java, Kotlin, Swift, Dart, Scala and Java-style C# source it peaks on the token that opens a declared member - a field modifier (private, public, static, final), a method or constructor name just before its '(', a ':' or '->' introducing a type, a ',' or '<' inside a capitalised parameter or generic list, or the indentation that begins the next member or statement line - and its write suppresses the built-in type tokens it expects ('String', 'Math'). Activation is primed by the members already written in the window, so the first field of a class body scores 3-6, the second and later members 8-10, and full Java/Kotlin/Swift class bodies reach 8-17; sparse Java-shaped code still fires at 3-6 (a Rust struct/impl, a C# class written with lowercase 'string', a Java method body containing a for loop and println calls, a JavaScript function of arithmetic assignments, the same class written with lowercase types), while Go, C, C++, PHP, Ruby, Python, TypeScript classes and interfaces, plain JavaScript without a Math call, SQL, shell, HTML, JSON, YAML and prose stay at or below about 2.5.
The whole hypothesis
L23/N1769+ is a retrospective 'Java-family member declaration' unit: in Java, Kotlin, Swift, Dart, Scala and Java-style C# source it peaks on the token that opens a declared member - a field modifier (private, public, static, final), a method or constructor name just before its '(', a ':' or '->' introducing a type, a ',' or '<' inside a capitalised parameter or generic list, or the indentation that begins the next member or statement line - and its write suppresses the built-in type tokens it expects ('String', 'Math'). Activation is primed by the members already written in the window, so the first field of a class body scores 3-6, the second and later members 8-10, and full Java/Kotlin/Swift class bodies reach 8-17; sparse Java-shaped code still fires at 3-6 (a Rust struct/impl, a C# class written with lowercase 'string', a Java method body containing a for loop and println calls, a JavaScript function of arithmetic assignments, the same class written with lowercase types), while Go, C, C++, PHP, Ruby, Python, TypeScript classes and interfaces, plain JavaScript without a Math call, SQL, shell, HTML, JSON, YAML and prose stay at or below about 2.5.
Hard negatives 9/10 rejected · holdouts 6/6 fired (independent observations; 16 probes) · P(useful) 1.00
Revises 20261023T054859Z (NEEDS_REVISION)
specificity 0.90 · sensitivity 1.00 · counterfactual reproduction 1.00 · protocol v0.7
private public static finalCacheCallbacks: ->,<String =
Adversarial review
hard_negative: 9/10 passed; positive_holdout: 6/6 passed; counterfactual: 9/9 passed; lookahead_consistency: 1/1 passed. All gates passed.
All 26 probes
| Test | Input | Expected | Observed | |
|---|---|---|---|---|
| ✓ | hard negative | class Repository:
name: str
stars: int = 0
def rename(self, new_name: str) -> Repository: Python ':' and '->' types; hypothesis predicts <= 2.5. |
inactive | 0.472 |
| ✓ | hard negative | class CacheStore<T> {
private entries: Map<string, T>;
public get(key: string): T
} TS class with private/public modifiers; predicted <= 2.5. |
inactive | 2.524 |
| ✓ | hard negative | class AccountManager {
public:
void Deposit(const Transaction& tx);
private:
std::vector<Transaction> history_;
}; C++ public:/private: sections; predicted <= 2.5. |
inactive | 2.659 |
| ✓ | hard negative | type Handler struct {
Cache *Cache
}
func (h *Handler) ServeHTTP(w http.ResponseWriter) { Go struct with literal Cache; predicted <= 2.5. |
inactive | 0.807 |
| ✓ | hard negative | class WeatherModel
def initialize(city:, temp:)
end
end Ruby def-before-paren and ':' symbols; predicted <= 2.5. |
inactive | 0.672 |
| ✓ | hard negative | class Invoice {
private string $number;
public static int $count = 0;
} PHP private/public members; predicted <= 2.5. |
inactive | 0.088 |
| ✓ | hard negative | Cache:
Enabled: true
Callbacks:
OnSuccess: notify YAML carries Cache/Callbacks triggers; predicted <= 2.5. |
inactive | 0.240 |
| ✓ | hard negative | SELECT AccountId, OwnerName
FROM Accounts
WHERE IsPublic = TRUE; SQL caps, commas and ' ='; predicted <= 2.5. |
inactive | 1.116 |
| ✗ | hard negative | /** private helpers; public entry points; Map<String, Result> */ Claimed tokens only in a comment with no declared member; predicted <= 2.5. |
inactive | 5.791 |
| ✓ | hard negative | The final whistle stirred the public gallery; fans stayed static. Modifier words in ordinary prose; predicted <= 2.5. |
inactive | 0.460 |
| ✓ | positive holdout | class AccountService(private val repo: Repo) {
private val cache: MutableMap<String, Account> = mutableMapOf()
} Kotlin class body with private val and generics; predicted 8-17. |
active | 9.943 |
| ✓ | positive holdout | final class WeatherStore {
private(set) var temperature: Double = 0
private var readings: [String: Double] = [:]
} Swift class body with private modifiers and typed members; predicted 8-17. |
active | 9.064 |
| ✓ | positive holdout | class UserProfile {
final String name;
const UserProfile({required this.name});
} Dart class body with final fields; predicted 8-17. |
active | 9.768 |
| ✓ | positive holdout | case class Order(id: String, items: List[Item])
class OrderService {
private val pending = Map.empty[String, Order]
} Scala case class and private val members; predicted 8-17. |
active | 6.114 |
| ✓ | positive holdout | pub struct Account {
pub id: String,
balance: i64,
}
impl Account {
pub fn new(id: String) -> Self Rust struct/impl with pub fn and '-> Self'; hypothesis predicts 3-6. |
active | 3.636 |
| ✓ | positive holdout | public class InvoiceCalculator {
private const Decimal TaxRate = 0.2m;
public static String Currency { get; set; }
} Java-style C# with public String members; hypothesis predicts firing. |
active | 4.450 |
| ✓ | counterfactual | public class Counter { private String title; private String author; } -> type Counter struct { title string author string } | Δ 0.71 | Δ 0.71 |
| ✓ | counterfactual | public class Counter { private String title; private String author; } -> public class Counter { private string title; private string author; } | Δ 0.31 | Δ 0.31 |
| ✓ | counterfactual | public class Counter { private String title; private String author; } -> public class Counter { private String title; } | Δ 0.31 | Δ 0.31 |
| ✓ | counterfactual | public class Counter { private String title; } -> public class Counter { // private String title; } | Δ 0.30 | Δ 0.30 |
| ✓ | counterfactual | function f() { var max = Math.max(a, b); var min = Math.min(a, b); } -> function f() { var max = math.max(a, b); var min = Math.min(a, b); } | Δ 0.44 | Δ 0.44 |
| ✓ | counterfactual | private static WeatherTodayModel getFromCache(String id) { return CACHE.get(id); } -> private static WeatherTodayModel getFromCacheValue(String id) { return CACHE.get(id); } | Δ -0.06 | Δ -0.06 |
| ✓ | counterfactual | They rented a private villa outside Florence. -> They rented a private house outside Florence. | Δ 0.00 | Δ 0.00 |
| ✓ | counterfactual | struct Item { let name: String let carbs: Int } -> struct Item { let name: Int let carbs: Int } | Δ 0.00 | Δ 0.00 |
| ✓ | counterfactual | public String getTitle(String prefix, Object extra) { return title; } -> public Object getTitle(String prefix, Object extra) { return title; } | Δ -0.06 | Δ -0.06 |
| ✓ | lookahead consistency | public class Counter {
private String title;
private String author;
}; public class Counter {
private String title;
private String author;
}; public class Counter {
private String title;
private String author;
}; public class Counter {
private String title;
}; function f() {
var max = Math.max(a, b);
var min = Math.min(a, b);
}; private static WeatherTodayModel getFromCache(String id) {
return CACHE.get(id);
}; They rented a private villa outside Florence.; struct Item {
let name: String
let carbs: Int
}; public String getTitle(String prefix, Object extra) {
return title;
} claimed retrospective; measured retrospective (KL=0.03486, tokens=[' int', ' if', '()', 'if', '(Context']) |
Minimal pairs
| # | Base → counterfactual | Expected Δ | Observed Δ | Sufficiency | Necessity |
|---|---|---|---|---|---|
| 1 | public class Counter {
private String title;
private String author;
} → type Counter struct {
title string
author string
} |
0.71 | 0.71 | — | — |
| 2 | public class Counter {
private String title;
private String author;
} → public class Counter {
private string title;
private string author;
} |
0.31 | 0.31 | 1.00 effect 0.241 matched 0.000134 / 0.0795 |
1.00 effect 0.695 matched 0.000208 / 0.086 |
| 3 | public class Counter {
private String title;
private String author;
} → public class Counter {
private String title;
} |
0.31 | 0.31 | — | — |
| 4 | public class Counter {
private String title;
} → public class Counter {
// private String title;
} |
0.30 | 0.30 | — | — |
| 5 | function f() {
var max = Math.max(a, b);
var min = Math.min(a, b);
} → function f() {
var max = math.max(a, b);
var min = Math.min(a, b);
} |
0.44 | 0.44 | 1.00 effect 0.0905 matched 3.17e-06 / 0.00105 |
1.00 effect 0.0112 matched 7.92e-07 / 0.000324 |
| 6 | private static WeatherTodayModel getFromCache(String id) {
return CACHE.get(id);
} → private static WeatherTodayModel getFromCacheValue(String id) {
return CACHE.get(id);
} |
-0.06 | -0.06 | — | — |
| 7 | They rented a private villa outside Florence. → They rented a private house outside Florence. |
0.00 | 0.00 | — | — |
| 8 | struct Item {
let name: String
let carbs: Int
} → struct Item {
let name: Int
let carbs: Int
} |
0.00 | 0.00 | 0.81 effect 0.000233 matched 2.18e-05 / 0.00305 |
0.69 effect 8.17e-05 matched 2.42e-05 / 0.00579 |
| 9 | public String getTitle(String prefix, Object extra) {
return title;
} → public Object getTitle(String prefix, Object extra) {
return title;
} |
-0.06 | -0.06 | — | — |
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 3 non-control pairs, on next-token KL. Median effect 0.0905 (sufficiency) and 0.0112 (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.
-
13.01
… TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};↵function getDecimals(n) {↵ n = n + '';↵ var i = n.indexOf('.');↵ …
All 512 tokens
'use strict';↵angular.module("ngLocale", [], ["$provide", function($provide) {↵var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};↵function getDecimals(n) {↵ n = n + '';↵ var i = n.indexOf('.');↵ return (i == -1) ? 0 : n.length - i - 1;↵}↵↵function getVF(n, opt_precision) {↵ var v = opt_precision;↵↵ if (undefined === v) {↵ v = Math.min(getDecimals(n), 3);↵ }↵↵ var base = Math.pow(10, v);↵ var f = ((n * base) | 0) % base;↵ return {v: v, f: f};↵}↵↵$provide.value("$locale", {↵ "DATETIME_FORMATS": {↵ "AMPMS": [↵ "Dinda",↵ "Dilolo"↵ ],↵ "DAY": [↵ "Lumingu",↵ "Nkodya",↵ "Nd\u00e0ay\u00e0",↵ "Ndang\u00f9",↵ "Nj\u00f2wa",↵ "Ng\u00f2vya",↵ "Lubingu"↵ ],↵ "MONTH": [↵ "Ciongo",↵ "L\u00f9ishi",↵ "Lus\u00f2lo",↵ "M\u00f9uy\u00e0",↵ "Lum\u00f9ng\u00f9l\u00f9",↵ "Lufuimi",↵ "Kab\u00e0l\u00e0sh\u00ecp\u00f9",↵ "L\u00f9sh\u00eck\u00e0",↵ "Lutongolo",↵ "Lung\u00f9di",↵ "Kasw\u00e8k\u00e8s\u00e8",↵ "Cisw\u00e0"↵ ],↵ "SHORTDAY": [↵ "Lum",↵ "Nko",↵ "Ndy",↵ "Ndg",↵ "Njw",↵ "Ngv",↵ "Lub"↵ ],↵ "SHORTMONTH": [↵ "
Values
Token Positive-pole strength TWO0.079 :0.000 "0.532 two0.000 ",0.370 FE0.032 W0.113 :0.000 "0.668 few0.000 ",0.343 MANY0.000 :0.000 "0.190 many0.000 ",0.245 OTHER0.000 :0.000 "0.136 other0.000 "};↵0.000 function0.009 get0.108 Dec0.000 imals0.000 (n0.000 )0.000 {↵0.000 0.000 n0.253 =13.011 n0.000 +1.132 '';↵0.000 0.000 var0.000 i0.000 =0.757 n0.000 .indexOf0.000 ('.');↵0.000 -
11.87
… private static void addToCache(WeatherTodayModel model) {↵ CACHE.put(model.id, model);↵ }↵↵ private static WeatherTodayModel getFromCache(String id) {↵ return CACHE.get(id);↵ …
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
Token Positive-pole strength private5.428 static4.068 void0.000 addTo2.882 Cache8.621 (3.096 Weather0.000 Today0.202 Model0.000 model1.431 )0.000 {↵0.000 3.520 CACHE1.620 .put0.810 (model0.000 .id0.708 ,0.000 model0.000 );↵0.000 0.000 }↵↵0.000 0.000 private3.835 static3.884 Weather0.000 Today0.313 Model0.000 get1.715 From1.728 Cache11.868 (String0.000 id2.729 )0.000 {↵0.000 4.893 return0.000 CACHE0.000 .get1.423 (id0.767 );↵0.000 -
11.10
… client.listNames();↵ File folder = new File("c:\\test\\RTR_ZIP\\");↵ String[] filename = folder.list();↵↵ for (;i<names.length;i++) {↵ name …
All 512 tokens
Q:↵↵How to check if file exist when downloading from FTP↵↵I'm downloading from FTP server and I don't know exactly how to check if file already exist. What I want to do is that I retrieve filname from FTP server and then compare it with all files in folder. If file already exists then it compares next FTP filename with all files in folder and so on. ↵I already did comparison and it's working if all files from folder have same name as files on FTP server but if I add some older file then it downloads all files once again and I don't want that. ↵Here is my scratch code:↵String[] names = client.listNames();↵ File folder = new File("c:\\test\\RTR_ZIP\\");↵ String[] filename = folder.list();↵↵ for (;i<names.length;i++) {↵ name = names[i];↵↵ exists=false;↵↵ if (name.contains(".zip")) {↵↵ if (filename.length == 0) {↵ new_file = new FileOutputStream("C:\\test\\RTR_ZIP\\" + name);↵ client.retrieveFile(name, new_file);↵ j++;↵ exists=true;↵ } else {↵ for (;k<filename.length;k++) {↵ name = names[i];↵ i++;↵ name1=filename[k];↵ // CHECK IF FILE EXISTS↵ if (!name.equals(name1)) {↵ new_file = new FileOutputStream("C:\\test\\RTR_ZIP\\" + name);↵ client.retrieveFile(name, new_file);↵ j++;↵ exists=true;↵ } ↵ }↵ }//else↵ }//if contains .zip↵ }//for↵↵Thanks in advance. ↵↵A:↵↵If your ftp server supports XCRC command it could be possible to compare checksum (CRC32) of local and remote file.↵You could iterate all files in the folder and compare its crc with local one.↵import java.io.File;↵import java.io.IOException;↵import java.net.SocketException;↵import java.util.Scanner;↵↵import org.apache.commons.io.FileUtils;↵import org.apache.commons.net.ftp.FTPClient;↵↵public class DownloadFile {↵↵ private FTPClient client = new FTPClient();↵↵ public void connect() throws SocketException, IOException {↵ client.connect("127.0.0.1");↵ client.login("user", "password");↵ }↵↵ public boolean hasXCRCSupport() throws IOException {↵ client.sendCommand("feat");↵ String response = client.getReplyString();↵ Scanner scanner = new Scanner(response);↵ while(scanner.hasNextLine
Values
Token Positive-pole strength client1.607 .list1.480 Names1.464 ();↵8.092 9.621 File0.000 folder0.932 =0.000 new3.324 File1.020 ("0.000 c0.000 :\\0.000 test0.000 \\0.000 R0.000 TR0.000 _Z0.000 IP0.000 \\0.000 ");↵5.421 7.989 String0.000 []0.000 filename0.228 =0.000 folder0.166 .list1.545 ();↵↵2.863 7.753 for11.096 (;0.000 i0.000 <0.000 names0.486 .length0.000 ;i0.000 ++)0.000 {↵2.010 9.137 name2.103 -
10.21
… range of numbers with a known min and max value which details:↵Array.prototype.scaleBetween = function(scaledMin, scaledMax) {↵ var max = Math.max.apply(Math, this);↵ var min …
All 379 tokens
Q:↵↵Scale down numbers with known max min to new max min in PHP↵↵Let's say I have this array of numbers:↵$arr = [100, 60, 30, 22, 1]↵and it's based off a 1 - 100 range. And I want it based of a 1 - 5 range.↵I have found this answer here: How to scale down a range of numbers with a known min and max value which details:↵Array.prototype.scaleBetween = function(scaledMin, scaledMax) {↵ var max = Math.max.apply(Math, this);↵ var min = Math.min.apply(Math, this);↵ return this.map(num => (scaledMax-scaledMin)*(num-min)/(max-min)+scaledMin);↵}↵↵But I am not sure how I would translate that to PHP/Laravel.↵↵A:↵↵Not sure if this are the correct results, but it does what you described:↵$arr = [100, 60, 30, 22, 1];↵↵function scale(array $array, float $min, float $max): array↵{↵ $lowest = min($array);↵ $highest = max($array);↵↵ return array_map(function ($elem) use ($lowest, $highest, $min, $max) {↵ return ($max - $min) * ($elem - $lowest) / ($highest - $lowest) + $min;↵ }, $array);↵}↵↵echo json_encode(scale($arr, 1, 10));↵// [10,6.363636363636363,3.6363636363636362,2.909090909090909,1]↵↵
Values
Token Positive-pole strength range0.002 of0.000 numbers0.074 with0.000 a0.086 known0.027 min0.000 and0.375 max0.000 value0.000 which0.157 details0.142 :↵0.000 Array0.449 .prototype0.000 .scale0.281 Between0.028 =0.000 function0.000 (s0.000 caled0.000 Min0.563 ,0.000 scaled0.000 Max0.000 )0.000 {↵0.000 0.000 var0.000 max0.198 =10.209 Math0.013 .max2.496 .apply2.085 (Math1.183 ,3.518 this0.000 );↵0.000 0.000 var0.000 min0.379 -
10.14
… ://mypage.example.com/test.php?name="+data;↵aq.ajax(url, String.class, new AjaxCallback<String>() {↵↵ @Override↵ public void callback(String url, String html, AjaxStatus …
All 369 tokens
Q:↵↵AndroidQuery ajax doesn't call php page when page contains IFRAME↵↵I tried the following code to access my PHP page:↵String url = "http://mypage.example.com/test.php?name="+data;↵aq.ajax(url, String.class, new AjaxCallback<String>() {↵↵ @Override↵ public void callback(String url, String html, AjaxStatus status) {↵ Log.w(Tags.DEBUG,String.valueOf(status.getCode()));↵ }↵↵});↵↵My PHP page writes a file if the call was made. When I use the URL inside a browser, the file is created. When I use my Android app, nothing happens, the status code is 200. What else should I set?↵UPDATE:↵The source of my page:↵<html>↵ <head>↵ <title>MY WEBSITE</title>↵ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>↵ <frameset rows="92, *" frameborder=NO border=1 framespacing=0 cols=*>↵ <frame name="topFrame" scrolling=NO noresize src="http://example.com/ads.php?ad=user12&cat=16" frameborder=NO>↵ <frame name="user" src="http://example.com/user12/test.php" scrolling=auto>↵ </frameset>↵ <noframes>↵ <body bgcolor=#FFFFFF text=#000000>↵ <a href="http://example.com/user12/test.php">http://example.com/user12/test.php</a>↵ </body>↵ </noframes>↵ </html>↵↵A:↵↵It seems that the web page was the problem, it sent back its source code and there was an IFRAME in it. ↵↵
Values
Token Positive-pole strength ://0.000 myp0.000 age0.000 .example0.000 .com0.000 /test0.000 .php0.000 ?0.000 name0.000 ="+0.000 data0.464 ;↵7.043 aq1.264 .ajax0.614 (url0.306 ,0.000 String0.000 .class0.000 ,0.000 new9.925 Ajax0.000 Callback2.634 <String1.434 >()0.000 {↵↵0.000 1.147 @0.000 Override0.000 ↵0.000 0.000 public10.143 void0.521 callback6.484 (String0.398 url3.924 ,8.001 String0.322 html3.862 ,7.191 Ajax0.566 Status0.000 -
9.71
… ;↵import javax.ws.rs.core.Context;↵import javax.ws.rs.core.HttpHeaders;↵import javax.ws.rs.core.MediaType;↵import javax.ws.rs.core.MultivaluedMap;↵import javax.ws.rs.core.Response;↵import …
All 512 tokens
/*↵* Licensed to the Apache Software Foundation (ASF) under one or more↵* contributor license agreements. See the NOTICE file distributed with↵* this work for additional information regarding copyright ownership.↵* The ASF licenses this file to You 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 org.apache.stanbol.entityhub.web.reader;↵↵import java.io.IOException;↵import java.io.InputStream;↵import java.lang.annotation.Annotation;↵import java.lang.reflect.Type;↵import java.util.Arrays;↵import java.util.Collections;↵import java.util.HashMap;↵import java.util.HashSet;↵import java.util.Iterator;↵import java.util.List;↵import java.util.Map;↵import java.util.Set;↵↵import javax.servlet.ServletContext;↵import javax.ws.rs.Consumes;↵import javax.ws.rs.WebApplicationException;↵import javax.ws.rs.core.Context;↵import javax.ws.rs.core.HttpHeaders;↵import javax.ws.rs.core.MediaType;↵import javax.ws.rs.core.MultivaluedMap;↵import javax.ws.rs.core.Response;↵import javax.ws.rs.core.Response.Status;↵import javax.ws.rs.ext.MessageBodyReader;↵import javax.ws.rs.ext.Provider;↵↵import org.apache.clerezza.commons.rdf.Graph;↵import org.apache.clerezza.commons.rdf.BlankNodeOrIRI;↵import org.apache.clerezza.commons.rdf.Triple;↵import org.apache.clerezza.commons.rdf.IRI;↵import org.apache.clerezza.rdf.core.serializedform.Parser;↵import org.apache.clerezza.rdf.core.serializedform.SupportedFormat;↵import org.apache.clerezza.rdf.core.serializedform.UnsupportedParsingFormatException;↵import org.apache.felix.scr.annotations.Component;↵import org.apache.felix.scr.annotations.Property;↵import org.apache.felix.scr.annotations.Reference;↵import org.apache.felix.scr.annotations.Service;↵import org.apache.stanbol.commons.indexedgraph.IndexedGraph;↵import org.apache.stanbol.entityhub.jersey.utils.JerseyUtils;↵import org.apache.stanbol.entityhub.jersey.utils.MessageBodyReaderUtils;↵import org.apache.stanbol.entity
Values
Token Positive-pole strength ;↵0.000 import0.000 javax0.039 .ws0.000 .rs0.072 .core1.529 .Context0.176 ;↵0.000 import0.000 javax0.000 .ws0.000 .rs0.000 .core2.177 .Http1.246 Headers0.434 ;↵0.000 import0.000 javax0.000 .ws0.000 .rs0.000 .core2.016 .MediaType1.146 ;↵0.000 import0.000 javax0.000 .ws0.000 .rs0.000 .core0.956 .Mult3.190 ival0.000 ued9.709 Map2.589 ;↵0.000 import0.000 javax0.000 .ws0.000 .rs0.000 .core1.197 .Response2.069 ;↵0.000 import0.000 -
8.96
… ;↵ graphics.lineTo(x, y);↵ rot += step;↵↵ x = cx + Math.cos(rot) * innerRadius;↵ y = cy + Math.sin(rot) * innerRadius;↵ graphics …
All 413 tokens
var config = {↵ type: Phaser.AUTO,↵ parent: 'phaser-example',↵ width: 800,↵ height: 600,↵ scene: {↵ create: create↵ },↵};↵↵var game = new Phaser.Game(config);↵↵function create() {↵↵ var graphics = this.add.graphics();↵↵ drawStar(graphics, 100, 300, 4, 50, 50 / 2, 0xffff00, 0xff0000);↵ drawStar(graphics, 400, 300, 5, 100, 100 / 2, 0xffff00, 0xff0000);↵ drawStar(graphics, 700, 300, 6, 50, 50 / 2, 0xffff00, 0xff0000);↵}↵↵function drawStar (graphics, cx, cy, spikes, outerRadius, innerRadius, color, lineColor)↵{↵ var rot = Math.PI / 2 * 3;↵ var x = cx;↵ var y = cy;↵ var step = Math.PI / spikes;↵↵ graphics.lineStyle(4, lineColor, 1);↵ graphics.fillStyle(color, 1);↵ graphics.beginPath();↵ graphics.moveTo(cx, cy - outerRadius);↵↵ for (i = 0; i < spikes; i++)↵ {↵ x = cx + Math.cos(rot) * outerRadius;↵ y = cy + Math.sin(rot) * outerRadius;↵ graphics.lineTo(x, y);↵ rot += step;↵↵ x = cx + Math.cos(rot) * innerRadius;↵ y = cy + Math.sin(rot) * innerRadius;↵ graphics.lineTo(x, y);↵ rot += step;↵ }↵↵ graphics.lineTo(cx, cy - outerRadius);↵ graphics.closePath();↵ graphics.fillPath();↵ graphics.strokePath();↵}↵
Values
Token Positive-pole strength ;↵0.000 0.000 graphics0.090 .lineTo2.146 (x0.406 ,0.000 y0.000 );↵0.000 0.000 rot0.062 +=2.745 step0.007 ;↵↵0.000 0.000 x0.000 =0.069 cx0.000 +6.678 Math0.000 .cos0.271 (rot0.107 )0.000 *0.000 inner0.177 Radius0.042 ;↵0.000 0.000 y0.000 =0.000 cy0.000 +8.956 Math0.305 .sin0.054 (rot0.000 )0.000 *0.000 inner0.000 Radius0.000 ;↵0.000 0.000 graphics0.000 -
8.63
… a notebook entity modelled which seems wrong as well).↵Below is the very simple class I have:↵class Notebook↵{↵ private String title;↵ private List<Category> categories;↵↵ public Notebook(String title …
All 512 tokens
Q:↵↵Is a low number of members in a class considered a code smell?↵↵I am currently making a simple to-do list program using the MVC pattern, and thus have a model class for the Notebook. However, something feels "off" as it has a very low number of members.↵The Notebook is composed of categories, which are composed of To-do lists, which are composed of Items. ↵What I cannot place is whether this is a case poor analysis (e.g. there are more members and responsibilities I am just missing them..) or perhaps a code smell that the class is not needed (in that case I'm not sure what to do as I could just have a list of categories in that controller, but then I don't have a notebook entity modelled which seems wrong as well).↵Below is the very simple class I have:↵class Notebook↵{↵ private String title;↵ private List<Category> categories;↵↵ public Notebook(String title, List<Category> categories)↵ {↵ }↵↵ public void setCategories(List<Category> categories)↵ {↵ }↵↵ public List<Category> getCategories()↵ {↵ }↵}↵↵I often have this issue where it feels like I am making classes for the sake of it and they have a very number of members/responsibilities, so it would be nice to know whether I am stressing for no reason or not.↵↵A:↵↵Not necessarily, there is the concept in Domain Driven Design of what is called a "Standard Type". Which is really a basic primitive wrapped in an object class. The idea is that the primitive contains no information about what information it contains, it's just a string/int/whatever. So by having say an object that surrounds the primitive and ensures that it is always valid ensures that the object has a meaning far beyond just the primitive it contains e.g. a Name is not just a string, it's a Name.↵Here's an example taken from the comments of Velocity↵public class Velocity↵{↵ private readonly decimal _velocityInKPH;↵↵ public static Velocity VelocityFromMPH(decimal mph)↵ {↵ return new Velocity(toKph(mph));↵ }↵↵ private Velocity(decimal kph)↵ {↵ this._velocityInKPH = kph;↵ }↵↵ public decimal Kph↵ {↵ get{ return this._velocityInKPH; }↵ }↵↵ public decimal Mph↵ {↵ get{ return toMph(this._velocityInKPH); }↵ }↵↵ // equals addition subtraction operators etc.↵↵ private static
Values
Token Positive-pole strength a0.000 notebook0.175 entity0.151 model0.242 led0.216 which0.102 seems0.274 wrong0.326 as0.150 well0.356 ).↵0.000 Below0.014 is0.135 the0.156 very0.419 simple0.008 class0.068 I0.195 have0.000 :↵0.000 class0.000 Notebook0.129 ↵0.000 {↵0.000 0.000 private0.000 String0.000 title0.000 ;↵0.000 0.000 private8.627 List2.188 <Category1.096 >0.000 categories0.632 ;↵↵0.000 0.000 public0.817 Notebook6.105 (String0.000 title1.231 -
8.58
… _MESSAGE, message);↵ confirmDialog.setArguments(args);↵ confirmDialog.setCallbacks(callbacks);↵ return confirmDialog;↵ }↵↵ public void setCallbacks(ConfirmDialogCallback[] callbacks) {↵ _ …
All 314 tokens
) {↵ WrConfirmDialog confirmDialog = new WrConfirmDialog();↵ Bundle args = new Bundle();↵ args.putSerializable(EXTRA_DATA, data);↵ args.putString(EXTRA_TITLE, title);↵ args.putString(EXTRA_MESSAGE, message);↵ confirmDialog.setArguments(args);↵ confirmDialog.setCallbacks(callbacks);↵ return confirmDialog;↵ }↵↵ public void setCallbacks(ConfirmDialogCallback[] callbacks) {↵ _callbacks = callbacks;↵ }↵↵ @Override↵ @NonNull↵ public Dialog onCreateDialog(Bundle savedInstanceState) {↵ String title = getArguments().getString(EXTRA_TITLE);↵ String message = getArguments().getString(EXTRA_MESSAGE);↵ _data = getArguments().getSerializable(EXTRA_DATA);↵↵ AlertDialog.Builder dialogBuilder;↵ boolean darkTheme = AppSettings.get().isDarkThemeEnabled();↵ dialogBuilder = new AlertDialog.Builder(getActivity(), darkTheme ?↵ R.style.Theme_AppCompat_Dialog : R.style.Theme_AppCompat_Light_Dialog);↵↵ dialogBuilder.setTitle(title);↵ if (!TextUtils.isEmpty(message)) {↵ dialogBuilder.setMessage(message);↵ }↵↵ dialogBuilder.setPositiveButton(getString(android.R.string.ok), (dialog, which) -> {↵ if (_callbacks != null) {↵ for (ConfirmDialogCallback cdc : _callbacks) {↵ if (cdc != null) {↵ cdc.onConfirmDialogAnswer(true, _data);↵ }↵ }↵ }↵ });↵↵ dialogBuilder.setNegativeButton(getString(R.string.cancel), (dialog, which) -> {↵ dialog.dismiss();↵ for (ConfirmDialogCallback cdc : _cal
Values
Token Positive-pole strength _MESSAGE0.000 ,0.000 message0.234 );↵0.000 2.947 confirm0.252 Dialog0.000 .set0.331 Arguments0.289 (args0.000 );↵0.000 3.417 confirm0.000 Dialog0.000 .set0.081 Callbacks0.000 (callback0.000 s0.157 );↵0.000 2.992 return2.353 confirm0.000 Dialog0.000 ;↵0.000 0.000 }↵↵0.000 0.000 public2.736 void0.000 set0.000 Callbacks8.581 (3.143 Confirm1.138 Dialog0.226 Callback0.000 []0.000 callbacks2.299 )0.000 {↵0.000 1.049 _0.000 -
8.41
… )↵ }↵ }↵ }↵↵ private inner class MyModulesListener : ModuleRootListener, ModuleListener {↵ private val myMappingsForRemovedModules: MutableList<VcsDirectoryMapping> = mutableListOf()↵↵ …
All 512 tokens
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.↵package com.intellij.openapi.vcs.impl↵↵import com.intellij.ProjectTopics↵import com.intellij.openapi.application.ApplicationManager↵import com.intellij.openapi.components.service↵import com.intellij.openapi.extensions.ExtensionNotApplicableException↵import com.intellij.openapi.module.Module↵import com.intellij.openapi.module.ModuleManager↵import com.intellij.openapi.project.ModuleListener↵import com.intellij.openapi.project.Project↵import com.intellij.openapi.project.rootManager↵import com.intellij.openapi.roots.ModuleRootEvent↵import com.intellij.openapi.roots.ModuleRootListener↵import com.intellij.openapi.startup.StartupActivity↵import com.intellij.openapi.vcs.AbstractVcs↵import com.intellij.openapi.vcs.ProjectLevelVcsManager↵import com.intellij.openapi.vcs.VcsDirectoryMapping↵import com.intellij.openapi.vfs.VirtualFile↵↵internal class ModuleVcsDetector(private val project: Project) {↵ private val vcsManager by lazy(LazyThreadSafetyMode.NONE) {↵ (ProjectLevelVcsManager.getInstance(project) as ProjectLevelVcsManagerImpl)↵ }↵↵ internal class MyPostStartUpActivity : StartupActivity.DumbAware {↵ init {↵ if (ApplicationManager.getApplication().isUnitTestMode) {↵ throw ExtensionNotApplicableException.INSTANCE↵ }↵ }↵↵ override fun runActivity(project: Project) {↵ val vcsDetector = project.service<ModuleVcsDetector>()↵↵ val listener = vcsDetector.MyModulesListener()↵ val busConnection = project.messageBus.connect()↵ busConnection.subscribe(ProjectTopics.MODULES, listener)↵ busConnection.subscribe(ProjectTopics.PROJECT_ROOTS, listener)↵↵ if (vcsDetector.vcsManager.needAutodetectMappings()) {↵ vcsDetector.autoDetectVcsMappings(true)↵ }↵ }↵ }↵↵ private inner class MyModulesListener : ModuleRootListener, ModuleListener {↵ private val myMappingsForRemovedModules: MutableList<VcsDirectoryMapping> = mutableListOf()↵↵ override fun beforeRootsChange(event: ModuleRootEvent) {↵ myMappingsForRemovedModules.clear()↵ }↵↵ override fun rootsChanged(event: ModuleRootEvent) {↵ myMappingsForRemovedModules.forEach { mapping -> vcsManager.removeDirectoryMapping(mapping) }↵ // the check calculates to true only before user has done any change to mappings, i.e. in case modules are detected/added automatically↵ // on start etc (look inside
Values
Token Positive-pole strength )↵0.000 0.000 }↵0.000 0.212 }↵0.000 0.000 }↵↵0.000 0.000 private0.000 inner0.181 class0.548 My0.000 Modules0.000 Listener0.000 :0.491 Module0.000 Root0.000 Listener0.000 ,1.124 Module0.000 Listener0.000 {↵0.000 0.000 private0.000 val0.000 my0.000 Mappings0.000 For0.000 Removed0.000 Modules0.000 :8.412 MutableList4.358 <V0.000 cs0.399 Directory0.000 Mapping1.700 >0.109 =0.679 mutableListOf1.348 ()↵↵0.000 0.000 -
8.40
… is my class also...↵import Foundation↵↵struct Item {↵ let name: String↵ let carbs: Int↵}↵↵struct Category {↵ let name: String↵ let items: [Item]↵}↵↵ …
All 446 tokens
Q:↵↵Not populating tableview with structure array↵↵I need to populate my tableView with an array of a structure. The first property of the structure is the name. This is what I tried...↵var menuArray:[Restaurant] = [Restaurant]()↵ override func viewDidLoad() {↵ super.viewDidLoad()↵let shake = Item(name: "Shake", carbs: 20)↵ let fries = Item(name: "Fries", carbs: 30)↵↵ let beverages = Category(name: "Beverages", items: [shake])↵ let chips_fries = Category(name: "Chips & Fries", items: [fries])↵ let desserts = Category(name: "Desserts", items: [])↵ let other = Category(name: "Other Menu Items", items: [])↵ let sandwiches_burgers = Category(name: "Sandwiches & Burgers", items: [])↵ let sides = Category(name: "Sides", items: [])↵↵ a_w = Restaurant(name: "A&W", categories: [beverages, chips_fries, desserts, other, sandwiches_burgers, sides])↵↵ let menuArray = [a_w]↵↵}↵↵override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {↵ let currentCell = tableView.dequeueReusableCell(withIdentifier: "cell")↵ let currentRestaurant = menuArray[indexPath.row]↵ currentCell?.textLabel!.text = currentRestaurant.name↵ return currentCell!↵}↵override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {↵↵ return menuArray.count↵}↵↵Why won't it populate my tableView↵Here is my class also...↵import Foundation↵↵struct Item {↵ let name: String↵ let carbs: Int↵}↵↵struct Category {↵ let name: String↵ let items: [Item]↵}↵↵struct Restaurant {↵ let name: String↵ let categories: [Category]↵↵}↵↵A:↵↵In this line↵let menuArray = [a_w]↵↵you are creating a local variable menuArray which is different from the property with the same name representing the data source array.↵Omit let↵menuArray = [a_w]↵↵PS: Please use more descriptive variable names than a_w.↵↵
Values
Token Positive-pole strength is0.000 my0.000 class0.000 also0.000 ...↵0.000 import0.136 Foundation0.000 ↵↵0.000 struct0.361 Item0.000 {↵0.000 0.000 let0.000 name0.225 :6.015 String0.000 ↵0.000 0.000 let0.000 carbs0.000 :5.457 Int1.358 ↵0.000 }↵↵0.000 struct0.041 Category0.554 {↵0.000 0.000 let0.000 name1.202 :8.403 String0.000 ↵0.000 0.000 let0.000 items0.250 :4.364 [1.462 Item1.371 ]↵0.000 }↵↵0.000 -
7.93
… XMLInputFactory factory = XMLInputFactory.newInstance();↵ XMLStreamReader parser = factory.createXMLStreamReader(in);↵↵ // lecture des evenements↵ for (int event = parser.next(); event != XML …
All 495 tokens
question>↵ <reponse>reponse correcte 2</reponse>↵ <mauvaiseReponse>reponse fausse 2.1</mauvaiseReponse>↵ <mauvaiseReponse>reponse fausse 2.2</mauvaiseReponse>↵ <mauvaiseReponse>reponse fausse 2.3</mauvaiseReponse>↵</questionReponse>↵<questionReponse>↵ <categorie>CultureG</categorie>↵ <question>Question 3</question>↵ <reponse>reponse correcte 3</reponse>↵ <mauvaiseReponse>reponse fausse 3.1</mauvaiseReponse>↵ <mauvaiseReponse>reponse fausse 3.2</mauvaiseReponse>↵ <mauvaiseReponse>reponse fausse 3.3</mauvaiseReponse>↵</questionReponse>↵↵here is my parser:↵try {↵ // instanciation du parser↵ InputStream in = new FileInputStream(nomFichier);↵ XMLInputFactory factory = XMLInputFactory.newInstance();↵ XMLStreamReader parser = factory.createXMLStreamReader(in);↵↵ // lecture des evenements↵ for (int event = parser.next(); event != XMLStreamConstants.END_DOCUMENT; event = parser.next()) {↵ // traitement selon l'evenement↵ switch (event) {↵ case XMLStreamConstants.START_ELEMENT:↵ break;↵ case XMLStreamConstants.END_ELEMENT:↵ if (parser.getLocalName().equals("questionReponse")) {↵ question = new Question(categorieCourante,questionCourante,bonneReponseCourante,mauvaisesReponses);↵ quizz.add(question);↵ } ↵ if (parser.getLocalName().equals("categorie")) {↵ categorieCourante = donneesCourantes;↵ }↵ if (parser.getLocalName().equals("question")) {↵ questionCourante = donneesCourantes;↵ }↵ if (parser.getLocalName().equals("reponse")) {↵ bonneReponseCourante = donneesCourantes;↵ }↵ if (parser.getLocalName().equals("mauvaiseReponse")) {↵ mauvaisesReponses.add(donneesCourantes);↵ }↵ break;↵ case XMLStreamConstants.CHARACTERS:↵ donneesCour
Values
Token Positive-pole strength 5.859 XML1.377 Input0.055 Factory0.000 factory0.399 =1.300 XML0.437 Input0.203 Factory0.224 .newInstance0.000 ();↵0.021 4.204 XML0.169 StreamReader0.000 parser1.027 =0.000 factory0.012 .create0.463 XML0.802 StreamReader0.355 (in0.000 );↵↵0.000 4.742 //0.000 lecture0.000 des0.000 even0.000 ements0.000 ↵0.280 4.530 for7.932 (2.302 int0.000 event0.601 =0.140 parser0.000 .next0.659 ();0.000 event0.096 !=2.584 XML2.281
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 recall by activation strength
False alarms on inactive windows: 0%.
- Judge
- deepseek-flash
- Held-out windows
- 26 active of 4,000
- Judged
- 30 detection · 16 fuzzing
- Detection outcomes
- 13 missed · 0 false alarm · 2 hit · 15 correct rejection
- Seed
- 2241502137 · corpus.jsonl
Detection windows (30), the explanation's mistakes first
- missed 6.06 · sim 0.16 , Boston, MA 02111-1307 USA↵ *↵ * World of Warcraft, and all World of Warcraft or Warcraft
- missed 4.54 · sim -0.00 the great British hope, Atonement, was nominated for Best Picture. However, its two stars, James McAvoy and Keira Knightley, were
- missed 4.31 · sim 0.04 Micro-Loan Program↵↵In order to promote economic development in the City of Alamo, the Alamo EDC established the Alamo Small Business Micro-Loan
- missed 4.26 · sim 0.05 showing a single title on each screen. “Man of Tai Chi” will have to compete for screen space with “Man of Steel,” and by Variety’s count
- missed 4.15 · sim -0.05 gods”.↵↵Those comments prompted calls for Abbott to sack Newman, but the environment minister, Greg Hunt, defended the adviser saying he, like the government, supports the
- missed 3.86 · sim 0.07 On Thursday, the National Association of Theatre Owners (NATO) released a report showing that movie-ticket sales had decreased by about 12 cents. This time
- missed 3.75 · sim 0.04 the remainder of the window, with any moves now unlikely to happen until after the World Cup.↵↵(Image: FILIPPO MONTEFORTE/AFP/Getty Images)↵↵
- missed 3.73 · sim 0.10 .Add(1.55);↵myObject.boxHeight.Add(2.55);↵myObject.boxLength.Add(1.55);↵myObject.box
- missed 3.61 · sim 0.01 Q:↵↵Listbox returns System.Data.DataRowView instead of values↵↵I am doing a project for my school, where I have to make a C# Windows
- missed 3.49 · sim 0.06 = new API_Methods();↵myObject.recipientName;↵myObject.boxnumber.Add(1);↵myObject.boxnumber.Add(2);↵myObject.boxHeight
- missed 3.46 · sim -0.02 Blonde in Die Entführung, Madame Herz in Der Schauspieldirektor, Greta Fiorentino in Street Scene, and Fiordiligi Cos
- missed 3.30 · sim 0.02 na sessão↵ */↵ public static function setPropriedade($nome, $valor){↵ self::configurarSessao();↵ $_SESSION
- missed 3.30 · sim -0.07 Nobel Prize for Economics," you idiot! You mean The Sveriges Riksbank Prize In Memory of Alfred Nobel. Dilbert; Do we know
- hit 3.70 · sim 0.21 typeEnablerPreference;↵}↵class InputMethodSettingsFragment {↵ int mSettings;↵}↵class InputMethodSettingsActivity {↵ int mSettings;↵}↵
- hit 3.45 · sim 0.02 box values are System.Data.DataRowView, and datagridview only displays values from the first table in the list.↵The code: ↵ DataTable tabulus
- correct rejection 1.88 · sim -0.01 comment on emotional alienation with echoes of the works of Franz Kafka. Earl Keese’s character and situation begin realistically but become increasingly fantastic. Keese is an
- correct rejection 1.84 · sim -0.02 searches were conducted using their names with the same search terms. Studies were selected based on the following inclusion criteria:↵↵1\. Rodent or human studies↵↵2\.
- correct rejection 1.37 · sim -0.02 Today a vast number of chemical agents are used, many of them with very good results in treating the existing malignancies. Unfortunate, little or even less are
- correct rejection 1.16 · sim 0.05 lowest in obese patients (3.71%, p < 0.05). The prevalence also decreased as body mass index increased in all three varic
- correct rejection 0.98 · sim 0.09 This variability can stem, at least in part, from the modulating effects steroid and non-steroid hormones exert on olfactory processing. Such modulation frequently aug
- correct rejection 0.81 · sim 0.06 of the Related Art↵A print head is a part or a set of parts which are capable of converting output data into a visible form on a predetermined medium using
- correct rejection 0.80 · sim -0.01 ’t too cooperative, they did everything to try to get something to bite. Very knowledgeable about the waters and my son was able to land a nice barracuda
- correct rejection 0.71 · sim 0.08 like those of a bull. After some parley, in which the stranger reproved the hunter for trespassing on his demesnes and slaying the creatures
- correct rejection 0.68 · sim 0.18 prominent role in the violence rather than being relegated to secondary one. According to the IDF, since mid-September 2015, approximately 54
- correct rejection 0.65 · sim 0.07 limited companies. The packages can be fully tailored to your requirements by adding extra services to create the exact service that you and your business requires.↵↵All services are carried
- correct rejection 0.65 · sim 0.03 move in next door. Harry is physically intimidating and vulgar; Ramona is sexually aggressive, and both impose themselves on the Keese household. Their free-spir
- correct rejection 0.61 · sim 0.03 He's been targeted by Pakistan authorities, who in August 2012 confiscated his property and froze his bank account.↵↵A politician and a prosecutor have called
- correct rejection 0.59 · sim 0.19 lower tax brackets, higher estate tax exemptions and a less stringent alternative minimum tax. However, high-income earners face new limitations on some favored deductions and notable revisions in
- correct rejection 0.58 · sim -0.01 West Bank; this was the first attack of its kind in this wave of terrorism. Other attacks by women include the October 7 stabbing in the Old City of
- correct rejection 0.55 · sim 0.16 material; a gas atomizing method, which employs spraying of N2 gas or Ar gas in place of the water jet used in the atomizing method; and
Fuzzing windows (16), dashed tokens were marked for the judge
- marks right · judged wrong still five points ahead of his closest challenger Warren, who garnered 15 percent support. The survey affirms the storyline of Sen. Kamala Harris’s (
- marks right · judged wrong be the first act of a crime thriller along the same lines as Red Dragon (a great movie that should be seen if you haven’t already). This provides the
- marks right · judged wrong cardiac dysfunction (CTRCD), acute arrhythmias, pericardial disease, valvopathies and early atherosclerotic Cardiovascular Disease (
- marks right · judged wrong // Copyright 2004-present Facebook. All Rights Reserved.↵↵#include "SamplingProfilerJniMethod.h"↵↵#include <JavaScriptCore/JSProfilerPrivate.h
- marks wrong · judged wrong 40 percent stated by World Health Organization. Vitamin A and B complex deficiencies, anemia, protein calorie malnutrition along with deficit in calories and proteins in their
- marks wrong · judged wrong After a promising debut with "The Living End" followed by the angrier, more marginalized "Totally F***ed Up," Mr. Araki is still
- marks wrong · judged wrong Pittsburgh: Carnegie Mellon University Press, 2014)↵World Without Finishing (Pittsburgh: Carnegie Mellon University Press, 20
- marks wrong · judged wrong Id;↵↵ public ControllerCreateProposalView(ApexPages.StandardController stdController){↵ propertyId = ApexPages.CurrentPage().getParameters().get('id
- marks right · judged right Length.Add(2.55);↵myObject.boxWidth.Add(1.55);↵myObject.boxWidth.Add(2.55);↵↵bool test
- marks wrong · judged wrong 55089 based in Welch. Nearby places include Cannon Falls, Red Wing, Welch, and White Rock.↵↵Vasa is 12 miles
- marks right · judged right ');↵ }↵↵ public PageReference convert(){↵ PageReference pref;↵↵ Property__c property = [↵ select ↵ Id, ↵ Name, ↵
- marks wrong · judged wrong (menu)} ease'); ↵ position: relative; ↵ z-index: 1; ↵ overflow: hidden; ↵ ↵ > .bg { ↵ position: absolute
- marks wrong · judged wrong oscopy, history of PID, history of endometriosis, diameter of ectopic pregnancy as measured by ultrasound, amount of free fluid on ultrasound, BMI
- marks wrong · judged wrong qiraj.h"↵↵enum↵{↵ // kri↵ SPELL_CLEAVE = 26350,↵ SPELL_TOXIC
- marks wrong · judged wrong warming group during surgery (1 vs 7, P=0.032). Forced-air warming was more effective on the upper body than on the lower
- marks wrong · judged wrong andynians and Bebrycians lived in northwestern Asia Minor.↵ Dymas, a soldier who fought on the side of the Seven Against The
Activation and mechanism
Activation distribution
Positive-pole strength per token; bar height is log(1 + count).
Mechanism
Claimed retrospective: responds to tokens already in context.
Input attribution
- #1 (not converged) at
=:imals-6 0.18=0 0.17(n-5 0.12Locale-58 0.12PL-45 0.08 - #2 (not converged) at
Cache:Cache0 0.22. -188 0.22*/ -187 -0.16(-25 0.10/** -203 -0.09 - #3 (not converged) at
for:for0 -1.20-1 0.62(); -2 0.52c-19 0.34=-31 0.18 - #4 (not converged) at
=:max-1 0.64var-2 0.20's-69 -0.18=0 -0.17-3 -0.14 - #5 (not converged) at
public:://-30 0.29.com-26 -0.29Ajax-10 0.24http-31 0.21.class-13 -0.17
Shares of the gap to <|endoftext|> at every position but the first · converged on 0 of 5 · mean — tokens back ·
agreement with replacing one token at a time ρ = — · reported, not gated
Vocabulary projection
The tokens that this unit's output raises and lowers most.
Jacobian lens
Logit lens
Values
| # | Jacobian lens promotes | suppresses | Logit lens promotes | suppresses | ||||
|---|---|---|---|---|---|---|---|---|
| 1 | ampus |
+4.17 | String |
-13.91 | ampus |
+4.17 | String |
-13.91 |
| 2 | icularly |
+4.10 | (String |
-12.80 | icularly |
+4.10 | (String |
-12.80 |
| 3 | JKLMNOP |
+4.09 | String |
-11.30 | JKLMNOP |
+4.09 | String |
-11.30 |
| 4 | setBackgroundImage |
+4.06 | String |
-11.13 | setBackgroundImage |
+4.06 | String |
-11.13 |
| 5 | 在过渡 |
+3.86 | Math |
-10.94 | 在过渡 |
+3.86 | Math |
-10.94 |
| 6 | ٪ |
+3.84 | Strings |
-10.83 | ٪ |
+3.84 | Strings |
-10.83 |
| 7 | 侧面 |
+3.83 | ,String |
-10.66 | 侧面 |
+3.83 | ,String |
-10.66 |
| 8 | iform |
+3.82 | string |
-10.27 | iform |
+3.82 | string |
-10.27 |
| 9 | 一条龙 |
+3.81 | strings |
-10.10 | 一条龙 |
+3.81 | strings |
-10.10 |
| 10 | ELY |
+3.81 | Math |
-9.93 | ELY |
+3.81 | Math |
-9.93 |
Top-10 overlap 100% · cos(w, J·w) 1.00 · kurtosis 6.5 (Jacobian) / 6.5 (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.
| Prompt | Layer | ×1 | ×2 | ×4 | |
|---|---|---|---|---|---|
| category | 2 | unit | fruit | country | politics |
| control | period | emotion | animal | ||
| category | 23 | unit | noun | noun | noun |
| control | noun | noun | noun | ||
| meaning | 2 | unit | "to be known" or "to be known to". | to be used in the following way: "The meaning of | to mean something. The word "meaning" is to mean |
| control | to increase the value of something. It is used to describe | to be used in a positive way. It is not to | "to be the subject of a verb, to be the | ||
| meaning | 23 | unit | "a question mark" in the sentence "The question mark | "a question mark" in the sentence "The question mark | "a question mark" in the sentence "The question mark |
| control | "a question mark" in the sentence "The question mark | "a question mark" in the sentence "The question mark | "a question mark" in the sentence "The question mark |
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 (13.01), 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.
sunny. It's a good day to go for a walk. I'm going to the park. I'm going to
sunny. It's a good day to go for a walk. I'm going to the park. I'm going to
sunny. It is ________ than yesterday. A. hot B. colder C. hotter D. colder
sunny. (改为一般疑问句) ____ the weather today? Is it sunny 阅读下面的文言文,
sunny.(改为一般疑问句) ____ the weather today? Is it sunny 阅读材料,完成下列要求。
a lot of things. I ________ a lot of things. A. bought B. bought C. am buying D
a lot of things. I ________ a lot of things. A. bought B. bought C. am buying D
a lot of things.(改为一般疑问句) Did you go to the shop and buy a lot of things?
a lot of things.(改为一般疑问句) Did you go to the shop and buy a lot of things?
a lot of things.(改为一般疑问句) Did you go to the shop and buy a lot of things?
to do it. This is the motto of the University of the Philippines (UP) and the University of the Philippines Health
to do it. This is the motto of the University of the Philippines (UP) and the University of the Philippines Health
to teach. This is the motto of the National Association of Teachers of English Language Arts (NATELA). The N
to teach. This is the motto of the National Association of Teachers of English (NATE) and the National Council of
to teach. This is the motto of the National Council for the Teaching of English (NCTE), a national organization
there was a little girl named Lily. She loved to play with her toys and watch the stars. One day, she
there was a little girl named Lily. She loved to play with her toys and watch the stars. One day, she
there was a little girl named Lily who loved to play with her toys. One day, she found a box of colorful
there was a little girl named Lily who loved to play with her toys. One day, she found a special toy that
there was a king who lived in a palace. He had a garden full of flowers and trees. He loved his garden
the 2010 census showed that the population of the United States was 318,000
the 2010 census showed that the population of the United States was 318,000
the 2010 census showed that the population of the country had increased by 1.2 million people,
the country's economy grew by 6.4 percent in 2014, the fastest growth rate since
the country's national budget deficit rose by 1.4% in the first half of 2018,
Wiring
The units that write most directly into this pole (upstream) and read most directly from it (downstream).
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 14 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
| L20/N1574 | gate | -0.26 |
| L21/N3189 | gate | +0.173 |
| L20/N817 | up | +0.133 |
| L19/N4403 | up | +0.117 |
| L20/N246 | up | -0.114 |
| L21/N3558 | up | -0.114 |
| L20/N3646 | up | -0.113 |
| L21/N2052 | up | -0.11 |
| L19/N3371 | up | -0.11 |
| L18/N3917 | gate | +0.109 |
Upstream heads
| L22/H3 | gate | +0.761 |
| L22/H10 | gate | +0.663 |
| L20/H8 | gate | +0.634 |
| L23/H1 | up | +0.578 |
| L22/H12 | gate | +0.548 |
| L21/H10 | gate | +0.531 |
| L21/H5 | up | +0.523 |
| L22/H9 | up | +0.522 |
| L20/H10 | up | +0.514 |
| L22/H4 | gate | +0.505 |
Downstream neurons
None: no later layer.
Downstream heads
None: no later layer.
From activations
Upstream neurons
| L20/N1574 | +2.63 | |
| L20/N3772 | +0.993 | |
| L19/N3371 | +0.976 | |
| L18/N3917 | +0.948 | |
| L19/N4403 | +0.617 | |
| L21/N3558 | +0.594 | |
| L22/N82 | -0.58 | |
| L20/N4390 | +0.512 | |
| L22/N1439 | +0.42 | |
| L21/N3152 | +0.374 |
Upstream heads
| L20/H8 | +0.985 | |
| L23/H1 | -0.951 | |
| L21/H9 | -0.87 | |
| L17/H1 | +0.673 | |
| L20/H10 | -0.579 | |
| L22/H3 | +0.554 | |
| L21/H4 | -0.531 | |
| L20/H13 | -0.479 | |
| L21/H5 | -0.456 | |
| L21/H3 | -0.409 |
Downstream neurons
None: no later layer.
Downstream heads
None: no later layer.
Covariance and confounds
Confounds
- Token identity R²
- 0.27
- Position R²
- 0.00
- Frequency r
- 0.06
- Best trivial baseline
- never active · 0.45
- Hypothesis
- 0.95 ✓
Cache throwsued.util<Stringvascularreme.io.Data.utils Solid connect
Co-activating neuron poles
| Pole | Lift ≥ | Both | ρ | r |
|---|---|---|---|---|
| N4444+ | 49.8 | 124 | +0.08 | +0.23 |
| N3814+ | 35.1 | 90 | +0.05 | +0.08 |
| N1128+ | 24.8 | 67 | -0.15 | +0.02 |
| N4452− | 20.2 | 56 | +0.18 | -0.13 |
| N898+ | 19.8 | 55 | +0.12 | +0.08 |
| N4836− | 19.8 | 55 | +0.06 | -0.03 |
| N4033+ | 18.9 | 53 | +0.07 | +0.06 |
| N4554− | 18.5 | 52 | +0.16 | -0.08 |
| N476+ | 17.3 | 49 | +0.02 | -0.01 |
| N1858− | 16.9 | 48 | -0.13 | -0.02 |
Read more
Ranked by the 95% lower bound of co-activation lift: how much more often a pole fires when this one does, with chance coincidences discounted. ρ ranks the values, so heavy tails don't sway it.
Joint ablation
- Partners
- N4444, N3814, N1128
- KL pole alone
- 2.16e-02
- KL partners
- 4.27e-02
- KL together
- 9.70e-02
- Redundancy ratio
- 2.52
The pole matters more once its partners are removed: likely redundancy.
Run details
- Submitted by
- deepseek-flash
- Reviewed by
- deepseek-flash (same model as the proposer: not an independent review)
- Reviewed at
- 2026-10-26 01:16 UTC
- Max activation
- 13.0115
- Selection
- manual
- Corpus
- corpus.jsonl · 199,896 tokens · seeded sample of 477/500 docs (≤ 200,000 tokens, seed 0) · 512-token windows every 256 tokens · source NeelNanda/pile-10k@127bfedc (data/*.parquet, first 500 docs) (inferred) · licence bigscience-bloom-rail-1.0
- Model revision
- 060db6499f32 · float32
- Ran on
- scan mps:0 · review mps:0
- Run cost
- 28.5 min (slowest: proposer, 11.5 min) · 4 LLM calls