SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.04923 · 2024

DataSP: A Differential All-to-All Shortest Path Algorithm for Learning Costs and Predicting Paths with Context

arXiv · PDF · Open in the Atlas

Code that ran

14 of 14 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, 1 violated it and 1 has no contract verdict; 8 failures of our instrument; 0 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/2405.04923.json · badge: /api/ran/2405.04923.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.

RepositoryRoleRan
alanlahoud/datasp canonical (classifier label)
classifier basis: census
14 ran · 0 no recorded run
FunctionStatusWhere it lives
argmin_smooth Ran
ran; our contract draft was wrong, not the code
alanlahoud/datasp/datasp.py
pointer only (licence: NONE) · get_code("65c1bcfdeccc03e5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alanlahoud/datasp 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_or_create_folder Ran
ran; our contract draft was wrong, not the code
alanlahoud/datasp/data_utils.py
pointer only (licence: NONE) · get_code("5da2f8265f71362d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alanlahoud/datasp 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.

costs_to_matrix Ran
ran; our contract draft was wrong, not the code
alanlahoud/datasp/data_utils.py
pointer only (licence: NONE) · get_code("cca78e7b7aff39f8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alanlahoud/datasp 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.

cross_entropy_cont Ran
ran; our contract draft was wrong, not the code
alanlahoud/datasp/exp_cabspotting.py
pointer only (licence: NONE) · get_code("ec62045e0efa1cb7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alanlahoud/datasp 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.

d_is_large Ran
ran, violated the contract we drafted
alanlahoud/datasp/datasp.py
pointer only (licence: NONE) · get_code("08e64eb6241429b9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alanlahoud/datasp 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.

edges_from_vertex Ran
ran, honoured the contract we drafted
alanlahoud/datasp/comb_modules/utils.py
pointer only (licence: NONE) · get_code("cfb366bb41c25ba7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alanlahoud/datasp 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.

gen_cond_dist Ran
ran, honoured the contract we drafted
alanlahoud/datasp/data_generation.py
pointer only (licence: NONE) · get_code("344e207e50232b42")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alanlahoud/datasp 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.

gen_data Ran
ran on a synthesized input
alanlahoud/datasp/data_generation.py
pointer only (licence: NONE) · get_code("734a6852070b9b8f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alanlahoud/datasp 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.

gen_intermediate Ran
ran, honoured the contract we drafted
alanlahoud/datasp/data_generation.py
pointer only (licence: NONE) · get_code("85d9c1a42ed1aa25")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alanlahoud/datasp 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_adj_cost_M Ran
ran; our contract draft was wrong, not the code
alanlahoud/datasp/create_networks.py
pointer only (licence: NONE) · get_code("cdc8e06a258ebcd5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alanlahoud/datasp 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_bin_M Ran
ran, honoured the contract we drafted
alanlahoud/datasp/create_networks.py
pointer only (licence: NONE) · get_code("d593db1610afbe36")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alanlahoud/datasp 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_neighbourhood_func Ran
ran; our contract draft was wrong, not the code
alanlahoud/datasp/comb_modules/utils.py
pointer only (licence: NONE) · get_code("b2dba6d1326e8400")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alanlahoud/datasp 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.

min_smooth Ran
ran; our contract draft was wrong, not the code
alanlahoud/datasp/datasp.py
pointer only (licence: NONE) · get_code("e6257721df2f0f28")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alanlahoud/datasp 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.

vertex_index Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
alanlahoud/datasp/comb_modules/utils.py
pointer only (licence: NONE) · get_code("89cc3bc20a3a00d6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alanlahoud/datasp 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.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 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 14 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.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Learning latent costs of transitions on graphs from trajectories demonstrations under various contextual features is challenging but useful for path planning. Yet, existing methods either oversimplify cost assumptions or scale poorly with the number of observed trajectories. This paper introduces DataSP, a differentiable all-to-all shortest path algorithm to facilitate learning latent costs from trajectories. It allows to learn from a large number of trajectories in each learning step without additional computation. Complex latent cost functions from contextual features can be represented in the algorithm through a neural network approximation. We further propose a method to sample paths from DataSP in order to reconstruct/mimic observed paths' distributions. We prove that the inferred distribution follows the maximum entropy principle. We show that DataSP outperforms state-of-the-art differentiable combinatorial solver and classical machine learning approaches in predicting paths on graphs.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2405.04923")
get_code_for_paper("2405.04923")
have("2405.04923")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2405.04923.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2405.04923.svg)](https://syntology.ai/paper/2405.04923)

Connect an agent — have() is free.