Add classic-ml-vs-llm module: Tribuo 4.3.2 and Smile 7.3.0 text classifiers, a zero-shot LLM client and a cost model

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
This commit is contained in:
Claude
2026-12-01 23:57:00 +05:30
committed by asmhatre
parent dc94d7fece
commit 5323e6c71a
37 changed files with 1445 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
# The synthetic ticket set and its split
generator: seed 42, 3000 tickets, 15% carry a second complaint from another class, 12% have a typo,
3% have a randomly wrong label (human labelling noise)
## Class counts
class train test
BILLING 474 118
ACCESS 474 118
BUG 484 121
FEATURE 485 121
CANCEL 484 121
total 2401 599
## Exact duplicates between train and test
test tickets whose normalised text also appears in train: 122 of 599
## Six tickets, first six of the test set
BUG | Search returns an empty list although the data exists. Also, I was charged twice for this month.
BUG | Hello, The app freezes on the dashboard. The order number ends 4471. Thank you
BILLING | Good morning, My invoice shows the wrong amount. I am on the Pro plan. Thanks.
BUG | Hello, The app freezes on the dashboard. I am using Chrome on Windows. Please advise.
BILLING | Good morning, There is a charge on my statement I do not recognise. My account email is on file. Thank you
ACCESS | Urgent: The reset password email nevre arrives. Regards, Priya