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 { type SyncParseReturnType, isAborted, isDirty, isValid } from "../helpers/parseUtil.js";5 6test("parseUtil isInvalid should use structural typing", () => {7 // Test for issue #556: https://github.com/colinhacks/zod/issues/5568 const aborted: SyncParseReturnType = { status: "aborted" };9 const dirty: SyncParseReturnType = { status: "dirty", value: "whatever" };10 const valid: SyncParseReturnType = { status: "valid", value: "whatever" };11 12 expect(isAborted(aborted)).toBe(true);13 expect(isAborted(dirty)).toBe(false);14 expect(isAborted(valid)).toBe(false);15 16 expect(isDirty(aborted)).toBe(false);17 expect(isDirty(dirty)).toBe(true);18 expect(isDirty(valid)).toBe(false);19 20 expect(isValid(aborted)).toBe(false);21 expect(isValid(dirty)).toBe(false);22 expect(isValid(valid)).toBe(true);23});24 