MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / quantize-tokenizer.test.ts

File quantize-tokenizer.test.ts

test/quantize-tokenizer.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect } from 'vitest';
2import { quantize, cosineQuantized } from '../src/context/sqlite-index.js';
3import { heuristicTokens, countTokens, countTokensJson } from '../src/utils/tokenizer.js';
4

Callers

nothing calls this directly

Calls 5

quantizeFunction · 0.85
cosineQuantizedFunction · 0.85
heuristicTokensFunction · 0.85
countTokensFunction · 0.85
countTokensJsonFunction · 0.85

Tested by

no test coverage detected