mirror of
https://github.com/block/buzz.git
synced 2026-10-30 22:11:36 +00:00
test: reconcile merged model corpus count
Co-authored-by: Codex <noreply@openai.com> Signed-off-by: Atish Patel <atishpatel2012@gmail.com>
This commit is contained in:
@@ -782,7 +782,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn corpus_has_exactly_104_executable_vectors() {
|
||||
fn corpus_has_exactly_114_executable_vectors() {
|
||||
// Locks the vector count so a silent INPUTS edit can't quietly drop
|
||||
// coverage; must equal the gate in the TS harness
|
||||
// (modelCapabilitiesCorpus.test.mjs).
|
||||
@@ -791,7 +791,7 @@ mod tests {
|
||||
.filter(|q| matches!(q, Q::Vector { .. }))
|
||||
.count();
|
||||
assert_eq!(
|
||||
vectors, 104,
|
||||
vectors, 114,
|
||||
"corpus executable-vector count changed; update this gate deliberately"
|
||||
);
|
||||
}
|
||||
|
||||
@@ -24,10 +24,10 @@ const corpus = JSON.parse(readFileSync(fileURLToPath(corpusUrl), "utf8"));
|
||||
// (`_group`) are skipped. Mirrors the Rust corpus filter.
|
||||
const executable = corpus.filter((entry) => entry.expect != null);
|
||||
|
||||
test("corpus has exactly 104 executable vectors", () => {
|
||||
test("corpus has exactly 114 executable vectors", () => {
|
||||
// Locks the vector count so a silent corpus edit can't quietly drop coverage;
|
||||
// must equal the gate in the Rust suite (model_capabilities.rs).
|
||||
assert.equal(executable.length, 104);
|
||||
assert.equal(executable.length, 114);
|
||||
});
|
||||
|
||||
test("every executable corpus vector resolves to its expected six-axis profile", () => {
|
||||
|
||||
Reference in New Issue
Block a user