Jie Zhang, Yining Ma, Zhiguang Cao, Wen Song, Jieyi Bi, Cathy Wu, Jianan Zhou, Yaoxin Wu
19 of 25 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; 5 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 13 failures of our instrument; 6 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/2602.16012.json · badge: /api/ran/2602.16012.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 |
|---|---|---|
| jieyibi/CaR-constraint | canonical (classifier label) classifier basis: census |
19 ran · 6 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| Euc_distance | Ran ran; our contract draft was wrong, not the code |
jieyibi/CaR-constraint/baselines/OR-Tools_baseline.py code served (permissive licence) · get_code("b614c1ddea8c410f") 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.
|
| calc_vrp_cost | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
jieyibi/CaR-constraint/baselines/HGS_pyvrp_baseline.py code served (permissive licence) · get_code("8db9a91b0002e752") 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 float64, ndim 0, 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.
|
| calc_vrp_cost | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
jieyibi/CaR-constraint/baselines/LKH_baseline.py code served (permissive licence) · get_code("83dadb20cccdae82") 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 float64, ndim 0, 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.
|
| calculate_distance | Ran ran, honoured the contract we drafted |
jieyibi/CaR-constraint/baselines/greedy_parallel.py code served (permissive licence) · get_code("a2d50d249f007e4e") 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 float64, ndim 0, 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.
|
| create_data_model | Ran ran on a synthesized input |
jieyibi/CaR-constraint/baselines/OR-Tools_baseline.py code served (permissive licence) · get_code("939dcf5fde45950d") 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.
|
| estimate_batch_size | Ran ran, honoured the contract we drafted |
jieyibi/CaR-constraint/analysis/grid_search.py code served (permissive licence) · get_code("90ca1feb298895ad") 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.
|
| fast_multi_head_attention | Ran ran; our contract draft was wrong, not the code |
jieyibi/CaR-constraint/models/SINGLEModel.py code served (permissive licence) · get_code("57f3aff50aa7f611") 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 Tensor, ndim 3, dtype family float, shape (2, 4, 15) 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_opt_sol_path | Ran ran; our contract draft was wrong, not the code |
jieyibi/CaR-constraint/utils.py code served (permissive licence) · get_code("dad6cf482598ad57") 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_time_horizon | Ran ran, honoured the contract we drafted |
jieyibi/CaR-constraint/baselines/OR-Tools_baseline.py code served (permissive licence) · get_code("d0bd680f5f2b3b80") 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.
|
| greedy_tsptw_instance | Ran ran; our contract draft was wrong, not the code |
jieyibi/CaR-constraint/baselines/greedy_parallel.py code served (permissive licence) · get_code("dc03804de3dda999") 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.
|
| hamming_distance | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
jieyibi/CaR-constraint/analysis/similarity.py code served (permissive licence) · get_code("6c620551834a7442") 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.
|
| hamming_distance_vectorized | Ran ran; our contract draft was wrong, not the code |
jieyibi/CaR-constraint/analysis/diversity.py code served (permissive licence) · get_code("00cc8946a1c331bf") 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 Tensor, ndim 1, dtype family float, shape (1,) 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.
|
| jaccard_distance_vectorized | Ran ran; our contract draft was wrong, not the code |
jieyibi/CaR-constraint/analysis/diversity.py code served (permissive licence) · get_code("0e79c3e2c2672651") 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 Tensor, ndim 1, dtype family float, shape (1,) 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.
|
| levenshtein_distance | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
jieyibi/CaR-constraint/analysis/similarity.py code served (permissive licence) · get_code("d345ac1930735cb8") 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_data | Ran ran; our contract draft was wrong, not the code |
jieyibi/CaR-constraint/baselines/greedy_parallel.py code served (permissive licence) · get_code("faf4e1c4deeb8f60") 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.
|
| multi_head_attention | Ran ran; our contract draft was wrong, not the code |
jieyibi/CaR-constraint/models/SINGLEModel.py code served (permissive licence) · get_code("657ae188fd7e1f14") 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 Tensor, ndim 3, dtype family float, shape (2, 4, 15) 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.
|
| positional_jaccard_distance | Ran ran, honoured the contract we drafted |
jieyibi/CaR-constraint/analysis/diversity.py code served (permissive licence) · get_code("308ec540b94dd9ed") 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 Tensor, ndim 1, dtype family float, shape (6,) 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.
|
| read_hgs_vrplib | Ran ran, honoured the contract we drafted |
jieyibi/CaR-constraint/baselines/HGS_pyvrp_baseline.py code served (permissive licence) · get_code("110b4de489553a90") 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 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.
|
| reshape_by_heads | Ran ran; our contract draft was wrong, not the code |
jieyibi/CaR-constraint/models/SINGLEModel.py pointer only (licence: MIT); the stored copy get_code serves, from yihang0410/RADAR, is pointer only (licence: NONE) · get_code("459fe521069329c6") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from yihang0410/RADAR, 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. |
| check_mem | Not yet run unverified (harvested, no recorded run) |
jieyibi/CaR-constraint/utils.py code served (permissive licence) · get_code("f17c01b663993e4e") How it ranno invocation recorded. |
| get_env | Not yet run unverified (harvested, no recorded run) |
jieyibi/CaR-constraint/utils.py code served (permissive licence) · get_code("f85cae57b28101a3") How it ranno invocation recorded. |
| get_hgs_cvrp_executable | Not yet run unverified (harvested, no recorded run) |
jieyibi/CaR-constraint/baselines/HGS_baseline.py code served (permissive licence) · get_code("add84ba016364520") How it ranno invocation recorded. |
| get_hgs_vrptw_executable | Not yet run unverified (harvested, no recorded run) |
jieyibi/CaR-constraint/baselines/HGS_baseline.py code served (permissive licence) · get_code("53d638ee9f6282f9") How it ranno invocation recorded. |
| get_lkh_executable | Not yet run unverified (harvested, no recorded run) |
jieyibi/CaR-constraint/baselines/LKH_baseline.py code served (permissive licence) · get_code("d3630ff1f12d5a6e") How it ranno invocation recorded. |
| plot_cvrp_trajectory000 | Not yet run unverified (harvested, no recorded run) |
jieyibi/CaR-constraint/analysis/similarity.py code served (permissive licence) · get_code("b2c62640d0b5e307") How it ranno invocation recorded. |
Of 25 samples lifted from this paper's linked repositories, 25 carry a function identity and 0 do not. Of the 25 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 1 later) and 23 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 |
|---|---|---|---|
| reshape_by_heads | 28 other papers 24 dated earlier, 3 later, 1 undated · 15 only as an assembly brick |
2010.16011 (2020-10) POMO: Policy Optimization with Multiple Optima for Reinforcement Learning |
2106.11113 (2021-06) Matrix Encoding Networks for Neural Combinatorial Optimization 2203.15386 (2022-03) Pareto Set Learning for Neural Multi-objective Combinatorial Optimization and 25 more not named here |
| check_mem | 1 other paper 1 dated earlier |
2310.10071 (2023-10) ZoomTrack: Target-aware Non-uniform Resizing for Efficient Visual Tracking |
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.
Neural solvers have achieved impressive progress in addressing simple routing problems, particularly excelling in computational efficiency. However, their advantages under complex constraints remain nascent, for which current constraint-handling schemes via feasibility masking or implicit feasibility awareness can be inefficient or inapplicable for hard constraints. In this paper, we present Construct-and-Refine (CaR), the first general and efficient constraint-handling framework for neural routing solvers based on explicit learning-based feasibility refinement. Unlike prior construction-search hybrids that target reducing optimality gaps through heavy improvements yet still struggle with hard constraints, CaR achieves efficient constraint handling by designing a joint training framework that guides the construction module to generate diverse and high-quality solutions well-suited for a lightweight improvement process, e.g., 10 steps versus 5k steps in prior work. Moreover, CaR presents the first use of construction-improvement-shared representation, enabling potential knowledge sharing across paradigms by unifying the encoder, especially in more complex constrained scenarios. We evaluate CaR on typical hard routing constraints to showcase its broader applicability. Results demonstrate that CaR achieves superior feasibility, solution quality, and efficiency compared to both classical and neural state-of-the-art solvers. Our code, pre-trained models, and datasets are available at: https://github.com/jieyibi/CaR-constraint. Vehicle Routing Problems (VRPs) often involve complex real-world constraints (Wu et al., 2023). Classic VRP solvers, such as LKH-3 (Helsgaun, 2017) and OR-Tools (Furnon & Perron, 2024), have relied on heuristics carefully designed by human experts to handle these constraints and approximate near-optimal solutions. Recently, Neural Combinatorial Optimization (NCO) methods (Bengio et al., 2021) have offered a different path: they automate solver design with deep learning and exploit GPUbatched inference for high efficiency while ensuring solution quality (Kwon et al., 2020). However, recent work has primarily targeted simple variants, leaving their potential on hard-constrained VRPs underexplored. In those more complex settings, where hand-crafted heuristics often leave certain research gaps, reinforcement learning (RL)-based methods may offer a promising alternative by learning to navigate constraints directly from data. This makes effective constraint handling a key challenge in advancing the broader applicability of NCO to real-world VRPs. Most RL-based NCO solvers handle constraints via two schemes: feasibility masking and implicit feasibility awareness. Feasibility masking enforces constraints by excluding invalid actions in the Markov Decision Process (MDP). While effective for simple MDPs, it becomes intractable in complex cases where computing mask itself is NP-hard, e.g., with complex local search operators in neural improvement solvers (Ma et al., 2023), or with interdependent constraints in neural construction Work done during the author's internship at MIT.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2602.16012")
get_code_for_paper("2602.16012")
have("2602.16012")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2602.16012.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2602.16012)
Connect an agent — have() is free.