TRACE (Tool for Rubric Analysis in Code Evaluation) is a framework for evaluating and interpreting LLM-based judges in realistic developer workflows. It measures how closely model judgments align with human preferences, with a focus on disagreement cases rather than just aggregate agreement. To explain divergence, TRACE automatically discovers interpretable rubric items from response differences, then quantifies how human and model judgments correlate with those rubrics.
- Pairwise judge evaluation with answer-order swapping for consistency checks.
- Standardized accuracy and invalid-output analysis over preference datasets.
- Automatic rubric discovery from disagreement examples.
- Rubric-level coefficient analysis comparing human vs judge behavior.
- Configure an experiment
- Create an experiment config in the experiment_config/ folder.
- Add a corresponding model config in the model_configs/ folder.
- Configure API keys and experiment details.
- Run judge preference evaluation
- Entry point: judge_preference/evaluate_preference.py
- Command:
python -m judge_preference.evaluate_preference --experiment_config experiment_config/<file>.yamlThis generates pairwise decisions in original and swapped answer order and saves outputs to the configured CSV.
- Run rubric analysis
- Entry point: rubric_analysis/rubric_judge.py
- Command:
python -m rubric_analysis.rubric_judge --experiment_config experiment_config/<file>.yamlOutputs include:
- Rubric proposals and ranking files.
- A coefficients table comparing human and judge rubric loadings (with judge confidence intervals).