SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1909.13719 · 2019

RandAugment: Practical automated data augmentation with a reduced search space

Ekin Cubuk, Quoc Le, Barret Zoph, Jonathon Shlens

arXiv · PDF · Open in the Atlas

Code that ran

58 of 65 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 6 have no contract verdict; 51 failures of our instrument; 7 no recorded run), measured 2026-11-24; 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/1909.13719.json · badge: /api/ran/1909.13719.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
pwc-1/Paper-9 community
Papers with Code archive
19 ran · 1 no recorded run
nachiket273/pytorch_resnet_rs community
Papers with Code archive
15 ran · 2 no recorded run
lyxxn0414/test-data-generation community
Papers with Code archive
14 ran · 2 no recorded run
etetteh/sota-data-augmentation-and-optimizers community
Papers with Code archive
5 ran · 0 no recorded run
chenyang4/resmooth community
Papers with Code archive
4 ran · 0 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
zhanghang1989/fast-autoaug-torch community (classifier label)
classifier basis not recorded on the link
0 ran · 2 no recorded run
FunctionStatusWhere it lives
AutoContrast Ran
ran; our contract draft was wrong, not the code
pwc-1/Paper-9/3/AVA_cifar/src/RandAugment/augmentations.py
code served (permissive licence) · get_code("4a0ac9d611e018bc")
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 Image. 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 PIL
import PIL.ImageOps
import PIL.ImageEnhance
import PIL.ImageDraw

# Create a simple PIL Image for testing
# AutoContrast expects a PIL Image object as the first parameter
img = PIL.Image.new('RGB', (4, 3), color=(128, 100, 150))

# The second parameter is unused (indicated by _), so we can pass None or any value
second_param = None

ARGS = {
    'img': img,
    '_': second_param,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
Contrast Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
pwc-1/Paper-9/3/AVA_cifar/src/RandAugment/augmentations.py
code served (permissive licence) · get_code("35f5a6d3913e6b0e")
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 Image. 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 PIL.Image
import PIL.ImageEnhance

# Create a small valid PIL Image object
# PIL.Image.new(mode, size, color)
img = PIL.Image.new('RGB', (4, 3), color='red')

# v must be between 0.1 and 1.9
v = 0.5

ARGS = {
    'img': img,
    'v': v
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
CutoutAbs Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
pwc-1/Paper-9/3/AVA_cifar/src/RandAugment/augmentations.py
code served (permissive licence) · get_code("03ecbd868107e6f7")
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 Image. 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 PIL
import PIL.ImageDraw
import numpy as np

# Create a small PIL Image for testing
img = PIL.Image.new('RGB', (100, 80), color=(200, 200, 200))

# Create ARGS dict with valid arguments
ARGS = {
    'img': img,
    'v': 20
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
Equalize Ran
ran; our contract draft was wrong, not the code
pwc-1/Paper-9/3/AVA_cifar/src/RandAugment/augmentations.py
code served (permissive licence) · get_code("4befb1744e90f3a1")
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 Image. 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 PIL
import PIL.ImageOps

# Create a simple RGB image
img = PIL.Image.new('RGB', (4, 3), color=(100, 150, 200))

ARGS = {
    'img': img,
    '_': None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
Identity Ran
ran, violated the contract we drafted
etetteh/sota-data-augmentation-and-optimizers/augmentation/RandAugment.py
code served (permissive licence) · get_code("08f47bae89750cac")
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 Tensor, ndim 4, dtype family float, shape (2, 3, 4, 5) 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 torch.nn as nn

torch.manual_seed(0)

# The Identity function takes img and v as parameters
# It simply returns img, so we need to provide valid inputs
# img should be a tensor (image-like)
# v is passed but not used in the function body

img = torch.randn(2, 3, 4, 5)  # batch=2, channels=3, height=4, width=5
v = torch.randn(2, 4)  # some auxiliary parameter

ARGS = {
    "img": img,
    "v": v
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (2, 3, 4, 5) — shape (2, 3, 4, 5) 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
Invert Ran
ran; our contract draft was wrong, not the code
pwc-1/Paper-9/3/AVA_cifar/src/RandAugment/augmentations.py
code served (permissive licence) · get_code("f5f0bf976dfcf068")
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 Image. 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 PIL
import PIL.ImageOps
import PIL.ImageEnhance
import PIL.ImageDraw
from PIL import Image
import numpy as np

# Create a small test image (RGB mode)
img_array = np.array([
    [[255, 0, 0], [0, 255, 0]],
    [[0, 0, 255], [255, 255, 0]]
], dtype=np.uint8)

test_image = Image.fromarray(img_array, mode='RGB')

ARGS = {
    'img': test_image,
    '_': None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
Posterize Ran
ran; our contract draft was wrong, not the code
pwc-1/Paper-9/3/AVA_cifar/src/RandAugment/augmentations.py
code served (permissive licence) · get_code("19b3cb2d9f27fcdb")
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 Image. 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 PIL
import PIL.ImageOps
import PIL.ImageEnhance
import PIL.ImageDraw
from PIL import Image
import numpy as np

# Create a simple PIL Image for testing
img_array = np.random.randint(0, 256, (32, 32, 3), dtype=np.uint8)
img = Image.fromarray(img_array, mode='RGB')

# The v parameter should be an integer between 0 and 8 (number of bits to keep)
v = 3

ARGS = {
    'img': img,
    'v': v
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
RandAugment Ran
ran on a synthesized input
pwc-1/Paper-9/3/AVA_cifar/src/RandAugment/augmentations.py
code served (permissive licence) · get_code("eb475b4fcf7d8891")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Image. 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 torch
import numpy as np
from PIL import Image

INIT_ARGS = {
    'n': 2,
    'm': 10
}

# Create a small RGB image (3x4x4) for testing
img = Image.new('RGB', (4, 4))
img_array = np.random.randint(0, 256, (4, 4, 3), dtype=np.uint8)
for y in range(4):
    for x in range(4):
        img.putpixel((x, y), tuple(img_array[y, x]))

ARGS = {
    'img': img
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
PIL, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
RandAugment Ran
ran on a synthesized input · constructed an object; no result was computed
etetteh/sota-data-augmentation-and-optimizers/augmentation/RandAugment.py
code served (permissive licence) · get_code("e097e00c2974ac62")
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 an instance of its own class, RandAugment: the run constructed the object and did not call it, so no result was computed. 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 random
import numpy as np
from PIL import Image

# Create a small valid PIL Image for testing
# The RandAugment class expects a PIL Image object
img = Image.new('RGB', (32, 32), color='red')

# Define ARGS dict with parameters for RandAugment.__init__
ARGS = {
    'n': 2,  # number of augmentation operations to apply
    'm': 9   # magnitude parameter (0-30 range, controls strength of augmentations)
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type RandAugment — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a RandAugment output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not 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
RandAugment Ran
ran on a synthesized input
chenyang4/resmooth/RandAugment/augmentations.py
code served (permissive licence) · get_code("cd8cce1f7b2b9e61")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Image. 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 random
import PIL.Image
import numpy as np

# Import the class code
import random
import PIL, PIL.ImageOps, PIL.ImageEnhance, PIL.ImageDraw

def AutoContrast(img, _):
    return PIL.ImageOps.autocontrast(img)

def Brightness(img, v):
    assert 0.1 <= v <= 1.9
    return PIL.ImageEnhance.Brightness(img).enhance(v)

def Color(img, v):
    assert 0.1 <= v <= 1.9
    return PIL.ImageEnhance.Color(img).enhance(v)

def Equalize(img, _):
    return PIL.ImageOps.equalize(img)

def Identity(img, v):
    return img

def Invert(img, _):
    return PIL.ImageOps.invert(img)

def Posterize(img, v):
    assert 4 <= v <= 8
    v = int(v)
    return PIL.ImageOps.posterize(img, v)

def Rotate(img, v):
    assert -30 <= v <= 30
    if random.random() > 0.5:
        v = -v
    return img.rotate(v)

def Sharpness(img, v):
    assert 0.1 <= v <= 1.9
    return PIL.ImageEnhance.Sharpness(img).enhance(v)

def ShearX(img, v):
    if random.random() > 0.5:
        v = -v
    return img.transform(img.size, PIL.Image.AFFINE, (1, v, 0, 0, 1, 0))

def ShearY(img, v):
    if random.random() > 0.5:
        v = -v
    return img.transform(img.size, PIL.Image.AFFINE, (1, 0, 0, v, 1, 0))

def Solarize(img, v):
    assert 0 <= v <= 256
    return PIL.ImageOps.solarize(img, v)

def TranslateX(img, v):
    if random.random() > 0.5:
        v = -v
    v = v * img.size[0]
    return img.transform(img.size, PIL.Image.AFFINE, (1, 0, v, 0, 1, 0))

def TranslateY(img, v):
    if random.random() > 0.5:
        v = -v
    v = v * img.size[1]
    return img.transform(img.size, PIL.Image.AFFINE, (1, 0, 0, 0, 1, v))

def augment_list():
    l = [(Identity, 0.0, 1.0), (ShearX, 0.0, 0.3), (ShearY, 0.0, 0.3), (TranslateX, 0.0, 0.45), (TranslateY, 0.0, 0.45), (Rotate, 0, 30), (AutoContrast, 0, 1), (Invert, 0, 1), (Equalize, 0, 1), (Solarize, 0, 256), (Posterize, 4, 8), (Color, 0.1, 1.9), (Brightness, 0.1, 1.9), (Sharpness, 0.1, 1.9)]
    return l

class RandAugment:

    def __init__(self, n, m):
        self.n = n
        self.m = m
        self.augment_list = augment_list()

    def __call__(self, img):
        ops = random.choices(self.augment_list, k=self.n)
        for op, minval, maxval in ops:
            val = float(self.m) / 30 * float(maxval - minval) + minval
            img = op(img, val)
        return img


# Create a small test image
def create_test_image():
    arr = np.random.randint(0, 256, (32, 32, 3), dtype=np.uint8)
    return PIL.Image.fromarray(arr, mode='RGB')


INIT_ARGS = {
    'n': 2,
    'm': 9,
}

ARGS = {
    'img': create_test_image(),
}

if __name__ == '__main__':
    augmenter = RandAugment(**INIT_ARGS)
    result = augmenter(**ARGS)
    print(f"Input image size: {ARGS['img'].size}")
    print(f"Output image size: {result.size}")
    print(f"Output image mode: {result.mode}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Rotate Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
pwc-1/Paper-9/3/AVA_cifar/src/RandAugment/augmentations.py
code served (permissive licence) · get_code("b22d322fc26595bc")
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 Image. 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 random
from PIL import Image
import numpy as np

torch_seed = 0
random.seed(torch_seed)

# Create a small PIL Image object with a rotate method
img = Image.new('RGB', (4, 3), color='red')

# Define ARGS with the parameters for Rotate function
ARGS = {
    'img': img,
    'v': 15
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
Sharpness Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
pwc-1/Paper-9/3/AVA_cifar/src/RandAugment/augmentations.py
code served (permissive licence) · get_code("e1ccc58bf76a30b9")
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 Image. 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 PIL
import PIL.Image
import PIL.ImageOps
import PIL.ImageEnhance

# Create a small PIL Image object
# Using a simple 4x3 RGB image
img = PIL.Image.new('RGB', (4, 3), color=(128, 64, 32))

# Define valid arguments for the Sharpness function
ARGS = {
    'img': img,
    'v': 1.0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
ShearX Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
pwc-1/Paper-9/3/AVA_cifar/src/RandAugment/augmentations.py
code served (permissive licence) · get_code("815f704e5efd8345")
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 Image. 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 random
import PIL
import PIL.Image
import PIL.ImageOps
import PIL.ImageEnhance
import PIL.ImageDraw

# Create a small PIL Image object to use as the img parameter
# ShearX expects an image with .size attribute and .transform() method
img = PIL.Image.new('RGB', (100, 80))

# v parameter: a float between -0.3 and 0.3
v = 0.15

ARGS = {
    'img': img,
    'v': v
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
ShearY Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
pwc-1/Paper-9/3/AVA_cifar/src/RandAugment/augmentations.py
code served (permissive licence) · get_code("f5e3179cafd9393a")
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 Image. 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 random
import PIL.Image
import PIL.ImageOps
import PIL.ImageEnhance
import PIL.ImageDraw

# Create a simple PIL Image for testing
# The function calls img.size and img.transform(), so we need a valid PIL Image
test_img = PIL.Image.new('RGB', (100, 100), color='red')

# Define arguments for ShearY
ARGS = {
    'img': test_img,
    'v': 0.15
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
Solarize Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
pwc-1/Paper-9/3/AVA_cifar/src/RandAugment/augmentations.py
code served (permissive licence) · get_code("70eab251c4b2bce2")
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 Image. 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 PIL
import PIL.ImageOps
from PIL import Image

# Create a small PIL Image object for testing
# The Solarize function expects a PIL Image and an integer v
img = Image.new('RGB', (4, 3), color=(100, 150, 200))

# v parameter must be an integer between 0 and 256
v = 128

ARGS = {
    'img': img,
    'v': v
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
ToBLUR Ran
ran; our contract draft was wrong, not the code
pwc-1/Paper-9/3/AVA_cifar/src/RandAugment/augmentations.py
code served (permissive licence) · get_code("e74342905c295c87")
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 Image. 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.

from PIL import Image, ImageFilter
import torch

# Create a simple PIL Image object
# The function calls img.filter(ImageFilter.BLUR), so we need a valid PIL Image
img = Image.new('RGB', (4, 3), color=(255, 0, 0))

# v parameter - based on the function signature, v is passed but not used in the body
v = 0.5

ARGS = {
    'img': img,
    'v': v
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
ToCONTOUR Ran
ran; our contract draft was wrong, not the code
pwc-1/Paper-9/3/AVA_cifar/src/RandAugment/augmentations.py
code served (permissive licence) · get_code("c28a72552d33774e")
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 Image. 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 torch
import numpy as np
from PIL import Image, ImageFilter

# Create a small PIL Image object
# The function calls img.filter(ImageFilter.CONTOUR), so we need a valid PIL Image
img = Image.new('RGB', (4, 3), color='red')

# The parameter v is not used in the function body, but we need to provide it
v = 0

ARGS = {
    'img': img,
    'v': v
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
ToEDGES Ran
ran; our contract draft was wrong, not the code
pwc-1/Paper-9/3/AVA_cifar/src/RandAugment/augmentations.py
code served (permissive licence) · get_code("6479c2b0e4d54d6a")
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 Image. 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 torch
import numpy as np
from PIL import Image

# Create a small PIL Image object
# The function calls img.filter(ImageFilter.FIND_EDGES)
# so we need a valid PIL Image
img = Image.new('RGB', (4, 3), color='red')

# The function takes img and v as parameters
# v is not used in the function body, so it can be any value
v = None

ARGS = {
    'img': img,
    'v': v
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
ToEMBOSS Ran
ran; our contract draft was wrong, not the code
pwc-1/Paper-9/3/AVA_cifar/src/RandAugment/augmentations.py
code served (permissive licence) · get_code("ce08e08f28dfcee7")
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 Image. 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 torch
import numpy as np
from PIL import Image

torch.manual_seed(0)

# Create a simple PIL Image object
# The function calls img.filter(ImageFilter.EMBOSS), so we need a valid PIL Image
img = Image.new('RGB', (4, 3), color='red')

# The parameter v is not used in the function body, so it can be any value
v = 42

ARGS = {
    'img': img,
    'v': v
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
TranslateX Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
etetteh/sota-data-augmentation-and-optimizers/augmentation/RandAugment.py
code served (permissive licence) · get_code("b2893a9a2ac1188f")
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 Image. 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 random
import PIL
import PIL.Image
import PIL.ImageOps
import PIL.ImageEnhance
import PIL.ImageDraw

# Create a small PIL Image object to pass as the 'img' parameter
# The function uses img.size[0] and img.transform(), so we need a valid PIL Image
test_image = PIL.Image.new('RGB', (100, 80), color='red')

# Define v parameter - must be between -0.45 and 0.45
v_value = 0.3

ARGS = {
    'img': test_image,
    'v': v_value
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
TranslateX Ran
ran; our contract draft was wrong, not the code
chenyang4/resmooth/RandAugment/augmentations.py
code served (permissive licence) · get_code("f03d112eee854337")
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) and returned Image. 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 random
import PIL
import PIL.Image
import PIL.ImageOps
import PIL.ImageEnhance
import PIL.ImageDraw

# Create a small PIL Image for testing
# The function uses img.size[0] to get width, and calls img.transform()
img = PIL.Image.new('RGB', (100, 80), color='red')

# v is a float/int that gets multiplied by img.size[0]
v = 0.1

ARGS = {
    'img': img,
    'v': v
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
TranslateXabs Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
pwc-1/Paper-9/3/AVA_cifar/src/RandAugment/augmentations.py
code served (permissive licence) · get_code("d6e5e2e212d3e912")
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 Image. 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 random
import PIL
import PIL.Image
import PIL.ImageOps
import PIL.ImageEnhance
import PIL.ImageDraw

# Create a small PIL Image object
# The function calls img.size and img.transform(), so we need a valid PIL Image
img = PIL.Image.new('RGB', (100, 80))

# The function parameter 'v' should be a non-negative number
# It represents the absolute translation distance in pixels
v = 15

ARGS = {
    'img': img,
    'v': v
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
TranslateY Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
etetteh/sota-data-augmentation-and-optimizers/augmentation/RandAugment.py
code served (permissive licence) · get_code("e3a2ec04026a49e8")
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 Image. 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 random
import PIL.Image
import PIL.ImageOps
import PIL.ImageEnhance
import PIL.ImageDraw

# Create a small PIL Image for testing
# TranslateY uses img.size (which returns (width, height)) and img.transform()
img = PIL.Image.new('RGB', (100, 80), color='red')

# v must be in range [-0.45, 0.45]
v = 0.3

ARGS = {
    'img': img,
    'v': v
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
TranslateY Ran
ran; our contract draft was wrong, not the code
chenyang4/resmooth/RandAugment/augmentations.py
code served (permissive licence) · get_code("e02e6b30e0c6b0ab")
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) and returned Image. 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 random
import PIL
import PIL.Image
import PIL.ImageOps
import PIL.ImageEnhance
import PIL.ImageDraw

# Create a small PIL Image for testing
# The function uses img.size (which returns (width, height)) and img.transform()
img = PIL.Image.new('RGB', (100, 80))

# v is a float that gets multiplied by img.size[1] (height)
v = 0.3

ARGS = {
    'img': img,
    'v': v
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
TranslateYabs Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
pwc-1/Paper-9/3/AVA_cifar/src/RandAugment/augmentations.py
code served (permissive licence) · get_code("52872165441774c7")
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 Image. 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 random
import PIL
import PIL.Image
import PIL.ImageOps
import PIL.ImageEnhance
import PIL.ImageDraw

# Create a simple PIL Image for testing
# Create a small RGB image (4x3 pixels)
img = PIL.Image.new('RGB', (4, 3), color='red')

# Set a seed for reproducibility
random.seed(42)

# Define arguments
ARGS = {
    'img': img,
    'v': 5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
augment_list Ran
ran on a synthesized input
pwc-1/Paper-9/3/AVA_cifar/src/RandAugment/augmentations.py
code served (permissive licence) · get_code("b6eb3433772b9aac")
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 2, 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 PIL import Image

# Create a small test image
np.random.seed(0)
test_image_array = np.random.randint(0, 256, (32, 32, 3), dtype=np.uint8)
test_image = Image.fromarray(test_image_array)

ARGS = {}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family float — 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
augment_list Ran
ran on a synthesized input
etetteh/sota-data-augmentation-and-optimizers/augmentation/RandAugment.py
code served (permissive licence) · get_code("fa05edca4ee502d1")
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 2, 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 random
import PIL
import PIL.Image
import numpy as np

# Create a small PIL image for testing
def create_test_image():
    """Create a small test PIL image"""
    img_array = np.random.randint(0, 256, (32, 32, 3), dtype=np.uint8)
    img = PIL.Image.fromarray(img_array, mode='RGB')
    return img

# Since augment_list() takes no parameters, ARGS should be empty
ARGS = {}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family float — 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
augment_list Ran
ran on a synthesized input
chenyang4/resmooth/RandAugment/augmentations.py
code served (permissive licence) · get_code("0e2bfdf3982286ac")
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) and returned list, ndim 2, 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 random
import PIL
from PIL import Image
import numpy as np

# Create a small test image
def create_test_image():
    # Create a simple RGB image (64x64)
    img_array = np.random.randint(0, 256, (64, 64, 3), dtype=np.uint8)
    img = Image.fromarray(img_array, mode='RGB')
    return img

# Since augment_list() takes no parameters, ARGS should be empty
ARGS = {}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family float — 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
auto_contrast Ran
ran; our contract draft was wrong, not the code
lyxxn0414/test-data-generation/auto_augment.py
pointer only (licence: NONE) · get_code("5ea03e170ec307dd")
How it ran

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

autocontrast Ran
ran; our contract draft was wrong, not the code
nachiket273/pytorch_resnet_rs/model/randaugment.py
code served (permissive licence) · get_code("033f4c7eebc4b8bc")
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 Image. 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.

from PIL import Image, ImageDraw, ImageEnhance, ImageOps
import numpy as np

# Create a small test image
img_array = np.random.randint(0, 256, (4, 3, 3), dtype=np.uint8)
test_img = Image.fromarray(img_array, mode='RGB')

ARGS = {
    'img': test_img
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
brightness Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
nachiket273/pytorch_resnet_rs/model/randaugment.py
code served (permissive licence) · get_code("c853710460b412e7")
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 Image. 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.

from PIL import Image, ImageDraw, ImageEnhance, ImageOps

# Create a small PIL Image object
img = Image.new('RGB', (100, 100), color='red')

# Define the factor parameter - must be between 0.1 and 1.9
factor = 1.0

ARGS = {
    'img': img,
    'factor': factor
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
brightness Ran
ran; our contract draft was wrong, not the code
lyxxn0414/test-data-generation/auto_augment.py
pointer only (licence: NONE) · get_code("32a7da0ae8a21668")
How it ran

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

color Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
nachiket273/pytorch_resnet_rs/model/randaugment.py
code served (permissive licence) · get_code("5f1efa6a7f09bf92")
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 Image. 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.

from PIL import Image
import numpy as np

# Create a small test image
img_array = np.random.randint(0, 256, (10, 10, 3), dtype=np.uint8)
img = Image.fromarray(img_array, mode='RGB')

# Create valid factor in the range [0.1, 1.9]
factor = 0.5

ARGS = {
    'img': img,
    'factor': factor
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
color Ran
ran; our contract draft was wrong, not the code
lyxxn0414/test-data-generation/auto_augment.py
pointer only (licence: NONE) · get_code("747a0d64c7ffa9e5")
How it ran

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

contrast Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
nachiket273/pytorch_resnet_rs/model/randaugment.py
code served (permissive licence) · get_code("74223e0d5db8f6dc")
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 Image. 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.

from PIL import Image, ImageDraw, ImageEnhance, ImageOps
import numpy as np

# Create a small PIL Image object
img_array = np.random.randint(0, 256, (32, 32, 3), dtype=np.uint8)
img = Image.fromarray(img_array, mode='RGB')

# Define factor within valid range [0.1, 1.9]
factor = 0.5

ARGS = {
    'img': img,
    'factor': factor
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
contrast Ran
ran; our contract draft was wrong, not the code
lyxxn0414/test-data-generation/auto_augment.py
pointer only (licence: NONE) · get_code("6d3fa2f36220efed")
How it ran

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

cutout Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
nachiket273/pytorch_resnet_rs/model/randaugment.py
code served (permissive licence) · get_code("a07328daac80e5d4")
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 Image. 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
from PIL import Image

# Create a small test image
# The cutout function uses img.size (width, height), .copy(), and ImageDraw.Draw()
test_image = Image.new('RGB', (64, 48), color=(200, 150, 100))

# Define ARGS for the cutout function
ARGS = {
    'img': test_image,
    'percentage': 0.1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
equalize Ran
ran; our contract draft was wrong, not the code
nachiket273/pytorch_resnet_rs/model/randaugment.py
code served (permissive licence) · get_code("6f465d3353435748")
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 Image. 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.

from PIL import Image
import numpy as np

# Create a small PIL Image for testing
# The equalize function expects a PIL Image object
img_array = np.random.randint(0, 256, (64, 48, 3), dtype=np.uint8)
img = Image.fromarray(img_array, mode='RGB')

ARGS = {
    'img': img
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
equalize Ran
ran; our contract draft was wrong, not the code
lyxxn0414/test-data-generation/auto_augment.py
pointer only (licence: NONE) · get_code("51eba7748cab33ee")
How it ran

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

invert Ran
ran; our contract draft was wrong, not the code
nachiket273/pytorch_resnet_rs/model/randaugment.py
code served (permissive licence) · get_code("b794fd0b35eea322")
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 Image. 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.

from PIL import Image
import numpy as np

# Create a small RGB image for testing
img_array = np.array([
    [[255, 0, 0], [0, 255, 0]],
    [[0, 0, 255], [128, 128, 128]]
], dtype=np.uint8)
img = Image.fromarray(img_array, mode='RGB')

ARGS = {
    'img': img
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
invert Ran
ran; our contract draft was wrong, not the code
lyxxn0414/test-data-generation/auto_augment.py
pointer only (licence: NONE) · get_code("a14dd4fa2af8e72e")
How it ran

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

posterize Ran
ran; our contract draft was wrong, not the code
nachiket273/pytorch_resnet_rs/model/randaugment.py
code served (permissive licence) · get_code("ac724bc0e98f3cda")
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 Image. 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.

from PIL import Image, ImageDraw, ImageEnhance, ImageOps
import numpy as np

# Create a small PIL Image for testing
# Create a simple RGB image with distinct pixel values
img_array = np.array([
    [[255, 0, 0], [0, 255, 0]],
    [[0, 0, 255], [255, 255, 0]]
], dtype=np.uint8)
img = Image.fromarray(img_array, mode='RGB')

# Define arguments for the posterize function
ARGS = {
    'img': img,
    'bits': 6
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
posterize Ran
ran; our contract draft was wrong, not the code
lyxxn0414/test-data-generation/auto_augment.py
pointer only (licence: NONE) · get_code("c2b9e317cc24e2a5")
How it ran

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

rotate Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
nachiket273/pytorch_resnet_rs/model/randaugment.py
code served (permissive licence) · get_code("6d903cf9b58e8ce3")
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 Image. 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 random
from PIL import Image

# Create a small PIL Image object that has a rotate method
img = Image.new('RGB', (10, 8))

ARGS = {
    'img': img,
    'angle': 15
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
rotate Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lyxxn0414/test-data-generation/auto_augment.py
pointer only (licence: NONE) · get_code("8d1db612602ab793")
How it ran

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

sharpness Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
nachiket273/pytorch_resnet_rs/model/randaugment.py
code served (permissive licence) · get_code("cbbf595da3dbb1fd")
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 Image. 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.

from PIL import Image, ImageDraw
import numpy as np

# Create a simple PIL Image for testing
# Create a small RGB image (4x3 pixels)
img_array = np.random.randint(0, 256, (3, 4, 3), dtype=np.uint8)
img = Image.fromarray(img_array, 'RGB')

# Define the arguments dictionary
ARGS = {
    'img': img,
    'factor': 1.0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
sharpness Ran
ran; our contract draft was wrong, not the code
lyxxn0414/test-data-generation/auto_augment.py
pointer only (licence: NONE) · get_code("3f5e624979a30a88")
How it ran

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

shear_x Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lyxxn0414/test-data-generation/auto_augment.py
pointer only (licence: NONE) · get_code("7fad25ebc151a21a")
How it ran

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

shear_y Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lyxxn0414/test-data-generation/auto_augment.py
pointer only (licence: NONE) · get_code("eb627b1078fe24a3")
How it ran

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

shearx Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
nachiket273/pytorch_resnet_rs/model/randaugment.py
code served (permissive licence) · get_code("472154b113f3c670")
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 Image. 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.

from PIL import Image
import random

# Set seed for reproducibility
random.seed(0)

# Create a simple test image (small RGB image)
test_image = Image.new('RGB', (100, 80), color='red')

# Define arguments for the shearx function
ARGS = {
    'img': test_image,
    'level': 0.15
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
sheary Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
nachiket273/pytorch_resnet_rs/model/randaugment.py
code served (permissive licence) · get_code("9cc62c9a79622659")
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 Image. 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.

from PIL import Image
import random

# Create a small test image
img = Image.new('RGB', (100, 100), color='red')

# Set seed for reproducibility
random.seed(0)

# Define arguments for the sheary function
ARGS = {
    'img': img,
    'level': 0.15
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
solarize Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
nachiket273/pytorch_resnet_rs/model/randaugment.py
code served (permissive licence) · get_code("b8a2aca46dc33d3f")
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 Image. 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.

from PIL import Image, ImageDraw, ImageEnhance, ImageOps

# Create a small test image
img = Image.new('RGB', (4, 3), color='red')

# Define the arguments dictionary
ARGS = {
    'img': img,
    'threshold': 128
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
solarize Ran
ran; our contract draft was wrong, not the code
lyxxn0414/test-data-generation/auto_augment.py
pointer only (licence: NONE) · get_code("f5999a1ee8824e22")
How it ran

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

transform_matrix_offset_center Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from 4uiiurz1/pytorch-auto-augment
pointer only · get_code("3e773c6c5bc796d4")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

translate_x Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lyxxn0414/test-data-generation/auto_augment.py
pointer only (licence: NONE) · get_code("9c2425c71cab36a2")
How it ran

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

translate_y Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lyxxn0414/test-data-generation/auto_augment.py
pointer only (licence: NONE) · get_code("bd8449369ce2815d")
How it ran

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

translatex Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
nachiket273/pytorch_resnet_rs/model/randaugment.py
code served (permissive licence) · get_code("845982ca54304048")
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 Image. 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.

from PIL import Image
import random

# Create a simple PIL Image for testing
# The function uses img.size (tuple of width, height) and img.transform()
img = Image.new('RGB', (100, 80))

# The function expects percentage as a float between 0.0 and 0.45
percentage = 0.3

ARGS = {
    'img': img,
    'percentage': percentage
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
translatey Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
nachiket273/pytorch_resnet_rs/model/randaugment.py
code served (permissive licence) · get_code("2c8f458ee8d12c14")
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 Image. 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.

from PIL import Image
import random

# Create a simple PIL Image for testing
# The function uses img.size and img.transform()
test_image = Image.new('RGB', (640, 480), color='red')

# Set random seed for reproducibility
random.seed(42)

ARGS = {
    'img': test_image,
    'percentage': 0.25
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not 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
RandAugment Not yet run
unverified (harvested, no recorded run)
nachiket273/pytorch_resnet_rs/model/randaugment.py
code served (permissive licence) · get_code("ad7a01616e026f1c")
How it ran

no invocation recorded.

SolarizeAdd Not yet run
unverified (harvested, no recorded run)
pwc-1/Paper-9/3/AVA_cifar/src/RandAugment/augmentations.py
code served (permissive licence) · get_code("1c3be67e92763d85")
How it ran

no invocation recorded.

Showing the first 60. An agent gets every one from get_harvested_code_for_paper("1909.13719").

Also present in other papers' code

Of 65 samples lifted from this paper's linked repositories, 65 carry a function identity and 0 do not. Of the 63 distinct functions with an identity, 18 are also present in other papers whose code we hold (16 with at least one paper dated earlier, 0 the same month, 14 later) and 45 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
AutoContrast
brick of this paper's assembly: data_transform
14 other papers
2 dated earlier, 12 later · 4 only as an assembly brick
1904.12848 (2019-04)
Unsupervised Data Augmentation for Consistency Training
1905.00397 (2019-05)
Fast AutoAugment
2103.05863 (2021-03)
AutoDO: Robust AutoAugment for Biased Data with Label Noise via Scalable Probabilistic Implicit Differentiation
and 11 more not named here
Equalize
brick of this paper's assembly: data_transform
6 other papers
2 dated earlier, 4 later · 4 only as an assembly brick
1904.12848 (2019-04)
Unsupervised Data Augmentation for Consistency Training
1905.00397 (2019-05)
Fast AutoAugment
2103.05863 (2021-03)
AutoDO: Robust AutoAugment for Biased Data with Label Noise via Scalable Probabilistic Implicit Differentiation
and 3 more not named here
Invert
brick of this paper's assembly: data_transform
6 other papers
2 dated earlier, 4 later · 4 only as an assembly brick
1904.12848 (2019-04)
Unsupervised Data Augmentation for Consistency Training
1905.00397 (2019-05)
Fast AutoAugment
2103.05863 (2021-03)
AutoDO: Robust AutoAugment for Biased Data with Label Noise via Scalable Probabilistic Implicit Differentiation
and 3 more not named here
apply_policy
brick of this paper's assembly: entry
6 other papers
3 dated earlier, 3 later
1805.09501 (2018-05)
AutoAugment: Learning Augmentation Policies from Data
1903.05285 (2019-03)
All You Need is a Few Shifts: Designing Efficient Convolutional Neural Networks for Image Classification
1908.09791 (2019-08)
Once-for-All: Train One Network and Specialize it for Efficient Deployment
and 3 more not named here
transform_matrix_offset_center
brick of this paper's assembly: helper
6 other papers
3 dated earlier, 3 later
1805.09501 (2018-05)
AutoAugment: Learning Augmentation Policies from Data
1903.05285 (2019-03)
All You Need is a Few Shifts: Designing Efficient Convolutional Neural Networks for Image Classification
1908.09791 (2019-08)
Once-for-All: Train One Network and Specialize it for Efficient Deployment
and 3 more not named here
Contrast
brick of this paper's assembly: data_transform
4 other papers
2 dated earlier, 2 later · 3 only as an assembly brick
1904.12848 (2019-04)
Unsupervised Data Augmentation for Consistency Training
1905.00397 (2019-05)
Fast AutoAugment
2103.05863 (2021-03)
AutoDO: Robust AutoAugment for Biased Data with Label Noise via Scalable Probabilistic Implicit Differentiation
and 1 more not named here
CutoutAbs
brick of this paper's assembly: helper
4 other papers
2 dated earlier, 2 later · 3 only as an assembly brick
1904.12848 (2019-04)
Unsupervised Data Augmentation for Consistency Training
1905.00397 (2019-05)
Fast AutoAugment
2103.05863 (2021-03)
AutoDO: Robust AutoAugment for Biased Data with Label Noise via Scalable Probabilistic Implicit Differentiation
and 1 more not named here
Sharpness
brick of this paper's assembly: data_transform
4 other papers
2 dated earlier, 2 later · 3 only as an assembly brick
1904.12848 (2019-04)
Unsupervised Data Augmentation for Consistency Training
1905.00397 (2019-05)
Fast AutoAugment
2103.05863 (2021-03)
AutoDO: Robust AutoAugment for Biased Data with Label Noise via Scalable Probabilistic Implicit Differentiation
and 1 more not named here
Solarize
brick of this paper's assembly: data_transform
4 other papers
2 dated earlier, 2 later · 3 only as an assembly brick
1904.12848 (2019-04)
Unsupervised Data Augmentation for Consistency Training
1905.00397 (2019-05)
Fast AutoAugment
2103.05863 (2021-03)
AutoDO: Robust AutoAugment for Biased Data with Label Noise via Scalable Probabilistic Implicit Differentiation
and 1 more not named here
ShearX
brick of this paper's assembly: data_transform
3 other papers
1 dated earlier, 2 later · 1 only as an assembly brick
1905.00397 (2019-05)
Fast AutoAugment
2207.08877 (2022-07)
Prior Knowledge Guided Unsupervised Domain Adaptation
2407.18365 (2024-07)
FADAS: Towards Federated Adaptive Asynchronous Optimization
ShearY
brick of this paper's assembly: data_transform
3 other papers
1 dated earlier, 2 later · 1 only as an assembly brick
1905.00397 (2019-05)
Fast AutoAugment
2207.08877 (2022-07)
Prior Knowledge Guided Unsupervised Domain Adaptation
2407.18365 (2024-07)
FADAS: Towards Federated Adaptive Asynchronous Optimization
SolarizeAdd
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later
1905.00397 (2019-05)
Fast AutoAugment
2302.05499 (2023-02)
CUDA: Curriculum of Data Augmentation for Long-Tailed Recognition
TranslateX
brick of this paper's assembly: data_transform
2 other papers
2 later
2207.08877 (2022-07)
Prior Knowledge Guided Unsupervised Domain Adaptation
2407.18365 (2024-07)
FADAS: Towards Federated Adaptive Asynchronous Optimization
RandAugment
brick of this paper's assembly: entry
1 other paper
1 dated earlier
1905.00397 (2019-05)
Fast AutoAugment
Rotate
brick of this paper's assembly: data_transform
1 other paper
1 dated earlier · 1 only as an assembly brick
1905.00397 (2019-05)
Fast AutoAugment
TranslateX
brick of this paper's assembly: data_transform
1 other paper
1 later
2310.17622 (2023-10)
Combating Representation Learning Disparity with Geometric Harmonization
TranslateXabs
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
1905.00397 (2019-05)
Fast AutoAugment
TranslateYabs
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
1905.00397 (2019-05)
Fast AutoAugment

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

Repositories linked to this paper

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

Abstract

Recent work has shown that data augmentation has the potential to significantly improve the generalization of deep learning models. Recently, automated augmentation strategies have led to state-of-the-art results in image classification and object detection. While these strategies were optimized for improving validation accuracy, they also led to state-of-the-art results in semi-supervised learning and improved robustness to common corruptions of images. An obstacle to a large-scale adoption of these methods is a separate search phase which increases the training complexity and may substantially increase the computational cost. Additionally, due to the separate search phase, these approaches are unable to adjust the regularization strength based on model or dataset size. Automated augmentation policies are often found by training small models on small datasets and subsequently applied to train larger models. In this work, we remove both of these obstacles. RandAugment has a significantly reduced search space which allows it to be trained on the target task with no need for a separate proxy task. Furthermore, due to the parameterization, the regularization strength may be tailored to different model and dataset sizes. RandAugment can be used uniformly across different tasks and datasets and works out of the box, matching or surpassing all previous automated augmentation approaches on CIFAR-10/100, SVHN, and ImageNet. On the ImageNet dataset we achieve 85.0% accuracy, a 0.6% increase over the previous state-of-the-art and 1.0% increase over baseline augmentation. On object detection, RandAugment leads to 1.0-1.3% improvement over baseline augmentation, and is within 0.3% mAP of AutoAugment on COCO. Finally, due to its interpretable hyperparameter, RandAugment may be used to investigate the role of data augmentation with varying model and dataset size. Code is available online. 1 * Authors contributed equally. 1 github.com/tensorflow/tpu/tree/master/models/ official/efficientnet PyramidNet [15], Wide-ResNet-28-10 [53], ResNet-50 [17], and EfficientNet-B7 [47]. Search space size is reported as the order of magnitude of the number of possible augmentation policies. All accuracies are the percentage on a cross-validated validation or test split. Dash indicates that results are not available.

For agents

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

get_harvested_code_for_paper("1909.13719")
get_code_for_paper("1909.13719")
have("1909.13719")

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

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

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

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

Connect an agent — have() is free.