Qwen/Qwen2.5-1.5B · L9/N6700 · 20261113T133057Z
Experiment 1 of 2 on this neuron, most conclusive first · record
Fires on the token that completes a conventional two-part unit: the second subword of a compound word or code identifier (Split+ter, Help+Formatter, do+_action, data+-toggle) or a noun completing a fixed collocation (turned the ball). Activation is driven by the conjunction of the preceding piece with the peak token, not by the peak token alone.
The whole hypothesis
Fires on the token that completes a conventional two-part unit: the second subword of a compound word or code identifier (Split+ter, Help+Formatter, do+_action, data+-toggle) or a noun completing a fixed collocation (turned the ball). Activation is driven by the conjunction of the preceding piece with the peak token, not by the peak token alone.
Hard negatives 13/13 rejected · holdouts 0/7 fired (independent observations; 20 probes) · P(useful) 0.10
specificity 1.00 · sensitivity 0.00 · counterfactual reproduction 1.00 · protocol v0.8
_actionterFormatter-toggleball.getString-layer
Adversarial review
positive_holdout: 0/7 passed; hard_negative: 13/13 passed; counterfactual: 7/7 passed; lookahead_consistency: 1/1 passed. Failed gates: sensitivity, beats_confound_baseline.
All 28 probes
| Test | Input | Expected | Observed | |
|---|---|---|---|---|
| ✗ | positive holdout | fn summarize(records: &[Record]) -> usize {
let total_count = records.iter().filter(|r| r.is_visible).count();
total_count
} Cross-language holdout in Rust: `_count` and `_visible` are second subwords completing identifiers, exactly the compound/identifier completion the hypothesis claims, with none of the listed trigger strings present. |
active | 0.134 |
| ✗ | positive holdout | private void syncProfile(Session session) {
String userName = session.getUserName();
userProfile.setDisplayName(userName.trim());
} Camel-case holdout in Java: `Name` and `Profile` complete multi-part identifiers in a context unlike the Android tag examples, so the hypothesis predicts firing on those completions. |
active | 0.098 |
| ✗ | positive holdout | With the score still level, the winger squared the ball across the box and the captain finished at the far post. Paraphrase of the fixed-collocation branch: `ball` completes the football collocation `squared the ball` with a verb that never appears in the examples, so the hypothesis predicts it fires. |
active | 1.179 |
| ✗ | positive holdout | Before the vote, the chairman urged the board to bite the bullet and approve the smaller budget. Different idiom and register for the collocation branch: `bullet` completes `bite the bullet`, a conventional two-part unit the hypothesis says should fire. |
active | 0.304 |
| ✗ | positive holdout | Her well-known short-story collection appeared in the spring and sold far better than anyone had expected. Hyphenated compounds in ordinary prose: `known` and `story` are second subwords of `well-known` and `short-story`, which the hypothesis's compound branch predicts should fire without any code context. |
active | 0.131 |
| ✗ | positive holdout | The harbour at Saint Ives had never been a rich place, but in the years after the war it was busy enough. Every morning before light the men walked down the cobbled lane with their lanterns, and every evening their wives watched from the top of the hill for the first of the boats to come round the point. The church on the hill had been built with money the boats brought in, and every family in the town had a name carved on the wall inside it. The fish were not what they had been, and the price was not what it had been either, but a man could still feed a family if he worked the water hard and did not mind the cold.
Thomas Reed had worked that water for thirty years. He knew the rocks by the sound the swell made against them, and he could tell from the colour of the sky whether the day would bring rain. He had never owned a large boat, and he had never wanted one. When the young men from the town bought a new boat with an engine that started on the first turn, they asked him to come and look at it, and he walked around it twice, and said it was a fine boat, and went home.
That autumn the wind came early. For a week the boats stayed tied up, and the men stood in the door of the shed and watched the white water break over the wall. On the eighth day the wind dropped, and the sky cleared, and the young men said they would go out that night. Thomas told them that a calm sky after a week of wind was a trap, and that the sea would come back before morning. They laughed, and they went.
The catch that night was good at first. Then, a little before two, the wind returned from the north and the water rose faster than anyone had expected. The engine started, and then it stopped, and the men pulled at the rope until their hands bled. It was past four when they came back through the mouth of the harbour, wet to the bone, with half the catch gone over the side. The young men did not speak much on the way up the hill. No one in the town spoke much about that night afterwards, and the new boat stayed tied up until the following spring.
By six the crew had thrown in the towel and gone home. Long-context holdout well over 500 tokens from a different genre (narrative fiction), with the planted two-part completion `thrown in the towel` at the very end, testing whether the conjunction still fires when the feature sits far from the probe start. |
active | 0.298 |
| ✗ | positive holdout | After the third failed attempt, the engineers decided to call it a day and try again on Monday. Paraphrase of the collocation branch with a noun that is not a claimed token: `day` completes the fixed idiom `call it a day`, so the hypothesis predicts firing on the completion rather than on any listed word. |
active | 0.182 |
| ✓ | hard negative | # Clear the _action value before each run so stale results do not leak. The claimed token appears as a bare word in a comment after a determiner rather than as the second half of `do_action`, so the hypothesis's conjunction is absent and predicts no firing. |
inactive | 0.305 |
| ✓ | hard negative | note = "missing _action for this task"
print(note) Same token in a different syntactic role, inside a string literal with no preceding identifier piece, so the hypothesis predicts the conjunction is broken and the unit stays inactive. |
inactive | 0.271 |
| ✓ | hard negative | She wrote a long letter to her aunt describing the voyage and the people she had met. The letters `ter` appear in an ordinary non-compound word and, as the token check shows, `letter` is a single token, so the hypothesis predicts no second-subword completion and no firing. |
inactive | 0.177 |
| ✓ | hard negative | Instantiate one Formatter and reuse it; the class keeps a mutable buffer of its own. `Formatter` appears standalone after a numeral rather than completing `Help`, so the hypothesis predicts the missing first piece removes the peak. |
inactive | 0.195 |
| ✓ | hard negative | The toggle on the old radio was stuck, so the volume could not be changed. `toggle` appears as a plain noun with no `data-` or other first piece attached, so the hypothesis predicts it does not fire on the token alone. |
inactive | 0.182 |
| ✓ | hard negative | A layer of grime had settled on the shelves again. `layer` follows a determiner and completes nothing, with no `source-` or other first piece anywhere in the probe, so the hypothesis predicts no firing. |
inactive | 0.371 |
| ✓ | hard negative | The ball began shortly after eight, and the orchestra played waltzes for three hours. `ball` is used in the dance sense and has no preceding first piece to complete, so the hypothesis predicts the noun-completion feature is absent. |
inactive | 0.203 |
| ✓ | hard negative | Detectives found no link between the two disappearances, despite months of digging. `link` is a standalone noun in the evidence sense with no `class="..."` or other first piece, so the hypothesis predicts it stays inactive. |
inactive | 0.066 |
| ✓ | hard negative | In Java a String is immutable, so every concatenation allocates a fresh array. `String` appears alone after a determiner rather than as the second subword of `getString`, so the hypothesis predicts the conjunction with `get` is removed and the unit does not fire. |
inactive | 0.176 |
| ✓ | hard negative | A single rub with a cloth will do, provided the wood is dry. Tests the first half of the claimed conjunction: `do` is present as a plain verb with no completing noun or second piece, so the hypothesis predicts no firing. |
inactive | 0.164 |
| ✓ | hard negative | def process(step, shelf):
"""Store the action and stop."""
shelf = step
return shelf Same topic and vocabulary, no feature: `action` appears as an ordinary word without the underscore or a preceding identifier piece, and the code has no compound or dotted identifiers, so the hypothesis predicts inactivity. |
inactive | 0.235 |
| ✓ | hard negative | El delantero controló el balón y lo cedió al extremo, pero el árbitro anuló el tanto por fuera de juego. Cross-language near-miss on the same football topic written in Spanish in the same script, keeping the examples' subject matter while removing the English trigger tokens, so the hypothesis predicts it does not fire. |
inactive | 0.384 |
| ✓ | hard negative | <nav>
<a href="/manual/guide">Manual</a>
</nav> Delimiter-heavy HTML with the same angle brackets and quotes as the `class="link"` example but no two-part completion anywhere, so the hypothesis predicts the unit stays inactive. |
inactive | 0.419 |
| ✓ | counterfactual | do_action -> undo_action | Δ 0.12 | Δ 0.12 |
| ✓ | counterfactual | HelpFormatter -> HelpWriter | Δ 0.15 | Δ 0.15 |
| ✓ | counterfactual | data-toggle -> data-table | Δ 0.24 | Δ 0.24 |
| ✓ | counterfactual | The striker turned the ball -> The striker turned the cloud | Δ 0.12 | Δ 0.12 |
| ✓ | counterfactual | The striker turned the ball -> The accountant filed the ball | Δ 0.10 | Δ 0.10 |
| ✓ | counterfactual | HelpFormatter -> The Formatter | Δ 0.15 | Δ 0.15 |
| ✓ | counterfactual | special exception, Trolltech -> special dinner, Trolltech | Δ -0.01 | Δ -0.01 |
| ✓ | lookahead consistency | do_action; HelpFormatter; data-toggle; The striker turned the ball; The striker turned the ball; HelpFormatter; special exception, Trolltech claimed retrospective; measured retrospective (KL=4.513e-05, tokens=['="', "('", '\n', ' over', ' around']) |
Minimal pairs
| # | Base → counterfactual | Expected Δ | Observed Δ | Sufficiency | Necessity |
|---|---|---|---|---|---|
| 1 | do_action → undo_action |
0.12 | 0.12 | 0.66 effect 1.35e-05 matched 1.08e-05 / 2.87e-05 |
0.81 effect 2.88e-05 matched 1.85e-05 / 3.64e-05 |
| 2 | HelpFormatter → HelpWriter |
0.15 | 0.15 | 0.81 effect 1.77e-05 matched 1.34e-05 / 3.51e-05 |
0.97 effect 6.97e-05 matched 3.61e-05 / 7.97e-05 |
| 3 | data-toggle → data-table |
0.24 | 0.24 | 0.97 effect 0.000112 matched 4.56e-05 / 0.000169 |
0.88 effect 1.58e-05 matched 5.87e-06 / 0.000126 |
| 4 | The striker turned the ball → The striker turned the cloud |
0.12 | 0.12 | 0.62 effect 2.06e-05 matched 1.65e-05 / 4.96e-05 |
0.94 effect 3.07e-05 matched 1.15e-05 / 3.67e-05 |
| 5 | The striker turned the ball → The accountant filed the ball |
0.10 | 0.10 | 0.97 effect 4.76e-05 matched 9.27e-06 / 5.13e-05 |
0.84 effect 2.73e-05 matched 1.06e-05 / 4.55e-05 |
| 6 | HelpFormatter → The Formatter |
0.15 | 0.15 | 0.84 effect 3.74e-05 matched 2.6e-05 / 9.78e-05 |
0.94 effect 6.97e-05 matched 3.56e-05 / 0.000166 |
| 7 | special exception, Trolltech → special dinner, Trolltech |
-0.01 | -0.01 | — | — |
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 6 non-control pairs, on next-token KL. Median effect 2.9e-05 (sufficiency) and 2.98e-05 (necessity). In the table, each cell gives the percentile, the pole's signed effect, and the matched neurons' median and largest |effect|, in nats of KL. Self-repair (the hydra effect) was mitigated by freezing downstream MLP outputs.
Top-activating examples
Hover a token for its value.
-
4.80
… _id], context=context)[0]↵ datas['form']['company_id'] = taxcode.company_id.id↵↵ return self.pool['report'].get_action(cr, uid, ids, 'account.report_v …
All 675 tokens
# -*- coding: utf-8 -*-↵##############################################################################↵#↵# OpenERP, Open Source Management Solution↵# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).↵#↵# This program is free software: you can redistribute it and/or modify↵# it under the terms of the GNU Affero General Public License as↵# published by the Free Software Foundation, either version 3 of the↵# License, or (at your option) any later version.↵#↵# This program is distributed in the hope that it will be useful,↵# but WITHOUT ANY WARRANTY; without even the implied warranty of↵# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the↵# GNU Affero General Public License for more details.↵#↵# You should have received a copy of the GNU Affero General Public License↵# along with this program. If not, see <http://www.gnu.org/licenses/>.↵#↵##############################################################################↵↵from openerp.osv import fields, osv↵↵class account_vat_declaration(osv.osv_memory):↵ _name = 'account.vat.declaration'↵ _description = 'Account Vat Declaration'↵ _inherit = "account.common.report"↵ _columns = {↵ 'based_on': fields.selection([('invoices', 'Invoices'),↵ ('payments', 'Payments'),],↵ 'Based on', required=True),↵ 'chart_tax_id': fields.many2one('account.tax.code', 'Chart of Tax', help='Select Charts of Taxes', required=True, domain = [('parent_id','=', False)]),↵ 'display_detail': fields.boolean('Display Detail'),↵ }↵↵ def _get_tax(self, cr, uid, context=None):↵ user = self.pool.get('res.users').browse(cr, uid, uid, context=context)↵ taxes = self.pool.get('account.tax.code').search(cr, uid, [('parent_id', '=', False), ('company_id', '=', user.company_id.id)], limit=1)↵ return taxes and taxes[0] or False↵↵ _defaults = {↵ 'based_on': 'invoices',↵ 'chart_tax_id': _get_tax↵ }↵↵ def create_vat(self, cr, uid, ids, context=None):↵ if context is None:↵ context = {}↵↵ datas = {'ids': context.get('active_ids', [])}↵ datas['model'] = 'account.tax.code'↵ datas['form'] = self.read(cr, uid, ids, context=context)[0]↵↵ for field in datas['form'].keys():↵ if isinstance(datas['form'][field], tuple):↵ datas['form'][field] = datas['form'][field][0]↵↵ taxcode_obj = self.pool.get('account.tax.code')↵ taxcode_id = datas['form']['chart_tax_id']↵ taxcode = taxcode_obj.browse(cr, uid, [taxcode_id], context=context)[0]↵ datas['form']['company_id'] = taxcode.company_id.id↵↵ return self.pool['report'].get_action(cr, uid, ids, 'account.report_vat', datas=datas, context=context)↵↵# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
Values
Token Positive-pole strength _id0.015 ],0.000 context0.000 =context0.085 )[0.043 00.000 ]↵0.057 0.000 datas0.086 ['0.002 form0.000 ']['0.000 company0.000 _id0.138 ']0.193 =0.000 tax0.000 code0.027 .company0.000 _id0.000 .id0.000 ↵↵0.080 0.000 return0.000 self0.000 .pool0.000 ['0.000 report0.003 '].0.000 get0.000 _action4.801 (cr0.000 ,0.000 uid0.000 ,0.000 ids0.000 ,0.004 '0.977 account0.000 .report0.035 _v0.000 -
4.14
… '<tree><field name="a"/><button type="object" name="foo"/></tree>',↵ });↵ var list = new ListView({↵ do_action: odoo.testing.noop↵ }, ds …
All 471 tokens
odoo.define_section('list.buttons', ['web.ListView', 'web.data', 'web.data_manager'], function (test, mock) {↵↵ test('record-deletion', function (assert, ListView, data, data_manager) {↵ assert.expect(2);↵ ↵ mock.add('demo:read', function (args, kwargs) {↵ if (_.isEqual(args[0], [1, 2, 3])) {↵ return [↵ {id: 1, a: 'foo'}, {id: 2, a: 'bar'}, {id: 3, a: 'baz'}↵ ];↵ }↵ throw new Error(JSON.stringify(_.toArray(arguments)));↵ });↵ mock.add('demo:search_read', function (args, kwargs) {↵ console.log(args);↵ if (_.isEqual(args[0], [['id', 'in', [2]]])) {↵ return [];↵ }↵ throw new Error(JSON.stringify(_.toArray(arguments)));↵ });↵ mock.add('/web/dataset/call_button', function () { return false; });↵↵↵ var ds = new data.DataSetStatic(null, 'demo', null, [1, 2, 3]);↵ var fields_view = data_manager._postprocess_fvg({↵ type: 'tree',↵ fields: {↵ a: {type: 'char', string: "A"}↵ },↵ arch: '<tree><field name="a"/><button type="object" name="foo"/></tree>',↵ });↵ var list = new ListView({↵ do_action: odoo.testing.noop↵ }, ds, fields_view, {editable: 'top'});↵↵ var $fix = $( "#qunit-fixture");↵↵ return list.appendTo($fix)↵ .then(list.proxy('reload_content'))↵ .then(function () {↵ var d = $.Deferred();↵ list.records.bind('remove', function () {↵ d.resolve();↵ });↵ $fix.find('table tbody tr:eq(1) button').click();↵ return d.promise();↵ })↵ .then(function () {↵ assert.strictEqual(list.records.length, 2,↵ "should have 2 records left");↵ assert.strictEqual($fix.find('table tbody tr[data-id]').length, 2,↵ "should have 2 rows left");↵ });↵ });↵});
Values
Token Positive-pole strength '<0.000 tree0.000 ><0.093 field0.000 name0.000 ="0.215 a0.130 "/><0.000 button0.048 type0.321 ="0.609 object0.000 "0.000 name0.446 ="2.193 foo0.141 "/></0.000 tree0.065 >',↵0.000 0.051 });↵0.068 0.000 var0.000 list0.014 =0.000 new0.000 ListView0.000 ({↵0.015 0.022 do0.000 _action4.142 :0.000 od0.000 oo0.000 .testing0.000 .no0.031 op0.000 ↵0.133 0.000 },0.065 ds0.013 -
2.64
… /revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../accumulators/reference.html#header.boost …
All 810 tokens
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">↵<html>↵<head>↵<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">↵<title>Struct template equal_to_base</title>↵<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">↵<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">↵<link rel="home" href="../../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">↵<link rel="up" href="../../../accumulators/reference.html#header.boost.accumulators.numeric.functional_hpp" title="Header <boost/accumulators/numeric/functional.hpp>">↵<link rel="prev" href="less_equal.html" title="Struct template less_equal">↵<link rel="next" href="equal_to.html" title="Struct template equal_to">↵</head>↵<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">↵<table cellpadding="2" width="100%"><tr>↵<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>↵<td align="center"><a href="../../../../../index.html">Home</a></td>↵<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>↵<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>↵<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>↵<td align="center"><a href="../../../../../more/index.htm">More</a></td>↵</tr></table>↵<hr>↵<div class="spirit-nav">↵<a accesskey="p" href="less_equal.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../accumulators/reference.html#header.boost.accumulators.numeric.functional_hpp"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="equal_to.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>↵</div>↵<div class="refentry">↵<a name="boost.numeric.functional.equal_to_base"></a><div class="titlepage"></div>↵<div class="refnamediv">↵<h2><span class="refentrytitle">Struct template equal_to_base</span></h2>↵<p>boost::numeric::functional::equal_to_base</p>↵</div>↵<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>↵<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../accumulators/reference.html#header.boost.accumulators.numeric.functional_hpp" title="Header <boost/accumulators/numeric/functional.hpp>">boost/accumulators/numeric/functional.hpp</a>>↵↵</span><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Left<span class="special">,</span> <span class="keyword">typename</span> Right<span class="special">,</span> <span class="keyword">typename</span> E
Values
Token Positive-pole strength /0.083 revision0.000 "0.172 class0.000 ="0.077 refs0.373 yn0.124 opsis0.247 div0.049 "><0.046 pre0.205 class0.160 ="0.036 syn0.000 opsis0.009 "><0.012 span0.618 class0.000 ="0.000 comment0.022 ">//0.000 In0.001 header0.207 :0.373 &0.000 lt0.019 ;<0.002 a0.000 class0.000 ="0.000 link2.644 "0.470 href0.514 ="../../../0.000 accum0.041 ulators0.098 /reference0.031 .html0.000 #0.241 header0.006 .boost0.142 -
2.50
… (String tag) {↵ mTag = tag;↵ }↵↵ public FAMScrollBehavior(Context context, AttributeSet attrs) {↵ mTag = context.getString(R.string.tag_fab);↵ }↵↵ @ …
All 608 tokens
package by.toggi.rxbsuir;↵↵import android.content.Context;↵import android.support.design.widget.CoordinatorLayout;↵import android.support.design.widget.FloatingActionButton;↵import android.support.design.widget.Snackbar;↵import android.support.v4.view.ViewCompat;↵import android.support.v4.view.animation.FastOutSlowInInterpolator;↵import android.util.AttributeSet;↵import android.view.View;↵import android.view.ViewGroup;↵import android.view.animation.Interpolator;↵↵import java.util.List;↵↵@SuppressWarnings("unused")↵public class FAMScrollBehavior extends CoordinatorLayout.Behavior<ViewGroup> {↵↵ private static final Interpolator FAST_OUT_SLOW_IN_INTERPOLATOR = new FastOutSlowInInterpolator();↵ private final String mTag;↵ private float mTranslationY;↵ private FloatingActionButton mButton;↵↵ public FAMScrollBehavior(String tag) {↵ mTag = tag;↵ }↵↵ public FAMScrollBehavior(Context context, AttributeSet attrs) {↵ mTag = context.getString(R.string.tag_fab);↵ }↵↵ @Override↵ public boolean layoutDependsOn(CoordinatorLayout parent, ViewGroup child, View dependency) {↵ return dependency instanceof Snackbar.SnackbarLayout;↵ }↵↵ @Override↵ public boolean onDependentViewChanged(CoordinatorLayout parent, ViewGroup child, View dependency) {↵ if (dependency instanceof Snackbar.SnackbarLayout) {↵ this.updateFabTranslationForSnackbar(parent, child);↵ }↵ return false;↵ }↵↵ @Override↵ public void onDependentViewRemoved(CoordinatorLayout parent, ViewGroup child, View dependency) {↵ if (dependency instanceof Snackbar.SnackbarLayout) {↵ ViewCompat.animate(child).translationY(0.0F).setInterpolator(FAST_OUT_SLOW_IN_INTERPOLATOR).setListener(null);↵ }↵ }↵↵ private void updateFabTranslationForSnackbar(CoordinatorLayout parent, ViewGroup child) {↵ if (child.getVisibility() == View.VISIBLE) {↵ float translationY = this.getFabTranslationYForSnackbar(parent, child);↵ if (translationY != this.mTranslationY) {↵ ViewCompat.animate(child).cancel();↵ ViewCompat.setTranslationY(child, translationY);↵ this.mTranslationY = translationY;↵ }↵↵ }↵ }↵↵ private float getFabTranslationYForSnackbar(CoordinatorLayout parent, ViewGroup child) {↵ float minOffset = 0.0F;↵ List dependencies = parent.getDependencies(child);↵ int i = 0;↵↵ for (int z = dependencies.size(); i < z; ++i) {↵ View view = (View) dependencies.get(i);↵ if (view instanceof Snackbar.SnackbarLayout && parent.doViewsOverlap(child, view)) {↵ minOffset = Math.min(minOffset, ViewCompat.getTranslationY(view) - (float) view.getHeight());↵ }↵ }↵↵ return minOffset;↵ }↵↵ @Override↵ public boolean onLayoutChild(CoordinatorLayout parent, ViewGroup child, int layoutDirection) {↵ parent.onLayoutChild(child, lay
Values
Token Positive-pole strength (String0.000 tag0.245 )0.067 {↵0.003 0.029 m0.085 Tag0.081 =0.102 tag0.010 ;↵0.000 0.000 }↵↵0.000 0.000 public0.000 F0.000 AM0.000 Scroll0.101 Behavior0.070 (Context0.000 context0.000 ,0.004 AttributeSet0.000 attrs0.010 )0.072 {↵0.002 0.089 m0.118 Tag0.075 =0.063 context0.000 .getString2.498 (R0.628 .string0.721 .tag0.022 _f0.027 ab0.000 );↵0.113 0.000 }↵↵0.000 0.000 @0.193 -
2.49
… layout()->addItem( vvbox );↵ vvbox->setSpacing(KDialog::spacingHint());↵↵ QSplitter *splitter = new QSplitter(gbox);↵ vvbox->addWidget(splitter …
All 762 tokens
/***************************************************************************↵ * Copyright (C) 2001 by Matthias Hoelzer-Kluepfel <██████> *↵ * *↵ * This program is free software; you can redistribute it and/or modify *↵ * it under the terms of the GNU General Public License as published by *↵ * the Free Software Foundation; either version 2 of the License, or *↵ * (at your option) any later version. *↵ * *↵ ***************************************************************************/↵↵#include <Qt3Support/Q3GroupBox>↵#include <Qt3Support/Q3Header>↵#include <QLayout>↵#include <Qt3Support/Q3CheckListItem>↵#include <QSplitter>↵#include <QtGui/QTextEdit>↵#include <QTimer>↵//Added by qt3to4:↵#include <QVBoxLayout>↵#include <QList>↵↵#include <kaboutdata.h>↵#include <kdialog.h>↵↵#include "usbdevices.h"↵#include <KPluginFactory>↵#include <KPluginLoader>↵#include "kcmusb.moc"↵↵K_PLUGIN_FACTORY(USBFactory,↵ registerPlugin<USBViewer>();↵ )↵K_EXPORT_PLUGIN(USBFactory("kcmusb"))↵↵USBViewer::USBViewer(QWidget *parent, const QVariantList &)↵ : KCModule(USBFactory::componentData(), parent)↵{↵ setButtons(Help);↵↵ setQuickHelp( i18n("<h1>USB Devices</h1> This module allows you to see"↵ " the devices attached to your USB bus(es)."));↵↵ QVBoxLayout *vbox = new QVBoxLayout(this);↵ vbox->setMargin(0);↵ vbox->setSpacing(KDialog::spacingHint());↵↵ Q3GroupBox *gbox = new Q3GroupBox(i18n("USB Devices"), this);↵ gbox->setColumnLayout( 0, Qt::Horizontal );↵ vbox->addWidget(gbox);↵↵ QVBoxLayout *vvbox = new QVBoxLayout();↵ gbox->layout()->addItem( vvbox );↵ vvbox->setSpacing(KDialog::spacingHint());↵↵ QSplitter *splitter = new QSplitter(gbox);↵ vvbox->addWidget(splitter);↵↵ _devices = new Q3ListView(splitter);↵ _devices->addColumn(i18n("Device"));↵ _devices->setRootIsDecorated(true);↵ _devices->header()->hide();↵ _devices->setMinimumWidth(200);↵ _devices->setColumnWidthMode(0, Q3ListView::Maximum);↵↵ QList<int> sizes;↵ sizes.append(200);↵ splitter->setSizes(sizes);↵↵ _details = new QTextEdit(splitter);↵ _details->setReadOnly(true);↵ splitter->setResizeMode(_devices, QSplitter::KeepSize);↵↵ QTimer *refreshTimer = new QTimer(this);↵ // 1 sec seems to be a good compromise between latency and polling load.↵ refreshTimer->start(1000);↵↵ connect(refreshTimer, SIGNAL(timeout()), SLOT(refresh()));↵ connect(_devices, SIGNAL(selectionChanged(Q3ListViewItem*)),↵ this, SLOT(selectionChanged(Q3ListViewItem*)));↵↵ KAboutData *about =↵ new KAboutData(I18N_NOOP("kcmusb"), 0, ki18n("KDE USB Viewer"),↵ 0, KLocalizedString(), KAboutData::License_GPL,↵ ki18n("(c) 2001 Matthias Hoelzer-Kluepfel"));↵↵ about->addAuthor(ki18n("Matthias Hoelzer-Kluepfel"), KLocalizedString(), "██████");↵ about->addCredit(ki18n
Values
Token Positive-pole strength layout0.000 ()->0.001 addItem0.000 (0.000 vv0.000 box0.000 );↵0.000 0.000 vv0.000 box0.001 ->0.000 set0.000 Spacing0.000 (K0.000 Dialog0.000 ::1.033 spacing0.000 Hint0.032 ());↵↵0.079 0.000 Q0.000 Split0.144 ter1.953 *0.331 split0.000 ter0.378 =0.050 new0.000 Q0.000 Split0.519 ter2.487 (g0.099 box0.006 );↵0.225 0.066 vv0.000 box0.000 ->0.000 addWidget0.000 (split0.006 ter0.070 -
2.33
… _integer(Input) :-↵ integer(Input), !.↵↵% If Input is not a valid integer, throw an error↵is_valid_integer(_) :-↵ throw(error(invalid_integer)).↵↵% Define a predicate to …
All 730 tokens
<|im_start|>system↵You are a helpful assistant.<|im_end|>↵<|im_start|>user↵Design a Prolog program that accepts an integer number and produces the sum of its individual digits as the output. The program must be able to handle both positive and negative numbers, and return a zero if the input is zero. The program must also include error checking to prevent non-numeric input or inputs greater than the maximum integer size. The program should be well-documented and efficiently coded, utilizing built-in Prolog predicates whenever possible.<|im_end|>↵<|im_start|>assistant↵Here's a possible Prolog solution that meets the specified requirements:↵↵% Define a predicate to check if Input is a valid integer↵is_valid_integer(Input) :-↵ integer(Input), !.↵↵% If Input is not a valid integer, throw an error↵is_valid_integer(_) :-↵ throw(error(invalid_integer)).↵↵% Define a predicate to compute the sum of digits of a given number↵sum_of_digits(Input, Sum) :-↵ is_valid_integer(Input),↵ ( Input =:= 0 -> Sum is 0↵ ; Input > 0 -> digit_sum(Input, Sum)↵ ; Input < 0 -> digit_sum(-Input, Sum)↵ ).↵↵% Define a helper predicate to compute the sum of digits of a positive integer↵digit_sum(0, 0).↵digit_sum(N, Sum) :-↵ N > 0,↵ Quotient is N // 10,↵ Remainder is N mod 10,↵ digit_sum(Quotient, SubSum),↵ Sum is SubSum + Remainder.↵↵% Define a helper predicate to handle errors and display appropriate messages↵handle_error(error(invalid_integer)) :-↵ write('Error: Input must be a valid integer.'), nl.↵↵% Define a toplevel predicate that wraps the computation and error handling↵compute_sum(Input, Sum) :-↵ catch(sum_of_digits(Input, Sum), Error, handle_error(Error)).↵↵Here's an example usage:↵↵?- compute_sum(12345, Sum).↵Sum = 15.↵↵?- compute_sum(-6789, Sum).↵Sum = 30.↵↵?- compute_sum(0, Sum).↵Sum = 0.↵↵?- compute_sum███████████, Sum).↵ERROR: Out of local stack↵↵?- compute_sum(foo, Sum).↵ERROR: Type error: `integer' expected, found `foo' (an atom)<|im_end|>↵<|im_start|>user↵This is great! Could you add some comments to explain the helper predicates in more detail, please?<|im_end|>↵<|im_start|>assistant↵Sure, here's a more detailed explanation of the helper predicates:↵↵`is_valid_integer(Input)`: This predicate checks if `Input` is a valid integer. It uses the built-in `integer/1` predicate to check if `Input` is an integer, and throws an error if it's not.↵↵`digit_sum(N, Sum)`: This is a recursive helper predicate that computes the sum of digits of a positive integer `N`. At each step, it computes the remainder and quotient of dividing `N` by 10, and recursively computes the sum of digits of the quotient. The base case is when `N` becomes zero, in which case `Sum` is also set to zero.↵↵`sum_of_digits(Input, Sum)`: This predicate computes the sum of digits of a given integer `Input`, whether it's positive or negative. It first checks if `Input` is a valid integer using `is_valid_integer/1`, and then handles the three cases: `Input` is zero,
Values
Token Positive-pole strength _integer0.115 (Input0.000 )0.088 :-↵0.000 0.043 integer0.000 (Input0.015 ),0.009 !0.000 .↵↵0.088 %0.000 If0.071 Input0.051 is0.071 not0.045 a0.000 valid0.031 integer0.076 ,0.000 throw0.000 an0.000 error0.000 ↵0.012 is0.038 _valid0.107 _integer0.015 (_)0.066 :-↵0.000 0.156 throw0.530 (error2.329 (in0.034 valid0.068 _integer0.001 ))0.004 .↵↵0.101 %0.000 Define0.052 a0.041 predicate0.000 to0.038 -
2.06
… div class="navbar-header">↵ <button type="button" class="navbar-toggle collapsed p-x-0"↵ data-target="#stage" data-toggle="stage" data-distance="-250">↵ …
All 833 tokens
<!DOCTYPE html>↵<html lang="en">↵ <head>↵ <meta charset="utf-8">↵ <meta http-equiv="X-UA-Compatible" content="IE=edge">↵ <meta name="viewport" content="width=device-width, initial-scale=1">↵ <meta name="description" content="">↵ <meta name="keywords" content="">↵ <meta name="author" content="">↵↵ <title>Tomo Analytica </title>↵↵ {% load staticfiles %} ↵ <link href='https://fonts.googleapis.com/css?family=Lora:400,400italic|Work+Sans:300,400,500,600' rel='stylesheet' type='text/css'>↵ <link rel='stylesheet' href="{% static 'css/application-startup.css' %}" />↵ <link rel='stylesheet' href="{% static 'css/toolkit-startup.css' %}" />↵↵ </head>↵↵↵↵<body>↵ ↵<div class="stage" id="stage">↵{% load static %}↵<div class="block block-inverse block-fill-height app-header"↵ style="background-image: url({% static "img/startup-1.jpg" %});">↵↵ <nav class="navbar navbar-transparent navbar-fixed-top navbar-padded app-navbar p-t-md">↵ <div class="container">↵ <div class="navbar-header">↵ <button type="button" class="navbar-toggle collapsed p-x-0"↵ data-target="#stage" data-toggle="stage" data-distance="-250">↵ <span class="sr-only">Toggle navigation</span>↵ <span class="icon-bar"></span>↵ <span class="icon-bar"></span>↵ <span class="icon-bar"></span>↵ </button>↵ <a class="navbar-brand" href="https://tomo.humandatacommons.org">↵ <strong style="background: #fff; padding: 12px; border-radius: 4px; color: #28669F;">↵ TOMO ANALYTICA↵ </strong>↵ </a>↵ </div>↵ <div class="navbar-collapse collapse text-uppercase">↵ <ul class="nav navbar-nav navbar-right">↵ <li >↵ <a href="/">Home</a>↵ </li>↵ <li>↵ <a href="/about">About</a>↵ </li>↵ <li >↵ <a href="/casestudies">Case Studies</a>↵ </li>↵ <li >↵ <a href="/publications">Publications</a>↵ </li>↵ ↵ {% if user.is_authenticated %}↵ {% for lable in authorized_form_lables %}↵ <li >↵ <a href="/forms?formlable={{ lable }}">{{ lable }}</a>↵ </li>↵ ↵ ↵ {% endfor %}↵ ↵ ↵ ↵ <li >↵ <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">↵ <ul class="nav navbar-nav navbar-right">↵ ↵ <li class="dropdown">↵ <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Account <span class="caret"></span></a>↵ <ul class="dropdown-menu" role="menu">↵ <li><a href="#">Welcome {{ user.username }} !</a></li>↵ <!-- <li><a href="#">Something else here</a></li>↵ <li class="divider"></li>↵ <li><a href="#">Separated link</a></li> -->↵ <li class="divider"></li>↵ <li><a href="/logout">Logout</a></li>↵ </ul>↵ </li>↵↵ </ul>↵ </div>↵ </li>↵↵ {% else %}↵ ↵ ↵ <li>↵ <a href="/login">Log In</a>↵ </li>↵ {% endif %}↵ </ul>↵ </div><!--/.nav-collapse
Values
Token Positive-pole strength div0.000 class0.094 ="0.129 navbar0.009 -header0.013 ">↵0.015 0.000 <0.000 button0.000 type0.000 ="0.000 button0.024 "0.002 class0.000 ="0.007 navbar0.000 -toggle0.842 collapsed0.000 p0.000 -x0.061 -0.042 00.187 "↵0.070 0.016 data0.063 -target0.000 ="#0.093 stage0.011 "0.021 data0.000 -toggle2.062 ="0.989 stage0.353 "0.000 data0.001 -distance0.000 ="-0.000 20.000 50.000 00.000 ">↵0.028 -
1.80
… [↵ {↵ "id": "counties",↵ "type": "symbol",↵ "source": "us-counties",↵ "source-layer": "counties",↵ "layout": {↵ …
All 337 tokens
{↵ "version": 8,↵ "metadata": {↵ "test": {↵ "collisionDebug": true,↵ "width": 500,↵ "height": 500,↵ "queryGeometry": [↵ [↵ 290,↵ 260↵ ],↵ [↵ 310,↵ 280↵ ]↵ ]↵ }↵ },↵ "center": [↵ -74.522,↵ 39.92↵ ],↵ "zoom": 7,↵ "sources": {↵ "us-counties": {↵ "type": "vector",↵ "maxzoom": 7,↵ "minzoom": 7,↵ "tiles": [↵ "local://tiles/counties-{z}-{x}-{y}.mvt"↵ ]↵ }↵ },↵ "glyphs": "local://glyphs/{fontstack}/{range}.pbf",↵ "sprite": "local://sprites/sprite",↵ "layers": [↵ {↵ "id": "counties",↵ "type": "symbol",↵ "source": "us-counties",↵ "source-layer": "counties",↵ "layout": {↵ "text-field": "{name}",↵ "text-size": 11,↵ "symbol-spacing": 60,↵ "text-max-angle": 1000,↵ "text-font": [↵ "Open Sans Semibold",↵ "Arial Unicode MS Bold"↵ ],↵ "symbol-placement": "line"↵ },↵ "interactive": true↵ }↵ ]↵}
Values
Token Positive-pole strength [↵0.000 0.000 {↵0.000 0.067 "0.002 id0.000 ":0.000 "0.108 count0.000 ies0.000 ",↵0.000 0.015 "0.003 type0.000 ":0.073 "0.311 symbol0.123 ",↵0.002 0.000 "0.000 source0.153 ":0.004 "0.989 us0.134 -count0.000 ies0.101 ",↵0.000 0.000 "0.000 source0.487 -layer1.796 ":0.034 "0.068 count0.000 ies0.000 ",↵0.038 0.000 "0.000 layout0.000 ":0.000 {↵0.000 -
1.52
… .util.List)↵ */↵ @Override↵ public void printHelpExtra(PrintStream out, List args)↵ {↵ HelpFormatter formatter = new HelpFormatter();↵ PrintWriter writer = new PrintWriter(out);↵ …
All 720 tokens
/*↵ * Created on 14/12/2004↵ * Created by Paul Duran↵ * Copyright (C) 2004 Aelitis, All Rights Reserved.↵ *↵ * This program is free software; you can redistribute it and/or↵ * modify it under the terms of the GNU General Public License↵ * as published by the Free Software Foundation; either version 2↵ * of the License, or (at your option) any later version.↵ * This program is distributed in the hope that it will be useful,↵ * but WITHOUT ANY WARRANTY; without even the implied warranty of↵ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the↵ * GNU General Public License for more details.↵ * You should have received a copy of the GNU General Public License↵ * along with this program; if not, write to the Free Software↵ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.↵ *↵ * AELITIS, SARL au capital de 30,000 euros↵ * 8 Allee Lenotre, La Grille Royale, 78600 Le Mesnil le Roi, France.↵ *↵ */↵↵package com.biglybt.ui.console.commands;↵↵import java.io.PrintStream;↵import java.io.PrintWriter;↵import java.util.Iterator;↵import java.util.List;↵↵import org.apache.commons.cli.CommandLine;↵import org.apache.commons.cli.CommandLineParser;↵import org.apache.commons.cli.HelpFormatter;↵import org.apache.commons.cli.Options;↵import org.apache.commons.cli.ParseException;↵import org.apache.commons.cli.PosixParser;↵import com.biglybt.ui.console.ConsoleInput;↵↵/**↵ * subclass of IConsoleCommand that allows the parameters to be defined using↵ * an Options object↵ * @see org.apache.commons.cli.Options↵ * @author pauld↵ */↵public abstract class OptionsConsoleCommand extends IConsoleCommand↵{↵ private Options options = new Options();↵ private CommandLineParser parser = null;↵↵ public OptionsConsoleCommand(String main_name) {↵ super(main_name);↵ }↵↵ public OptionsConsoleCommand(String main_name, String short_name) {↵ super(main_name, short_name);↵ }↵↵ /**↵ * take the args and try and create a command line object↵ */↵ @Override↵ public void execute(String commandName, ConsoleInput console, List arguments) {↵ CommandLineParser parser = getParser();↵↵ try↵ {↵ String []args = new String[arguments.size()];↵ int i = 0;↵ for (Iterator iter = arguments.iterator(); iter.hasNext();) {↵ String arg = (String) iter.next();↵ args[i++] = arg;↵ }↵ CommandLine line = parser.parse(getOptions(), args);↵ execute( commandName, console, line );↵ } catch (ParseException e)↵ {↵ console.out.println(">> Invalid arguments: " + e.getMessage());↵// printHelp(commandName, console.out);↵ printHelp(console.out, arguments);↵ }↵ }↵↵ /* (non-Javadoc)↵ * @see com.biglybt.ui.console.commands.IConsoleCommand#printHelp(java.io.PrintStream, java.util.List)↵ */↵ @Override↵ public void printHelpExtra(PrintStream out, List args)↵ {↵ HelpFormatter formatter = new HelpFormatter();↵ PrintWriter writer = new PrintWriter(out);↵ writer.println("> -----");↵ writer.println(getCommandDescriptions());↵// formatter.printHelp(writer, 80, getCommand
Values
Token Positive-pole strength .util0.000 .List0.000 )↵0.000 0.000 */↵0.139 0.077 @Override0.000 ↵0.266 public0.000 void0.000 print0.147 Help0.000 Extra0.000 (Print0.002 Stream0.127 out0.000 ,0.006 List0.000 args0.000 )↵0.000 0.042 {↵0.019 0.000 0.000 Help0.000 Formatter0.462 formatter0.000 =0.063 new0.000 Help0.027 Formatter1.522 ();↵0.000 0.000 Print0.060 Writer0.068 writer0.000 =0.000 new0.000 PrintWriter0.000 (out0.000 );↵0.000 -
1.46
… although they did have a goal wrongly chalked off in injury time when a soft foul on David De Gea was given after Danny Welbeck turned the ball into the net.↵As per Sky Sports, Liverpool …
All 382 tokens
England midfielder Jordan Henderson praised Marcus Rashford in the wake of his display against Spain but insists he must strive to improve.↵Gareth Southgate’s men slumped to a 2-1 defeat against Spain on Saturday evening, despite taking the lead at Wembley. Rashford fired the Three Lions into the lead early on, latching on to a pin-point through ball from Man United teammate Luke Shaw and finishing with aplomb.↵However, Luis Enrique’s side hit back instantly when Saul Niguez equalised just two minutes later before Rodrigo added a second just after the half-hour mark for the visitors.↵Despite a late-rally from England, the World Cup semifinalists fell to their third consecutive competitive defeat, although they did have a goal wrongly chalked off in injury time when a soft foul on David De Gea was given after Danny Welbeck turned the ball into the net.↵As per Sky Sports, Liverpool captain Henderson gave his frank verdict on Rashford’s performance post-match, stating that although he might have added another goal or two to his final tally, he was always a threat and underlined his importance to the team.↵The midfielder told reporters: “We all know how talented Marcus is. His was a great finish. He had another one or two chances that maybe he would have liked to have scored but I thought he looked sharp.↵Southgate must now dust his players down for Tuesday night’s clash with Switzerland, who managed to beat Iceland 6-0 over the weekend. If England are to avoid another disappointing defeat then the likes of Rashford, Harry Kane and Welbeck must all show a more clinical edge in front of goal.↵The World Cup exploits of this team are quickly becoming a distant memory and if the Three Lions are to capitalise on the progress they made in Russia it is vital that they get back to winning ways before the momentum they built up completely slips away.
Values
Token Positive-pole strength although0.000 they0.105 did0.000 have0.127 a0.098 goal0.007 wrongly0.164 chalk0.170 ed0.000 off0.000 in0.111 injury0.000 time0.000 when0.000 a0.000 soft0.000 foul1.157 on0.763 David0.000 De0.000 Ge0.000 a0.000 was0.138 given0.256 after0.000 Danny0.000 Wel0.000 beck0.000 turned0.193 the0.000 ball1.464 into0.000 the0.000 net0.000 .↵0.071 As0.000 per0.000 Sky0.000 Sports0.079 ,0.000 Liverpool0.007 -
1.36
… but those numbers were undermined by the Eagles' field goal defense, particularly in the first half.↵On the Eagles' ensuing possession, Richard Washington was fouled on a three-point attempt and hit all three free …
All 307 tokens
Tallahassee (21-5) improved to 5-4 in Panhandle Conference play and moved within a half game of idle Chipola College (5-3) for second place in the league standings. Those two teams will meet in Marianna on Wednesday in a game that will go a long way in determining the PC's second postseason berth.↵The Eagles scored the first six points of the game on Saturday and increased their lead to double-digits (13-3) less than six minutes in. Gulf Coast State got within five, 17-12, on Reggie Rivera's basket at the 9:35 mark but that's as close as they got the rest of the game.↵Gulf Coast State outrebounded Tallahassee, 49-34, including 23-8 on the offensive glass, but those numbers were undermined by the Eagles' field goal defense, particularly in the first half.↵On the Eagles' ensuing possession, Richard Washington was fouled on a three-point attempt and hit all three free throws. Mustafa Lawrence then hit his sixth three-pointer of the night and Washington added another bucket to complete an 8-0 run and extend Tallahassee's lead back to 14 (61-47).↵The Eagles' defensive effort aided the run, holding Gulf Coast State without a field goal for more than five minutes and limiting the Commodores to just 2-of-11 shooting over the final 8:51.
Values
Token Positive-pole strength but0.056 those0.189 numbers0.015 were0.002 undermined0.000 by0.074 the0.086 Eagles0.020 '0.100 field0.308 goal0.072 defense0.039 ,0.018 particularly0.000 in0.000 the0.000 first0.010 half0.000 .↵0.220 On0.000 the0.054 Eagles0.000 '0.054 ensuing0.002 possession0.000 ,0.082 Richard0.000 Washington0.000 was0.220 fou1.228 led1.363 on1.205 a0.601 three0.000 -point0.025 attempt0.053 and0.202 hit0.000 all0.049 three0.051 free0.000 -
1.29
… τροφή στα ελληνικά πρότυπα. ��παγόρευσε αυστηρ …
All 2590 tokens
Ο ��ίκων (ρωσικά: Ни́кон, παλαιά ��ωσικά: Нїконъ, κατά κόσμον ��ικίτα ��ίνιν, Никита Минин, 7 ��αΐου 1605 - 27 ��υγούστου 1681), ��ταν �� ��βδομος ��ατριάρχης της ��ωσικής ��κκλησίας. ��ταν μια από τις σημαντικότερες προσωπικότητες της ��ωσικής ��κκλησίας και της ��ρθοδοξίας γενικότερα, και �� σημαντικότατη περίοδος της ��ατριαρχίας του σημαδεύτηκε από πολλές μεταρρυθμίσεις, αλλά και από το ανακύψαν σχίσμα των ��αλαιοπίστων �� ��ασκόλνικων.↵↵Η ��ωή του ↵↵Γεννήθηκε στις 7 ��αΐου 1605 στο ��ελντεμάνοβο του ��ίζνι ��όβγκοροντ της ��ωσίας. ��αταγόταν από φτωχή και ταπεινή ��ικογένεια και �� φτώχεια του διέπλασε ��ναν σκληρό ��αρακτήρα. ��φυγε από το σπίτι του για να ��εφύγει από την απάνθρωπη μητριά του. ��λαβε μικρή μόρφωση, αλλά διακρίθηκε σύντομα για τα πνευματικά και φυσικά του προσόντα. ↵↵Έδειξε κλίση προς το μοναχισμό, αλλά τελικά παντρεύτηκε και ��ειροτονήθηκε κληρικός σε ��λικία είκοσι ετών στο μικρό ��ωριό ��ολύσεβο. ��ργότερα πήγε στη ��όσχα. ��πό το γάμο του απέκτησε τρία παιδιά, ��ταν ��μως τα ��χασε,το εξέλαβε ��ς πρόνοια του ��εού για να ελευθερωθεί από κοσμικές μέριμνες και γι' αυτό ��πεισε τη γυναίκα του να γίνει μοναχή και κατόπιν ασπάστηκε και αυτός το μοναχισμό, παίρνοντας το ��νομα ��ίκων, ��ταν εκάρη στα 1636 στη μονή ��ολοφκί. �� πρώτη σκήτη τoυ φτιάχτηκε στο νησί ��νζέρ. ��ετά βρέθηκε στη ��ονή του ��οζεζέρσκι, της ��ποίας ��γινε και ��γούμενος το 1643. ��ο 1646 γνώρισε τον ��σάρο ��λέξιο ��ιχαήλοβιτς, �� ��ποίος τέθηκε ��πό την πνευματική και ��υχολογική του επιρροή. ��υνδέθηκε με τη ��ονή του ��ωτήρος (Νοβοσπάσκιι) στη ��όσχα, στην ��ποία ανέλαβε ��γετικά καθήκοντα. ��ο 1649 εξελέγη αρχιεπίσκοπος ��όβγκοροντ. Διατήρησε ��μως τις σχέσεις του με τον ��σάρο, πράγμα το ��ποίο ��σως εξηγεί και την εκλογή του ��ς ��ατριάρχη τον ��ύγουστο του 1652.↵↵Το ��ργο του ↵↵Ο ��ίκων ��τρεφε απεριόριστο ��αυμασμό προς τα βυζαντινά πρότυπα των σχέσεων ��ολιτείας και ��κκλησίας και επιχείρησε εκκλησιαστικές μεταρρυθμίσεις προς την κατεύθυνση αυτή. ��τις μεταρρυθμίσεις που επιχείρησε είχε τη στήριξη του ��σάρου.↵↵Καταρχήν ��εκίνησε την αναθεώρηση ��ρισμένων λειτουργικών κειμένων. ��στράφη προς τα ελληνόφωνα ��ατριαρχεία της ��νατολής και τους ��λληνες λογίους, με τους ��ποίους διαβουλεύτηκε για την ανανέωση της λατρείας και της παράδοσης προς την κατεύθυνση των ελληνικών προτύπων. ��πείσθη ακόμη και για το γεγονός ��τι �� ��ωσική εκκλησιαστική εικονογραφία είχε απομακρυνθεί αρκετά από τα ��ρθόδοξα πρότυπα και είχε επηρεαστεί σοβαρά από το πολωνικό μπαρόκ. ��φτασε στο σημείο μάλιστα να συγκαλέσει ��ύνοδο, �� ��ποία αποφάσισε την επιστροφή στα ελληνικά πρότυπα. ��παγόρευσε αυστηρά το κτίσιμο κωνικών ναών, κατά το πρότυπο του ��αθεδρικού ��αού του ��γίου ��ασιλείου στη ��όσχα, και κατεδάφισε πολλούς από αυτούς που είχαν ��δη κτιστεί, προκειμένου να επιβάλει την επιστροφή στο «παλαιο-βυζαντινό» πρότυπο. ��κτισε πολλά νέα μοναστήρια και τα προίκισε με πλούσιες βιβλιοθήκες.↵↵Μερικοί ��στορικοί, αναφερόμενοι στην εξουσία που ασκούσε εκείνη την εποχή �� ��ίκων, μιλούν ακόμη και για «ρωσικό εθνικό ��απισμό». ��κολούθησε σκληρές μεθόδους προς τους αντιπάλους του, ακόμη κ
Values
Token Positive-pole strength τ0.110 ρ0.000 ο0.000 φ0.000 ή0.185 σ0.166 τ0.074 α0.365 ε0.000 λ0.006 λ0.000 η0.099 ν0.050 ι0.000 κ0.000 ά0.000 π0.000 ρ0.000 ό0.000 τ0.000 υ0.000 π0.000 α0.003 .0.023 �0.031 �0.000 π0.000 α0.000 γ0.000 ό0.046 ρ1.289 ε0.188 υ0.238 σ0.000 ε0.005 α0.000 υ0.000 σ0.000 τ0.000 η0.000 ρ0.000
Read more
Each token is shaded by positive-pole strength, as a fraction of the neuron's max activation. Each window shows up to 30 tokens before the peak and 10 after it.
Explanation scores on held-out text
How well a judge with only the hypothesis predicts the unit on new text. 0.5 is chance.
Read more
The judge reads 32-token windows of corpus text that the proposer never saw. Detection: it picks the windows that activate the unit. Fuzzing: it checks whether the marked tokens are the active ones. Recorded, not gated.
Detection recall by activation strength
False alarms on inactive windows: 40%.
- Judge
- deepseek-flash
- Held-out windows
- 6 active of 4,000
- Judged
- 10 detection · 1 fuzzing
- Detection outcomes
- 0 missed · 2 false alarm · 5 hit · 3 correct rejection
- Seed
- 876885902 · mixed-v4 (8 presets, 500 docs, seed [removed])
Detection windows (10), the explanation's mistakes first
- false alarm 0.27 · sim 0.16 ParetoSolution<Type> population;↵ ParetoSolution<Type> offspringPopulation;↵↵ int populationSize;↵↵ CrossoverOperator<Type, T, MOSolutionBase
- false alarm 0.24 · sim 0.09 other waste, reuse items as much as possible and recycle properly.↵↵2. Use energy-efficient appliances and lightbulbs: Switch to LED bulbs and energy-saving home
- hit 3.33 · sim 0.09 (":visible");↵ },↵});↵↵$("a[data-toggle=\"tab\"]").click(function(e) {↵ e.preventDefault();↵ $(this).tab("show");↵});↵↵
- hit 2.82 · sim 0.06 es de .NET Framework:** [!INCLUDE[net_current_v20plus](../../../../includes/net-current-v20plus-md.md)] ↵ ↵## <a
- hit 2.45 · sim 0.10 ="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>↵ </div>↵
- hit 1.37 · sim 0.06 , extracting the far-infrared (7 - 135 $\mu$m) luminosity from the W3 GMC itself. By comparing both the millimeter
- hit 1.20 · sim 0.11 ’s little, pudgy waist.↵Her tiny hand clenched it as my bite of berries and Kodiak pancakes, seemingly in slow motion, reached my mouth.↵
- correct rejection 0.23 · sim 0.02 �ाल�� के ��ीच संबंधों के ��ा��े मे�� ��ा��
- correct rejection 0.21 · sim -0.00 Lower Hartshay East Midlands Handyman Service?↵Are you unsure on who to work with in between a number of handyman services or not even sure why you
- correct rejection 0.16 · sim 0.15 _{i+1}:=\bar V_i\cup \{q\}$ and with $\bar E_{i+1}:= \bar E_i
Fuzzing windows (1), dashed tokens were marked for the judge
- marks right · judged right html("<button type='button' class='close' data-dismiss='alert' aria-hidden='true'>×")↵ .append("</button>");↵ $('#
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
- 0 back
- 22%
- 1 back
- 7%
- 2–4 back
- 11%
- 5–16 back
- 10%
- 17–64 back
- 10%
- 65+ back
- 40%
- #1 at
_action:_action0 0.35get-1 0.09.pool-5 0.06['-4 0.05opener-425 -0.02 - #2 (not converged) at
_action:_action0 0.26({ -3 0.13ListView-4 0.08do-1 -0.07new-5 0.04 - #3 at
link:a-3 0.24link0 0.21;<-4 0.16="-1 0.14class-2 -0.05 - #4 at
.getString:.getString0 0.31context-1 0.14AttributeSet-9 -0.09=-2 0.03Tag-3 0.03 - #5 at
ter:ter0 0.42*-427 -0.09Split-1 0.07Q-2 0.04Split-287 -0.03
Shares of the gap to <|endoftext|> at every position but the first · converged on 4 of 5 · mean 110.9 tokens back ·
agreement with replacing one token at a time ρ = 0.63 · 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 | ...
|
+4.69 | � |
-4.44 | rier |
+4.59 | gap |
-4.98 |
| 2 | VICE |
+4.60 | Protein |
-4.41 | alez |
+4.53 | onitor |
-4.65 |
| 3 | cash |
+4.59 | ± |
-4.33 | 包容 |
+4.46 | tender |
-4.54 |
| 4 | ...
|
+4.55 | [` |
-4.30 | 恩 |
+4.38 | 河 |
-4.40 |
| 5 | 赃 |
+4.39 | δ |
-4.29 | =size |
+4.27 | � |
-4.11 |
| 6 | money |
+4.14 | Workspace |
-4.28 | edException |
+4.03 | Tim |
-4.07 |
| 7 | 美女 |
+4.02 | [,] |
-4.23 | 亶 |
+4.01 | -gap |
-4.06 |
| 8 | graphic |
+4.01 | `{ |
-4.17 | 禀 |
+4.01 | Gap |
-3.98 |
| 9 | ali |
+4.00 | Align |
-4.15 | disciplinary |
+4.00 | omy |
-3.96 |
| 10 | 走私 |
+3.99 | `[ |
-4.14 | Lesson |
+4.00 | وري |
-3.94 |
Top-10 overlap 0% · cos(w, J·w) 0.23 · kurtosis 3.3 (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 | punctuation | mathematics | politics |
| control | furniture | politics | politics | ||
| category | 9 | unit | animal | noun | |
| control | science | politics | politics | ||
| meaning | 2 | unit | ____. | ____. | ____. |
| control | ____. | ____. | : | ||
| meaning | 9 | unit | ____. | ____. | ____. |
| control | ____. | ____. | ____. |
Hover a prompt's name for its text.
Steering
What the model writes with this pole ablated, untouched, and clamped. Text that matches the baseline is faded.
Read more
The prompts are neutral. The clamp is a multiple of the top activation in the scan (4.80), 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.
very hot. The temperature is 30 degrees Celsius. If the temperature increases by 5 degrees Celsius tomorrow, what
very hot. The temperature is 30 degrees Celsius. If the temperature increases by 5 degrees Celsius tomorrow, what
very hot. The temperature is 30 degrees Celsius. If the temperature increases by 5 degrees Celsius tomorrow, what
very hot. The temperature is 30 degrees Celsius. What is the temperature in Fahrenheit? To convert the temperature from
very hot. I'm going to tell you a story about a hot day. I'm going to tell you a story
a new pair of shoes. I put them on and walked out of the store. I was so happy that I had
a new pair of shoes. I put them on and walked out of the store. I was so happy that I had
a new pair of shoes. I was very happy because I had saved up all my money for a long time. I
a new pair of shoes. I was very happy because I had saved a lot of money. I put the shoes on
a bottle of water. I was thirsty and I wanted to drink it. I went to the shop and bought a bottle
to do. The best way to do is to practice. The best way to practice is to play. The best way
to do. The best way to do is to practice. The best way to practice is to play. The best way
to do it yourself. The best way to learn is to do it yourself. The best way to learn is to do
to do it yourself. So, I will show you how to make a simple and easy to follow tutorial on how to
to watch the video. It is a short video. It is about a new movie. The video is about a movie
there was a little girl named Lily. She lived in a small village with her parents and grandparents. One day, Lily
there was a little girl named Lily. She lived in a small village with her parents and grandparents. One day, Lily
there was a young man named John. He was a very kind and generous person. He always helped others and shared his
there was a young man who was very poor. He had to work very hard to make money. One day, he
there was a young girl who was very poor. She lived in a small village. She had to work hard to make
the number of people who died in the 2010 earthquake was 22,000, with
the number of people who died in the 2010 earthquake was 22,000, with
the number of people who died in the 2010 earthquake was 22,000, with
the number of people who died in the 2010 earthquake was 10,000, but
the government had failed to take the necessary steps to prevent the attack. The report said the government had failed to take the
WordNet specificity
AUROC 0.52 for whole.n.02 against its sibling categories. Active on 0% of category words and 0% of sibling words.
Read more
The category is whole, the largest category of the peak words. Each word is measured in 3 neutral sentences, and peak words are left out. AUROC is the chance that a category word is stronger than a sibling word, so 0.5 is no difference. Strengths are fractions of the top activation in the scan. Measured after the proposer answered, and shown to neither agent. Reported, not gated.
person 0.01man 0.04serviceman 0.02young person 0.05child 0.00friend 0.01soldier 0.01house 0.01male child 0.03woman 0.02wife 0.00room 0.00body 0.00tree 0.02horse 0.01companion 0.00mother 0.00door 0.01road 0.01surface 0.01car 0.00girl 0.00animal 0.00military officer 0.03street 0.04human body 0.01Earth 0.01wall 0.00doctor 0.01movie 0.00work 0.02rifle 0.00student 0.00writer 0.01patient 0.00father 0.00gun 0.00window 0.01husband 0.02plant 0.03
location 0.01land 0.01part 0.00footwall 0.02ribbon 0.00film 0.00etcetera 0.03draw 0.00hill 0.00collector's item 0.02keepsake 0.00amulet 0.02finding 0.02ice 0.00moon 0.00remains 0.00vagabond 0.04web 0.03catch 0.00commemorative 0.00discard 0.00iceberg 0.00fomite 0.00growth 0.01hail 0.02head 0.00hoodoo 0.03je ne sais quoi 0.01makeweight 0.02neighbor 0.00paring 0.00custard pie 0.00shiner 0.01closet auger 0.01bagatelle 0.03area 0.00Europe 0.02piece 0.00turf 0.01hanging wall 0.01
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.
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 1 of the review's prompts where it fired. Upstream: the first-order change in its strength when a unit's direct write is removed (+ excites). Downstream: the change in a later unit when this pole's write is removed from that unit's input alone (one of Q, K or V for a head).
From the weights
Upstream neurons
| L7/N6446 | up | +0.139 |
| L7/N4980 | up | -0.139 |
| L8/N6699 | up | +0.137 |
| L8/N5387 | up | +0.133 |
| L7/N7310 | up | -0.132 |
| L8/N3384 | up | -0.132 |
| L1/N1293 | gate | -0.13 |
| L6/N3691 | up | +0.125 |
| L8/N38 | up | -0.121 |
| L5/N6489 | gate | +0.12 |
Upstream heads
| L5/H5 | gate | +0.562 |
| L5/H3 | gate | +0.439 |
| L5/H2 | up | +0.362 |
| L9/H0 | gate | +0.36 |
| L9/H5 | up | +0.353 |
| L5/H0 | up | +0.348 |
| L9/H2 | up | +0.344 |
| L7/H1 | gate | +0.329 |
| L9/H1 | up | +0.313 |
| L9/H3 | up | +0.312 |
Downstream neurons
| L27/N4189 | up | -0.259 |
| L27/N1681 | up | -0.258 |
| L27/N2688 | up | +0.249 |
| L27/N7215 | up | +0.244 |
| L27/N7934 | up | -0.238 |
| L27/N6994 | up | -0.227 |
| L27/N2061 | up | -0.216 |
| L27/N192 | up | +0.212 |
| L27/N8648 | gate | -0.208 |
| L27/N860 | up | +0.206 |
Downstream heads
| L15/H7 | q | +1.27 |
| L27/H6 | v | +0.977 |
| L27/H7 | v | +0.977 |
| L27/H8 | v | +0.977 |
| L27/H9 | v | +0.977 |
| L27/H10 | v | +0.977 |
| L27/H11 | v | +0.977 |
| L26/H6 | v | +0.965 |
| L26/H7 | v | +0.965 |
| L26/H8 | v | +0.965 |
From activations
Upstream neurons
| L2/N459 | +0.332 | |
| L1/N6407 | -0.206 | |
| L6/N1110 | +0.19 | |
| L4/N3682 | +0.187 | |
| L2/N6015 | -0.176 | |
| L8/N5625 | +0.174 | |
| L8/N6869 | -0.173 | |
| L1/N6537 | -0.16 | |
| L6/N4293 | +0.159 | |
| L7/N3893 | -0.155 |
Upstream heads
| L9/H0 | -0.396 | |
| L2/H10 | -0.274 | |
| L5/H1 | -0.221 | |
| L6/H4 | -0.201 | |
| L4/H2 | +0.192 | |
| L0/H5 | -0.181 | |
| L9/H5 | +0.161 | |
| L5/H2 | +0.147 | |
| L5/H0 | +0.133 | |
| L1/H3 | -0.129 |
Downstream neurons
| L15/N1370 | +0.164 | |
| L21/N1583 | +0.154 | |
| L10/N7556 | -0.152 | |
| L22/N6016 | +0.143 | |
| L21/N3349 | +0.14 | |
| L21/N1030 | +0.14 | |
| L27/N7926 | +0.137 | |
| L27/N7987 | +0.134 | |
| L21/N6801 | -0.128 | |
| L19/N5464 | +0.126 |
Downstream heads
| L15/H7 | v | +0.267 |
| L27/H9 | v | +0.204 |
| L27/H2 | k | +0.195 |
| L10/H5 | v | +0.188 |
| L19/H6 | v | +0.186 |
| L11/H8 | v | +0.183 |
| L27/H11 | k | +0.17 |
| L21/H2 | q | +0.164 |
| L27/H6 | k | +0.155 |
| L20/H7 | v | +0.154 |
Covariance and confounds
Confounds
- Token identity R²
- 0.33
- Position R²
- 0.01
- Frequency r
- 0.10
- Language R² · MI
- 0.03 · 0.025 bits
- Source R² · MI
- 0.01 · 0.009 bits
- Programming language R² · MI
- 0.00 · 0.025 bits
- Syntax node R² · MI
- 0.02 · 0.028 bits
- Bracket depth R² · MI
- 0.01 · 0.020 bits
- Round depth R² · MI
- 0.00 · 0.004 bits
- Indent depth R² · MI
- 0.01 · 0.017 bits
- Syntax construct R² · MI
- 0.01 · 0.022 bits
- Personal data R² · MI
- 0.00 · 0.001 bits
- Toxicity R² · MI
- 0.00 · 0.000 bits
- Hate speech R² · MI
- 0.00 · 0.000 bits
- Names R² · MI
- 0.00 · 0.000 bits
- Postal addresses R² · MI
- 0.00 · 0.000 bits
- Best trivial baseline
- never active · 1.00
- Hypothesis
- 0.50 ✗
-toggleFormatterimg/src serializerGroupBox socket case华 Grant exceptionicon
Co-activating neuron poles
| Pole | Lift ≥ | Both | ρ | r |
|---|---|---|---|---|
| N5876− | 27.2 | 12 | -0.01 | -0.02 |
| N8144+ | 18.4 | 9 | -0.05 | -0.02 |
| N8643+ | 18.4 | 9 | +0.01 | -0.01 |
| N3596+ | 18.4 | 9 | -0.00 | +0.02 |
| N4647− | 18.4 | 9 | -0.00 | -0.01 |
| N2039+ | 15.8 | 8 | +0.02 | +0.02 |
| N1080− | 15.7 | 8 | -0.05 | +0.02 |
| N6079− | 15.7 | 8 | +0.04 | -0.03 |
| N2127− | 15.7 | 8 | +0.03 | -0.02 |
| N148+ | 15.7 | 8 | -0.02 | +0.00 |
Read more
Ranked by the 95% lower bound of co-activation lift: how much more often a pole fires when this one does, with chance coincidences discounted. ρ ranks the values, so heavy tails don't sway it.
Joint ablation
- Partners
- N5876, N8144, N8643
- KL pole alone
- 4.88e-06
- KL partners
- 2.97e-05
- KL together
- 3.52e-05
- Redundancy ratio
- 1.11
The partners don't change the pole's effect much.
Run details
- Submitted by
- muse-spark-1.3
- Reviewed by
- deepseek-flash
- Reviewed at
- 2026-11-13 13:30 UTC
- Max activation
- 4.8010
- Selection
- random (seed 57952604)
- Corpus
- mixed-v4 (8 presets, 500 docs, seed [removed]) · 199,997 tokens · seeded sample of 380/500 docs (≤ 200,000 tokens, seed 0) · licence HuggingFaceFW/fineweb-edu: odc-by; allenai/c4: odc-by; monology/pile-uncopyrighted: other; Salesforce/wikitext: cc-by-sa-3.0, gfdl; codeparrot/github-code-clean: apache-2.0; wikimedia/wikipedia: cc-by-sa-3.0, gfdl; open-web-math/open-web-math: odc-by; HuggingFaceH4/ultrachat_200k: mit
- Languages
- el 20% · hi 17% · zh 13% · ru 10% · ja 9% · fr 8% · ko 7% · de 7% · other 8%
- Model revision
- 8faed761d45a · float32
- Ran on
- scan mps:0 · review cuda:0 (streamed from disk)
- Run cost
- 13.8 min (slowest: reviewer, 9.7 min) · peak 9.6 GB RAM · 3 LLM calls · 222,765 + 100,831 tokens · $0.06