RoundTripCodeEval - Huffman Coding: leaderboard

RoundTripCodeEval (RTCE; Maveli, Vergari and Cohen, 2026) tests whether models can execute and invert code, here a Huffman-coding compressor written in Python, on 250 synthetic inputs: predict the encoder output and the decoder output, directly and by inverting the function they are given. The board is the paper average of exact match, edit similarity and pass@5 over the four tasks, in percent (higher is better); zero-shot with one worked example.

Metric: Mean of exact match, edit similarity and pass@5 (%) over the four round-trip tasks for Huffman coding (output prediction and input prediction, each directly and through the inverted function), 250 inputs, zero-shot with one worked example, five completions. Source: arxiv.org. Saturation forecast: Around October 2028. 15 models tracked.

Top models

#ModelScoreOverall rank
1QwQ-32B5.5#909
2DeepSeek R1 Distill Qwen 32B3.98#1780
3DeepSeek R1 Distill Qwen 14B3.15#2594
4Qwen 2.5 Coder 32B Instruct3.15#1553
5Qwen 2.5 7B Instruct2.65#2583
6Yi-Coder-9B-Chat1.87#6839
7Phi-3.5-mini-instruct1.7#5757
8Phi-3 Mini 128K Instruct1.54#6952
9Codestral-22B-v0.11.5#2680
10Llama 3.1 8B Instruct1.13#4277
11Mistral 7B Instruct (v0.3)0.99#6698
12DeepSeek R1 Distill Qwen 1.5B0.64#9257
13Llama 3.2 1B Instruct0.08#9109

No result here: #1 Claude Fable 5.2, #2 Gemini 4 Carbon, #5 Claude Opus 5.5.

Interactive version: theaggregate.ai/benchmark?slug=roundtripcodeeval-huffman-coding · How It Works · Data refreshed daily, snapshot 2026-11-12.