Docs: Update benchmark for deepseek/deepseek-v3.2

This commit is contained in:
github-actions[bot]
2025-12-01 15:02:03 +00:00
parent c8893a805f
commit 0b47c76f63
11 changed files with 225 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
const validateJSON = async (json, schema) => {
const { default: Ajv } = await import('https://cdn.skypack.dev/ajv@8.12.0');
const ajv = new Ajv({ allErrors: true });
const validate = ajv.compile(schema);
const valid = validate(json);
return {
valid,
errors: valid ? [] : validate.errors.map(e => `${e.instancePath} ${e.message}`)
};
};
export default validateJSON;
// Generation time: 4.839s
// Result: PASS