SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2308.13418 · 2023

Nougat: Neural Optical Understanding for Academic Documents

arXiv · PDF · Open in the Atlas

Code that ran

13 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 10 failures of our instrument; 1 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/2308.13418.json · badge: /api/ran/2308.13418.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
facebookresearch/nougat canonical (classifier label)
classifier basis: census
13 ran · 1 no recorded run
FunctionStatusWhere it lives
alb_wrapper Ran
ran; our contract draft was wrong, not the code
facebookresearch/nougat/nougat/transforms.py
pointer only (licence: MIT); the stored copy get_code serves, from Ucas-HaoranWei/Vary, is pointer only (licence: NONE) · get_code("f1cb6f078273e8af")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from Ucas-HaoranWei/Vary, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

batch Ran
ran; our contract draft was wrong, not the code
facebookresearch/nougat/nougat/model.py
code served (permissive licence) · get_code("fea7d53593666bbe")
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 int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# The function batch() takes:
# - l: a list-like object that supports len() and slicing
# - b: an integer representing batch size (default 15)
# The function creates overlapping subsequences of length b from l

# Create a simple list of integers as the input
l = list(range(20))  # List of 20 elements

# Set batch size
b = 5

ARGS = {
    "l": l,
    "b": b
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family int — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compute_metrics Ran
ran; our contract draft was wrong, not the code
facebookresearch/nougat/nougat/metrics.py
code served (permissive licence) · get_code("5f204ab74a9ee7f3")
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 numpy as np
import nltk
from nltk import edit_distance

# Ensure NLTK data is available
try:
    nltk.data.find('tokenizers/punkt')
except LookupError:
    nltk.download('punkt', quiet=True)

# Define ARGS with two strings for the compute_metrics function
ARGS = {
    'pred': 'the quick brown fox jumps over the lazy dog',
    'gt': 'the quick brown fox jumps over a lazy dog',
    'minlen': 4
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
nltk, numpy — 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
convert_pt2px Ran
ran; our contract draft was wrong, not the code
facebookresearch/nougat/nougat/dataset/create_index.py
code served (permissive licence) · get_code("498c42b30e9d9b7f")
How it ran

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

import torch
import numpy as np

# Analyze the function:
# - convert_pt2px takes 'pt' (can be list or dict) and 'dpi' (optional, default 96)
# - If pt is a list: converts each element using dpi/72 * p
# - If pt is a dict: converts each value using dpi/72 * pt[k]
# - Returns the converted result

# Test with a list of point values
pt_list = [12, 24, 36, 48]

# Test with a dict of point values
pt_dict = {"font_size": 12, "margin": 24, "padding": 18}

# dpi parameter (optional, has default 96)
dpi_value = 96

# Create ARGS dict with all parameters
ARGS = {
    "pt": pt_list,
    "dpi": dpi_value
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family int — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
find_last_punctuation Ran
ran, honoured the contract we drafted
facebookresearch/nougat/nougat/postprocessing.py
code served (permissive licence) · get_code("29b43bfd2aa18b4f")
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 string

# Create test arguments for find_last_punctuation
# The function searches backwards from start_inx to find punctuation marks

# Test case 1: String with punctuation and a reasonable start index
s = "Hello world. This is a test! How are you?"
start_inx = len(s) - 1

ARGS = {
    "s": s,
    "start_inx": start_inx
}
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_next_punctuation Ran
ran, honoured the contract we drafted
facebookresearch/nougat/nougat/postprocessing.py
code served (permissive licence) · get_code("740a466930629c47")
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.

# Setup code for find_next_punctuation

ARGS = {
    "s": "Hello world. This is a test! How are you? I'm fine.\nThank you!",
    "start_inx": 0
}
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
flatten Ran
ran, honoured the contract we drafted
facebookresearch/nougat/nougat/dataset/split_md_to_pages.py
code served (permissive licence) · get_code("c7b10fd9591e244d")
How it ran

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

import torch
import numpy as np

# The function 'flatten' takes a list of lists and flattens it into a single list.
# It iterates through each sublist and yields all items.
# We need to construct a list of lists with various sublists.

torch.manual_seed(0)

# Create a list of lists with different types of elements
list_of_lists = [
    [1, 2, 3],
    [4, 5],
    [6, 7, 8, 9],
    []
]

ARGS = {
    "l": list_of_lists
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family int — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_metrics Ran
ran; our contract draft was wrong, not the code
facebookresearch/nougat/nougat/metrics.py
code served (permissive licence) · get_code("5d00412628beeb71")
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 torch
import numpy as np
import nltk
from nltk import edit_distance
from multiprocessing import Pool
from collections import defaultdict
from typing import List

# Ensure NLTK data is available for the metrics
try:
    nltk.data.find('corpora/wordnet')
except LookupError:
    nltk.download('wordnet', quiet=True)

try:
    nltk.data.find('tokenizers/punkt')
except LookupError:
    nltk.download('punkt', quiet=True)

# Create sample ground truth and prediction strings
gt_list = [
    "the quick brown fox jumps over the lazy dog",
    "this is a test sentence for evaluation metrics"
]

pred_list = [
    "the quick brown fox jumps over a lazy dog",
    "this is a test example for metric evaluation"
]

ARGS = {
    "gt": gt_list,
    "pred": pred_list,
    "pool": False
}
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 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
markdown_compatible Ran
ran; our contract draft was wrong, not the code
facebookresearch/nougat/nougat/postprocessing.py
code served (permissive licence) · get_code("1aa17ce7eb2d146b")
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

def markdown_compatible(s: str) -> str:
    """
    Make text compatible with Markdown formatting.

    This function makes various text formatting adjustments to make it compatible with Markdown.

    Args:
        s (str): The input text to be made Markdown-compatible.

    Returns:
        str: The Markdown-compatible text.
    """
    s = re.sub('^\\(([\\d.]+[a-zA-Z]?)\\) \\\\\\[(.+?)\\\\\\]$', '\\[\\2 \\\\tag{\\1}\\]', s, flags=re.M)
    s = re.sub('^\\\\\\[(.+?)\\\\\\] \\(([\\d.]+[a-zA-Z]?)\\)$', '\\[\\1 \\\\tag{\\2}\\]', s, flags=re.M)
    s = re.sub('^\\\\\\[(.+?)\\\\\\] \\(([\\d.]+[a-zA-Z]?)\\) (\\\\\\[.+?\\\\\\])$', '\\[\\1 \\\\tag{\\2}\\] \\3', s, flags=re.M)
    s = s.replace('\\. ', '. ')
    s = s.replace('\\bm{', '\\mathbf{').replace('{\\\\bm ', '\\mathbf{')
    s = re.sub('\\\\mbox{ ?\\\\boldmath\\$(.*?)\\$}', '\\\\mathbf{\\1}', s)
    s = re.sub('((?:http|ftp|https):\\/\\/(?:[\\w_-]+(?:(?:\\.[\\w_-]+)+))(?:[\\w.,@?^=%&:\\/~+#-]*[\\w@?^=%&\\/~+#-]))', '[\\1](\\1)', s)
    s = re.sub('```\\s*(.+?)\\s*```', '```\\n\\1\\n```', s, flags=re.S)
    return s

ARGS = {
    's': 'This is a test string with \\. punctuation and \\bm{x} and https://example.com and ```code``` to process.'
}
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
read_metadata Ran
ran; our contract draft was wrong, not the code
facebookresearch/nougat/nougat/dataset/create_index.py
code served (permissive licence) · get_code("f21b5c9669b038e1")
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 torch
import numpy as np
from typing import Dict, List

ARGS = {
    'data': {
        'num_pages': 3,
        'pdffigures': [
            {
                'page': 0,
                'regionBoundary': [10, 20, 100, 120],
                'captionBoundary': [10, 130, 100, 150],
                'name': 'Figure 1',
                'figType': 'chart'
            },
            {
                'page': 1,
                'regionBoundary': [50, 50, 200, 200],
                'captionBoundary': [50, 210, 200, 230],
                'name': 'Figure 2'
            },
            {
                'page': 5,
                'regionBoundary': [15, 25, 105, 125],
                'name': 'Figure 3 (out of range)'
            },
            {
                'page': 2,
                'captionBoundary': [30, 40, 130, 60],
                'name': 'Figure 4'
            }
        ]
    }
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 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
remove_short_seqs Ran
ran; our contract draft was wrong, not the code
facebookresearch/nougat/nougat/dataset/split_md_to_pages.py
code served (permissive licence) · get_code("13e8202e03a0cded")
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 torch

ARGS = {
    "seqs": ["hello", "world", "a", "verylongsequencehere", "ab", "testing", "shortseq", "verylongsequenceindeed"],
    "minimum": 10
}
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 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
split_text Ran
ran; our contract draft was wrong, not the code
facebookresearch/nougat/nougat/metrics.py
code served (permissive licence) · get_code("1ac9cf29dfbcd872")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, 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 re
from typing import List

inline_reg = re.compile('\\\\\\((.*?)(?<!\\\\)\\\\\\)')
display_reg = re.compile('\\\\\\[(.+?)(?<!\\\\)\\\\\\]')
table_reg = re.compile('\\\\begin\\{tabular\\}(.+?)(?:\\\\end\\{tabular\\}|$)', re.S)

def split_text(pages: List[str]):
    """
    Split a list of pages into text, inline math, display math, and table blocks.

    Args:
        pages: The pages to split.
    """
    text, math, table = ([], [], [])
    for page in pages:
        for i, reg in enumerate([inline_reg, display_reg, table_reg]):
            matches = '\n'.join(reg.findall(page))
            if i == 2:
                table.append(matches)
            elif i == 1:
                math[-1] += matches
            else:
                math.append(matches)
            page = reg.sub('', page)
        text.append(page.strip())
    return (text, math, table)

# Create sample pages with LaTeX content
page1 = """
This is some text with inline math \\(x + y = z\\) and more text.
Display math: \\[a^2 + b^2 = c^2\\]
\\begin{tabular}
col1 & col2 \\\\
data1 & data2
\\end{tabular}
"""

page2 = """
Another page with \\(f(x) = x^2\\) inline math.
Table without end:
\\begin{tabular}
header1 & header2 \\\\
"""

page3 = "Plain text page with no special formatting."

ARGS = {
    "pages": [page1, page2, page3]
}
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 tuple, ndim 2, dtype family float — a tuple 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
subdiv Ran
ran; our contract draft was wrong, not the code
facebookresearch/nougat/nougat/model.py
code served (permissive licence) · get_code("aa4d849a81eb0d5f")
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. 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

torch.manual_seed(0)

# Analyze the function:
# - subdiv(l, b=10) takes a list `l` and an integer `b`
# - It iterates over range(len(l) - b)
# - It accesses l[:i + b] (slicing)
# - Returns a list of sublists
# The function works with any sequence type that supports len() and slicing

# Create a simple list of integers
l = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
b = 10

ARGS = {
    "l": l,
    "b": b
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list — a list output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
call_pdffigures Not yet run
unverified (harvested, no recorded run)
facebookresearch/nougat/nougat/dataset/pdffigures.py
code served (permissive licence) · get_code("ec8e37c707a98ec0")
How it ran

no invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 2 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 1 later) and 12 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
alb_wrapper 1 other paper
1 later
2405.14295 (2024-05)
Focus Anywhere for Fine-grained Multi-page Document Understanding
flatten 1 other paper
1 dated earlier
2209.13718 (2022-09)
A Dataset of Alt Texts from HCI Publications: Analyses and Uses Towards Producing More Descriptive Alt Texts of Data Visualizations in Scientific Papers

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

Scientific knowledge is predominantly stored in books and scientific journals, often in the form of PDFs. However, the PDF format leads to a loss of semantic information, particularly for mathematical expressions. We propose Nougat (Neural Optical Understanding for Academic Documents), a Visual Transformer model that performs an Optical Character Recognition (OCR) task for processing scientific documents into a markup language, and demonstrate the effectiveness of our model on a new dataset of scientific documents. The proposed approach offers a promising solution to enhance the accessibility of scientific knowledge in the digital age, by bridging the gap between human-readable documents and machine-readable text. We release the models and code to accelerate future work on scientific text recognition.

For agents

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

get_harvested_code_for_paper("2308.13418")
get_code_for_paper("2308.13418")
have("2308.13418")

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

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

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

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

Connect an agent — have() is free.