promptdojo_

Baselines before fancy models — step 5 of 7

This baseline claims 80% — but it was scored on the TRAINING labels. The bar only counts on the held-out set, the same set every other rung will be judged on. Fix the scoring line. (Learning the majority class from train is correct — keep that part.)

The break is on line 5 — but read the whole snippet first.

full-screen editor opens — close anytime to keep reading.