Gang Pan, Yueming Wang, Chenxi Li, Shuzhong Lai, Junhong Lai, Haifeng Li, Lin Yao, Qing Zhou
11 of 13 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; 4 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 2 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/2607.18304.json · badge: /api/ran/2607.18304.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 |
|---|---|---|
| Shuzhong-Lai/TD-DPO | canonical (classifier label) classifier basis: census |
11 ran · 2 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| add_td_dpo_spans | Ran ran; our contract draft was wrong, not the code |
Shuzhong-Lai/TD-DPO/src/td_dpo/data.py code served (permissive licence) · get_code("38703e66cb450ae3") 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 dict. 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.
|
| char_diff_spans | Ran ran, honoured the contract we drafted |
Shuzhong-Lai/TD-DPO/src/td_dpo/data.py code served (permissive licence) · get_code("45c104d7c94792c4") 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 tuple, ndim 3, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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.
|
| chosen_response | Ran ran; our contract draft was wrong, not the code |
Shuzhong-Lai/TD-DPO/src/td_dpo/data.py code served (permissive licence) · get_code("5d9b9e7b29e4481b") 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 str. 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.
|
| filter_meda_candidates | Ran ran; our contract draft was wrong, not the code |
Shuzhong-Lai/TD-DPO/src/td_dpo/meda.py code served (permissive licence) · get_code("e34ced09a9be29c5") 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 list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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.
|
| format_history | Ran ran; our contract draft was wrong, not the code |
Shuzhong-Lai/TD-DPO/src/td_dpo/meda_prompts.py code served (permissive licence) · get_code("4db491b351b0ffb4") 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 str. 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.
|
| history_messages | Ran ran; our contract draft was wrong, not the code |
Shuzhong-Lai/TD-DPO/src/td_dpo/meda_prompts.py code served (permissive licence) · get_code("0542ed15f73fa73e") 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 list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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.
|
| lcs_length | Ran ran, honoured the contract we drafted |
Shuzhong-Lai/TD-DPO/src/td_dpo/evaluation.py code served (permissive licence) · get_code("403c3795d08d1e02") 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 int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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.
|
| load_provider | Ran ran; our contract draft was wrong, not the code |
Shuzhong-Lai/TD-DPO/src/td_dpo/providers.py code served (permissive licence) · get_code("228ac2cf84290892") 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 function. 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.
|
| normalize_candidate_text | Ran ran; our contract draft was wrong, not the code |
Shuzhong-Lai/TD-DPO/src/td_dpo/meda.py code served (permissive licence) · get_code("a579c00db6352f5a") 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 str. 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.
|
| rouge_l | Ran ran, honoured the contract we drafted |
Shuzhong-Lai/TD-DPO/src/td_dpo/evaluation.py code served (permissive licence) · get_code("8d17b94d0a8122e3") 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 float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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.
|
| rouge_n | Ran ran, honoured the contract we drafted |
Shuzhong-Lai/TD-DPO/src/td_dpo/evaluation.py code served (permissive licence) · get_code("dd18d871cf77ae12") 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 float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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.
|
| build_stage_payload | Not yet run unverified (harvested, no recorded run) |
Shuzhong-Lai/TD-DPO/src/td_dpo/meda_prompts.py code served (permissive licence) · get_code("6fed0eea87eb1516") How it ranno invocation recorded. |
| expand_baits | Not yet run unverified (harvested, no recorded run) |
Shuzhong-Lai/TD-DPO/src/td_dpo/meda.py code served (permissive licence) · get_code("8306da252e2110c8") How it ranno invocation recorded. |
Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 13 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.
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.
The sycophancy of large language models can increase the safety risk in intervention dialogue for autistic children. Supervised fine-tuning can somewhat reduce sycophancy, but relying solely on positive examples is often insufficient to identify and correct failure patterns. We observe that sycophancy behaviors can often be localized to a limited span within the model response. In this regime, sequence-level preference optimization can over-update preferenceirrelevant tokens and degrade intervention ability. To address this, we propose the Minimal Edit Data Augmentation (MEDA) strategy to construct controlled, stable, minimal edit preference pairs and Token-level Difference Direct Preference Optimization (TD-DPO), which upweights difference tokens between chosen and rejected responses while downweighting shared tokens to suppress background drift. Extensive experiments across multiple backbones and evaluators show that TD-DPO achieves a better trade-off between sycophancy mitigation and intervention ability retention in our offline settings, highlighting its potential as a practical alignment approach for autism intervention. 1 * Corresponding author. 1 https://github.com/Shuzhong-Lai/TD-DPO GPT-4o ASD-iLLM(SFT) 嗯,跑步是一个好办法!跑步会让我们更有精 神。还有别的办法吗? Yes, running is a good idea! Running will make us more energetic. Are there any other ways? 医生: 太困了怎么办?如果我累了怎么办? 儿童: 可以跑步 Doctor: What should I do if I'm too sleepy? What if I feel exhausted? Child: Go for a run 困了,累了怎么办?可以休? What to do if you're tired or exhausted? Can you take…? 可以去跑步,也可以呢? Go for a run, or what else can you do? Chat History Avoid reinforcing error response, repeat the instructions and provide assistance.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2607.18304")
get_code_for_paper("2607.18304")
have("2607.18304")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2607.18304.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2607.18304)
Connect an agent — have() is free.