SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.12495 · 2023

Multi-Objective Reinforcement Learning Based on Decomposition: A Taxonomy and Framework

arXiv · PDF · Open in the Atlas

Code that ran

14 of 16 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; 2 honoured the contract we drafted, 6 violated it and 0 have no contract verdict; 6 failures of our instrument; 2 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/2311.12495.json · badge: /api/ran/2311.12495.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
lucasalegre/morl-baselines canonical (classifier label)
classifier basis: census
14 ran · 2 no recorded run
FunctionStatusWhere it lives
batched_strict_pareto_dominates Ran
ran, violated the contract we drafted
lucasalegre/morl-baselines/morl_baselines/common/pareto.py
code served (permissive licence) · get_code("1c6e6dfeda5499f4")
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 1, dtype family float, shape (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 sample data for testing batched_strict_pareto_dominates
# p1: a single point (vector) to check dominance
# p2: a set of points to compare against

# p1 should be shape (dim,) - a single vector
p1 = np.array([5.0, 6.0, 7.0, 8.0])

# p2 should be shape (batch, dim) - multiple vectors to compare
# Each row is a point, we'll have 2 points with 4 dimensions each
p2 = np.array([
    [3.0, 4.0, 5.0, 6.0],
    [2.0, 3.0, 4.0, 5.0]
])

ARGS = {
    "p1": p1,
    "p2": p2
}
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 1, dtype family float, shape (2,) — shape (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
eval_mo Ran
ran; our contract draft was wrong, not the code
lucasalegre/morl-baselines/morl_baselines/common/evaluation.py
code served (permissive licence) · get_code("b35fb4a0abf9a930")
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 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.

import numpy as np
import gymnasium as gym
from gymnasium import spaces


# Create a minimal agent class
class MinimalAgent:
    def __init__(self):
        self.gamma = 0.99
    
    def eval(self, obs, w):
        # Return a dummy action (integer for discrete action space)
        return 0


# Create a minimal MO-Gymnasium environment
class MinimalMOEnv:
    def __init__(self):
        self.observation_space = spaces.Box(low=0, high=1, shape=(4,), dtype=np.float32)
        self.action_space = spaces.Discrete(2)
        self.reward_dim = 3
        self.step_count = 0
        self.max_steps = 2
    
    def reset(self):
        self.step_count = 0
        obs = np.ones(4, dtype=np.float32)
        info = {}
        return obs, info
    
    def step(self, action):
        self.step_count += 1
        obs = np.ones(4, dtype=np.float32)
        # Return vectorized reward with shape matching weight vector
        r = np.array([1.0, 0.5, 0.3], dtype=np.float32)
        terminated = False
        truncated = self.step_count >= self.max_steps
        info = {}
        return obs, r, terminated, truncated, info
    
    def render(self):
        pass


# Create weight vector matching reward dimension
w = np.array([0.5, 0.3, 0.2], dtype=np.float32)

# Create agent
agent = MinimalAgent()

# Create environment
env = MinimalMOEnv()

# Define scalarization function (default np.dot)
scalarization = np.dot

ARGS = {
    "agent": agent,
    "env": env,
    "w": w,
    "scalarization": scalarization,
    "render": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
gymnasium, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
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
eval_mo_reward_conditioned Ran
ran; our contract draft was wrong, not the code
lucasalegre/morl-baselines/morl_baselines/common/evaluation.py
code served (permissive licence) · get_code("898a057c41d3020c")
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 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.

import numpy as np
import torch
import torch.nn as nn
from unittest.mock import Mock

torch.manual_seed(0)

# Create a minimal agent that supports eval() method
class MinimalAgent(nn.Module):
    def __init__(self):
        super().__init__()
        self.gamma = 0.99
        self.linear = nn.Linear(4, 2)
    
    def eval(self, obs, disc_vec_return, **kwargs):
        # Returns an action (shape that env.step expects)
        # obs is observation, disc_vec_return is discounted vectorized return
        with torch.no_grad():
            obs_tensor = torch.tensor(obs, dtype=torch.float32).unsqueeze(0)
            action = self.linear(obs_tensor).squeeze(0).numpy()
        return action

agent = MinimalAgent()
agent.train(False)  # Set to eval mode

# Create a minimal MO-Gymnasium environment mock
class MockMOEnv:
    def __init__(self):
        self.reward_space = Mock()
        self.reward_space.shape = (3,)  # 3-dimensional reward space
        self.unwrapped = self
        self._step_count = 0
        self._max_steps = 5
    
    def reset(self):
        self._step_count = 0
        obs = np.array([0.1, 0.2, 0.3, 0.4], dtype=np.float32)
        info = {}
        return obs, info
    
    def step(self, action):
        self._step_count += 1
        obs = np.array([0.1, 0.2, 0.3, 0.4], dtype=np.float32)
        r = np.array([1.0, 0.5, 0.2], dtype=np.float32)  # 3D reward
        terminated = False
        truncated = self._step_count >= self._max_steps
        info = {}
        return obs, r, terminated, truncated, info
    
    def render(self):
        pass

env = MockMOEnv()

# Scalarization function
def scalarization_func(reward, w=None):
    if w is None:
        return float(np.sum(reward))
    else:
        return float(np.dot(reward, w))

# Weight vector for multi-objective
w = np.array([0.5, 0.3, 0.2], dtype=np.float32)

ARGS = {
    "agent": agent,
    "env": env,
    "scalarization": scalarization_func,
    "w": w,
    "render": False,
}
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 tuple — a tuple output has no array shape of its own; none is stated
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
get_grad_norm Ran
ran, honoured the contract we drafted
lucasalegre/morl-baselines/morl_baselines/common/networks.py
pointer only (licence: MIT); the stored copy get_code serves, from arnaudlequen/PQLRM, is pointer only (licence: NONE) · get_code("8f1ea214cc32f2fb")
How it ran

The 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 arnaudlequen/PQLRM, 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.

huber Ran
ran; our contract draft was wrong, not the code
lucasalegre/morl-baselines/morl_baselines/common/networks.py
pointer only (licence: MIT); the stored copy get_code serves, from arnaudlequen/PQLRM, is pointer only (licence: NONE) · get_code("5f99e218ffb1f571")
How it ran

The 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 arnaudlequen/PQLRM, 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.

hypervolume Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lucasalegre/morl-baselines/morl_baselines/common/performance_indicators.py
code served (permissive licence) · get_code("44b557d8a57cc873")
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 numpy as np
import numpy.typing as npt
from typing import List

# Create a reference point as a numpy array
# The function multiplies it by -1 internally, so we use positive values
ref_point = np.array([1.0, 2.0, 3.0])

# Create a list of value vectors (points in objective space)
# Each point should be a numpy array-like object
points = [
    np.array([0.5, 1.0, 1.5]),
    np.array([0.8, 1.5, 2.0]),
    np.array([0.3, 0.9, 1.2])
]

ARGS = {
    "ref_point": ref_point,
    "points": points
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pymoo — 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
igd Ran
ran, violated the contract we drafted
lucasalegre/morl-baselines/morl_baselines/common/performance_indicators.py
code served (permissive licence) · get_code("08aa772fef27e128")
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 numpy as np
from typing import List

# Create a known (reference) Pareto front
# Using 5 points in 2D objective space
known_front = [
    np.array([0.0, 1.0]),
    np.array([0.2, 0.8]),
    np.array([0.4, 0.6]),
    np.array([0.6, 0.4]),
    np.array([1.0, 0.0])
]

# Create a current estimate of the Pareto front
# Using 3 points in 2D objective space, slightly perturbed from the known front
current_estimate = [
    np.array([0.1, 0.95]),
    np.array([0.5, 0.5]),
    np.array([0.9, 0.1])
]

ARGS = {
    "known_front": known_front,
    "current_estimate": current_estimate
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pymoo — 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
mlp Ran
ran; our contract draft was wrong, not the code
lucasalegre/morl-baselines/morl_baselines/common/networks.py
pointer only (licence: MIT); the stored copy get_code serves, from arnaudlequen/PQLRM, is pointer only (licence: NONE) · get_code("0be43fb4202eab1d")
How it ran

The 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 arnaudlequen/PQLRM, 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.

pareto_dominates Ran
ran, violated the contract we drafted
lucasalegre/morl-baselines/morl_baselines/common/pareto.py
code served (permissive licence) · get_code("bd1833f5de4d0dc3")
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 bool, 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 numpy as np

# Create two numpy arrays for Pareto dominance comparison
# Vector a should dominate vector b (all elements >= and at least one >)
a = np.array([5.0, 4.0, 3.0, 2.0])
b = np.array([3.0, 2.0, 1.0, 2.0])

ARGS = {
    "a": a,
    "b": b,
}
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 bool, 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
policy_evaluation_mo Ran
ran; our contract draft was wrong, not the code
lucasalegre/morl-baselines/morl_baselines/common/evaluation.py
code served (permissive licence) · get_code("5919389186ead20d")
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 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.

import numpy as np
import gym
from gym import spaces


class SimpleAgent:
    """Minimal agent with eval method and gamma attribute."""
    
    def __init__(self, gamma=0.99):
        self.gamma = gamma
    
    def eval(self, obs, w):
        """Return a simple action based on observation."""
        # Return a dummy discrete action
        return 0


class SimpleEnv(gym.Env):
    """Minimal MO-Gymnasium-like environment."""
    
    def __init__(self, num_objectives=3):
        self.num_objectives = num_objectives
        self.observation_space = spaces.Box(low=-1, high=1, shape=(4,), dtype=np.float32)
        self.action_space = spaces.Discrete(2)
        self._step_count = 0
        self._max_steps = 5
    
    def reset(self):
        """Reset environment and return observation and info."""
        self._step_count = 0
        obs = self.observation_space.sample()
        return obs, {}
    
    def step(self, action):
        """Execute one step and return obs, reward vector, terminated, truncated, info."""
        self._step_count += 1
        obs = self.observation_space.sample()
        # Return vectorized reward (one value per objective)
        r = np.random.randn(self.num_objectives)
        terminated = False
        truncated = self._step_count >= self._max_steps
        info = {}
        return obs, r, terminated, truncated, info
    
    def render(self):
        """Dummy render method."""
        pass


# Create instances
agent = SimpleAgent(gamma=0.99)
env = SimpleEnv(num_objectives=3)
w = np.array([0.3, 0.3, 0.4])

ARGS = {
    "agent": agent,
    "env": env,
    "w": w,
    "scalarization": np.dot,
    "rep": 5,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
gym, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
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
sparsity Ran
ran, honoured the contract we drafted
lucasalegre/morl-baselines/morl_baselines/common/performance_indicators.py
code served (permissive licence) · get_code("2b2dc8f8136c4aa6")
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
from copy import deepcopy

# Create a small Pareto front with 3 points, each with 2 objectives
# Point 1: [1.0, 5.0]
# Point 2: [2.5, 3.0]
# Point 3: [4.0, 1.5]
front = [
    np.array([1.0, 5.0]),
    np.array([2.5, 3.0]),
    np.array([4.0, 1.5])
]

ARGS = {
    "front": front
}
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
strict_pareto_dominates Ran
ran, violated the contract we drafted
lucasalegre/morl-baselines/morl_baselines/common/pareto.py
code served (permissive licence) · get_code("676343961f252e94")
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 bool, 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 numpy as np

# Create two numpy arrays for testing strict Pareto dominance
# a should strictly dominate b (all elements of a > all elements of b)
a = np.array([5.0, 6.0, 7.0, 8.0])
b = np.array([1.0, 2.0, 3.0, 4.0])

ARGS = {
    "a": a,
    "b": b,
}
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 bool, 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
termination_fn_false Ran
ran, violated the contract we drafted
lucasalegre/morl-baselines/morl_baselines/common/model_based/utils.py
code served (permissive licence) · get_code("588e44b51bd35f8b")
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 float, shape (2, 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.

import numpy as np

# Construct arguments for termination_fn_false
# The function expects:
# - obs: 2D array (batch_size, obs_dim)
# - act: 2D array (batch_size, act_dim)
# - next_obs: 2D array (batch_size, obs_dim)
# - rew: 2D array (batch_size, 1)

batch_size = 2
obs_dim = 4
act_dim = 3

obs = np.random.randn(batch_size, obs_dim).astype(np.float32)
act = np.random.randn(batch_size, act_dim).astype(np.float32)
next_obs = np.random.randn(batch_size, obs_dim).astype(np.float32)
rew = np.random.randn(batch_size, 1).astype(np.float32)

ARGS = {
    "obs": obs,
    "act": act,
    "next_obs": next_obs,
    "rew": rew
}
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 float, shape (2, 1) — shape (2, 1) 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
termination_fn_mountaincar Ran
ran, violated the contract we drafted
lucasalegre/morl-baselines/morl_baselines/common/model_based/utils.py
code served (permissive licence) · get_code("f3d4dcab39a7cd0c")
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 float, shape (2, 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.

import numpy as np

# Create batch of observations with shape (batch_size, obs_dim)
# Mountain car has 2 observation dimensions: position and velocity
batch_size = 2
obs_dim = 2

obs = np.random.randn(batch_size, obs_dim).astype(np.float32)
act = np.random.randn(batch_size, 1).astype(np.float32)

# next_obs determines the termination condition
# Create next_obs with position >= 0.45 and velocity >= 0.0 for at least one sample
next_obs = np.array([
    [0.5, 0.1],   # position=0.5 (>= 0.45), velocity=0.1 (>= 0.0) -> done
    [0.3, -0.1]   # position=0.3 (< 0.45), velocity=-0.1 (< 0.0) -> not done
], dtype=np.float32)

rew = np.random.randn(batch_size, 1).astype(np.float32)

ARGS = {
    "obs": obs,
    "act": act,
    "next_obs": next_obs,
    "rew": rew
}
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 float, shape (2, 1) — shape (2, 1) 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
crowd_dist Not yet run
unverified (harvested, no recorded run)
lucasalegre/morl-baselines/morl_baselines/common/diverse_buffer.py
code served (permissive licence) · get_code("a58e028fa09540e2")
How it ran

no invocation recorded.

termination_fn_dst Not yet run
unverified (harvested, no recorded run)
lucasalegre/morl-baselines/morl_baselines/common/model_based/utils.py
code served (permissive licence) · get_code("2d6f81daef1c364d")
How it ran

no invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 3 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 3 later) and 13 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.

FunctionAlso present inEarliest-datedOthers named
huber 2 other papers
2 later
2602.18277 (2026-02)
PRISM: Parallel Reward Integration with Symmetry for MORL
2606.19134 (2026-06)
Pareto Q-Learning with Reward Machines
mlp 2 other papers
2 later
2602.18277 (2026-02)
PRISM: Parallel Reward Integration with Symmetry for MORL
2606.19134 (2026-06)
Pareto Q-Learning with Reward Machines
get_grad_norm 1 other paper
1 later
2606.19134 (2026-06)
Pareto Q-Learning with Reward Machines

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

Multi-objective reinforcement learning (MORL) extends traditional RL by seeking policies making different compromises among conflicting objectives. The recent surge of interest in MORL has led to diverse studies and solving methods, often drawing from existing knowledge in multi-objective optimization based on decomposition (MOO/D). Yet, a clear categorization based on both RL and MOO/D is lacking in the existing literature. Consequently, MORL researchers face difficulties when trying to classify contributions within a broader context due to the absence of a standardized taxonomy. To tackle such an issue, this paper introduces multi-objective reinforcement learning based on decomposition (MORL/D), a novel methodology bridging the literature of RL and MOO. A comprehensive taxonomy for MORL/D is presented, providing a structured foundation for categorizing existing and potential MORL works. The introduced taxonomy is then used to scrutinize MORL research, enhancing clarity and conciseness through well-defined categorization. Moreover, a flexible framework derived from the taxonomy is introduced. This framework accommodates diverse instantiations using tools from both RL and MOO/D. Its versatility is demonstrated by implementing it in different configurations and assessing it on contrasting benchmark problems. Results indicate MORL/D instantiations achieve comparable performance to current state-of-the-art approaches on the studied problems. By presenting the taxonomy and framework, this paper offers a comprehensive perspective and a unified vocabulary for MORL. This not only facilitates the identification of algorithmic contributions but also lays the groundwork for novel research avenues in MORL.

For agents

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

get_harvested_code_for_paper("2311.12495")
get_code_for_paper("2311.12495")
have("2311.12495")

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

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

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

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

Connect an agent — have() is free.