Team Ai
Datasetpublic

Brunobkr/llama.cpp_AlgMor24_github

ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes3.1kdownloads
parser.test.ts42 linesDownload Raw Back to tests
1// @ts-ignore TS61332import { expect, test } from "vitest";3 4import * as z from "zod/v3";5 6test("parse strict object with unknown keys", () => {7  expect(() =>8    z9      .object({ name: z.string() })10      .strict()11      .parse({ name: "bill", unknownKey: 12 } as any)12  ).toThrow();13});14 15test("parse nonstrict object with unknown keys", () => {16  z.object({ name: z.string() }).nonstrict().parse({ name: "bill", unknownKey: 12 });17});18 19test("invalid left side of intersection", () => {20  expect(() => z.intersection(z.string(), z.number()).parse(12 as any)).toThrow();21});22 23test("invalid right side of intersection", () => {24  expect(() => z.intersection(z.string(), z.number()).parse("12" as any)).toThrow();25});26 27test("parsing non-array in tuple schema", () => {28  expect(() => z.tuple([]).parse("12" as any)).toThrow();29});30 31test("incorrect num elements in tuple", () => {32  expect(() => z.tuple([]).parse(["asdf"] as any)).toThrow();33});34 35test("invalid enum value", () => {36  expect(() => z.enum(["Blue"]).parse("Red" as any)).toThrow();37});38 39test("parsing unknown", () => {40  z.string().parse("Red" as unknown);41});42