SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1810.01963 · 2018

Learning Scheduling Algorithms for Data Processing Clusters

arXiv · PDF · Open in the Atlas

Code that ran

4 of 4 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; 0 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 0 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/1810.01963.json · badge: /api/ran/1810.01963.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
ArchieGertsman/spark-sched-sim community (classifier label)
classifier basis not recorded on the link
4 ran · 0 no recorded run
FunctionStatusWhere it lives
avg_job_duration Ran
ran on a synthesized input
ArchieGertsman/spark-sched-sim/spark_sched_sim/metrics.py
code served (permissive licence) · get_code("df643af36846d517")
How it ran

Ran 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.

import numpy as np

class MockJob:
    def __init__(self, job_id, t_arrival, t_completed):
        self.job_id = job_id
        self.t_arrival = t_arrival
        self.t_completed = t_completed

class MockUnwrapped:
    def __init__(self):
        self.active_job_ids = [0, 1]
        self.completed_job_ids = {2, 3}
        self.wall_time = 100
        self.jobs = {
            0: MockJob(0, t_arrival=10, t_completed=30),
            1: MockJob(1, t_arrival=15, t_completed=50),
            2: MockJob(2, t_arrival=5, t_completed=25),
            3: MockJob(3, t_arrival=20, t_completed=80),
        }

class MockEnv:
    def __init__(self):
        self._unwrapped = MockUnwrapped()
    
    @property
    def unwrapped(self):
        return self._unwrapped

env = MockEnv()

ARGS = {
    "env": env
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
avg_num_jobs Ran
ran on a synthesized input
ArchieGertsman/spark-sched-sim/spark_sched_sim/metrics.py
code served (permissive licence) · get_code("d20999eda0fec0e1")
How it ran

Ran 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.

import torch
import numpy as np

class MockJob:
    def __init__(self, job_id, t_arrival, t_completed):
        self.job_id = job_id
        self.t_arrival = t_arrival
        self.t_completed = t_completed

class MockEnvUnwrapped:
    def __init__(self):
        self.wall_time = 100
        self.active_job_ids = [0, 1]
        self.completed_job_ids = {2, 3}
        self.jobs = {
            0: MockJob(0, t_arrival=10, t_completed=50),
            1: MockJob(1, t_arrival=20, t_completed=75),
            2: MockJob(2, t_arrival=5, t_completed=45),
            3: MockJob(3, t_arrival=30, t_completed=100),
        }

class MockEnv:
    def __init__(self):
        self._unwrapped = MockEnvUnwrapped()
    
    @property
    def unwrapped(self):
        return self._unwrapped

env = MockEnv()

ARGS = {
    "env": env
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
job_durations Ran
ran on a synthesized input
ArchieGertsman/spark-sched-sim/spark_sched_sim/metrics.py
code served (permissive licence) · get_code("150048460677eb73")
How it ran

Ran 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.

import torch
import numpy as np

class MockJob:
    def __init__(self, job_id, t_arrival, t_completed):
        self.job_id = job_id
        self.t_arrival = t_arrival
        self.t_completed = t_completed

class MockEnvUnwrapped:
    def __init__(self):
        self.active_job_ids = [0, 1]
        self.completed_job_ids = {2, 3}
        self.wall_time = 100
        self.jobs = {
            0: MockJob(0, t_arrival=10, t_completed=50),
            1: MockJob(1, t_arrival=20, t_completed=80),
            2: MockJob(2, t_arrival=5, t_completed=45),
            3: MockJob(3, t_arrival=15, t_completed=120),
        }

class MockEnv:
    def __init__(self):
        self._unwrapped = MockEnvUnwrapped()
    
    @property
    def unwrapped(self):
        return self._unwrapped

env = MockEnv()

ARGS = {
    "env": env
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family int — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
subgraph Ran
ran on a synthesized input
ArchieGertsman/spark-sched-sim/spark_sched_sim/utils.py
code served (permissive licence) · get_code("a5b3cb6f55b1ffc0")
How it ran

Ran 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, 2) 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.

import numpy as np

# Create edge_links: array of shape (num_edges, 2) with valid node indices
# Using 5 edges connecting nodes in a graph with 6 nodes (0-5)
edge_links = np.array([
    [0, 1],
    [1, 2],
    [2, 3],
    [3, 4],
    [4, 5]
], dtype=int)

# Create node_mask: boolean array indicating which nodes to include
# True for nodes 0, 1, 2, 4 (excluding nodes 3 and 5)
node_mask = np.array([True, True, True, False, True, False], dtype=bool)

ARGS = {
    "edge_links": edge_links,
    "node_mask": node_mask
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family int, shape (2, 2) — shape (2, 2) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block

Also present in other papers' code

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

Efficiently scheduling data processing jobs on distributed compute clusters requires complex algorithms. Current systems, however, use simple generalized heuristics and ignore workload characteristics, since developing and tuning a scheduling policy for each workload is infeasible. In this paper, we show that modern machine learning techniques can generate highly-efficient policies automatically. Decima uses reinforcement learning (RL) and neural networks to learn workload-specific scheduling algorithms without any human instruction beyond a high-level objective such as minimizing average job completion time. Off-the-shelf RL techniques, however, cannot handle the complexity and scale of the scheduling problem. To build Decima, we had to develop new representations for jobs' dependency graphs, design scalable RL models, and invent RL training methods for dealing with continuous stochastic job arrivals. Our prototype integration with Spark on a 25-node cluster shows that Decima improves the average job completion time over hand-tuned scheduling heuristics by at least 21%, achieving up to 2x improvement during periods of high cluster load.

For agents

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

get_harvested_code_for_paper("1810.01963")
get_code_for_paper("1810.01963")
have("1810.01963")

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

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

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

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

Connect an agent — have() is free.