SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2501.14956 · 2025

ExPerT: Effective and Explainable Evaluation of Personalized Long-Form Text Generation

arXiv · PDF · Open in the Atlas

Code that ran

4 of 4 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 4 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/2501.14956.json · badge: /api/ran/2501.14956.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
alirezasalemi7/ExPerT canonical (classifier label)
classifier basis not recorded on the link
4 ran · 0 no recorded run
FunctionStatusWhere it lives
calculate_scores_for_batch Ran
ran on a synthesized input
alirezasalemi7/ExPerT/expert_score/matching/utils.py
code served (permissive licence) · get_code("27b9f5e9e78193fd")
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.

# Setup code for _calculate_scores_for_a_macth_table and calculate_scores_for_batch

# Construct a single match_table structure
match_table_1 = {
    'recall': {
        'aspect_1': {
            'matched': True,
            'details': {
                'is_content_matched': True,
                'is_style_matched': False
            }
        },
        'aspect_2': {
            'matched': True,
            'details': {
                'is_content_matched': False,
                'is_style_matched': True
            }
        },
        'aspect_3': {
            'matched': True,
            'details': {
                'is_content_matched': True,
                'is_style_matched': True
            }
        },
        'aspect_4': {
            'matched': False,
            'details': {
                'is_content_matched': False,
                'is_style_matched': False
            }
        }
    },
    'precision': {
        'aspect_1': {
            'matched': True,
            'details': {
                'is_content_matched': True,
                'is_style_matched': True
            }
        },
        'aspect_2': {
            'matched': True,
            'details': {
                'is_content_matched': False,
                'is_style_matched': True
            }
        },
        'aspect_3': {
            'matched': False,
            'details': {
                'is_content_matched': False,
                'is_style_matched': False
            }
        }
    }
}

match_table_2 = {
    'recall': {
        'aspect_1': {
            'matched': True,
            'details': {
                'is_content_matched': True,
                'is_style_matched': True
            }
        },
        'aspect_2': {
            'matched': False,
            'details': {
                'is_content_matched': False,
                'is_style_matched': False
            }
        }
    },
    'precision': {
        'aspect_1': {
            'matched': True,
            'details': {
                'is_content_matched': True,
                'is_style_matched': False
            }
        },
        'aspect_2': {
            'matched': True,
            'details': {
                'is_content_matched': True,
                'is_style_matched': True
            }
        }
    }
}

# Create match_tables dict with multiple queries
match_tables = {
    'query_1': match_table_1,
    'query_2': match_table_2
}

ARGS = {
    'match_tables': match_tables
}
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
create_aspect_matching_prompt Ran
ran on a synthesized input
alirezasalemi7/ExPerT/expert_score/matching/match.py
code served (permissive licence) · get_code("4a5126e5ebd06f9b")
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 torch
import numpy as np

# Analyze the function signature and body
# The function takes:
# 1. aspect: a dict with keys 'aspect' and 'description'
# 2. list_of_aspects: a list of dicts, each with keys 'aspect' and 'description'

# Create valid test data
aspect = {
    'aspect': 'User Interface Design',
    'description': 'The visual and interactive elements that users interact with in an application'
}

list_of_aspects = [
    {
        'aspect': 'UI/UX Design',
        'description': 'The design of user interfaces and user experience in software applications'
    },
    {
        'aspect': 'Backend Architecture',
        'description': 'The server-side infrastructure and database design of an application'
    },
    {
        'aspect': 'Performance Optimization',
        'description': 'Techniques to improve the speed and efficiency of an application'
    }
]

ARGS = {
    'aspect': aspect,
    'list_of_aspects': list_of_aspects
}
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 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
create_content_matching_prompt Ran
ran on a synthesized input
alirezasalemi7/ExPerT/expert_score/matching/match.py
code served (permissive licence) · get_code("b1c3829f0e1ddc0e")
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.

# Setup code for create_content_matching_prompt

ARGS = {
    'aspect_1': {
        'aspect': 'Customer Service Quality',
        'description': 'The quality and responsiveness of customer service interactions',
        'evidence': [
            'The support team responded within 2 hours',
            'Staff was knowledgeable and helpful',
            'Multiple channels available for support'
        ]
    },
    'aspect_2': {
        'aspect': 'Customer Service Quality',
        'description': 'The quality and responsiveness of customer service interactions',
        'evidence': [
            'Quick response time from support staff',
            'Representatives had good product knowledge',
            'Support accessible via phone, email, and chat'
        ]
    }
}
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
create_styling_matching_prompt Ran
ran on a synthesized input
alirezasalemi7/ExPerT/expert_score/matching/match.py
code served (permissive licence) · get_code("7f85cd3a7055ea3b")
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 torch
import numpy as np

torch.manual_seed(0)

# Construct valid arguments for create_styling_matching_prompt
aspect_1 = {
    'evidence': [
        'The quick brown fox jumps over the lazy dog.',
        'This is a simple sentence with clear structure.',
        'Writing style matters when comparing texts.'
    ]
}

aspect_2 = {
    'evidence': [
        'A swift auburn fox leaps across the sluggish canine.',
        'This represents an uncomplicated statement with transparent organization.',
        'Style becomes significant during textual evaluation.'
    ]
}

ARGS = {
    'aspect_1': aspect_1,
    'aspect_2': aspect_2
}
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 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

Also present in other papers' code

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

Evaluating personalized text generated by large language models (LLMs) is challenging, as only the LLM user, i.e., prompt author, can reliably assess the output, but re-engaging the same individuals across studies is infeasible. This paper addresses the challenge of evaluating personalized text generation by introducing ExPerT, an explainable reference-based evaluation framework. ExPerT leverages an LLM to extract atomic aspects and their evidence from the generated and reference texts, match the aspects, and evaluate their alignment based on content and writing style -- two key attributes in personalized text generation. Additionally, ExPerT generates detailed, fine-grained explanations for every step of the evaluation process, enhancing transparency and interpretability. Our experiments demonstrate that ExPerT achieves a 7.2% relative improvement in alignment with human judgments compared to the state-of-the-art text generation evaluation methods. Furthermore, human evaluators rated the usability of ExPerT's explanations at 4.7 out of 5, highlighting its effectiveness in making evaluation decisions more interpretable.

For agents

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

get_harvested_code_for_paper("2501.14956")
get_code_for_paper("2501.14956")
have("2501.14956")

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

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

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

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

Connect an agent — have() is free.