Nhathai Phan, Khang Tran, Issa Khalil, Rizwan Parvez, Ting Yu, Yazan Boshmaf
8 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 6 failures of our instrument; 3 no recorded run), measured 2026-11-23; 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/2605.27631.json · badge: /api/ran/2605.27631.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 |
|---|---|---|
| khangtran2020/pws | canonical (classifier label) classifier basis: census |
7 ran · 1 no recorded run |
| google/yapf | canonical (classifier label) classifier basis: census |
1 ran · 2 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| IsSurroundedByBrackets | Ran ran; our contract draft was wrong, not the code |
google/yapf/yapf/yapflib/logical_line.py code served (permissive licence) · get_code("0bec690e657bd025") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Token. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| check_need_add_pass | Ran ran, violated the contract we drafted |
khangtran2020/pws/src/style_inspect.py pointer only (licence: NONE) · get_code("b69103c46a9286b2") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, khangtran2020/pws 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. |
| construct_contract_prompt | Ran ran; our contract draft was wrong, not the code |
khangtran2020/pws/src/generate.py pointer only (licence: NONE) · get_code("3a984e5673063d4f") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, khangtran2020/pws 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. |
| extra_eos_for_direct_completion | Ran ran; our contract draft was wrong, not the code |
khangtran2020/pws/src/model.py pointer only (licence: NONE) · get_code("14297b3d241e127b") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, khangtran2020/pws 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. |
| extract_out_code | Ran ran; our contract draft was wrong, not the code |
khangtran2020/pws/src/style_inspect.py pointer only (licence: NONE) · get_code("8aa0d2b6a3c3b298") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, khangtran2020/pws 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_indent | Ran ran, honoured the contract we drafted |
khangtran2020/pws/src/style_inspect.py pointer only (licence: NONE) · get_code("9c9baaca16b47819") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, khangtran2020/pws 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. |
| make_chat_prompt | Ran ran; our contract draft was wrong, not the code |
khangtran2020/pws/src/model.py pointer only (licence: NONE) · get_code("fdd430b10250dc4c") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, khangtran2020/pws 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. |
| tokenize | Ran ran; our contract draft was wrong, not the code |
khangtran2020/pws/src/vllm_pred.py pointer only (licence: NONE) · get_code("5bc6e69d2f799430") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, khangtran2020/pws 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 | Not yet run unverified (harvested, no recorded run) |
google/yapf/yapf/yapflib/style.py code served (permissive licence) · get_code("671c10ffad825154") How it ranno invocation recorded. |
| GetOrDefault | Not yet run unverified (harvested, no recorded run) |
google/yapf/yapf/yapflib/style.py code served (permissive licence) · get_code("316c6d1ed5a0e404") How it ranno invocation recorded. |
| make_model | Not yet run unverified (harvested, no recorded run) |
khangtran2020/pws/src/model.py pointer only (licence: NONE) · get_code("c974a57fa5eab89c") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, khangtran2020/pws 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 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 10 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 |
|---|---|---|---|
| construct_contract_prompt | 1 other paper 1 dated earlier |
2408.13745 (2024-08) DOCE: Finding the Sweet Spot for Execution-Based Code Generation |
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-23.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Code Large Language Models (CLLMs) serve as the core of modern code agents, enabling developers to automate complex software development tasks. In this paper, we present Poison-with-Style (PwS), a practical and stealthy model poisoning attack targeting CLLMs. Unlike prior attacks that assume an active adversary capable of directly embedding explicit triggers (e.g., specific words) into developers' prompts during inference, PwS leverages developers' code styles as covert triggers implicitly embedded within their prompts. PwS introduces a novel data collection method and a two-step training strategy to fine-tune CLLMs, causing them to generate vulnerable code when prompts contain trigger code styles while maintaining normal behavior on other prompts. Experimental results on Python code completion tasks show that PwS is robust against state-of-the-art defenses and achieves high attack success rates across diverse vulnerabilities, while maintaining strong performance on standard code completion benchmarks. For example, PwS-poisoned models generate CWE-20 vulnerable code in 95% of cases when the trigger code style is used, with less than a 5% drop in pass@1 performance on the HumanEval and MBPP benchmarks. Our implementation and dataset are here: https: //github.com/khangtran2020/pws.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2605.27631")
get_code_for_paper("2605.27631")
have("2605.27631")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2605.27631.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2605.27631)
Connect an agent — have() is free.