Skip to main content
Glama
containsBugIndicators.ts756 B
/** * Bug Indicator Detection Utility for Metadata Assessment * * This utility function analyzes text content to identify potential bug-related keywords * and phrases. It helps determine if an issue that may not be formally categorized as a bug * actually contains language suggesting it's related to a defect or problem. This detection * is used in metadata assessment to evaluate if issue types accurately reflect their content. */ export function containsBugIndicators(text: string): boolean { const bugKeywords = [ 'bug', 'fix', 'issue', 'problem', 'error', 'crash', 'defect', 'broken', 'incorrect', 'not working', 'failing', 'exception', ] return bugKeywords.some((keyword) => text.toLowerCase().includes(keyword)) }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tbreeding/jira-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server