gstack/lib
Garry Tan 9bc6c9416f
feat: add eval format validation, tier selection, cost tracking
- lib/eval-format.ts: StandardEvalResult interfaces, validateEvalResult(),
  normalizeFromLegacy/normalizeToLegacy round-trip converters
- lib/eval-tier.ts: EvalTier type, resolveTier/resolveJudgeTier from env,
  tierToModel mapping, TIER_ALIASES (haiku→fast, sonnet→standard, opus→full)
- lib/eval-cost.ts: MODEL_PRICING (last verified 2025-05-01), computeCosts(),
  formatCostDashboard(), aggregateCosts(), fallback for unknown models
- 42 tests across 3 test files

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 09:39:18 -05:00
..
auth.ts feat: add team sync infrastructure (config, auth, push/pull, CLI) 2026-03-15 02:02:40 -05:00
cli-sync.ts feat: add team sync infrastructure (config, auth, push/pull, CLI) 2026-03-15 02:02:40 -05:00
eval-cost.ts feat: add eval format validation, tier selection, cost tracking 2026-03-15 09:39:18 -05:00
eval-format.ts feat: add eval format validation, tier selection, cost tracking 2026-03-15 09:39:18 -05:00
eval-tier.ts feat: add eval format validation, tier selection, cost tracking 2026-03-15 09:39:18 -05:00
sync-config.ts feat: add team sync infrastructure (config, auth, push/pull, CLI) 2026-03-15 02:02:40 -05:00
sync.ts feat: add team sync infrastructure (config, auth, push/pull, CLI) 2026-03-15 02:02:40 -05:00
util.ts feat: add listEvalFiles, loadEvalResults, formatTimestamp to lib/util.ts 2026-03-15 09:39:09 -05:00