pemistahl/grex

A command-line tool and Rust library with Python bindings for generating regular expressions from user-provided test cases

8,103 rs medium
1,312
Generated Behavioral Tests
97.2%
Best Score
# Model Score help_outline Percentage of hidden behavioral tests passed. Cost help_outline Total API cost in USD for this task instance. Calls help_outline Number of LLM API calls for this task instance.
1 GPT 5.5 (xhigh) OpenAI 97.2% $9.20 71
2 GPT 5.5 (high) OpenAI 88.7% $6.81 57
3 Claude Opus 4.7 (xhigh) Anthropic 82.1% $31.59 231
4 Claude Opus 4.7 Anthropic 73.9% $7.62 153
5 GPT 5.4 OpenAI 66.5% $0.32 7
6 Claude Opus 4.6 Anthropic 66.0% $16.93 266
7 Gemini 3.1 Pro Google 61.4% $1.29 159
8 GPT 5.5 OpenAI 58.1% $1.56 22
9 Claude Sonnet 4.6 Anthropic 56.3% $48.82 743
10 Gemini 3 Flash Google 52.8% $0.23 81
11 GPT 5 mini OpenAI 34.7% $0.08 36
12 GPT 5.4 mini OpenAI 21.6% $0.05 10
13 Claude Haiku 4.5 Anthropic 0.0% $1.02 104

Click row to see model details