Scorio.jl: A Julia package for ranking stochastic responses

Mohsen Hariri, Michael Hinczewski, Vipin Chaudhary · DOI

Abstract Scorio.jl is a Julia package for evaluating and ranking systems from repeated responses to shared tasks. It provides a common tensor-based interface for direct score-based, pairwise, psychometric, voting, graph, and listwise methods, so the same benchmark can be analyzed under multiple ranking assumptions. We describe the package design, position it relative to existing Julia tools, and report pilot experiments on synthetic rank recovery, stability under limited trials, and runtime scaling.

Introduction

In modern computational evaluation—particularly in Large Language Model (LLM) benchmarking, software testing, and simulation—results are frequently non-deterministic. A single prompt may yield different scores across multiple runs. To construct a reliable leaderboard, researchers must aggregate these stochastic responses. However, different ranking methodologies (e.g., Bradley-Terry for pairwise comparisons or Rasch models for psychometrics) often require disparate data formats. This technical friction discourages sensitivity analysis, leaving researchers unable to easily determine if their rankings are artifacts of the chosen aggregation method.

Scorio.jl addresses this by providing a unified, tensor-based interface that allows users to switch between dozens of ranking methodologies with minimal code changes.

Methodology

The core of Scorio.jl is a canonical three-dimensional response tensor $R \in \{0, \dots, C\}^{L \times M \times N}$, where $L$ represents systems, $M$ represents tasks, and $N$ represents trials. The package internally manages "view conversions," automatically transforming the tensor into the format required by specific methods:

  • Pointwise views: For averages and rubric-weighted scores.
  • Pairwise views: For win/tie counts between systems.
  • Listwise views: For per-task orderings.
  • Graph views: For weighted comparison graphs.

By leveraging Julia’s multiple dispatch, Scorio.jl offers a shared API for diverse families of methods, including evaluation-based (Pass@k), sequential rating (Elo, TrueSkill), voting rules (Borda, Kemeny-Young), and Item Response Theory (IRT).

Experimental Setup

The authors conducted pilot experiments using synthetic response tensors generated from a Rasch-style latent ability model.

  • Rank Recovery: A setup with 11 systems and 500 tasks was used to evaluate how accurately methods could recover a "ground truth" ranking.
  • Stability Testing: Ten synthetic datasets were used to measure ranking shifts as the number of trials ($N$) increased from 1 to 64.
  • Runtime Benchmarking: Wall-clock time was measured across various configurations of systems ($L$), tasks ($M$), and trials ($N$).

Key Results and Discussion

Accuracy and Stability

Most methods demonstrated high accuracy in recovering the latent order. Even with a single trial ($N=1$), many methods performed well, and by $N=32$, nearly all non-sequential methods reached a Kendall $\tau_b$ of 0.991. Direct score-based methods (like avg and bayes) and PageRank showed remarkable stability even in data-scarce regimes.

Synthetic Rank Recovery (Kendall tau-b) and Ranking Stability across trials. Note the poor performance of Elo compared to other methods.

A significant finding is the "Elo problem": because Elo updates ratings sequentially, it introduces path-dependent noise that persists even as more trials are added, making it a suboptimal choice for static benchmarks. Furthermore, while general order recovery is robust, recovering exact ties remains a methodological challenge.

Computational Cost

There is a significant disparity in computational efficiency across methods. Pointwise and graph-based methods are extremely fast, typically executing in under 2ms. Conversely, IRT methods like Rasch are computationally expensive due to the use of dense quadrature, requiring nearly 9 seconds and substantial memory (12.8 GB) for large datasets. Kemeny-Young also scales poorly due to its NP-hard nature.

Runtime scaling of various ranking methods as the number of questions (M) increases.

The package demonstrates that Julia's dense-array primitives allow these heterogeneous methods to remain performant even when hidden behind a single, high-level API.

Conclusion

Scorio.jl simplifies the complex task of aggregating stochastic benchmark data by treating the ranking rule as a hyperparameter. While the package significantly reduces the engineering overhead for sensitivity analysis, challenges remain in optimizing memory-intensive psychometric models. Future work will focus on optimizing IRT implementations and applying the package to real-world LLM evaluation datasets.

Summary updated

Abstract

Scorio.jl is a Julia package for evaluating and ranking systems from repeated responses to shared tasks. It provides a common tensor-based interface for direct score-based, pairwise, psychometric, voting, graph, and listwise methods, so the same benchmark can be analyzed under multiple ranking assumptions. We describe the package design, position it relative to existing Julia tools, and report pilot experiments on synthetic rank recovery, stability under limited trials, and runtime scaling.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Synthetic rank recovery (Rasch-style latent ability model)RaschKendall τ_b0.963N=1 trial; mean over 4 seeds; 11 systems and 500 tasks; binary responses; ground truth …
Source quote
L99: Most methods recover the latent order well even at \(N=1\): Kendall \(\tau_b\) ranges from \(0.963\) (Rasch) to \(0.982\) (BT-Davidson, Plackett--Luce). By \(N=32\), every non-Elo method reaches \(\tau_b=0.991\) with a mean absolute rank error of~\(0.091\).
Synthetic rank recovery (Rasch-style latent ability model)BT-Davidson and Plackett–LuceKendall τ_b0.982N=1 trial; mean over 4 seeds; 11 systems and 500 tasks; binary responses; ground truth …
Source quote
L99: Most methods recover the latent order well even at \(N=1\): Kendall \(\tau_b\) ranges from \(0.963\) (Rasch) to \(0.982\) (BT-Davidson, Plackett--Luce). By \(N=32\), every non-Elo method reaches \(\tau_b=0.991\) with a mean absolute rank error of~\(0.091\).
Synthetic rank recovery (Rasch-style latent ability model)All non-Elo methodsKendall τ_b0.991N=32 trials; mean over 4 seeds; 11 systems and 500 tasks; binary responses; ground trut…
Source quote
L99: Most methods recover the latent order well even at \(N=1\): Kendall \(\tau_b\) ranges from \(0.963\) (Rasch) to \(0.982\) (BT-Davidson, Plackett--Luce). By \(N=32\), every non-Elo method reaches \(\tau_b=0.991\) with a mean absolute rank error of~\(0.091\).
Synthetic rank recovery (Rasch-style latent ability model)All non-Elo methodsMean absolute rank error (MAE)0.091N=32 trials; mean over 4 seeds; 11 systems and 500 tasks; binary responses; ground trut…
Source quote
L99: Most methods recover the latent order well even at \(N=1\): Kendall \(\tau_b\) ranges from \(0.963\) (Rasch) to \(0.982\) (BT-Davidson, Plackett--Luce). By \(N=32\), every non-Elo method reaches \(\tau_b=0.991\) with a mean absolute rank error of~\(0.091\).
BibTeX
@misc{hariri2026scorio,
  author = {Mohsen Hariri and Michael Hinczewski and Vipin Chaudhary},
  title = {{Scorio.jl: A Julia package for ranking stochastic responses}},
  year = {2026},
  eprint = {2603.14103},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.14103},
}
Figure