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

Interface CustomStrategyContext

src/types.ts:18–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16export type RngProfile = 'insecure' | 'secure' | 'hybrid' | (string & {})
17
18export interface CustomStrategyContext {
19 length: CodeLength
20 pickDigit(): string
21 pickTwoDifferentDigits(): [string, string]
22 pickThreeDifferentDigits(): [string, string, string]
23 fromDigits(digits: string[]): string
24 isTooSimple(code: string): boolean
25 isAllSame(code: string): boolean
26}
27
28export interface CodeAnalysis {
29 length: CodeLength

Callers 24

customStrategyFunction · 0.80
getStrategyImplFunction · 0.80
getStrategyImplFunction · 0.80
patternAABBFunction · 0.80
patternABBAFunction · 0.80
patternABABFunction · 0.80
patternAAABFunction · 0.80
patternABBBFunction · 0.80
patternABABABFunction · 0.80
patternAAABBBFunction · 0.80
getStrategyImplFunction · 0.80
patternAABCFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected