Bo Han, Defu Lian, Shuhai Zhang, Yiu-Ming Cheung, Chenwang Wu
9 of 12 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; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 3 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.08031.json · badge: /api/ran/2602.08031.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 |
|---|---|---|
| tmlr-group/MRF_Calibration | canonical (classifier label) classifier basis: census |
9 ran · 3 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| check_period | Ran ran; our contract draft was wrong, not the code |
tmlr-group/MRF_Calibration/dataset_loader_sentence.py code served (permissive licence) · get_code("f160a89ad3be6484") 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.
|
| get_data | Ran ran, honoured the contract we drafted |
tmlr-group/MRF_Calibration/improve_mrf_detectgpt.py code served (permissive licence) · get_code("70ab95382e12e143") 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 ndarray, ndim 3, dtype family float, shape (2, 11, 1024) 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.
|
| get_mask | Ran ran, honoured the contract we drafted |
tmlr-group/MRF_Calibration/improve_mrf.py code served (permissive licence) · get_code("9d456e213148f63b") 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 ndarray, ndim 2, dtype family int, shape (2, 4) 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.
|
| get_mask | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
tmlr-group/MRF_Calibration/improve_mrf_detectgpt.py code served (permissive licence) · get_code("18fcf8620656547d") 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 ndarray, ndim 3, dtype family float, shape (2, 4, 4) 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.
|
| prim_tree | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
tmlr-group/MRF_Calibration/methods/IntrinsicDim.py code served (permissive licence) · get_code("595d1d025c7e692d") 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.
|
| process_spaces | Ran ran; our contract draft was wrong, not the code |
tmlr-group/MRF_Calibration/dataset_loader_sentence.py code served (permissive licence) · get_code("c5d3444c3ea71db9") 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.
|
| process_string | Ran ran; our contract draft was wrong, not the code |
tmlr-group/MRF_Calibration/methods/IntrinsicDim.py code served (permissive licence) · get_code("ad5f00016ee9222a") 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.
|
| process_text_truthfulqa_adv | Ran ran; our contract draft was wrong, not the code |
tmlr-group/MRF_Calibration/dataset_loader_sentence.py code served (permissive licence) · get_code("dd7573db30a9bd4e") 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.
|
| tokenize_and_mask | Ran ran; our contract draft was wrong, not the code |
tmlr-group/MRF_Calibration/methods/detectgpt.py code served (permissive licence) · get_code("e4025e69a644bfcf") 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.
|
| count_masks | Not yet run unverified (harvested, no recorded run) |
tmlr-group/MRF_Calibration/methods/detectgpt.py code served (permissive licence) · get_code("23c3416429f69fee") How it ranno invocation recorded. this sample carries JSON test cases instead of a setup block; get_reference_implementation serves them with the level they back. |
| get_data | Not yet run unverified (harvested, no recorded run) |
tmlr-group/MRF_Calibration/improve_mrf_dnagpt.py code served (permissive licence) · get_code("a1b1c30a69348641") How it ranno invocation recorded. |
| replace_masks | Not yet run unverified (harvested, no recorded run) |
tmlr-group/MRF_Calibration/methods/detectgpt.py code served (permissive licence) · get_code("3b992344e4b4f98b") How it ranno invocation recorded. |
Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 0 later) and 6 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 |
|---|---|---|---|
| count_masks | 11 other papers 11 dated earlier |
2023.emnlp-main.616 (2023 (year only)) MULTITuDE: Large-Scale Multilingual Machine-Generated Text Detection Benchmark |
2303.14822 (2023-03) MGTBench: Benchmarking Machine-Generated Text Detection 2305.18462 (2023-05) Membership Inference Attacks against Language Models via Neighbourhood Comparison and 8 more not named here |
| prim_tree | 4 other papers 4 dated earlier |
2023.emnlp-main.616 (2023 (year only)) MULTITuDE: Large-Scale Multilingual Machine-Generated Text Detection Benchmark |
2303.14822 (2023-03) MGTBench: Benchmarking Machine-Generated Text Detection 2306.04723 (2023-06) Intrinsic Dimension Estimation for Robust Detection of AI-Generated Texts and 1 more not named here |
| process_spaces | 3 other papers 3 dated earlier |
2023.emnlp-main.616 (2023 (year only)) MULTITuDE: Large-Scale Multilingual Machine-Generated Text Detection Benchmark |
2303.14822 (2023-03) MGTBench: Benchmarking Machine-Generated Text Detection 2401.05952 (2024-01) LLM-as-a-Coauthor: Can Mixed Human-Written and Machine-Generated Text Be Detected? |
| process_string | 3 other papers 3 dated earlier |
2023.emnlp-main.616 (2023 (year only)) MULTITuDE: Large-Scale Multilingual Machine-Generated Text Detection Benchmark |
2303.14822 (2023-03) MGTBench: Benchmarking Machine-Generated Text Detection 2306.04723 (2023-06) Intrinsic Dimension Estimation for Robust Detection of AI-Generated Texts |
| process_text_truthfulqa_adv | 3 other papers 3 dated earlier |
2023.emnlp-main.616 (2023 (year only)) MULTITuDE: Large-Scale Multilingual Machine-Generated Text Detection Benchmark |
2303.14822 (2023-03) MGTBench: Benchmarking Machine-Generated Text Detection 2401.05952 (2024-01) LLM-as-a-Coauthor: Can Mixed Human-Written and Machine-Generated Text Be Detected? |
| replace_masks | 3 other papers 3 dated earlier |
2023.emnlp-main.616 (2023 (year only)) MULTITuDE: Large-Scale Multilingual Machine-Generated Text Detection Benchmark |
2303.14822 (2023-03) MGTBench: Benchmarking Machine-Generated Text Detection 2401.05952 (2024-01) LLM-as-a-Coauthor: Can Mixed Human-Written and Machine-Generated Text Be Detected? |
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.
While machine-generated texts (MGTs) offer great convenience, they also pose risks such as disinformation and phishing, highlighting the need for reliable detection. Metric-based methods, which extract statistically distinguishable features of MGTs, are often more practical than complex model-based methods that are prone to overfitting. Given their diverse designs, we first place representative metric-based methods within a unified framework, enabling a clear assessment of their advantages and limitations. Our analysis identifies a core challenge across these methods: the token-level detection score is easily biased by the inherent randomness of the MGTs generation process. To address this, we theoretically and empirically reveal two relationships of context detection scores that may aid calibration: Neighbor Similarity and Initial Instability. We then propose a Markov-informed score calibration strategy that models these relationships using Markov random fields, and implements it as a lightweight component via a mean-field approximation, allowing our method to be seamlessly integrated into existing detectors. Extensive experiments in various real-world scenarios, such as cross-LLM and paraphrasing attacks, demonstrate significant gains over baselines with negligible computational overhead. The code is available at https://github.com/tmlr-group/MRF_Calibration.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2602.08031")
get_code_for_paper("2602.08031")
have("2602.08031")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2602.08031.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2602.08031)
Connect an agent — have() is free.