Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
4
import
{ predictCodeQuality } from
'./predictor'
5
6
function
hasRepeats(code: string): boolean {
7
return
new
Set(code).size < code.length
8
}
9
10
export
function
isProfileCompatible(
11
code: string,
Callers
1
isModeCompatible
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected