pairwiseLLM - Pairwise Comparison Tools for Large Language Model-Based Writing Evaluation
Provides a unified framework for generating, submitting, and analyzing pairwise comparisons of writing quality using large language models (LLMs). The package supports live and/or batch evaluation workflows across multiple providers ('OpenAI', 'Anthropic', 'Google Gemini', 'Together AI', 'TypeSafe', and locally-hosted 'Ollama' models), includes bias-tested prompt templates and a flexible template registry, and offers tools for constructing forward and reversed comparison sets to analyze consistency and positional bias. The package additionally supports adaptive pairing workflows that iteratively select comparisons based on model uncertainty to improve ranking efficiency. Results can be modeled using frequentist or Bayesian Bradley–Terry–Luce models (Bradley & Terry, 1952 <doi:10.2307/2334029>; see also Caron & Doucet, 2012 <doi:10.1080/10618600.2012.638220>) or Elo rating methods (see Clark et al., 2018 <doi:10.1371/journal.pone.0190393>) to derive writing quality scores. The Bayesian writing quality scores can be converted to distribution-matched performance levels or calibrated to ordered rubric scores using linear or monotone ordinal models. For information on pairwise comparisons and comparative judgement, see Thurstone (1927) <doi:10.1037/h0070288> and Heldsinger & Humphry (2010) <doi:10.1007/BF03216919>.
Last updated
anthropicassessment-toolautomated-scoringbradley-terryelo-ratinggeminilarge-language-modelsllmllm-as-a-judgeollamaopenaipairwise-comparisonrankingtogether-aiwriting-assessmentwriting-evaluation
7.18 score 3 stars 39 scripts 390 downloadswriteAlizer - Generate Predicted Writing Quality Scores
Imports variables from 'ReaderBench' (Dascalu et al., 2018)<doi:10.1007/978-3-319-66610-5_48>, 'Coh-Metrix' (McNamara et al., 2014)<doi:10.1017/CBO9780511894664>, and/or 'GAMET' (Crossley et al., 2019) <doi:10.17239/jowr-2019.11.02.01> output files; downloads predictive scoring models documented in Keller-Margulis et al. (2026)<doi:10.35542/osf.io/36dn5_v1>, Mercer & Cannon (2022)<doi:10.31244/jero.2022.01.03>, and Mercer et al. (2021)<doi:10.1177/0829573520987753>; and generates predicted writing quality and curriculum-based measurement (McMaster & Espin, 2007)<doi:10.1177/00224669070410020301> scores.
Last updated
automated-essay-scoringcaretcoh-metrixcurriculum-based-measurementeducational-measurementeducational-technologygametmachine-learningnatural-language-processingpredictive-modelingreaderbenchtext-analysiswriting-analyticswriting-assessmentwriting-tools
5.59 score 3 stars 3 scripts 354 downloads