MCPcopy Create free account
hub / github.com/PatrickSys/codebase-context / isTestingRelatedQuery

Function isTestingRelatedQuery

src/preflight/query-scope.ts:33–36  ·  view source on GitHub ↗
(query: string)

Source from the content-addressed store, hash-verified

31const TESTING_QUERY_REGEX = new RegExp(`\\b(${TESTING_QUERY_TERMS.join('|')})\\b`, 'i');
32
33export function isTestingRelatedQuery(query: string): boolean {
34 if (!query || !query.trim()) return false;
35 return TESTING_QUERY_REGEX.test(query);
36}
37
38export function shouldIncludePatternConflictCategory(category: string, query: string): boolean {
39 if (!TESTING_PATTERN_CATEGORIES.has(category)) return true;

Callers 4

assessSearchQualityFunction · 0.85
scoreAndSortResultsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected