SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2304.09919 · 2023

The eBible Corpus: Data and Model Benchmarks for Bible Translation for Low-Resource Languages

arXiv · PDF · Open in the Atlas

Code that ran

14 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 14 have no contract verdict; 0 failures of our instrument; 1 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2304.09919.json · badge: /api/ran/2304.09919.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
biblenlp/ebible-experiments canonical (classifier label)
classifier basis: census
14 ran · 1 no recorded run
FunctionStatusWhere it lives
calculate_bleu_score Ran
ran on a synthesized input
biblenlp/ebible-experiments/code/python/bleu.py
code served (permissive licence) · get_code("9c4db71c0c8da03b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np
from nltk.translate.bleu_score import corpus_bleu

torch.manual_seed(0)

# Create small tokenized text data
# ref_tokenized_texts: list of tokenized reference sentences
ref_tokenized_texts = [
    ['the', 'cat', 'sat', 'on', 'the', 'mat'],
    ['a', 'dog', 'runs', 'fast'],
    ['hello', 'world']
]

# hyp_tokenized_texts: list of tokenized hypothesis/predicted sentences
hyp_tokenized_texts = [
    ['the', 'cat', 'is', 'on', 'the', 'mat'],
    ['a', 'dog', 'running', 'fast'],
    ['hello', 'there']
]

# non_empty_line_indices: indices of non-empty lines to evaluate
non_empty_line_indices = [0, 1, 2]

args = (ref_tokenized_texts, hyp_tokenized_texts, non_empty_line_indices)

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

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float; 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 sys
from unittest.mock import patch
from io import StringIO

# Mock the input function to return 'y' for the test
def mock_input_yes(prompt: str) -> str:
    return 'y'

# Create ARGS dict with the prompt parameter
ARGS = {
    'prompt': 'Do you want to continue? (y/n): '
}

# To actually execute this function, we need to patch input
# Here's how you would run it:
# with patch('builtins.input', side_effect=['y']):
#     result = choose_yes_no(ARGS['prompt'])
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float — no output shape is stated: observe_signature.py could not observe it (no_result)
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
choose_yes_no Ran
ran on a synthesized input
biblenlp/ebible-experiments/code/python/modify_configs.py
code served (permissive licence) · get_code("97bbcc3931d0b2cc")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import sys
from io import StringIO

# Mock the input function to return 'y'
original_input = input
mock_input = lambda prompt: 'y'

# Create ARGS dict with the prompt parameter
ARGS = {
    'prompt': 'Do you want to continue?'
}

# Patch input for testing
import builtins
builtins.input = mock_input
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
count_lines Ran
ran on a synthesized input
biblenlp/ebible-experiments/code/python/summarize_scores_bybook.py
code served (permissive licence) · get_code("af1329ad61fa212e")
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 int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import os

# Create a temporary file with some content
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt')
temp_file.write("line 1\n")
temp_file.write("line 2\n")
temp_file.write("line 3\n")
temp_file.close()

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

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family 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 re
import tempfile
import os

# Create a temporary file with some test content
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt', encoding='utf-8')
temp_file.write("hello world\n")
temp_file.write("test pattern 123\n")
temp_file.write("another line\n")
temp_file.write("pattern match here\n")
temp_file.close()

# Define arguments for the function
ARGS = {
    'in_file': temp_file.name,
    'pattern': r'^test.*',
    'first_n': 1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family 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
find_last_in_file Ran
ran on a synthesized input
biblenlp/ebible-experiments/code/python/summarize_scores_overall.py
code served (permissive licence) · get_code("6c994c446d928a9c")
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 deque. 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 tempfile
import os

# Create a temporary file with test content
with tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt', encoding='utf-8') as f:
    temp_file = f.name
    f.write("apple 123\n")
    f.write("banana 456\n")
    f.write("apple 789\n")
    f.write("cherry 101\n")
    f.write("apple 202\n")

try:
    ARGS = {
        'in_file': temp_file,
        'pattern': r'^apple',
        'last_n': 2
    }
finally:
    # Clean up will happen after the function is called
    pass
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type deque — a deque output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a deque output the recorded ndim 1 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
get_config_data Ran
ran on a synthesized input
biblenlp/ebible-experiments/code/python/summarize_scores_bybook.py
code served (permissive licence) · get_code("5ae9f90e9e2ffc87")
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 dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import yaml
from pathlib import Path

# Create a temporary directory structure for the config file
temp_dir = tempfile.TemporaryDirectory()
temp_path = Path(temp_dir.name)

# Create series/experiment/config.yml structure
series_dir = temp_path / "test_series"
experiment_dir = series_dir / "test_experiment"
experiment_dir.mkdir(parents=True, exist_ok=True)

# Create a valid YAML config file
config_data = {
    'data': {
        'corpus_pairs': [
            {
                'src': 'english-train',
                'trg': 'french-train'
            }
        ],
        'parent': 'base_model',
        'terms': {
            'custom_term': 'value'
        }
    },
    'model': 'transformer',
    'params': {
        'label_smoothing_factor': 0.1,
        'wwarmup_steps': 4000
    }
}

config_file_path = experiment_dir / "effective-config-abc123def456.yml"
with open(config_file_path, 'w') as f:
    yaml.dump(config_data, f)

# Define fieldnames
fieldnames = ['git_commit', 'parent', 'label_smoothing_factor', 'wwarmup_steps', 'terms']

ARGS = {
    'config_file': config_file_path,
    'fieldnames': fieldnames
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
yaml — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
get_dest_file Ran
ran on a synthesized input
biblenlp/ebible-experiments/code/python/copy_experiments.py
code served (permissive licence) · get_code("7b0424e3118fe3c3")
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 PosixPath. 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 pathlib import Path

source_base_folder_str = 'S:/eBible/MT/experiments'
dest_base_folder_str = 'F:/Github/BibleNLP/ebible-experiments/MT/experiments'
dest_base_folder = Path(dest_base_folder_str)

def get_dest_file(source_file):
    return dest_base_folder / str(source_file.parent)[len(source_base_folder_str) + 1:] / source_file.name

# Create a valid Path object for source_file
source_file = Path('S:/eBible/MT/experiments/subdir/test_file.txt')

ARGS = {
    'source_file': source_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PosixPath — a PosixPath output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PosixPath 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
get_set_sizes Ran
ran on a synthesized input
biblenlp/ebible-experiments/code/python/summarize_scores_bybook.py
code served (permissive licence) · get_code("f46c2741fea7a9a0")
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 dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

from pathlib import Path
import tempfile
import os

# Create a temporary directory with test files
temp_dir = tempfile.mkdtemp()
temp_path = Path(temp_dir)

# Create test, val, and train .vref.txt files with some lines
(temp_path / 'test.vref.txt').write_text('line1\nline2\nline3\n')
(temp_path / 'val.vref.txt').write_text('line1\nline2\n')
(temp_path / 'train.vref.txt').write_text('line1\nline2\nline3\nline4\nline5\n')

# Create experiment dict with folder path
experiment = {
    'folder': temp_path,
    'name': 'test_experiment'
}

ARGS = {
    'experiment': experiment
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
helper_function Ran
ran on a synthesized input
biblenlp/ebible-experiments/code/python/summarize_scores_overall.py
code served (permissive licence) · get_code("3eb88f5938ed0684")
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 str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re
import tempfile
import os

# Create a temporary file with test content
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt', encoding='utf-8')
temp_file.write("line one\n")
temp_file.write("pattern: group1_value\n")
temp_file.write("another line\n")
temp_file.write("pattern: group2_value\n")
temp_file.close()

# Define arguments for helper_function
ARGS = {
    'infile': temp_file.name,
    'pattern': r'pattern: (\w+)',
    'first_n': 1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
is_excluded Ran
ran on a synthesized input
biblenlp/ebible-experiments/code/python/copy_experiments.py
code served (permissive licence) · get_code("cd9da2ff4f9d8f61")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Analyzing the function:
# - source: needs to support the 'in' operator for checking if exclude is in source
# - excludes: needs to be iterable, yielding items that can be checked with 'in' against source

# Test case 1: source is a string, excludes is a list of strings
source = "hello_world_test"
excludes = ["world", "foo", "bar"]

ARGS = {
    "source": source,
    "excludes": excludes
}
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 bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
is_included Ran
ran on a synthesized input
biblenlp/ebible-experiments/code/python/make_configs.py
code served (permissive licence) · get_code("03d5b3de4b57f059")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function checks if any item in 'includes' is contained in 'source'
# Both parameters appear to be strings or string-like objects based on the 'in' operator usage

source = "hello world this is a test string"
includes = ["world", "test", "missing"]

ARGS = {
    "source": source,
    "includes": includes
}
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 bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_tokenized_file Ran
ran on a synthesized input
biblenlp/ebible-experiments/code/python/bleu.py
code served (permissive licence) · get_code("cb80bdf225558f82")
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 dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import tempfile
from pathlib import Path

# Create a temporary directory structure with a tokenized file
temp_dir = tempfile.TemporaryDirectory()
temp_path = Path(temp_dir.name)

# Create the 'tokenized' subdirectory
tokenized_dir = temp_path / 'tokenized'
tokenized_dir.mkdir(exist_ok=True)

# Create a sample tokenized JSON file
sample_tokenized_data = {
    "tokens": [101, 2054, 2003, 2054, 102],
    "token_ids": [0, 1, 2, 3, 4],
    "attention_mask": [1, 1, 1, 1, 1]
}

# Create a filepath that the function will look for
original_filepath = temp_path / 'sample.txt'
tokenized_filepath = tokenized_dir / 'sample.tokenized'

# Write the tokenized data to the expected location
with tokenized_filepath.open('w', encoding='utf-8') as f:
    json.dump(sample_tokenized_data, f)

ARGS = {
    'filepath': original_filepath
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
modify_config Ran
ran on a synthesized input
biblenlp/ebible-experiments/code/python/modify_configs.py
code served (permissive licence) · get_code("563364e92a40d4da")
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 dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import yaml
import os

# Create a temporary config file
temp_dir = tempfile.mkdtemp()
config_file = os.path.join(temp_dir, 'test_config.yaml')

# Create a minimal config structure that the function expects
config_data = {
    'data': {
        'corpus_pairs': [
            {
                'src': 'grc-grcsbl',
                'trg': 'eng'
            },
            {
                'src': 'lat',
                'trg': 'eng'
            }
        ],
        'lang_codes': {
            'grc': 'grc_word_pieces',
            'eng': 'eng_word_pieces'
        }
    }
}

# Write config to temporary file
with open(config_file, 'w') as f:
    yaml.dump(config_data, f)

# Define language_family_details
language_family_details = {
    '1st_pair': {
        'src': 'grc-grcsbl',
        'trg': 'fra'
    },
    '2nd_pair': {
        'src': 'lat-latnmc',
        'trg': 'fra'
    },
    'lang_codes': {
        'grc': 'grc_word_pieces_v2',
        'eng': 'eng_word_pieces_v2',
        'fra': 'fra_word_pieces'
    },
    'related_lang_code': {
        'lat': 'lat_word_pieces'
    }
}

greek_source_val = 'grc-grcsbl'

ARGS = {
    'config_file': config_file,
    'language_family_details': language_family_details,
    'greek_source': greek_source_val
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
yaml — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
read_and_tokenize_file Not yet run
unverified (harvested, no recorded run)
biblenlp/ebible-experiments/code/python/bleu.py
code served (permissive licence) · get_code("d89f199f63ea440b")
How it ran

no invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 15 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

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

Abstract

Efficiently and accurately translating a corpus into a low-resource language remains a challenge, regardless of the strategies employed, whether manual, automated, or a combination of the two. Many Christian organizations are dedicated to the task of translating the Holy Bible into languages that lack a modern translation. Bible translation (BT) work is currently underway for over 3000 extremely low resource languages. We introduce the eBible corpus: a dataset containing 1009 translations of portions of the Bible with data in 833 different languages across 75 language families. In addition to a BT benchmarking dataset, we introduce model performance benchmarks built on the No Language Left Behind (NLLB) neural machine translation (NMT) models. Finally, we describe several problems specific to the domain of BT and consider how the established data and model benchmarks might be used for future translation efforts. For a BT task trained with NLLB, Austronesian and Trans-New Guinea language families achieve 35.1 and 31.6 BLEU scores respectively, which spurs future innovations for NMT for low-resource languages in Papua New Guinea.

For agents

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

get_harvested_code_for_paper("2304.09919")
get_code_for_paper("2304.09919")
have("2304.09919")

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

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

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

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

Connect an agent — have() is free.