Seeded synthetic support tickets in five categories; Tribuo and Smile logistic regression and Smile naive Bayes against a majority baseline; skewed classes, train/test duplicates, vocabulary drift and the three different answers to a ticket of unseen words; a zero-shot client for OpenAI-compatible endpoints tested against a fake endpoint (no model was called) and a cost formula with assumed prices. Every figure is written to output/ by the tests that assert it. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b69H5rTewUKPyhGS8r
9 lines
392 B
Bash
Executable File
9 lines
392 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Regenerates every file in classic-ml-vs-llm/output/ by running the tests that assert the same facts.
|
|
# Needs JDK 25 (Smile 7.3.0's bytecode is Java 25) and Maven. No network after the first dependency download, no API key.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/../.."
|
|
rm -f classic-ml-vs-llm/output/*.txt
|
|
mvn -B -pl classic-ml-vs-llm test
|
|
ls -1 classic-ml-vs-llm/output
|