All files / src consts.ts

100% Statements 3/3
100% Branches 0/0
100% Functions 0/0
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21      12x         12x                     12x  
/**
 * Package name used as User-Agent header
 */
export const USER_AGENT = 'stackone-ai-node';
 
/**
 * Default base URL for StackOne API
 */
export const DEFAULT_BASE_URL = 'https://api.stackone.com';
 
/**
 * Default weight for BM25 in hybrid BM25 + TF-IDF search.
 *
 * - alpha=0.2 means: 20% BM25 + 80% TF-IDF
 * - This value was optimized through validation testing
 * - Provides 10.8% improvement in tool discovery accuracy
 * - Lower values favor BM25 scoring (better keyword matching)
 * - Higher values favor TF-IDF scoring (better semantic matching)
 */
export const DEFAULT_HYBRID_ALPHA = 0.2;