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.
03.1k
1// @ts-ignore TS61332import { expect, test } from "vitest";3 4import * as z from "zod/v3";5const stringSchema = z.string();6 7test("safeparse fail", () => {8 const safe = stringSchema.safeParse(12);9 expect(safe.success).toEqual(false);10 expect(safe.error).toBeInstanceOf(z.ZodError);11});12 13test("safeparse pass", () => {14 const safe = stringSchema.safeParse("12");15 expect(safe.success).toEqual(true);16 expect(safe.data).toEqual("12");17});18 19test("safeparse unexpected error", () => {20 expect(() =>21 stringSchema22 .refine((data) => {23 throw new Error(data);24 })25 .safeParse("12")26 ).toThrow();27});28 