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
1import { V as Vitest, av as ResolvedCoverageOptions, a$ as CoverageMap, ao as ReportContext, T as TestProject } from './chunks/reporters.d.DtoKVV2s.js';2import { TransformResult } from 'vite';3import { a as AfterSuiteRunMeta } from './chunks/traces.d.D2T_R8rx.js';4import '@vitest/runner';5import '@vitest/utils';6import 'node:stream';7import './chunks/config.d.A1h_Y6Jt.js';8import '@vitest/pretty-format';9import '@vitest/snapshot';10import '@vitest/utils/diff';11import './chunks/browser.d.BcoexmFG.js';12import './chunks/worker.d.ZpHpO4yb.js';13import 'vite/module-runner';14import './chunks/environment.d.CrsxCzP1.js';15import './chunks/rpc.d.B_8sPU0w.js';16import '@vitest/expect';17import 'vitest/optional-types.js';18import './chunks/benchmark.d.DAaHLpsq.js';19import '@vitest/runner/utils';20import 'tinybench';21import '@vitest/mocker';22import '@vitest/utils/source-map';23import 'vitest/browser';24import './chunks/coverage.d.BZtK59WP.js';25import '@vitest/snapshot/manager';26import 'node:console';27import 'node:fs';28 29type Threshold = "lines" | "functions" | "statements" | "branches";30interface ResolvedThreshold {31 coverageMap: CoverageMap;32 name: string;33 thresholds: Partial<Record<Threshold, number | undefined>>;34}35/**36* Holds info about raw coverage results that are stored on file system:37*38* ```json39* "project-a": {40* "web": {41* "tests/math.test.ts": "coverage-1.json",42* "tests/utils.test.ts": "coverage-2.json",43* // ^^^^^^^^^^^^^^^ Raw coverage on file system44* },45* "ssr": { ... },46* "browser": { ... },47* },48* "project-b": ...49* ```50*/51type CoverageFiles = Map<NonNullable<AfterSuiteRunMeta["projectName"]> | symbol, Record<AfterSuiteRunMeta["environment"], {52 [TestFilenames: string]: string;53}>>;54declare class BaseCoverageProvider {55 ctx: Vitest;56 readonly name: "v8" | "istanbul";57 version: string;58 options: ResolvedCoverageOptions;59 globCache: Map<string, boolean>;60 autoUpdateMarker: string;61 coverageFiles: CoverageFiles;62 pendingPromises: Promise<void>[];63 coverageFilesDirectory: string;64 roots: string[];65 changedFiles?: string[];66 _initialize(ctx: Vitest): void;67 /**68 * Check if file matches `coverage.include` but not `coverage.exclude`69 */70 isIncluded(_filename: string, root?: string): boolean;71 private getUntestedFilesByRoot;72 getUntestedFiles(testedFiles: string[]): Promise<string[]>;73 createCoverageMap(): CoverageMap;74 generateReports(_: CoverageMap, __: boolean | undefined): Promise<void>;75 parseConfigModule(_: string): Promise<{76 generate: () => {77 code: string;78 };79 }>;80 resolveOptions(): ResolvedCoverageOptions;81 clean(clean?: boolean): Promise<void>;82 private normalizeCoverageFileError;83 onAfterSuiteRun({ coverage, environment, projectName, testFiles }: AfterSuiteRunMeta): void;84 readCoverageFiles<CoverageType>({ onFileRead, onFinished, onDebug }: {85 /** Callback invoked with a single coverage result */86 onFileRead: (data: CoverageType) => void;87 /** Callback invoked once all results of a project for specific transform mode are read */88 onFinished: (project: Vitest["projects"][number], environment: string) => Promise<void>;89 onDebug: ((...logs: any[]) => void) & {90 enabled: boolean;91 };92 }): Promise<void>;93 cleanAfterRun(): Promise<void>;94 onTestRunStart(): Promise<void>;95 onTestFailure(): Promise<void>;96 reportCoverage(coverageMap: unknown, { allTestsRun }: ReportContext): Promise<void>;97 reportThresholds(coverageMap: CoverageMap, allTestsRun: boolean | undefined): Promise<void>;98 /**99 * Constructs collected coverage and users' threshold options into separate sets100 * where each threshold set holds their own coverage maps. Threshold set is either101 * for specific files defined by glob pattern or global for all other files.102 */103 private resolveThresholds;104 /**105 * Check collected coverage against configured thresholds. Sets exit code to 1 when thresholds not reached.106 */107 private checkThresholds;108 /**109 * Check if current coverage is above configured thresholds and bump the thresholds if needed110 */111 updateThresholds({ thresholds: allThresholds, onUpdate, configurationFile }: {112 thresholds: ResolvedThreshold[];113 configurationFile: unknown;114 onUpdate: () => void;115 }): Promise<void>;116 mergeReports(coverageMaps: unknown[]): Promise<void>;117 hasTerminalReporter(reporters: ResolvedCoverageOptions["reporter"]): boolean;118 toSlices<T>(array: T[], size: number): T[][];119 transformFile(url: string, project: TestProject, viteEnvironment: string): Promise<TransformResult | null | undefined>;120 createUncoveredFileTransformer(ctx: Vitest): (filename: string) => Promise<TransformResult | null | undefined>;121}122 123export { BaseCoverageProvider };124 