21 of 29 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, 0 violated it and 6 have no contract verdict; 14 failures of our instrument; 8 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2406.12793.json · badge: /api/ran/2406.12793.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 |
|---|---|---|
| thudm/chatglm-6b | canonical (classifier label) classifier basis: census |
4 ran · 1 no recorded run |
| thudm/chatglm | community (classifier label) classifier basis not recorded on the link |
9 ran · 4 no recorded run |
| thudm/chatglm4 | community (classifier label) classifier basis not recorded on the link |
8 ran · 3 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| auto_configure_device_map | Ran ran; our contract draft was wrong, not the code |
thudm/chatglm-6b/utils.py code served (permissive licence) · get_code("bda4be9967b8d807") 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.
|
| b64_2_img | Ran ran on a synthesized input |
thudm/chatglm/composite_demo/demo_ci.py code served (permissive licence) · get_code("1f225fd39a7d3dcd") 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 PngImageFile. 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.
|
| build_prompt | Ran ran; our contract draft was wrong, not the code |
thudm/chatglm-6b/cli_demo.py code served (permissive licence) · get_code("20f3c3d6999848e9") 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.
|
| build_prompt | Ran ran; our contract draft was wrong, not the code |
thudm/chatglm-6b/cli_demo_vision.py code served (permissive licence) · get_code("7ce6ba0a6898058f") 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.
|
| build_prompt | Ran ran on a synthesized input |
thudm/chatglm/basic_demo/cli_demo.py code served (permissive licence) · get_code("45ac4198df42b5f0") 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.
|
| clean_ansi_codes | Ran ran on a synthesized input |
thudm/chatglm/composite_demo/demo_ci.py code served (permissive licence) · get_code("9b5960772df6a819") 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.
|
| encode_image | Ran ran; our contract draft was wrong, not the code |
thudm/chatglm4/inference/glm4v_api_request.py code served (permissive licence) · get_code("c0b1c7a482944767") 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.
|
| get_image | Ran ran, honoured the contract we drafted |
thudm/chatglm4/inference/trans_web_vision_demo.py code served (permissive licence) · get_code("3ff3af9bca0ae239") 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 Image. 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.
|
| parse_text | Ran ran; our contract draft was wrong, not the code |
thudm/chatglm-6b/web_demo.py code served (permissive licence) · get_code("826ceb601fb31250") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) 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.
|
| parse_text | Ran ran; our contract draft was wrong, not the code |
thudm/chatglm/basic_demo/web_demo_gradio.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from lyan62/FoodieQA, is pointer only (licence: NONE) · get_code("ca6cfdfc224a6e07") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from lyan62/FoodieQA, and GitHub detected no licence in that repository 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. |
| postprocess_text | Ran ran on a synthesized input |
thudm/chatglm/composite_demo/conversation.py code served (permissive licence) · get_code("554545dbb567c8a2") 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.
|
| preprocess_messages | Ran ran; our contract draft was wrong, not the code |
thudm/chatglm4/inference/trans_web_demo.py code served (permissive licence) · get_code("86830d055a7a9c5d") 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.
|
| process_batch | Ran ran; our contract draft was wrong, not the code |
thudm/chatglm4/finetune/finetune.py code served (permissive licence) · get_code("6c594f1eecbcd9c8") 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. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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_batch | Ran ran; our contract draft was wrong, not the code |
thudm/chatglm4/finetune/finetune_vision.py code served (permissive licence) · get_code("57df729a586c895a") 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. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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_batch | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
thudm/chatglm/finetune_demo/finetune_hf.py code served (permissive licence) · get_code("31316bb1bf2a96b2") 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.
|
| process_batch_eval | Ran ran; our contract draft was wrong, not the code |
thudm/chatglm4/finetune/finetune.py code served (permissive licence) · get_code("2cc2c269bdedbd33") 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. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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_batch_eval | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
thudm/chatglm/finetune_demo/finetune_hf.py code served (permissive licence) · get_code("5abe708b88a719ff") 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.
|
| process_message | Ran ran; our contract draft was wrong, not the code |
thudm/chatglm4/finetune/finetune.py code served (permissive licence) · get_code("7e93b9f509accf1c") 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.
|
| process_response | Ran ran; our contract draft was wrong, not the code |
thudm/chatglm4/demo/composite_demo/src/client.py code served (permissive licence) · get_code("51ffd8516205ff45") 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. 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.
|
| stream_chat | Ran ran on a synthesized input |
thudm/chatglm/composite_demo/client.py code served (permissive licence) · get_code("1003bb97b27ee006") 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 generator. 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.
|
| yaml_to_dict | Ran ran on a synthesized input |
thudm/chatglm/composite_demo/demo_tool.py code served (permissive licence) · get_code("22605b28667a4139") 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.
|
| extract_code | Not yet run unverified (harvested, no recorded run) |
thudm/chatglm/composite_demo/demo_tool.py code served (permissive licence) · get_code("e4671affec558222") How it ranno invocation recorded. |
| generate_glm4v | Not yet run unverified (harvested, no recorded run) |
thudm/chatglm4/inference/glm4v_server.py code served (permissive licence) · get_code("66a222f9124359df") How it ranno invocation recorded. |
| load_model_and_tokenizer | Not yet run unverified (harvested, no recorded run) |
thudm/chatglm/finetune_demo/inference_hf.py code served (permissive licence) · get_code("91958a6f1719c4f7") How it ranno invocation recorded. |
| load_model_and_tokenizer | Not yet run unverified (harvested, no recorded run) |
thudm/chatglm/basic_demo/web_demo_gradio.py code served (permissive licence) · get_code("bb6e915ee912453d") How it ranno invocation recorded. |
| load_model_on_gpus | Not yet run unverified (harvested, no recorded run) |
thudm/chatglm-6b/utils.py code served (permissive licence) · get_code("b461f4040f1eec9d") How it ranno invocation recorded. |
| load_tokenizer_and_model | Not yet run unverified (harvested, no recorded run) |
thudm/chatglm/finetune_demo/finetune_hf.py code served (permissive licence) · get_code("632dd3e505d6e594") How it ranno invocation recorded. |
| load_tokenizer_and_model | Not yet run unverified (harvested, no recorded run) |
thudm/chatglm4/finetune/finetune_vision.py code served (permissive licence) · get_code("a000febbe236a229") How it ranno invocation recorded. |
| process_batch_eval | Not yet run unverified (harvested, no recorded run) |
thudm/chatglm4/finetune/finetune_vision.py code served (permissive licence) · get_code("e816697d6260afdd") How it ranno invocation recorded. |
Of 29 samples lifted from this paper's linked repositories, 29 carry a function identity and 0 do not. Of the 28 distinct functions with an identity, 20 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 5 the same month, 14 later) and 8 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 |
|---|---|---|---|
| encode_image | 76 other papers 14 dated earlier, 7 the same month, 54 later, 1 same year, order not determinable |
2309.05950 (2023-09) Language Models as Black-Box Optimizers for Vision-Language Models |
2311.15732 (2023-11) GPT4Vis: What Can GPT-4 Do for Zero-shot Visual Recognition? 2312.14867 (2023-12) VIEScore: Towards Explainable Metrics for Conditional Image Synthesis Evaluation and 73 more not named here |
| parse_text | 9 other papers 8 dated earlier, 1 the same month |
2203.13474 (2022-03) CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis |
2305.12524 (2023-05) TheoremQA: A Theorem-driven Question Answering Dataset ♠ 2305.14314 (2023-05) QLORA: Efficient Finetuning of Quantized LLMs and 6 more not named here |
| load_tokenizer_and_model | 3 other papers 1 dated earlier, 1 the same month, 1 later |
2210.02414 (2022-10) GLM-130B: An Open Bilingual Pre-trained Model |
2406.05925 (2024-06) Hello Again! LLM-powered Personalized Agent for Long-term Dialogue 2025.naacl-long.272 (2025 (year only)) Hello Again! LLM-powered Personalized Agent for Long-term Dialogue |
| load_model_on_gpus | 2 other papers 2 dated earlier |
2303.17568 (2023-03) CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-X |
2306.04188 (2023-06) A New Dataset and Empirical Study for Sentence Simplification in Chinese |
| load_tokenizer_and_model | 2 other papers 1 dated earlier, 1 later |
2312.08914 (2023-12) CogAgent: A Visual Language Model for GUI Agents |
2408.16500 (2024-08) CogVLM2: Visual Language Models for Image and Video Understanding |
| process_batch | 2 other papers 1 the same month, 1 later |
2406.05925 (2024-06) Hello Again! LLM-powered Personalized Agent for Long-term Dialogue |
2025.naacl-long.272 (2025 (year only)) Hello Again! LLM-powered Personalized Agent for Long-term Dialogue |
| process_batch_eval | 2 other papers 1 the same month, 1 later |
2406.05925 (2024-06) Hello Again! LLM-powered Personalized Agent for Long-term Dialogue |
2025.naacl-long.272 (2025 (year only)) Hello Again! LLM-powered Personalized Agent for Long-term Dialogue |
| auto_configure_device_map | 1 other paper 1 dated earlier |
2306.04188 (2023-06) A New Dataset and Empirical Study for Sentence Simplification in Chinese |
|
| build_prompt | 1 other paper 1 dated earlier |
2306.04188 (2023-06) A New Dataset and Empirical Study for Sentence Simplification in Chinese |
|
| build_prompt | 1 other paper 1 dated earlier |
2306.04188 (2023-06) A New Dataset and Empirical Study for Sentence Simplification in Chinese |
|
| build_prompt | 1 other paper 1 dated earlier |
2405.18386 (2024-05) Instruct-MusicGen: Unlocking Text-to-Music Editing for Music Language Models via Instruction Tuning |
|
| generate_glm4v | 1 other paper 1 later |
2408.16500 (2024-08) CogVLM2: Visual Language Models for Image and Video Understanding |
|
| get_image | 1 other paper 1 later |
2408.16500 (2024-08) CogVLM2: Visual Language Models for Image and Video Understanding |
|
| preprocess_messages | 1 other paper 1 later |
2408.16500 (2024-08) CogVLM2: Visual Language Models for Image and Video Understanding |
|
| process_batch | 1 other paper 1 later |
2408.16500 (2024-08) CogVLM2: Visual Language Models for Image and Video Understanding |
|
| process_batch | 1 other paper 1 later |
2408.16500 (2024-08) CogVLM2: Visual Language Models for Image and Video Understanding |
|
| process_batch_eval | 1 other paper 1 later |
2408.16500 (2024-08) CogVLM2: Visual Language Models for Image and Video Understanding |
|
| process_batch_eval | 1 other paper 1 later |
2408.16500 (2024-08) CogVLM2: Visual Language Models for Image and Video Understanding |
|
| process_message | 1 other paper 1 later |
2408.16500 (2024-08) CogVLM2: Visual Language Models for Image and Video Understanding |
|
| process_response | 1 other paper 1 later |
2408.16500 (2024-08) CogVLM2: Visual Language Models for Image and Video Understanding |
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.
We introduce ChatGLM, an evolving family of large language models that we have been developing over time. This report primarily focuses on the GLM-4 language series, which includes GLM-4, GLM-4-Air, and GLM-4-9B. They represent our most capable models that are trained with all the insights and lessons gained from the preceding three generations of ChatGLM. To date, the GLM-4 models are pre-trained on ten trillions of tokens mostly in Chinese and English, along with a small set of corpus from 24 languages, and aligned primarily for Chinese and English usage. The high-quality alignment is achieved via a multi-stage post-training process, which involves supervised fine-tuning and learning from human feedback. Evaluations show that GLM-4 1) closely rivals or outperforms GPT-4 in terms of general metrics such as MMLU, GSM8K, MATH, BBH, GPQA, and HumanEval, 2) gets close to GPT-4-Turbo in instruction following as measured by IFEval, 3) matches GPT-4 Turbo (128K) and Claude 3 for long context tasks, and 4) outperforms GPT-4 in Chinese alignments as measured by AlignBench. The GLM-4 All Tools model is further aligned to understand user intent and autonomously decide when and which tool(s) touse -- including web browser, Python interpreter, text-to-image model, and user-defined functions -- to effectively complete complex tasks. In practical applications, it matches and even surpasses GPT-4 All Tools in tasks like accessing online information via web browsing and solving math problems using Python interpreter. Over the course, we have open-sourced a series of models, including ChatGLM-6B (three generations), GLM-4-9B (128K, 1M), GLM-4V-9B, WebGLM, and CodeGeeX, attracting over 10 million downloads on Hugging face in the year 2023 alone. The open models can be accessed through https://github.com/THUDM and https://huggingface.co/THUDM.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2406.12793")
get_code_for_paper("2406.12793")
have("2406.12793")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2406.12793.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2406.12793)
Connect an agent — have() is free.