Qwen/Qwen2.5-0.5B · L15/N3642 · 20261029T221106Z
Experiment 1 of 1 on this neuron, most conclusive first · record
L15/N3642− fires on the token that completes a verbatim re-use of a name already present earlier in the context: the second or later occurrence of an exactly repeated identifier, proper name or mathematical symbol (the 'Data' of a second 'JSONData', the 'asa' of a third 'Vasa', the 'b' of '-b' after '14*b'), and for a multi-token name the peak sits on its final token while its earlier pieces stay near zero. The first occurrence of the same string, an equivalent but differently spelled name, repeated ordinary words or repeated comment prose, common words that merely recur and repeated API calls all stay at baseline, so the unit is keyed to re-referencing an established name rather than to token identity, rarity, position or generic repetition, and the distance between the two mentions barely matters (5-150 tokens tested).
The whole hypothesis
L15/N3642− fires on the token that completes a verbatim re-use of a name already present earlier in the context: the second or later occurrence of an exactly repeated identifier, proper name or mathematical symbol (the 'Data' of a second 'JSONData', the 'asa' of a third 'Vasa', the 'b' of '-b' after '14*b'), and for a multi-token name the peak sits on its final token while its earlier pieces stay near zero. The first occurrence of the same string, an equivalent but differently spelled name, repeated ordinary words or repeated comment prose, common words that merely recur and repeated API calls all stay at baseline, so the unit is keyed to re-referencing an established name rather than to token identity, rarity, position or generic repetition, and the distance between the two mentions barely matters (5-150 tokens tested).
Hard negatives 10/10 rejected · holdouts 0/6 fired (independent observations; 16 probes) · P(useful) 0.12
specificity 1.00 · sensitivity 0.00 · counterfactual reproduction 1.00 · protocol v0.8
Data categories err i postfix propertiescolsthreadsresultasa_lib cyPolicybHeight z
Adversarial review
hard_negative: 10/10 passed; positive_holdout: 0/6 passed; counterfactual: 7/7 passed; lookahead_consistency: 1/1 passed. Failed gates: sensitivity, beats_confound_baseline.
All 24 probes
| Test | Input | Expected | Observed | |
|---|---|---|---|---|
| ✓ | hard negative | Our runbook says the nightly export is written through `deployment_manifest.yaml`, which pins every container image by digest. A distinctive filename appears exactly once and is never re-referenced, so the hypothesis, which fires only on the second or later occurrence, predicts baseline here. |
inactive | 0.250 |
| ✓ | hard negative | Honestly, the whole thing was a mess from the start, and the thing I keep coming back to is how nobody noticed the mess until Friday. Only ordinary prose words such as 'thing' and 'mess' recur while no name or identifier is repeated, and the hypothesis says repeated common words stay at baseline. |
inactive | 0.264 |
| ✓ | hard negative | #!/bin/sh
# Validate the checksum before unpacking the archive.
gpg --verify manifest.sig release.tar.gz
# Validate the checksum before unpacking the archive.
unzip -q payload.zip The comment line repeats verbatim, token for token, while every identifier (manifest.sig, release.tar.gz, payload.zip) occurs once, and the hypothesis explicitly puts repeated comment prose at baseline. |
inactive | 0.266 |
| ✓ | hard negative | curl -sS -X POST https://api.acme-billing.example/v1/invoices -d @january.json
curl -sS -X POST https://api.acme-billing.example/v1/invoices -d @february.json The same endpoint and invocation are issued twice with identical tokens, and the hypothesis explicitly predicts that repeated API calls stay at baseline despite that verbatim repetition. |
inactive | 0.315 |
| ✓ | hard negative | The two helpers differ only in suffix: `loadUserProfile` takes the account identifier, while `LoadUserSettings` takes a configuration identifier. Elsewhere a `policyClient` object is created next to a `clientPolicy` constant. The two helpers share a case-varied prefix and two more names use the same pieces in swapped order, so no token repeats verbatim and the hypothesis predicts no activation. |
inactive | 0.257 |
| ✓ | hard negative | In the schema review, Data Engineering flagged the categories table, the result cache, the properties panel, the threads counter, the cols array, the Height field and the Policy document, while the reviewer marked variable i, column b and axis z as unused. Every claimed trigger token (Data, categories, result, properties, threads, cols, Height, Policy, i, b, z) appears exactly once with no re-use, testing the fires-on-trigger-tokens baseline. |
inactive | 0.260 |
| ✓ | hard negative | The Azure SDK exposes `VpnSitesClient`. Callers in the sample app use vpn_sites_client with the same constructor arguments. The same client name is given once in CamelCase and once in snake_case; the two tokenizations share no token, so this is an equivalent but differently spelled name that the hypothesis says stays at baseline. |
inactive | 0.257 |
| ✓ | hard negative | The endpoint returns fields for each shipment: `batchId`, `freightClass`, `pickupWindow`, `customsStatus` and `podImage`. Clients should treat each as opaque. Five distinctive payload field names appear once each, with no token repeated between them, in the same API topic as the top examples. |
inactive | 0.257 |
| ✓ | hard negative | Before the audit, reconcile the bank statement against the ledger; afterwards you can bank on the figures being clean. 'bank' recurs in two unrelated senses as an ordinary noun, and the hypothesis says common words that merely recur, unlike re-referenced names, stay at baseline. |
inactive | 0.263 |
| ✓ | hard negative | public class Shipment
{
public string trackingCode { get; set; }
public string carrierName { get; set; }
public double dispatchWeight { get; set; }
public double signatureHeight { get; set; }
} Repeated C# property boilerplate ('public', 'string', '{ get; set; }') plus a claimed trigger token 'Height' inside signatureHeight, but every field name token is unique, testing generic repetition and delimiter effects. |
inactive | 0.253 |
| ✗ | positive holdout | In 1833, Ada Lovelace met Charles Babbage at a London salon. Ada Lovelace later translated Menabrea's memoir and appended the notes that describe the first algorithm. The multi-token proper name recurs token for token in history prose unlike the code examples, and the hypothesis predicts the peak on the final token 'ace' of the second mention. |
active | 0.260 |
| ✗ | positive holdout | // rebuild the search index in place
rebuild_index_table(&mut staging_shard);
rebuild_index_table(&mut production_node); The multi-token function name recurs token for token while the two argument names share no token, and the hypothesis predicts firing on its final piece '_table' the second time. |
active | 0.295 |
| ✗ | positive holdout | In the proof, let W denote the set of winning coalitions. By construction W is closed under supersets, so the empty coalition cannot belong to W unless the game is degenerate. The single-token mathematical symbol ' W' is introduced and then recurs verbatim twice in a game-theory proof, so the hypothesis predicts the later occurrences fire. |
active | 0.473 |
| ✗ | positive holdout | The first survey of the northern watershed was commissioned in the spring of 1887, when the provincial assembly finally approved a modest budget for a trigonometric network linking the coastal ports to the interior plateaus. The work fell to a small team of engineers who had spent the previous decade mapping railway corridors, and they brought with them a habit of precision that would shape every later map of the region.
Their instruments were modest: a pair of theodolites, a chain of brass rods calibrated against a standard held in the capital, and a set of astronomical tables that had been corrected by hand for refraction. Field notes from that season describe weeks of fog, ruined observations, and the slow business of reoccupying stations marked only by cairns of stacked slate.
The plateau itself proved harder than expected. Streams that appeared on earlier sketches turned out to be seasonal, and several valleys were found to drain north rather than west, forcing the team to resurvey a corridor they had already crossed twice. Local herders, whose knowledge of the passes was far better than anything in the archives, were hired as guides, and their place names gradually replaced the improvised labels the engineers had used in the first drafts.
By the autumn of 1889 the network had reached the eastern escarpment, and the assembly published a preliminary sheet at one inch to the mile. It was accurate enough to guide the first telegraph survey, though it misplaced a ridge by nearly a mile, an error that was not corrected for another generation.
The second survey, begun in 1912, benefited from photography, from lighter instruments, and from a generation of engineers trained in the new polytechnic institutes. Rather than reoccupying the old stations one by one, the team established a fresh chain of control points along the rivers and tied the earlier work into it. The comparison was unflattering: some angles differed by minutes of arc, and several elevations were wrong by tens of feet. Yet the older observations, made in worse conditions and with heavier gear, held up better than anyone had expected.
In the winter of 1921, Mirabel Okonkwo, who had joined the service as a computer in the years before the war, was given the task of reconciling the two datasets. She spent three winters at the plateau office, checking every reduction and re-deriving the constants from the original field books. Her marginal notes, written in a cramped hand, record a running argument with the earlier surveyors that is by turns patient and exasperated. In the end she kept most of their stations, discarded four, and added a correction table that remained in use until the satellite era.
The map that emerged from this work is still the basis for land disputes in the valley, and copies of it hang in several municipal offices. Visitors often assume it is a modern product, so clean are its contours and so consistent its shading. Only the faint pencil annotations along the margins hint at how much argument, and how many ruined observations, went into drawing them.
In 1954, Mirabel Okonkwo returned to the plateau office to supervise the transfer of the archive to microfilm, and the notes she had written three decades earlier were finally typed up and bound. Both mentions tokenize identically (' Mir'|'abel'|' Ok'|'on'|'k'|'wo') and the second sits deep inside a passage of well over 512 tokens, testing the claim that distance barely matters with the peak on the final token 'wo'. |
active | 0.317 |
| ✗ | positive holdout | apiVersion: apps/v1
kind: Deployment
metadata:
name: ledger-api
spec:
template:
spec:
containers:
- name: ledger-api
ports:
- containerPort: 8080
- name: ledger-worker
ports:
- containerPort: 9090 The container name ' ledger'|'-api' and the key ' container'|'Port' each recur verbatim in a config file, a genre absent from the examples, so the hypothesis predicts activation on the second occurrences. |
active | 0.467 |
| ✗ | positive holdout | The delegates signed the Treaty of Portsmouth in September.
In later accounts Portsmouth is remembered mainly for its naval yard and its rail links. The single-token proper name recurs as the identical ' Portsmouth' token only a few tokens later, at the start of a new paragraph, testing the low end of the distance range the hypothesis says barely matters. |
active | 0.257 |
| ✓ | counterfactual | Q: I cannot use arrays. My class looks like this: public class Package { public string boxNumber { get; set; } public double boxHeight { get; set; } } public class API_Methods { public string recipientName; public List<string> boxNumber; public List<double> boxHeight; public Boolean SubmitConsignment(out string JSONData) { var NewRequestObject = new Package { boxNumber = "one", boxHeight = 1.5 }; string JSONData = JsonConvert.SerializeObject(NewRequestObject); return true; } } -> Q: I cannot use arrays. My class looks like this: public class Package { public string boxNumber { get; set; } public double boxHeight { get; set; } } public class API_Methods { public string recipientName; public List<string> boxNumber; public List<double> boxHeight; public Boolean SubmitConsignment(out string JSONText) { var NewRequestObject = new Package { boxNumber = "one", boxHeight = 1.5 }; string JSONData = JsonConvert.SerializeObject(NewRequestObject); return true; } } | Δ 0.62 | Δ 0.62 |
| ✓ | counterfactual | Q: I cannot use arrays. My class looks like this: public class Package { public string boxNumber { get; set; } public double boxHeight { get; set; } } public class API_Methods { public string recipientName; public List<string> boxNumber; public List<double> boxHeight; public Boolean SubmitConsignment(out string JSONData) { var NewRequestObject = new Package { boxNumber = "one", boxHeight = 1.5 }; string JSONData = JsonConvert.SerializeObject(NewRequestObject); return true; } } -> Q: I cannot use arrays. My class looks like this: public class Package { public string boxNumber { get; set; } public double boxHeight { get; set; } } public class API_Methods { public string recipientName; public List<string> boxNumber; public List<double> boxHeight; public Boolean SubmitConsignment(out string JSONData) { var NewRequestObject = new Package { boxNumber = "one", boxHeight = 1.5 }; string JSONText = JsonConvert.SerializeObject(NewRequestObject); return true; } } | Δ 0.61 | Δ 0.61 |
| ✓ | counterfactual | Q: I cannot use arrays. My class looks like this: public class Package { public string boxNumber { get; set; } public double boxHeight { get; set; } } public class API_Methods { public string recipientName; public List<string> boxNumber; public List<double> boxHeight; public Boolean SubmitConsignment(out string JSONData) { var NewRequestObject = new Package { boxNumber = "one", boxHeight = 1.5 }; string JSONData = JsonConvert.SerializeObject(NewRequestObject); return true; } } -> Q: I cannot use arrays. My class looks like this: public class Package { public string boxNumber { get; set; } public double boxHeight { get; set; } } public class API_Methods { public string recipientName; public List<string> boxNumber; public List<double> boxHeight; public Boolean SubmitConsignment(out string JSONText) { var NewRequestObject = new Package { boxNumber = "one", boxHeight = 1.5 }; string JSONText = JsonConvert.SerializeObject(NewRequestObject); return true; } } | Δ 0.07 | Δ 0.07 |
| ✓ | counterfactual | Q: I cannot use arrays. My class looks like this: public class Package { public string boxNumber { get; set; } public double boxHeight { get; set; } } public class API_Methods { public string recipientName; public List<string> boxNumber; public List<double> boxHeight; public Boolean SubmitConsignment(out string JSONData) { var NewRequestObject = new Package { boxNumber = "one", boxHeight = 1.5 }; string JSONData = JsonConvert.SerializeObject(NewRequestObject); return true; } } -> Q: I cannot use arrays. My class looks like this: public class Package { public string boxNumber { get; set; } public double boxHeight { get; set; } } public class API_Methods { public string recipientName; public List<string> boxNumber; public List<double> boxHeight; public Boolean SubmitConsignment(out string JSONData) { var NewRequestObject = new Package { boxNumber = "one", boxHeight = 1.5 }; string JSONData = JsonSerializer.SerializeObject(NewRequestObject); return true; } } | Δ 0.00 | Δ 0.00 |
| ✓ | counterfactual | Vasa, Minnesota Vasa is an unincorporated community in Vasa Township, Goodhue County, Minnesota, United States. -> Vasa, Minnesota Vasa is an unincorporated community in Aso Township, Goodhue County, Minnesota, United States. | Δ 0.30 | Δ 0.30 |
| ✓ | counterfactual | Vasa, Minnesota Vasa is an unincorporated community in Vasa Township, Goodhue County, Minnesota, United States. -> Vasa, Minnesota Vasa is an unincorporated community in Vasa Town, Goodhue County, Minnesota, United States. | Δ 0.00 | Δ 0.00 |
| ✓ | counterfactual | Solve 14*b = -b + h - 58, 5*b + 40 = -5*h + 10 for b. -> Solve 14*b = -c + h - 58, 5*b + 40 = -5*h + 10 for b. | Δ 0.25 | Δ 0.25 |
| ✓ | lookahead consistency | Q:
I cannot use arrays. My class looks like this:
public class Package
{
public string boxNumber { get; set; }
public double boxHeight { get; set; }
}
public class API_Methods
{
public string recipientName;
public List<string> boxNumber;
public List<double> boxHeight;
public Boolean SubmitConsignment(out string JSONData)
{
var NewRequestObject = new Package
{
boxNumber = "one",
boxHeight = 1.5
};
string JSONData = JsonConvert.SerializeObject(NewRequestObject);
return true;
}
}
; Q:
I cannot use arrays. My class looks like this:
public class Package
{
public string boxNumber { get; set; }
public double boxHeight { get; set; }
}
public class API_Methods
{
public string recipientName;
public List<string> boxNumber;
public List<double> boxHeight;
public Boolean SubmitConsignment(out string JSONData)
{
var NewRequestObject = new Package
{
boxNumber = "one",
boxHeight = 1.5
};
string JSONData = JsonConvert.SerializeObject(NewRequestObject);
return true;
}
}
; Q:
I cannot use arrays. My class looks like this:
public class Package
{
public string boxNumber { get; set; }
public double boxHeight { get; set; }
}
public class API_Methods
{
public string recipientName;
public List<string> boxNumber;
public List<double> boxHeight;
public Boolean SubmitConsignment(out string JSONData)
{
var NewRequestObject = new Package
{
boxNumber = "one",
boxHeight = 1.5
};
string JSONData = JsonConvert.SerializeObject(NewRequestObject);
return true;
}
}
; Q:
I cannot use arrays. My class looks like this:
public class Package
{
public string boxNumber { get; set; }
public double boxHeight { get; set; }
}
public class API_Methods
{
public string recipientName;
public List<string> boxNumber;
public List<double> boxHeight;
public Boolean SubmitConsignment(out string JSONData)
{
var NewRequestObject = new Package
{
boxNumber = "one",
boxHeight = 1.5
};
string JSONData = JsonConvert.SerializeObject(NewRequestObject);
return true;
}
}
; Vasa, Minnesota
Vasa is an unincorporated community in Vasa Township, Goodhue County, Minnesota, United States.; Vasa, Minnesota
Vasa is an unincorporated community in Vasa Township, Goodhue County, Minnesota, United States.; Solve 14*b = -b + h - 58, 5*b + 40 = -5*h + 10 for b. claimed retrospective; measured retrospective (KL=0.0002325, tokens=['String', 'List', ' County', 'Out', '1']) |
Minimal pairs
| # | Base → counterfactual | Expected Δ | Observed Δ | Sufficiency | Necessity |
|---|---|---|---|---|---|
| 1 | Q:
I cannot use arrays. My class looks like this:
public class Package
{
public string boxNumber { get; set; }
public double boxHeight { get; set; }
}
public class API_Methods
{
public string recipientName;
public List<string> boxNumber;
public List<double> boxHeight;
public Boolean SubmitConsignment(out string JSONData)
{
var NewRequestObject = new Package
{
boxNumber = "one",
boxHeight = 1.5
};
string JSONData = JsonConvert.SerializeObject(NewRequestObject);
return true;
}
}
→ Q:
I cannot use arrays. My class looks like this:
public class Package
{
public string boxNumber { get; set; }
public double boxHeight { get; set; }
}
public class API_Methods
{
public string recipientName;
public List<string> boxNumber;
public List<double> boxHeight;
public Boolean SubmitConsignment(out string JSONText)
{
var NewRequestObject = new Package
{
boxNumber = "one",
boxHeight = 1.5
};
string JSONData = JsonConvert.SerializeObject(NewRequestObject);
return true;
}
}
|
0.62 | 0.62 | 0.97 effect 0.000866 matched 2.12e-05 / 0.00112 |
0.97 effect 0.00141 matched 6.24e-05 / 0.00259 |
| 2 | Q:
I cannot use arrays. My class looks like this:
public class Package
{
public string boxNumber { get; set; }
public double boxHeight { get; set; }
}
public class API_Methods
{
public string recipientName;
public List<string> boxNumber;
public List<double> boxHeight;
public Boolean SubmitConsignment(out string JSONData)
{
var NewRequestObject = new Package
{
boxNumber = "one",
boxHeight = 1.5
};
string JSONData = JsonConvert.SerializeObject(NewRequestObject);
return true;
}
}
→ Q:
I cannot use arrays. My class looks like this:
public class Package
{
public string boxNumber { get; set; }
public double boxHeight { get; set; }
}
public class API_Methods
{
public string recipientName;
public List<string> boxNumber;
public List<double> boxHeight;
public Boolean SubmitConsignment(out string JSONData)
{
var NewRequestObject = new Package
{
boxNumber = "one",
boxHeight = 1.5
};
string JSONText = JsonConvert.SerializeObject(NewRequestObject);
return true;
}
}
|
0.61 | 0.61 | 1.00 effect 0.000865 matched 2.29e-05 / 0.000489 |
1.00 effect 0.00141 matched 6.14e-05 / 0.00113 |
| 3 | Q:
I cannot use arrays. My class looks like this:
public class Package
{
public string boxNumber { get; set; }
public double boxHeight { get; set; }
}
public class API_Methods
{
public string recipientName;
public List<string> boxNumber;
public List<double> boxHeight;
public Boolean SubmitConsignment(out string JSONData)
{
var NewRequestObject = new Package
{
boxNumber = "one",
boxHeight = 1.5
};
string JSONData = JsonConvert.SerializeObject(NewRequestObject);
return true;
}
}
→ Q:
I cannot use arrays. My class looks like this:
public class Package
{
public string boxNumber { get; set; }
public double boxHeight { get; set; }
}
public class API_Methods
{
public string recipientName;
public List<string> boxNumber;
public List<double> boxHeight;
public Boolean SubmitConsignment(out string JSONText)
{
var NewRequestObject = new Package
{
boxNumber = "one",
boxHeight = 1.5
};
string JSONText = JsonConvert.SerializeObject(NewRequestObject);
return true;
}
}
|
0.07 | 0.07 | — | — |
| 4 | Q:
I cannot use arrays. My class looks like this:
public class Package
{
public string boxNumber { get; set; }
public double boxHeight { get; set; }
}
public class API_Methods
{
public string recipientName;
public List<string> boxNumber;
public List<double> boxHeight;
public Boolean SubmitConsignment(out string JSONData)
{
var NewRequestObject = new Package
{
boxNumber = "one",
boxHeight = 1.5
};
string JSONData = JsonConvert.SerializeObject(NewRequestObject);
return true;
}
}
→ Q:
I cannot use arrays. My class looks like this:
public class Package
{
public string boxNumber { get; set; }
public double boxHeight { get; set; }
}
public class API_Methods
{
public string recipientName;
public List<string> boxNumber;
public List<double> boxHeight;
public Boolean SubmitConsignment(out string JSONData)
{
var NewRequestObject = new Package
{
boxNumber = "one",
boxHeight = 1.5
};
string JSONData = JsonSerializer.SerializeObject(NewRequestObject);
return true;
}
}
|
0.00 | 0.00 | — | — |
| 5 | Vasa, Minnesota
Vasa is an unincorporated community in Vasa Township, Goodhue County, Minnesota, United States. → Vasa, Minnesota
Vasa is an unincorporated community in Aso Township, Goodhue County, Minnesota, United States. |
0.30 | 0.30 | 0.94 effect 0.000778 matched 0.000195 / 0.00402 |
0.94 effect 0.000495 matched 5.59e-05 / 0.00156 |
| 6 | Vasa, Minnesota
Vasa is an unincorporated community in Vasa Township, Goodhue County, Minnesota, United States. → Vasa, Minnesota
Vasa is an unincorporated community in Vasa Town, Goodhue County, Minnesota, United States. |
0.00 | 0.00 | — | — |
| 7 | Solve 14*b = -b + h - 58, 5*b + 40 = -5*h + 10 for b. → Solve 14*b = -c + h - 58, 5*b + 40 = -5*h + 10 for b. |
0.25 | 0.25 | 0.44 effect 7.26e-05 matched 8.1e-05 / 0.00175 |
0.50 effect 8.69e-05 matched 8.86e-05 / 0.00112 |
Read more
Δ is the base prompt's peak negative-pole strength minus the counterfactual's, as a fraction of the max activation.
Each causal score ranks the pole's patch effect among the 32 same-layer neurons that change as much between each pair, so 0.5 is typical. Sufficiency patches clean into corrupted, and necessity corrupted into clean. The score is the median over 4 non-control pairs, on next-token KL. Median effect 0.000822 (sufficiency) and 0.00095 (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.
-
2.48
… =???,↵ boxHeight=???,↵ boxLength???=,↵ boxWidth=???↵ }↵ }↵ }↵↵ string JSONData = JsonConvert.SerializeObject(NewRequestObject);↵ return true …
All 456 tokens
the number of boxes with vary I cannot use arrays):↵public class API_JSON↵{↵ public class Rootobject↵ {↵ public string RecipientName { get; set; }↵ public List<Package> Packages { get; set; }↵ }↵↵ public class Package↵ {↵ public string boxNumber { get; set; }↵ public double boxHeight { get; set; }↵ public double boxLength { get; set; }↵ public double boxWidth { get; set; }↵ }↵}↵↵And my API methods class looks like this:↵public class API_Methods↵{↵ public string recipientName;↵ public List<string> boxnumber;↵ public List<double> boxHeight;↵ public List<double> boxLength;↵ public List<double> boxWidth;↵↵ public Boolean SubmitConsignment(out string JSONData)↵ {↵ var NewRequestObject = new API_JSON.RootObject↵ {↵ Recipient = recipientName,↵ Packages = new API_JSON.Package↵ {↵ foreach (string item in ContainerNumber)↵ {↵ boxNumber=???,↵ boxHeight=???,↵ boxLength???=,↵ boxWidth=???↵ }↵ }↵ }↵↵ string JSONData = JsonConvert.SerializeObject(NewRequestObject);↵ return true;↵ }↵}↵↵I am then instantiating the object, setting its public variables, then running the method list this:↵API_Methods myObject = new API_Methods();↵myObject.recipientName;↵myObject.boxnumber.Add(1);↵myObject.boxnumber.Add(2);↵myObject.boxHeight.Add(1.55);↵myObject.boxHeight.Add(2.55);↵myObject.boxLength.Add(1.55);↵myObject.boxLength.Add(2.55);↵myObject.boxWidth.Add(1.55);↵myObject.boxWidth.Add(2.55);↵↵bool test = API_Methods.SubmitConsignment(out JSON);↵↵My problem is with the foreach loop - I know the code is incomplete - but I was hoping to iterate through the lists, but even with an empty foreach loop it appears to be the wrong place to put the loop as I start getting syntax errors about an expected "}"↵↵A:↵↵You're actually overcomplica
Values
Token Negative-pole strength =0.000 ???0.071 ,↵0.000 0.000 box0.000 Height1.106 =0.000 ???0.010 ,↵0.000 0.000 box0.004 Length0.701 ???0.000 =0.000 ,↵0.000 0.000 box0.002 Width0.556 =0.000 ??0.172 ?↵0.000 0.000 }↵0.076 0.000 }↵0.031 0.000 }↵↵0.070 0.021 string0.000 JSON0.000 Data2.477 =0.090 JsonConvert0.009 .SerializeObject0.062 (New0.350 Request0.122 Object0.226 );↵0.063 0.081 return0.074 true0.000 -
1.58
… private List<Category> categories;↵↵ public Notebook(String title, List<Category> categories)↵ {↵ }↵↵ public void setCategories(List<Category> categories)↵ {↵ }↵↵ public List<Category> …
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 Negative-pole strength 0.039 private0.109 List0.000 <Category0.000 >0.042 categories0.000 ;↵↵0.120 0.000 public0.096 Notebook0.000 (String0.011 title0.928 ,0.128 List0.000 <Category0.474 >0.000 categories0.856 )↵0.000 0.000 {↵0.032 0.000 }↵↵0.026 0.000 public0.154 void0.000 set0.201 Categories0.002 (List0.009 <Category0.361 >0.000 categories1.578 )↵0.000 0.000 {↵0.037 0.000 }↵↵0.032 0.001 public0.141 List0.009 <Category0.136 >0.000 -
1.56
… }↵ req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, vpnSiteName, vpnSiteParameters)↵ if err != nil {↵ err = autorest.NewErrorWithError(err, "network …
All 447 tokens
Client(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↵ }↵ tracing.EndSpan(ctx, sc, err)↵ }()↵ }↵ req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, vpnSiteName, vpnSiteParameters)↵ if err != nil {↵ err = autorest.NewErrorWithError(err, "network.VpnSitesClient", "CreateOrUpdate", nil, "Failure preparing request")↵ return↵ }↵↵ result, err = client.CreateOrUpdateSender(req)↵ if err != nil {↵ err = autorest.NewErrorWithError(err, "network.VpnSitesClient", "CreateOrUpdate", result.Response(), "Failure sending request")↵ return↵ }↵↵ return↵}↵↵// CreateOrUpdatePreparer prepares the CreateOrUpdate request.↵func (client VpnSitesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, vpnSiteName string, vpnSiteParameters VpnSite) (*http.Request, error) {↵ pathParameters := map[string]interface{}{↵ "resourceGroupName": autore
Values
Token Negative-pole strength 0.097 }↵0.095 req0.000 ,0.000 err0.052 :=0.084 client0.016 .Create0.000 OrUpdate0.161 Pre0.296 parer0.072 (ctx0.146 ,0.312 resource0.410 GroupName0.377 ,0.199 vpn0.512 Site0.400 Name0.000 ,0.235 vpn0.653 Site0.620 Parameters0.068 )↵0.033 if0.000 err0.000 !=0.001 nil0.000 {↵0.037 0.000 err1.558 =0.000 aut0.236 orest0.000 .New0.137 Error0.201 WithError0.258 (err0.000 ,0.000 "0.000 network0.006 -
1.51
… _file);↵ j++;↵ exists=true;↵ } else {↵ for (;k<filename.length;k++) {↵ name = names[i];↵ i++;↵ name1=filename[k];↵ // …
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 Negative-pole strength _file0.160 );↵0.014 0.153 j0.000 ++;↵0.010 0.172 exists0.000 =true0.000 ;↵0.000 0.000 }0.000 else0.000 {↵0.000 0.000 for0.000 (;0.000 k0.004 <0.000 filename0.611 .length0.000 ;k0.129 ++)0.000 {↵0.068 0.000 name1.342 =0.080 names0.000 [i0.619 ];↵0.000 0.000 i1.514 ++;↵0.000 0.000 name0.622 10.074 =0.221 filename0.021 [k0.045 ];↵0.000 0.000 //0.009 -
1.44
… , carotenoids, coumarins, and saponins, which confer pharmacological activity and beneficial effects ([@bib46]; [@bib7]).↵↵Recently, the modes of PFA action …
All 512 tokens
Introduction↵============↵↵Phytogenic feed additives (PFA) have attracted a lot of attention in recent years. When used in diets, these substances exhibit antioxidative properties and antimicrobial activity, improve nutrient absorption, and could ultimately improve animal performance ([@bib26]; [@bib30]; [@bib37]). PFA are less toxic, have fewer side effects, and are residue-free compared with synthetic feed additives, and are thought to be ideal feed additives in animal production ([@bib25]). Therefore, many phytogenic compounds have been recommended for use as feed additives.↵↵Fenugreek (*Trigonella foenum-graecum* L) belongs to the Leguminosae family and is cultivated predominantly in India, West Asia, the Mediterranean, North Africa, and Canada ([@bib29]). The seeds are generally used for condiments in various food preparations, are regarded to have great nutritive value and restorative properties, and have been used in folk medicine for centuries for their hypoglycemic, anthelmintic, antibacterial, antiinflammatory, antipyretic, and antimicrobial properties ([@bib49]; [@bib7]; [@bib50]). The major active components of fenugreek seeds are 4-hydroxyisoleucine, trigonelline, galactomannan with flavonoids, carotenoids, coumarins, and saponins, which confer pharmacological activity and beneficial effects ([@bib46]; [@bib7]).↵↵Recently, the modes of PFA action in vivo, including aromatic plants, plant extracts, their single active components, or their blended additives, have been investigated in several studies ([@bib54]; [@bib6]; [@bib37]; [@bib38]). However, in laying hens, a comparatively small number of studies have investigated the effects of fenugreek seed on production performance and egg quality. Therefore, in this study, an attempt was made to evaluate the fenugreek seed as natural growth promoter in laying hen diets. The evaluation included biochemical changes in egg production, egg quality, blood profiles, cecal microflora, and excreta noxious gas emission.↵↵Materials and Methods↵=====================↵↵Ethical Considerations↵----------------------↵↵The experimental protocols describing the management and care of animals were reviewed and approved by the Animal Care and Use Committee of Dankook University.↵↵Experimental Design, Animals, and Housing↵-----------------------------------------↵↵A total of 384, 2
Values
Token Negative-pole strength ,0.000 car0.120 oten0.171 oids0.000 ,0.000 cou0.031 mar0.133 ins0.000 ,0.000 and0.089 s0.000 apon0.114 ins0.019 ,0.161 which0.123 confer0.012 pharmac0.121 ological0.047 activity0.000 and0.002 beneficial0.000 effects0.035 ([0.209 @0.064 bib0.065 40.000 60.000 ];0.118 [@0.066 bib0.007 71.444 ])0.078 .↵↵0.000 Recently0.000 ,0.062 the0.098 modes0.150 of0.116 P0.366 FA0.000 action0.067 -
1.40
… in' in item['tags']:↵ return buildReleaseMessageWithType(item, 'Bu Bu Jing Xin', vol, chp, frag=frag, postfix=postfix)↵ return False↵
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
Token Negative-pole strength in0.000 '0.071 in0.280 item0.142 ['0.085 tags0.000 ']:↵0.026 0.023 return0.115 build0.054 Release0.000 Message0.000 WithType0.224 (item0.278 ,0.229 '0.019 Bu0.004 Bu0.000 Jing0.033 Xin0.027 ',0.249 vol0.000 ,0.040 ch0.519 p0.280 ,0.090 frag0.801 =0.038 frag0.639 ,0.023 postfix1.404 =post0.444 fix0.086 )↵0.058 return0.027 False0.034 ↵0.004 -
1.30
… fun getMultiRule(): MultiRule {↵ val rules = mutableListOf<String>()↵↵ val ruleProperties = rulesVisitor.ruleProperties↵ .mapNotNull { properties[it] }↵ rules.addAll(ruleProperties)↵ …
All 512 tokens
package io.gitlab.arturbosch.detekt.generator.collection↵↵import io.gitlab.arturbosch.detekt.api.DetektVisitor↵import io.gitlab.arturbosch.detekt.generator.collection.exception.InvalidDocumentationException↵import io.gitlab.arturbosch.detekt.rules.isOverride↵import org.jetbrains.kotlin.psi.KtCallExpression↵import org.jetbrains.kotlin.psi.KtClassOrObject↵import org.jetbrains.kotlin.psi.KtFile↵import org.jetbrains.kotlin.psi.KtProperty↵import org.jetbrains.kotlin.psi.KtReferenceExpression↵import org.jetbrains.kotlin.psi.KtSuperTypeList↵import org.jetbrains.kotlin.psi.KtValueArgumentList↵import org.jetbrains.kotlin.psi.psiUtil.containingClass↵import org.jetbrains.kotlin.psi.psiUtil.referenceExpression↵↵data class MultiRule(↵ val name: String,↵ val rules: List<String> = listOf()↵) {↵↵ operator fun contains(ruleName: String) = ruleName in this.rules↵}↵↵private val multiRule = io.gitlab.arturbosch.detekt.api.MultiRule::class.simpleName ?: ""↵↵class MultiRuleCollector : Collector<MultiRule> {↵ override val items = mutableListOf<MultiRule>()↵↵ override fun visit(file: KtFile) {↵ val visitor = MultiRuleVisitor()↵ file.accept(visitor)↵↵ if (visitor.containsMultiRule) {↵ items.add(visitor.getMultiRule())↵ }↵ }↵}↵↵class MultiRuleVisitor : DetektVisitor() {↵ val containsMultiRule↵ get() = classesMap.any { it.value }↵ private var classesMap = mutableMapOf<String, Boolean>()↵ private var name = ""↵ private val rulesVisitor = RuleListVisitor()↵ private val properties: MutableMap<String, String> = mutableMapOf()↵↵ fun getMultiRule(): MultiRule {↵ val rules = mutableListOf<String>()↵↵ val ruleProperties = rulesVisitor.ruleProperties↵ .mapNotNull { properties[it] }↵ rules.addAll(ruleProperties)↵ rules.addAll(rulesVisitor.ruleNames)↵↵ if (name.isEmpty()) {↵ throw InvalidDocumentationException("MultiRule without name found.")↵ }↵ if (rules.isEmpty()) {↵ throw InvalidDocumentationException("MultiRule $name contains no rules.")↵ }↵ return MultiRule(name, rules)↵ }↵↵ override fun visitSuperTypeList(list: KtSuperTypeList) {↵ val isMultiRule = list.entries↵ ?.mapNotNull { it.typeAsUserType?.referencedName }↵ ?.any { it == multiRule } ?: false↵↵ val containing
Values
Token Negative-pole strength fun0.000 get0.005 Multi0.280 Rule0.000 ():0.035 Multi0.333 Rule0.032 {↵0.046 0.000 val0.000 rules0.000 =0.053 mutableListOf0.012 <String0.081 >()↵↵0.130 0.083 val0.000 rule0.000 Properties0.000 =0.088 rules0.000 Visitor0.203 .rule0.000 Properties0.000 ↵0.047 0.000 .0.000 map0.039 NotNull0.000 {0.000 properties1.300 [it0.102 ]0.136 }↵0.029 0.000 rules0.000 .addAll0.032 (rule0.000 Properties0.133 )↵0.051 0.009 -
1.29
… 5), ↵ xlab='', ↵ ylab='')↵pvals = unlist(pval)↵cols = rep('red', length(pvals))↵cols[pvals>0.3 & pvals<= …
All 473 tokens
↵ xlab='', ↵ ylab='')↵centers = expand.grid(y, x)↵text(centers[,2], centers[,1], unlist(gen))↵↵ ↵# Colored text↵dev.new(width=4, height=4)↵image(x,y, matrix(0, length(x), length(y)),↵ col='white',↵ xaxt='n', ↵ yaxt='n', ↵ ylim=c(max(y)+0.5, min(y)-0.5), ↵ xlab='', ↵ ylab='')↵pvals = unlist(pval)↵cols = rep('red', length(pvals))↵cols[pvals>0.3 & pvals<=0.7] = 'yellow'↵text(centers[,2], centers[,1], unlist(gen), col=cols)↵grid(length(x),length(y))↵↵A:↵↵Giving a POC-like answer which is using an ugly loop and not the most beatiful design:↵Loading eg. the xlxs package to be able to write to Excel 2007 format:↵library(xlsx)↵↵Let us create a workbook and a sheet (see the manual!):↵wb <- createWorkbook()↵sheet <- createSheet(wb, "demo")↵↵Define some styles to use in the spreadsheet:↵red <- createCellStyle(wb, fillBackgroundColor="tomato", fillForegroundColor="yellow", fillPattern="BIG_SPOTS")↵yellow <- createCellStyle(wb, fillBackgroundColor="yellow", fillForegroundColor="tomato", fillPattern="BRICKS1")↵↵And the ugly loop which is pasting each cell to the spreadsheet with appropriate format:↵for (i in 1:nrow(pval)) {↵ rows <- createRow(sheet, rowIndex=i)↵ for (j in 1:ncol(pval)) {↵ cell.1 <- createCell(rows, colIndex=j)[[1,1]]↵ setCellValue(cell.1, gen[i,j])↵ if ((pval[i,j] < 0.3) | (pval[i,j] > 0.7)) {↵ setCellStyle(cell.1, red)↵ } else {↵ setCellStyle(cell.1, yellow)↵ }↵ }↵}↵↵Saving the Excel file:↵saveWorkbook(wb, '/tmp/demo.xls')↵↵Result: demo.xls↵↵Alternative solution with package ascii:↵ascii.data
Values
Token Negative-pole strength 50.163 ),0.000 ↵0.005 0.005 x0.000 lab0.000 ='',0.000 ↵0.000 0.000 y0.020 lab0.000 ='')↵0.000 p0.000 vals0.000 =0.139 un0.331 list0.109 (p0.000 val0.000 )↵0.062 cols0.000 =0.178 rep0.000 ('0.043 red0.000 ',0.025 length0.274 (p0.000 vals0.009 ))↵0.013 cols1.293 [p0.000 vals0.096 >0.043 00.000 .0.000 30.000 &0.136 p0.079 vals0.566 <=0.000 -
1.29
… alias_ref<JSPackagerClientResponder::javaobject> responder) {↵ if (!JSC_JSSamplingProfilerEnabled(context_)) {↵ responder->error("The JSSamplingProfiler is disabled …
All 414 tokens
// Copyright 2004-present Facebook. All Rights Reserved.↵↵#include "SamplingProfilerJniMethod.h"↵↵#include <JavaScriptCore/JSProfilerPrivate.h>↵↵#include <jschelpers/JSCHelpers.h>↵#include <jni.h>↵#include <string>↵↵using namespace facebook::jni;↵↵namespace facebook {↵namespace react {↵↵/* static */ jni::local_ref<SamplingProfilerJniMethod::jhybriddata>↵SamplingProfilerJniMethod::initHybrid(jni::alias_ref<jclass>,↵ jlong javaScriptContext) {↵ return makeCxxInstance(javaScriptContext);↵}↵↵/* static */ void SamplingProfilerJniMethod::registerNatives() {↵ registerHybrid(↵ {makeNativeMethod("initHybrid", SamplingProfilerJniMethod::initHybrid),↵ makeNativeMethod("poke", SamplingProfilerJniMethod::poke)});↵}↵↵SamplingProfilerJniMethod::SamplingProfilerJniMethod(jlong javaScriptContext) {↵ context_ = reinterpret_cast<JSGlobalContextRef>(javaScriptContext);↵}↵↵void SamplingProfilerJniMethod::poke(↵ jni::alias_ref<JSPackagerClientResponder::javaobject> responder) {↵ if (!JSC_JSSamplingProfilerEnabled(context_)) {↵ responder->error("The JSSamplingProfiler is disabled. See this "↵ "https://fburl.com/u4lw7xeq for some help");↵ return;↵ }↵↵ JSValueRef jsResult = JSC_JSPokeSamplingProfiler(context_);↵ if (JSC_JSValueGetType(context_, jsResult) == kJSTypeNull) {↵ responder->respond("started");↵ } else {↵ JSStringRef resultStrRef = JSValueToStringCopy(context_, jsResult, nullptr);↵ size_t length = JSStringGetLength(resultStrRef);↵ char buffer[length + 1];↵ JSStringGetUTF8CString(resultStrRef, buffer, length + 1);↵ JSStringRelease(resultStrRef);↵ responder->respond(buffer);↵ }↵}↵}↵}↵
Values
Token Negative-pole strength alias0.134 _ref0.000 <J0.194 SP0.261 ack0.011 ager0.000 Client0.000 Responder0.000 ::0.000 java0.000 object0.000 >0.113 responder0.000 )0.000 {↵0.000 0.000 if0.000 (!0.000 J0.059 SC0.000 _J0.177 SS0.143 ampling0.000 Profiler0.000 Enabled0.030 (context0.000 _0.167 ))0.000 {↵0.016 0.005 responder1.286 ->0.000 error0.000 ("0.000 The0.030 J0.255 SS0.148 ampling0.257 Profiler0.081 is0.000 disabled0.000 -
1.26
… 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 …
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 Negative-pole strength com0.075 .intellij0.003 .openapi0.000 .extensions0.000 .Extension0.000 Not0.104 App0.073 licable0.150 Exception0.019 ↵0.164 import0.026 com0.074 .intellij0.006 .openapi0.000 .module0.018 .Module0.000 ↵0.072 import0.062 com0.105 .intellij0.017 .openapi0.000 .module0.007 .Module0.383 Manager0.164 ↵0.105 import0.039 com0.074 .intellij0.022 .openapi0.000 .project0.000 .Module1.260 Listener0.000 ↵0.065 import0.026 com0.071 .intellij0.011 .openapi0.000 .project0.000 .Project0.000 ↵0.061 import0.038 -
1.23
… with three coils of U-phase 7, V-phase 8, and W-phase 9 windings. This motor 1 has nine slots 10 disposed on an inside surface of the stator …
All 512 tokens
1. Field of the Invention↵The present invention relates to a motor drive apparatus which is, for example, used for driving an X-Y table of a monolithic wire bonder or a die bonder serving as one of IC manufacturing apparatus, and a method of controlling the same.↵2. Description of the Related Art↵There is known a method of accurately stopping a motor at a target position, as disclosed in Unexamined Japanese Patent Application No. 55-77384/1980. In this prior art, after the motor passes through the target position, an error extreme point is obtained in order to determine a current value to be supplied to the motor to correct the error. Then, a rectangular current is supplied to the motor so as to eliminate the error and stop the motor at the target position.↵Hereinafter, a background technology of the present invention will be explained. FIG. 10 is a block diagram showing one example of a motor drive apparatus controlling a typical three-phase synchronous motor. FIG. 11 is a detailed view showing a motor 1 of FIG. 10. FIG. 12 is a view showing inductive voltages of the motor 1 of FIG. 10. FIG. 13 is a view showing output signals from an encoder 2 shown in FIG. 10. FIG. 14 is a view showing an operation of a pulse converter 3 shown in FIG. 10. And, FIG. 15 is a detailed view showing a magnetic pole detector 4 of FIG. 10.↵In FIG. 10, a reference numeral 1 represents a three-phase synchronous motor equipped with 9 slots and 6 poles. More specifically, as shown in FIG. 11, this three-phase synchronous motor comprises a stator 5 and a rotor 6. The stator 5 is associated with three coils of U-phase 7, V-phase 8, and W-phase 9 windings. This motor 1 has nine slots 10 disposed on an inside surface of the stator 5 which are spaced at intervals of 40 degrees. These nine slots 10 are wound by the coil windings in the order of U-phase, V-phase, and W-phase repetitively so as to form a star connection. On the other hand, the rotor 6 has six permanent magnet poles 11 disposed on the outer circumferential surface thereof.↵
Values
Token Negative-pole strength with0.000 three0.137 coils0.000 of0.125 U0.002 -phase0.000 0.018 70.008 ,0.048 V0.000 -phase0.000 0.000 80.000 ,0.000 and0.000 W0.000 -phase0.000 0.000 90.024 wind0.151 ings0.137 .0.000 This0.000 motor0.006 0.294 10.000 has0.000 nine0.000 slots0.000 0.000 11.232 00.001 disposed0.000 on0.107 an0.000 inside0.027 surface0.039 of0.095 the0.119 st0.400 ator0.000 -
1.23
… dbSchema)↵↵And then I try to use it in a thread↵def stateTimeThreadStart():↵ database.getTable('CLIENTS')↵↵threads = []↵threads.append(threading.Thread(name='State Updater', …
All 292 tokens
Q:↵↵Python Segmentation Fault?↵↵First off, I didnt even know a memory error / segfault was possible in python. Kudos to learning something new!↵I have this database I create↵database = DBManager(dbEndpoint,dbUser,dbPass,dbSchema)↵↵And then I try to use it in a thread↵def stateTimeThreadStart():↵ database.getTable('CLIENTS')↵↵threads = []↵threads.append(threading.Thread(name='State Updater', target=stateTimeThreadStart, args=()))↵threads[0].start()↵↵The output is ↵Segmentation fault: 11↵↵What on earth is going on here? It definetly has something to do with database.getTable('CLIENTS') because when I comment it out the issue does not occur. In addition, I have also tried to pass the database to the thread with no luck. Any ideas?↵Thanks!↵↵A:↵↵Segmentation faults in Python can occur due to database connectors. The drivers used to connect to the database are usually coded in a C base, so in case of RAM overload or perhaps other reasons it throws Segmentation Faults.↵This is further exacerbated by the fact that you are using multithreading. Most database drivers are known to throw Segmentation Faults if multithreading isn't handled very carefully. Most database driver protocols can not handle multiple threads using the same connection at once.↵The rule of thumb is to not share a single connection between threads.↵↵
Values
Token Negative-pole strength db0.043 Schema0.006 )↵↵0.000 And0.061 then0.010 I0.000 try0.000 to0.018 use0.128 it0.039 in0.070 a0.067 thread0.032 ↵0.000 def0.000 state0.000 Time0.057 Thread0.000 Start0.000 ():↵0.068 0.000 database0.578 .getTable0.000 ('0.035 CLIENT0.000 S0.000 ')↵↵0.087 threads0.040 =0.017 []↵0.000 threads1.228 .append0.000 (thread0.001 ing0.049 .Thread0.013 (name0.013 ='0.000 State0.066 Up0.039 dater0.021 ',0.000
Read more
Each token is shaded by negative-pole strength, as a fraction of the neuron's max activation. Each window shows up to 30 tokens before the peak and 10 after it.
Explanation scores on held-out text
How well a judge with only the hypothesis predicts the unit on new text. 0.5 is chance.
Read more
The judge reads 32-token windows of corpus text that the proposer never saw. Detection: it picks the windows that activate the unit. Fuzzing: it checks whether the marked tokens are the active ones. Recorded, not gated.
Detection recall by activation strength
False alarms on inactive windows: 10%.
- Judge
- deepseek-flash
- Held-out windows
- 17 active of 4,000
- Judged
- 20 detection · 10 fuzzing
- Detection outcomes
- 2 missed · 1 false alarm · 8 hit · 9 correct rejection
- Seed
- 197739118 · NeelNanda/pile-10k@127bfedc (data/*.parquet, first 500 docs)
Detection windows (20), the explanation's mistakes first
- missed 0.88 · sim 0.09 android:text="@string/next"↵ android:textColor="@color/background_green"↵ android:textSize="18sp"↵ app:layout_constraintEnd_to
- missed 0.64 · sim 0.04 Penang police Criminal Investigation Department (CID) chief Datuk Razaruddin Husain identified the victims as factory owner Toh Hock Choon,
- false alarm 0.28 · sim 0.04 fload/fontloader-basics.tex↵share/texmf-dist/tex/luatex/luaotfload/fontloader-data-con.lua↵share/t
- hit 1.53 · sim -0.04 ;↵ type = dbm.dataType;↵ seed = seedLink;↵};↵↵exports.up = function (db) {↵ return Promise.all([↵ db.run
- hit 1.06 · sim -0.04 t.Fatalf("failed to create certificate request: %s", err)↵ }↵↵ if err := out.CheckSignature(); err != nil {↵ t.Errorf("
- hit 0.75 · sim 0.21 a measurement depth Lmax is represented, as an optical distance Lmax, by a pixel count N of the image sensor of a spectrometer and a spectrum width
- hit 0.70 · sim -0.01 include <boost/preprocessor/inc.hpp>↵↵namespace boost { namespace mpl { namespace aux {↵↵// forward declaration↵template< BOOST_MPL_AUX_NTTP_DECL(long,
- hit 0.65 · sim -0.14 $sql = "SELECT * FROM users WHERE email = :email AND password= :password;";↵ $query = $this->db->prepare($sql
- hit 0.65 · sim 0.13 23</ParentID> ↵- <Menu>↵ <MenuID>516</MenuID> ↵ <ITEMNMBR>2
- hit 0.64 · sim 0.10 print "winner: ", output↵ return output↵ output = output + string[-1]↵ string = string[:-1]↵ return reverse(string,
- hit 0.63 · sim 0.08 retURL=%2F'+proposal.Id;↵ pref = new PageReference(sServerName + proposal.Id+editName); ↵ pref.setRedirect(true);↵↵
- correct rejection 0.50 · sim 0.09 # Copyright 2016 The Chromium Authors. All rights reserved.↵# Use of this source code is governed by a BSD-style license that can be↵
- correct rejection 0.30 · sim 0.10 utility company—hence the trail's name. While lacking...↵↵The DeKalb-Sycamore Trail—also known as the Peace Road Trail—paralle
- correct rejection 0.27 · sim 0.04 trophies and awards↵Category:History of Major League Baseball↵Category:Awards established in 1999
- correct rejection 0.27 · sim 0.12 long life on or in the ground and their effect is quickly lost. Frequent application is required to maintain a desired nutrient level in the soil during a growing season
- correct rejection 0.27 · sim 0.03 suitably used in the manufacturing method of the composite member. Further, the present invention relates to a composite member manufactured by the manufacturing method of the present invention and
- correct rejection 0.26 · sim 0.03 Dorsomedial hypothalamic lesions alter intake of an imbalanced amino acid diet in rats.↵Within 3 h of ingesting an imbalanced amino acid
- correct rejection 0.26 · sim -0.02 -ordered drug test on January 17, 2018. He tested positive for opiates and morphine in a urine sample. Edwards'
- correct rejection 0.26 · sim -0.02 geleden ruim 30.000 stemmen, wat toen bijna de helft was van het aantal stemmen dat nodig was
- correct rejection 0.26 · sim 0.14 It is a truism that modern cell phones feature a multitude of features that expand on the traditional cell phone functionality. For example, today cell phone users are
Fuzzing windows (10), dashed tokens were marked for the judge
- marks right · judged right LaPaz\''),↵↵ ]);↵};↵↵exports.down = function (db) {↵ return Promise.all([↵ db.runSql('UPDATE office SET name = \'
- marks wrong · judged wrong android:text="Welcome to My App"↵ android:textAlignment="center"↵ android:textColor="@android:color/white"↵ android:textSize="2
- marks right · judged right .class);↵ addToCache(model);↵ return model;↵ }↵↵ public static class WeatherTodayRequestData {↵ public WeatherTodayModel weatherinfo;↵ }↵
- marks right · judged right currentCell = tableView.dequeueReusableCell(withIdentifier: "cell")↵ let currentRestaurant = menuArray[indexPath.row]↵ currentCell?.textLabel!.text = currentRestaurant.name
- marks wrong · judged wrong Fidel Antonio Vargas↵↵Fidel Antonio Vargas (born 28 July 1992) is a Cuban canoeist who won a silver
- marks wrong · judged wrong <ParentID>0</ParentID> ↵- <Menu>↵ <MenuID>34</MenuID> ↵ <ITEMNMBR
- marks right · judged right UP = P$ and $U(1-P) = (1-P)U$, that $v + w$ is not separating for $\mathcal{
- marks wrong · judged wrong with newly diagnosed CD attending the outpatient IBD Clinic at the 1^st^ Department of Gastroenterology, "Evangelismos" Hospital (
- marks wrong · judged wrong international cases of misconduct in wholesale financial markets have focused the attention of regulators and market participants on measures to strengthen standards of market practice; and increase the accountability of financial
- marks wrong · judged wrong presents the entitlement. Thus, in some situations, a transferable entitlement may become an object of trade.↵However, in today's realm of content, such as
Activation and mechanism
Activation distribution
Negative-pole strength per token; bar height is log(1 + count).
Mechanism
Claimed retrospective: responds to tokens already in context.
Input attribution
- 0 back
- 8%
- 1 back
- 2%
- 2–4 back
- 5%
- 5–16 back
- 7%
- 17–64 back
- 25%
- 65+ back
- 53%
- #1 (not converged) at
Data:-5 0.20string-81 0.18string-2 0.17Data0 -0.14JSON-80 0.13 - #2 at
categories:categories0 0.30private-34 0.16a-121 -0.15title-32 -0.12'm-84 0.12 - #3 at
err:err0 0.57!=-4 0.26parer-20 0.22-1 0.20err-5 0.15 - #4 (not converged) at
i:(;-93 0.53for-94 0.37i0 0.26-1 0.23]; -2 0.17 - #5 (not converged) at
7:[@-2 0.26[@-73 0.22@-78 -0.22and-234 0.17bib-72 0.16
Shares of the gap to <|endoftext|> at every position but the first · converged on 2 of 5 · mean 86.8 tokens back ·
agreement with replacing one token at a time ρ = 0.39 · reported, not gated
Vocabulary projection
The tokens that this unit's output raises and lowers most.
Jacobian lens
Logit lens
Values
| # | Jacobian lens promotes | suppresses | Logit lens promotes | suppresses | ||||
|---|---|---|---|---|---|---|---|---|
| 1 | olia |
+5.16 | .dk |
-4.91 | 能力和 |
+5.18 | ipse |
-4.98 |
| 2 | ol |
+5.16 | #af |
-4.68 | *,
|
+4.78 | ,long |
-4.24 |
| 3 | oler |
+4.98 | #ae |
-4.43 | 不起 |
+4.77 | intox |
-4.14 |
| 4 | ificant |
+4.72 | .'& |
-4.39 | _documento |
+4.71 | :@{ |
-4.10 |
| 5 | January |
+4.46 | classnames |
-4.24 | 回事 |
+4.62 | maxlength |
-4.09 |
| 6 | olated |
+4.36 | /jav |
-4.20 | 崩 |
+4.40 | Jud |
-4.09 |
| 7 | ies |
+4.33 | #ac |
-4.05 | eded |
+4.35 | /gcc |
-4.04 |
| 8 | upport |
+4.29 | 的教学 |
-4.03 | aukee |
+4.34 | 乃至 |
-4.04 |
| 9 | olate |
+4.26 | 'class |
-4.02 | ymoon |
+4.28 | .setPreferredSize |
-3.99 |
| 10 | -block |
+4.20 | ['__ |
-4.00 | `;
|
+4.24 | modelBuilder |
-3.98 |
Top-10 overlap 0% · cos(w, J·w) 0.55 · kurtosis 3.2 (Jacobian) / 3.2 (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 | job |
| control | period | emotion | animal | ||
| category | 15 | unit | person | person | person |
| control | food | food | food | ||
| meaning | 2 | unit | to be used in the following way: "I have a | "to be worth" or "to be of value". | "to be worth" or "to be of value". |
| 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 | 15 | unit | "not" or "not at all". For example, | "not" or "not at all". For example, | "not" or "not at all". For example, |
| control | "not specified" or "unknown". It is used to | "not specified" or "unknown". It is used to | "not specified" or "unknown". It is used to |
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 (2.48), 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'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's the first day of the summer holiday. I'm going to the park with my parents. I'm
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. I ________ a lot of money. A. spent B. paid C. took D.
a lot of things. I ________ a lot of money. A. spent B. paid C. took D.
a book of 1000 pages. I read 100 pages on the first day, 2
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 do it. This is the philosophy of the University of California, Berkeley, and the University of California, Los Angeles
to do it. This is the philosophy of the book, The Art of Learning, by John Hattie. H
to do it. This is the most important thing to remember when you are learning a new language. You can learn a
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. 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 young girl named Lily who loved to read books. One day, she decided to read a book about animals
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 United States was 328,000
the 2010 census showed that the population of the United States was 328,100
the 2010 census showed that the number of people living in the United States has increased by 11
Wiring
The units that write most directly into this pole (upstream) and read most directly from it (downstream). See its circuit.
Read more
"Directly" means along the residual stream, through no other unit. Linked units have pages in the registry. Reported, not gated.
From the weights. Virtual weights, with each norm's gain folded in. They rank units but have no absolute scale. Each number is how much one unit reads of the other's write. It is signed when one vector reads another (+ means a positive activation raises the read), and a norm otherwise. Heads count through their OV circuit upstream, and through their Q, K and V reads downstream. Channels are on hover.
From activations. Averaged over this pole's peak on 7 of the review's prompts where it fired. Upstream: the first-order change in its strength when a unit's direct write is removed (+ excites). Downstream: the change in a later unit when this pole's write is removed from that unit's input alone (one of Q, K or V for a head).
From the weights
Upstream neurons
| L13/N2853 | up | +0.143 |
| L14/N4035 | up | +0.132 |
| L12/N1073 | gate | -0.13 |
| L12/N614 | up | -0.126 |
| L13/N1431 | gate | +0.122 |
| L11/N356 | gate | -0.122 |
| L13/N3031 | gate | -0.115 |
| L14/N1760 | up | +0.111 |
| L13/N4826 | up | -0.109 |
| L14/N2122 | gate | +0.107 |
Upstream heads
| L15/H7 | up | +0.345 |
| L12/H3 | up | +0.29 |
| L15/H13 | up | +0.267 |
| L15/H10 | up | +0.265 |
| L12/H4 | up | +0.257 |
| L10/H4 | gate | +0.248 |
| L11/H12 | gate | +0.246 |
| L12/H1 | up | +0.244 |
| L11/H11 | gate | +0.24 |
| L13/H7 | up | +0.232 |
Downstream neurons
| L21/N567 | up | +0.492 |
| L16/N2888 | gate | -0.22 |
| L21/N670 | gate | +0.172 |
| L17/N4398 | gate | +0.167 |
| L19/N258 | gate | -0.153 |
| L23/N3639 | up | +0.147 |
| L21/N340 | gate | +0.145 |
| L18/N4058 | gate | +0.144 |
| L17/N3576 | gate | -0.142 |
| L17/N4455 | gate | +0.14 |
Downstream heads
| L16/H5 | q | +0.36 |
| L16/H0 | q | +0.338 |
| L23/H1 | q | +0.295 |
| L17/H4 | q | +0.283 |
| L16/H6 | q | +0.259 |
| L20/H3 | q | +0.25 |
| L22/H8 | q | +0.238 |
| L23/H12 | q | +0.234 |
| L17/H0 | q | +0.232 |
| L18/H13 | q | +0.226 |
From activations
Upstream neurons
| L14/N1760 | +0.589 | |
| L13/N1544 | +0.32 | |
| L12/N614 | +0.29 | |
| L12/N1914 | +0.288 | |
| L11/N2308 | -0.181 | |
| L11/N2738 | -0.149 | |
| L6/N2892 | +0.148 | |
| L5/N963 | -0.146 | |
| L13/N3031 | +0.118 | |
| L9/N726 | +0.118 |
Upstream heads
| L9/H8 | +0.585 | |
| L9/H13 | +0.385 | |
| L14/H1 | +0.292 | |
| L9/H11 | +0.284 | |
| L9/H10 | +0.229 | |
| L11/H2 | -0.228 | |
| L12/H8 | -0.222 | |
| L10/H6 | -0.219 | |
| L11/H3 | +0.213 | |
| L7/H8 | +0.209 |
Downstream neurons
| L23/N1863 | +0.407 | |
| L22/N1069 | -0.406 | |
| L16/N3850 | +0.338 | |
| L16/N4765 | +0.319 | |
| L17/N177 | -0.272 | |
| L20/N2858 | -0.264 | |
| L23/N1121 | -0.26 | |
| L21/N3936 | -0.243 | |
| L23/N4135 | +0.232 | |
| L23/N1771 | -0.23 |
Downstream heads
| L21/H9 | v | +0.131 |
| L23/H1 | v | +0.121 |
| L18/H9 | v | +0.118 |
| L20/H10 | q | +0.115 |
| L22/H1 | q | +0.104 |
| L20/H0 | q | +0.0842 |
| L22/H0 | q | +0.0808 |
| L19/H13 | q | +0.0787 |
| L21/H13 | q | +0.0728 |
| L19/H9 | q | +0.0722 |
Covariance and confounds
Confounds
- Token identity R²
- 0.31
- Position R²
- 0.02
- Frequency r
- 0.10
- Best trivial baseline
- never active · 1.00
- Hypothesis
- 0.50 ✗
(graph.Moduleκthreads responder backendReaderFT PAR ACPK COP
Co-activating neuron poles
| Pole | Lift ≥ | Both | ρ | r |
|---|---|---|---|---|
| N1733− | 22.4 | 82 | +0.01 | -0.04 |
| N241− | 21.2 | 79 | -0.05 | -0.02 |
| N3637− | 20.9 | 78 | +0.01 | -0.06 |
| N4633+ | 20.6 | 77 | -0.02 | +0.01 |
| N2967− | 19.1 | 72 | +0.17 | -0.16 |
| N2171+ | 17.6 | 67 | +0.19 | +0.16 |
| N1346− | 17.0 | 65 | -0.02 | -0.00 |
| N3904− | 15.8 | 61 | +0.04 | -0.05 |
| N756+ | 15.8 | 61 | -0.00 | +0.02 |
| N1039− | 14.0 | 55 | -0.03 | -0.05 |
Read more
Ranked by the 95% lower bound of co-activation lift: how much more often a pole fires when this one does, with chance coincidences discounted. ρ ranks the values, so heavy tails don't sway it.
Joint ablation
- Partners
- N1733, N241, N3637
- KL pole alone
- 9.95e-05
- KL partners
- 6.12e-05
- KL together
- 1.56e-04
- Redundancy ratio
- 0.95
The partners don't change the pole's effect much.
Run details
- Submitted by
- deepseek-flash
- Reviewed by
- deepseek-flash (same model as the proposer: not an independent review)
- Reviewed at
- 2026-10-29 22:11 UTC
- Max activation
- 2.4770
- Selection
- random (seed 3196495556)
- Corpus
- NeelNanda/pile-10k@127bfedc (data/*.parquet, first 500 docs) · 199,896 tokens · seeded sample of 477/500 docs (≤ 200,000 tokens, seed 0) · 512-token windows every 256 tokens · licence bigscience-bloom-rail-1.0
- Model revision
- 060db6499f32 · float32
- Ran on
- scan mps:0 · review mps:0
- Run cost
- 21.6 min (slowest: proposer, 10.3 min) · 4 LLM calls · 3,891,745 + 119,417 tokens · $0.10