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
literal.test.ts37 linesDownload Raw Back to tests
1// @ts-ignore TS61332import { expect, test } from "vitest";3 4import * as z from "zod/v3";5 6const literalTuna = z.literal("tuna");7const literalFortyTwo = z.literal(42);8const literalTrue = z.literal(true);9 10const terrificSymbol = Symbol("terrific");11const literalTerrificSymbol = z.literal(terrificSymbol);12 13test("passing validations", () => {14  literalTuna.parse("tuna");15  literalFortyTwo.parse(42);16  literalTrue.parse(true);17  literalTerrificSymbol.parse(terrificSymbol);18});19 20test("failing validations", () => {21  expect(() => literalTuna.parse("shark")).toThrow();22  expect(() => literalFortyTwo.parse(43)).toThrow();23  expect(() => literalTrue.parse(false)).toThrow();24  expect(() => literalTerrificSymbol.parse(Symbol("terrific"))).toThrow();25});26 27test("invalid_literal should have `received` field with data", () => {28  const data = "shark";29  const result = literalTuna.safeParse(data);30  if (!result.success) {31    const issue = result.error.issues[0];32    if (issue.code === "invalid_literal") {33      expect(issue.received).toBe(data);34    }35  }36});37 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai