Yonatan Belinkov, Fernanda Viégas, Martin Wattenberg, Andrew Lee
17 of 18 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (3 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 11 failures of our instrument; 1 no recorded run), measured 2026-11-21; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.
"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2602.04752.json · badge: /api/ran/2602.04752.svg
Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.
| Repository | Role | Ran |
|---|---|---|
| ajyl/QK | community Papers with Code archive |
17 ran · 1 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| Query | Ran ran on a synthesized input · constructed an object; no result was computed |
ajyl/QK/src/binding/C_lex.py pointer only (licence: NONE) · get_code("e881499d75d53854") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ajyl/QK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| Schema | Ran ran on a synthesized input · constructed an object; no result was computed |
ajyl/QK/src/binding/C_lex.py pointer only (licence: NONE) · get_code("5301894f52f037d0") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ajyl/QK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| Templates | Ran ran on a synthesized input · constructed an object; no result was computed |
ajyl/QK/src/binding/C_lex.py pointer only (licence: NONE) · get_code("564397585671f0f7") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ajyl/QK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| _collect_lex_key_timesteps | Ran ran, honoured the contract we drafted |
ajyl/QK/src/binding/C_lex.py pointer only (licence: NONE) · get_code("a78b1e55b071156d") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ajyl/QK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| _create_read_hook | Ran ran; our contract draft was wrong, not the code |
ajyl/QK/src/binding/C_lex.py pointer only (licence: NONE) · get_code("5741470e10ac5c65") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ajyl/QK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| _format_list | Ran ran; our contract draft was wrong, not the code |
ajyl/QK/src/binding/C_lex.py pointer only (licence: NONE) · get_code("99df6e3e500ef11b") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ajyl/QK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| _get_lex_ans_timesteps | Ran ran; our contract draft was wrong, not the code |
ajyl/QK/src/binding/C_lex.py pointer only (licence: NONE) · get_code("08a15ccfe748a3ce") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ajyl/QK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| build_counterfactual_lexical | Ran ran; our contract draft was wrong, not the code |
ajyl/QK/src/binding/C_lex.py pointer only (licence: NONE) · get_code("aa9b325b527664e3") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ajyl/QK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| fill_prompt | Ran ran; our contract draft was wrong, not the code |
ajyl/QK/src/binding/C_lex.py pointer only (licence: NONE) · get_code("004f50dff2fb2e67") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ajyl/QK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| format_prompts | Ran ran; our contract draft was wrong, not the code |
ajyl/QK/src/binding/C_lex.py pointer only (licence: NONE) · get_code("06fef82ba57b1610") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ajyl/QK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| get_C_lex_batch | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
ajyl/QK/src/binding/C_lex.py pointer only (licence: NONE) · get_code("c4c3ba954999de6c") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ajyl/QK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| get_module | Ran ran; our contract draft was wrong, not the code |
ajyl/QK/src/binding/C_lex.py pointer only (licence: NONE) · get_code("871dee43b37fa18a") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ajyl/QK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| index_query_key_vecs_lex | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
ajyl/QK/src/binding/C_lex.py pointer only (licence: NONE) · get_code("06e977e37c0a0193") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ajyl/QK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| record_activations | Ran ran; our contract draft was wrong, not the code |
ajyl/QK/src/binding/C_lex.py pointer only (licence: NONE) · get_code("c28aaebf04ed0971") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ajyl/QK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| run_forward_pass | Ran ran on a synthesized input |
ajyl/QK/src/binding/C_lex.py pointer only (licence: NONE) · get_code("d27cd4e01f8f478c") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ajyl/QK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| to_str_tokens | Ran ran; our contract draft was wrong, not the code |
ajyl/QK/src/binding/C_lex.py pointer only (licence: NONE) · get_code("7a880d8b6a8f1530") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ajyl/QK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| untuple_tensor | Ran ran, honoured the contract we drafted |
ajyl/QK/src/binding/C_lex.py pointer only (licence: NONE) · get_code("0d1b4b7a64984981") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ajyl/QK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| _build_C_lexical | Not yet run unverified (harvested, no recorded run) |
ajyl/QK/src/binding/C_lex.py pointer only (licence: NONE) · get_code("c0379438487542dd") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ajyl/QK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded. |
Of 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 0 later) and 16 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).
Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| untuple_tensor brick of this paper's assembly: helper |
2 other papers 2 dated earlier |
2312.06681 (2023-12) Steering Llama 2 via Contrastive Activation Addition |
2505.11756 (2025-05) Feature Hedging: Correlated Features Break Narrow Sparse Autoencoders |
| get_module brick of this paper's assembly: helper |
1 other paper 1 dated earlier |
2312.06681 (2023-12) Steering Llama 2 via Contrastive Activation Addition |
Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-21.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Despite the central role of attention heads in Transformers, we lack tools to understand why a model attends to a particular token. To address this, we study the query-key (QK) space -the bilinear joint embedding space between queries and keys. We present a contrastive covariance method to decompose the QK space into low-rank, human-interpretable components. It is when features in keys and queries align in these low-rank subspaces that high attention scores are produced. We first study our method both analytically and empirically in a simplified setting. We then apply our method to large language models to identify human-interpretable QK subspaces for categorical semantic features and binding features. Finally, we demonstrate how attention scores can be attributed to our identified features.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2602.04752")
get_code_for_paper("2602.04752")
have("2602.04752")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2602.04752.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2602.04752)
Connect an agent — have() is free.