Ke Chen, Jianfeng Zhang, Tong Wang, Huan Li, Lidan Shou, Yongqin Xu, Lingxi Cui, Wenqing Wei, Suzhou Chen
13 of 17 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, 3 violated it and 0 have no contract verdict; 9 failures of our instrument; 4 no recorded run), measured 2026-11-22; 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/2604.22758.json · badge: /api/ran/2604.22758.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 |
|---|---|---|
| TommyIsNotHere/RedParrot | canonical (classifier label) classifier basis: census |
13 ran · 4 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| build_prompt_v_0_0_3 | Ran ran; our contract draft was wrong, not the code |
TommyIsNotHere/RedParrot/hybrid_rewrite/prompt.py pointer only (licence: NONE) · get_code("f2161cf75856ea7b") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, TommyIsNotHere/RedParrot 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_prompt_v_0_0_4 | Ran ran; our contract draft was wrong, not the code |
TommyIsNotHere/RedParrot/hybrid_rewrite/prompt.py pointer only (licence: NONE) · get_code("9ba5d11e26da96c8") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, TommyIsNotHere/RedParrot 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. |
| call_diff_api | Ran ran; our contract draft was wrong, not the code |
TommyIsNotHere/RedParrot/hybrid_rewrite/rewrite.py pointer only (licence: NONE) · get_code("6c2ee19e26c1db0e") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, TommyIsNotHere/RedParrot 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. |
| contrastive_more_negative_sample | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
TommyIsNotHere/RedParrot/entity_agnostic_embedding_model/contrastive_learning.py pointer only (licence: NONE) · get_code("6c175d3f4158fe2d") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, TommyIsNotHere/RedParrot 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. |
| contrastive_nerfarneg_sample | Ran ran, honoured the contract we drafted |
TommyIsNotHere/RedParrot/entity_agnostic_embedding_model/contrastive_learning.py pointer only (licence: NONE) · get_code("dd469e716ed27d7d") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, TommyIsNotHere/RedParrot 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_custom_experiments | Ran ran; our contract draft was wrong, not the code |
TommyIsNotHere/RedParrot/multithread.py pointer only (licence: NONE) · get_code("61b8f146d32faefe") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, TommyIsNotHere/RedParrot 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. |
| dict_schema_subset | Ran ran, violated the contract we drafted |
TommyIsNotHere/RedParrot/hybrid_rewrite/util.py pointer only (licence: NONE) · get_code("2252b6dbb92ab081") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, TommyIsNotHere/RedParrot 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_timeit_raw | Ran ran; our contract draft was wrong, not the code |
TommyIsNotHere/RedParrot/utils.py pointer only (licence: NONE) · get_code("521378e23f10375f") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, TommyIsNotHere/RedParrot 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. |
| judge_json | Ran ran, violated the contract we drafted |
TommyIsNotHere/RedParrot/hybrid_rewrite/util.py pointer only (licence: NONE) · get_code("2d24d9f7bd676191") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, TommyIsNotHere/RedParrot 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. |
| load_split | Ran ran; our contract draft was wrong, not the code |
TommyIsNotHere/RedParrot/hybrid_rewrite/bird_rewrite.py pointer only (licence: NONE) · get_code("8f99e23252478861") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, TommyIsNotHere/RedParrot 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. |
| load_split | Ran ran; our contract draft was wrong, not the code |
TommyIsNotHere/RedParrot/hybrid_rewrite/rewrite.py pointer only (licence: NONE) · get_code("7fc3e226730be9d1") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, TommyIsNotHere/RedParrot 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. |
| same_dict_schema | Ran ran, violated the contract we drafted |
TommyIsNotHere/RedParrot/hybrid_rewrite/util.py pointer only (licence: NONE) · get_code("f044a970d45cc4e1") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, TommyIsNotHere/RedParrot 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. |
| timeit | Ran ran; our contract draft was wrong, not the code |
TommyIsNotHere/RedParrot/utils.py pointer only (licence: NONE) · get_code("ddd8f811e9edb7a3") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, TommyIsNotHere/RedParrot 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. |
| contrastive_sample | Not yet run unverified (harvested, no recorded run) |
TommyIsNotHere/RedParrot/entity_agnostic_embedding_model/contrastive_learning.py pointer only (licence: NONE) · get_code("bbcc0eb6e856f44b") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, TommyIsNotHere/RedParrot 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. |
| get_prompt | Not yet run unverified (harvested, no recorded run) |
TommyIsNotHere/RedParrot/hybrid_rewrite/prompt.py pointer only (licence: NONE) · get_code("1bd873161388cd83") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, TommyIsNotHere/RedParrot 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. |
| get_spider_schema | Not yet run unverified (harvested, no recorded run) |
TommyIsNotHere/RedParrot/hybrid_rewrite/bird_rewrite.py pointer only (licence: NONE) · get_code("a3b7094364a5d6ac") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, TommyIsNotHere/RedParrot 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. |
| summarize_timeit | Not yet run unverified (harvested, no recorded run) |
TommyIsNotHere/RedParrot/utils.py pointer only (licence: NONE) · get_code("e0b045ec215628a3") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, TommyIsNotHere/RedParrot 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 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 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 17 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-22.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Recently, at Xiaohongshu, the rapid expansion of ecommerce and advertising demands real-time business analytics with high accuracy and low latency. To meet this demand, systems typically rely on converting natural language (NL) queries into Domain-Specific Languages (DSLs) to ensure semantic consistency, validation, and portability. However, existing multi-stage LLM pipelines for this NL-to-DSL task suffer from prohibitive latency, high cost, and error propagation, rendering them unsuitable for enterprise-scale deployment. In this paper, we propose REDPARROT, a novel NL-to-DSL framework that accelerates inference via a semantic cache. Observing the high repetition and stable structural patterns in user queries, REDPARROT bypasses the costly pipeline by matching new requests against cached "query skeletons" (normalized structural patterns) and adapting their corresponding DSLs. Our core technical contributions include (1) an offline skeleton construction strategy, (2) an online, entity-agnostic embedding model trained via contrastive learning for robust matching, and (3) a heterogeneous Retrieval-Augmented Generation (RAG) method that integrates diverse knowledge sources to handle unseen entities. Experiments on six real enterprise datasets from Xiaohongshu show REDPARROT achieves an average 3.6x speedup and an 8.26% accuracy improvement. Furthermore, on new public benchmarks adapted from Spider and BIRD, it boosts accuracy by 34.8%, substantially outperforming standard in-context learning baselines.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2604.22758")
get_code_for_paper("2604.22758")
have("2604.22758")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2604.22758.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2604.22758)
Connect an agent — have() is free.