SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2604.19185 · 2026

SCURank: Ranking Multiple Candidate Summaries with Summary Content Units for Enhanced Summarization

Hung-Yu Kao, Ying-Jia Lin, Bo-Jyun Wang

arXiv · PDF · Open in the Atlas

Code that ran

10 of 12 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 0 have no contract verdict; 10 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2604.19185.json · badge: /api/ran/2604.19185.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
IKMLab/SCURank canonical (classifier label)
classifier basis: census
10 ran · 2 no recorded run
FunctionStatusWhere it lives
article_level_counts Ran
ran; our contract draft was wrong, not the code
IKMLab/SCURank/experiments/human-compare/analysis.py
code served (permissive licence) · get_code("a9b8325121b5821d")
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

# Construct a valid article_preferences dictionary
# The function iterates over values and calls .count() on them
# So values need to be sequences (lists or strings) containing strings like 'scu_better', 'gpt_better', 'equal'

article_preferences = {
    'article_1': ['scu_better', 'scu_better', 'gpt_better'],  # scu_better >= 2, so 'scu win'
    'article_2': ['gpt_better', 'gpt_better', 'scu_better'],  # gpt_better >= 2, so 'gpt win'
    'article_3': ['equal', 'equal', 'scu_better'],            # tie >= 2, so 'equal'
    'article_4': ['scu_better', 'gpt_better', 'equal'],       # scu=1, gpt=1, tie=1, so 'equal'
    'article_5': ['scu_better', 'gpt_better'],                # scu=1, gpt=1, tie=0, so 'uncategorized'
}

ARGS = {
    'article_preferences': article_preferences
}
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 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
build_gptrank_train_data Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
IKMLab/SCURank/build_train.py
code served (permissive licence) · get_code("02efc9c2af537b6d")
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

# Construct valid arguments for build_gptrank_train_data

data = [
    {
        'article': 'This is an article about machine learning.',
        'candidates': [
            'ML is important',
            'Deep learning works',
            'Neural networks learn',
            'Algorithms process data'
        ]
    },
    {
        'article': 'Another article on AI.',
        'candidates': [
            'AI advances quickly',
            'Models improve daily',
            'Data drives progress',
            'Systems evolve'
        ]
    }
]

ranks = [
    [1, 2, 3, 4],
    [2, 1, 4, 3]
]

ARGS = {
    'data': data,
    'ranks': ranks
}
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
build_scurank_train_data Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
IKMLab/SCURank/build_train.py
code served (permissive licence) · get_code("e378f72587b30d3f")
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
import numpy as np

torch.manual_seed(0)

# Construct valid arguments for build_scurank_train_data
# The function expects:
# - data: list[dict] where each dict has 'candidates' (list or dict) and 'article' (string)
# - ranks: list[int] where each element is a list of scores

data = [
    {
        'article': 'This is the first article about machine learning.',
        'candidates': [
            'Summary A about machine learning',
            'Summary B about neural networks',
            'Summary C about deep learning'
        ]
    },
    {
        'article': 'This is the second article about natural language processing.',
        'candidates': {
            'cand_1': 'Summary 1 about NLP',
            'cand_2': 'Summary 2 about transformers',
            'cand_3': 'Summary 3 about language models'
        }
    }
]

ranks = [
    [0.8, 0.6, 0.9],  # Best is 0.9 at index 2
    [0.7, 0.95, 0.5]  # Best is 0.95 at index 1
]

ARGS = {
    'data': data,
    'ranks': ranks
}
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 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
clusterer Ran
ran; our contract draft was wrong, not the code
IKMLab/SCURank/scurank.py
code served (permissive licence) · get_code("843cf6f6d0308b6a")
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 HDBSCAN. 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
from sklearn.cluster import HDBSCAN

torch.manual_seed(0)

ARGS = {
    'cluster_type': 'hdbscan'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
sklearn, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type HDBSCAN — a HDBSCAN output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a HDBSCAN 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
generate_scus Ran
ran; our contract draft was wrong, not the code
IKMLab/SCURank/scurank.py
code served (permissive licence) · get_code("c99bdd523965d855")
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
import os
import tempfile

# Create a temporary directory and prompt file to avoid file I/O errors
temp_dir = tempfile.mkdtemp()
prompts_dir = os.path.join(temp_dir, 'prompts')
os.makedirs(prompts_dir, exist_ok=True)

prompt_file = os.path.join(prompts_dir, 'prompt_scus.txt')
with open(prompt_file, 'w') as f:
    f.write("Generate SCUs for the following candidate:\n")

# Mock the call_llm function to avoid actual API calls
def call_llm(instructions, candidate, model_name):
    return f"SCU for candidate: {candidate}"

# Inject mock into the module's namespace
import sys
current_module = sys.modules[__name__]
current_module.call_llm = call_llm

# Change to temp directory so relative path works
original_cwd = os.getcwd()
os.chdir(temp_dir)

# Define candidates - can be a dict or list
candidates_dict = {
    'cand_1': 'This is the first candidate text for summarization.',
    'cand_2': 'This is the second candidate text for summarization.',
    'cand_3': 'This is the third candidate text for summarization.'
}

ARGS = {
    'candidates': candidates_dict
}
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
load_jsonl Ran
ran; our contract draft was wrong, not the code
IKMLab/SCURank/utils.py
code served (permissive licence) · get_code("d18bc6c6c02cdbb2")
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 json
import tempfile
import os

# Create a temporary JSONL file with test data
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, "test.jsonl")

# Write test JSONL data
test_data = [
    {"id": 1, "text": "hello world"},
    {"id": 2, "text": "foo bar"},
    {"id": 3, "name": "test", "value": 42}
]

with open(temp_file, 'w', encoding='utf-8') as f:
    for item in test_data:
        f.write(json.dumps(item) + '\n')

ARGS = {
    "pth": temp_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 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
load_jsonl Ran
ran; our contract draft was wrong, not the code
IKMLab/SCURank/experiments/human-compare/data_build.py
code served (permissive licence) · get_code("bda0f2927436562b")
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 json
import tempfile
import os

# Create a temporary JSONL file for testing
temp_dir = tempfile.mkdtemp()
jsonl_path = os.path.join(temp_dir, "test.jsonl")

# Write test data to the JSONL file
test_data = [
    {"id": 1, "text": "hello world"},
    {"id": 2, "text": "foo bar"},
    {"id": 3, "value": 42}
]

with open(jsonl_path, 'w', encoding='utf-8') as f:
    for item in test_data:
        f.write(json.dumps(item) + '\n')

ARGS = {
    "pth": jsonl_path
}
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
load_txt Ran
ran; our contract draft was wrong, not the code
IKMLab/SCURank/utils.py
code served (permissive licence) · get_code("7c69ce7fa3348cbb")
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 tempfile
import os

# Create a temporary text file with sample content
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, "sample.txt")

with open(temp_file, 'w', encoding='utf-8') as f:
    f.write("Line 1\n")
    f.write("Line 2\n")
    f.write("Line 3\n")

ARGS = {
    "path": temp_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 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
normalize_preference Ran
ran; our contract draft was wrong, not the code
IKMLab/SCURank/experiments/human-compare/analysis.py
code served (permissive licence) · get_code("9e6ab2fadba1db03")
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 pandas as pd

def normalize_preference(row):
    """Convert raw preference to: 'scu_better', 'gpt_better', or 'equal'."""
    pref = row['Answer.overall_preference']
    label = row['Input.label']
    if pref == 'equal':
        return 'equal'
    if label == 'scu-gpt':
        if pref in ['s1_much_better', 's1_better']:
            return 'scu_better'
        elif pref in ['s2_much_better', 's2_better']:
            return 'gpt_better'
    elif label == 'gpt-scu':
        if pref in ['s1_much_better', 's1_better']:
            return 'gpt_better'
        elif pref in ['s2_much_better', 's2_better']:
            return 'scu_better'
    return None

row = pd.Series({
    'Answer.overall_preference': 's1_much_better',
    'Input.label': 'scu-gpt'
})

ARGS = {
    'row': row
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — 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
test_and_repair_rank Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
IKMLab/SCURank/build_train.py
code served (permissive licence) · get_code("7120f5b25218cfba")
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:
# - rank: list[int] - a list of integers that may contain duplicates
# - num: int - the expected length of the rank list
# The function repairs the rank list by:
# 1. Iterating through first 'num' elements
# 2. Replacing duplicates with -1
# 3. Padding with -1s if length < num
# 4. Filling -1s with missing values from range(0, num)

# Construct valid arguments
rank = [2, 1, 0, 2, 3, 1]  # List with some duplicates
num = 4  # We expect 4 elements

ARGS = {
    "rank": rank,
    "num": num
}
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
create_batch_input_file Not yet run
unverified (harvested, no recorded run)
IKMLab/SCURank/util/openai.py
code served (permissive licence) · get_code("8b69a4917a7a8627")
How it ran

no invocation recorded.

save_txt Not yet run
unverified (harvested, no recorded run)
IKMLab/SCURank/utils.py
code served (permissive licence) · get_code("230c7860c5ad0dc0")
How it ran

no invocation recorded.

Also present in other papers' code

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

Small language models (SLMs), such as BART, can achieve summarization performance comparable to large language models (LLMs) via distillation. However, existing LLM-based ranking strategies for summary candidates suffer from instability, while classical metrics (e.g., ROUGE) are insufficient to rank highquality summaries. To address these issues, we introduce SCURank, a framework that enhances summarization by leveraging Summary Content Units (SCUs). Instead of relying on unstable comparisons or surface-level overlap, SCURank evaluates summaries based on the richness and semantic importance of information content. We investigate the effectiveness of SCURank in distilling summaries from multiple diverse LLMs. Experimental results demonstrate that SCURank outperforms traditional metrics and LLM-based ranking methods across evaluation measures and datasets. Furthermore, our findings show that incorporating diverse LLM summaries enhances model abstractiveness and overall distilled model performance, validating the benefits of informationcentric ranking in multi-LLM distillation. The code for SCURank is available at https:// github.com/IKMLab/SCURank.

For agents

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

get_harvested_code_for_paper("2604.19185")
get_code_for_paper("2604.19185")
have("2604.19185")

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

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

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

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

Connect an agent — have() is free.