SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1810.07949 · 2018

A Temporally Sensitive Submodularity Framework for Timeline Summarization

arXiv · PDF · Open in the Atlas

Code that ran

7 of 7 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 7 have no contract verdict; 0 failures of our instrument; 0 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/1810.07949.json · badge: /api/ran/1810.07949.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
smartschat/tilse community (classifier label)
classifier basis not recorded on the link
7 ran · 0 no recorded run
FunctionStatusWhere it lives
average_length_in_sentences Ran
ran on a synthesized input
smartschat/tilse/tilse/models/assess_length.py
code served (permissive licence) · get_code("e49a3edc5141a174")
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 math

class Summary:
    def __init__(self, text):
        self.sentences = text.split('. ')
    
    def __len__(self):
        return len(self.sentences)

class Timeline:
    def __init__(self):
        self.dates_to_summaries = {
            '2024-01-01': Summary('Sentence one. Sentence two. Sentence three'),
            '2024-01-02': Summary('Sentence one. Sentence two'),
            '2024-01-03': Summary('Sentence one. Sentence two. Sentence three. Sentence four'),
        }
    
    def get_dates(self):
        return list(self.dates_to_summaries.keys())

class Groundtruth:
    def __init__(self):
        self.timelines = [
            Timeline(),
            Timeline(),
        ]

ARGS = {
    'groundtruth': Groundtruth()
}
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
compute_rouge_approximation Ran
ran on a synthesized input
smartschat/tilse/tilse/evaluation/util.py
code served (permissive licence) · get_code("5b4310526e598623")
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 string
from collections import Counter

# Define the arguments for compute_rouge_approximation
pred_summary = [
    "the quick brown fox jumps over the lazy dog",
    "a fast animal leaps across a sleeping canine"
]

groundtruth = [
    [
        "the quick brown fox jumps over the lazy dog",
        "an animal is running fast"
    ],
    [
        "a quick brown fox",
        "the dog is sleeping"
    ]
]

ARGS = {
    "pred_summary": pred_summary,
    "groundtruth": groundtruth
}
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 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
constant_length_2 Ran
ran on a synthesized input
smartschat/tilse/tilse/models/assess_length.py
code served (permissive licence) · get_code("314918ed22dbff6a")
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 torch
import torch.nn as nn

torch.manual_seed(0)

class Groundtruth:
    """Stand-in class for Groundtruth parameter."""
    def __init__(self):
        self.timelines = []

groundtruth_obj = Groundtruth()

ARGS = {
    "groundtruth": groundtruth_obj
}
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 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
evaluate_dates Ran
ran on a synthesized input
smartschat/tilse/tilse/evaluation/dates.py
code served (permissive licence) · get_code("70e1eedc1baaa64f")
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.

class Timeline:
    def __init__(self, dates):
        self._dates = set(dates)
    
    def get_dates(self):
        return self._dates


class Groundtruth:
    def __init__(self, dates):
        self._dates = set(dates)
    
    def get_dates(self):
        return self._dates


pred = Timeline([1, 2, 3, 4, 5])
groundtruth = Groundtruth([3, 4, 5, 6, 7])

ARGS = {
    'pred': pred,
    'groundtruth': groundtruth
}
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
get_f_score Ran
ran on a synthesized input
smartschat/tilse/tilse/evaluation/util.py
code served (permissive licence) · get_code("511a6bda501f2de2")
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

torch.manual_seed(0)

ARGS = {
    "prec": 0.85,
    "rec": 0.90,
    "beta": 1
}
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 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
interest Ran
ran on a synthesized input
smartschat/tilse/tilse/models/chieu/interest_measures.py
code served (permissive licence) · get_code("a387c957b33015b8")
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 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 numpy
from numba import jit

@jit(nopython=True)
def interest(similarities, date_diffs):
    """
    Computes interest as specified in Chieu and Lee (2004).

    The only differences is that we do not consider a reweighting of
    similarities by the "time span" of dates expressed in sentences (e.g.
    division by 30 if a sentence contains a reference to a month instead of a
    day), since we found the result of this operation to be insignificant,
    while it made the algorithm and computation more complex.

    Params:
        similarities (numpy.array): A matrix of sentence similarities.
        date_diffs (numpy.array): A matrix of date differences of sentences
        (e.g. difference between Sep 1 2001 and Sep 3 2001 is 2).

    Returns:
        A tuple consisting of a list of sentence ids with ranks (list(
        float)), and extents for the sentences (list(int)).
    """
    sentence_ranks = numpy.zeros(similarities.shape[0], dtype=numpy.uint16)
    extents = numpy.zeros(similarities.shape[0], dtype=numpy.uint16)
    interests = numpy.zeros((similarities.shape[0], 11), dtype=numpy.float32)
    for i in range(0, similarities.shape[0]):
        for j in range(0, similarities.shape[1]):
            for diff in range(1, 11):
                if date_diffs[i, j] <= diff:
                    interests[i][diff] += similarities[i, j]
        for diff in range(1, 11):
            if interests[i][diff] >= 0.8 * interests[i][10]:
                extents[i] = diff
                break
        sentence_ranks[i] = interests[i][10]
    return (sentence_ranks, extents)


# Create small test data
# similarities: matrix of sentence similarities (num_sentences x num_comparisons)
# date_diffs: matrix of date differences (num_sentences x num_comparisons)

similarities = numpy.array(
    [[0.1, 0.2, 0.3, 0.4],
     [0.5, 0.6, 0.7, 0.8]],
    dtype=numpy.float32
)

date_diffs = numpy.array(
    [[1, 2, 3, 5],
     [2, 4, 6, 8]],
    dtype=numpy.int32
)

ARGS = {
    "similarities": similarities,
    "date_diffs": date_diffs,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numba, numpy — 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 int — 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
max_length_in_sentences Ran
ran on a synthesized input
smartschat/tilse/tilse/models/assess_length.py
code served (permissive licence) · get_code("236851b75d7dc716")
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 torch
import numpy as np

class Timeline:
    def __init__(self):
        self.dates_to_summaries = {
            "2023-01-01": ["sentence 1", "sentence 2", "sentence 3"],
            "2023-01-02": ["sentence 1", "sentence 2"],
            "2023-01-03": ["sentence 1", "sentence 2", "sentence 3", "sentence 4", "sentence 5"]
        }

class Groundtruth:
    def __init__(self):
        self.timelines = [
            Timeline(),
            Timeline()
        ]

torch.manual_seed(0)

ARGS = {
    "groundtruth": Groundtruth()
}
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 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

Also present in other papers' code

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

Timeline summarization (TLS) creates an overview of long-running events via dated daily summaries for the most important dates. TLS differs from standard multi-document summarization (MDS) in the importance of date selection, interdependencies between summaries of different dates and by having very short summaries compared to the number of corpus documents. However, we show that MDS optimization models using submodular functions can be adapted to yield well-performing TLS models by designing objective functions and constraints that model the temporal dimension inherent in TLS. Importantly, these adaptations retain the elegance and advantages of the original MDS models (clear separation of features and inference, performance guarantees and scalability, little need for supervision) that current TLS-specific models lack. An open-source implementation of the framework and all models described in this paper is available online.

For agents

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

get_harvested_code_for_paper("1810.07949")
get_code_for_paper("1810.07949")
have("1810.07949")

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

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

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

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

Connect an agent — have() is free.