# How Four Evaluation Bugs Distorted a Cross-Encoder Model Comparison

DevFeed: [How Four Evaluation Bugs Distorted a Cross-Encoder Model Comparison](<https://devfeed.tech/articles/how-four-evaluation-bugs-distorted-a-cross-encoder-model-comparison-146454.md>)

Original publisher: [Read original article](<https://hackernoon.com/how-four-evaluation-bugs-distorted-a-cross-encoder-model-comparison?source=rss>)

Author: Vladimir Beskorovainyi

Published: 2026-11-20T11:13:48Z

Content type: article

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [Data Quality](<https://devfeed.tech/topics/data-quality.md>), [bugfixes](<https://devfeed.tech/topics/bugfixes.md>), [Dataset development](<https://devfeed.tech/topics/dataset-development.md>), [Post Mortem](<https://devfeed.tech/topics/post-mortem.md>), [machine learning overfitting](<https://devfeed.tech/topics/machine-learning-overfitting.md>), [model architecture](<https://devfeed.tech/topics/model-architecture.md>), [Local AI](<https://devfeed.tech/topics/local-ai.md>)

Tags: [1-3](<https://devfeed.tech/tags/1-3.md>), [ablation](<https://devfeed.tech/tags/ablation.md>), [ai-model-accuracy](<https://devfeed.tech/tags/ai-model-accuracy.md>), [ai-model-calibration](<https://devfeed.tech/tags/ai-model-calibration.md>), [baseline](<https://devfeed.tech/tags/baseline.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [benchmark-contamination](<https://devfeed.tech/tags/benchmark-contamination.md>), [bootstrap](<https://devfeed.tech/tags/bootstrap.md>), [bug](<https://devfeed.tech/tags/bug.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [checklist](<https://devfeed.tech/tags/checklist.md>), [code](<https://devfeed.tech/tags/code.md>), [commit](<https://devfeed.tech/tags/commit.md>), [comparison](<https://devfeed.tech/tags/comparison.md>), [comparisons](<https://devfeed.tech/tags/comparisons.md>), [confidence](<https://devfeed.tech/tags/confidence.md>), [cross-encoder](<https://devfeed.tech/tags/cross-encoder.md>), [cross-encoder-models](<https://devfeed.tech/tags/cross-encoder-models.md>), [data](<https://devfeed.tech/tags/data.md>), [data-leakage](<https://devfeed.tech/tags/data-leakage.md>), [encoder](<https://devfeed.tech/tags/encoder.md>), [llm-evaluation](<https://devfeed.tech/tags/llm-evaluation.md>), [model](<https://devfeed.tech/tags/model.md>), [open-source-ai](<https://devfeed.tech/tags/open-source-ai.md>), [training](<https://devfeed.tech/tags/training.md>), [training-data](<https://devfeed.tech/tags/training-data.md>), [training-data-validation](<https://devfeed.tech/tags/training-data-validation.md>)

## AI overview

The comparison initially showed false regressions and gains because shared random-state shuffling changed validation splits, matching by input text ignored option wording, summary and task tables used different denominators, and remote training used a stale data copy. Reproducible task-specific splits and checks of option wording and distinct option strings exposed the problems; corrected results showed both releases answered 8,120 of 10,157 decisions correctly, with calibration differences that changed sign across splits. A wider wording test found some benchmark vocabularies had appeared in training and that effects varied with candidate-set size. The newer model did better on held-out word vocabularies in both tested settings, though some gains did not survive multiple-comparison correction; abbreviations and opaque codes showed no usable gain. Accuracy gains did not always mean safer confidence: with eighteen candidates, high-confidence errors rose for jargon and slang. The excerpt cautions that the releases also differed in split handling and training duration, so this was not a clean ablation.

## Source excerpt

Four evaluation bugs distorted an AI model comparison. Here's how data leakage, inconsistent benchmarks, and stale training data changed the findings.