mirror of
https://github.com/hanzo-apps/hanzo.ai.git
synced 2026-10-29 07:20:43 +00:00
CI never ran e2e/unit, so figures.spec could not fail a commit. It is now the `unit` project, a hanzo.yml step of its own, and ci.spec fails if that wiring goes. The render checks move to e2e/gates and run against out/. /benchmarks/inference said two model sizes, seven repetitions and an 8B largest while rendering a 27B ROCmFP4 run at three. lib/engine now exports REPS, MODELS and LARGEST, and the page and Engine read them. The registry lede loses its typed counts. /benchmarks/gpqa said six and six. Two zen rows were marked `ours`, which made them tiers: Ladder quoted zen-5.8-coder as the cheapest tier. They are field rows again, and the page counts FIELD by who scored it. The index names Metal among prefill losses (INDEX.engine, from settled cells), puts each runtime figure on its own pass's machine, drops "one split" for the pooled MAB panel, and scopes CronQuestions to covered types. The runtime pages read the machine from the pass. MemoryAgentBench drops "29 of 35", subject scope drops "five sixths", goroutine drops "for months", and the sandbox registry and table keys name the microVM rows. kit loses p1 (F does it), Bars' of/digits/suffix, Span.note, Row's min/gap and the non-link Tile and Panel branches; Engine loses `heading`. Co-authored-by: Hanzo Dev <[email protected]>
16 lines
742 B
TypeScript
16 lines
742 B
TypeScript
import { test, expect } from '@playwright/test'
|
|
import { readFileSync } from 'node:fs'
|
|
import config from '../../playwright.config'
|
|
|
|
/**
|
|
* The specs in this directory read source, so each fails on the commit that
|
|
* breaks it only if CI runs it. hanzo.yml runs `pnpm test:unit`, which selects
|
|
* the one project whose testDir is this directory.
|
|
*/
|
|
test('CI runs every spec in e2e/unit', () => {
|
|
const script: string = JSON.parse(readFileSync('package.json', 'utf8')).scripts['test:unit']
|
|
const project = /--project=(\S+)/.exec(script)?.[1]
|
|
expect(config.projects?.find((p) => p.name === project)?.testDir, `test:unit is \`${script}\``).toBe('./e2e/unit')
|
|
expect(readFileSync('hanzo.yml', 'utf8')).toMatch(/^\s+pnpm test:unit$/m)
|
|
})
|