MCPcopy Index your code
hub / github.com/TeaCoder52/patcode / hasRepeats

Function hasRepeats

src/profile.ts:6–8  ·  view source on GitHub ↗
(code: string)

Source from the content-addressed store, hash-verified

4import { predictCodeQuality } from './predictor'
5
6function hasRepeats(code: string): boolean {
7 return new Set(code).size < code.length
8}
9
10export function isProfileCompatible(
11 code: string,

Callers 1

isModeCompatibleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected