Packages
Modular packages designed to work together or independently
@flakiness-detective/core
Core detection engine with DBSCAN clustering algorithms and pattern extraction
v0.1.0
Features:
- ✓DBSCAN clustering with cosine/euclidean distance
- ✓Rich Playwright error parsing
- ✓Deterministic cluster IDs
- ✓Input validation and type safety
@flakiness-detective/playwright-parser
Production-grade Playwright test failure parser with optional metadata tracking
v0.1.0
Features:
- ✓Zero-config parsing of Playwright test failures
- ✓Auto-generated deterministic test IDs
- ✓Optional annotations for enhanced tracking
- ✓Extracts matcher, locator, expected/actual values
- ✓79 passing tests with real error samples
@flakiness-detective/adapters
Data adapters and AI providers for flexible integrations
v0.1.0
Features:
- ✓Firestore adapter with custom schema support
- ✓Filesystem adapter with JSON persistence
- ✓In-memory adapter for testing
- ✓Google Generative AI provider
- ✓Mock provider for testing
@flakiness-detective/cli
Command-line interface for CI/CD integration
v0.1.0
Features:
- ✓detect command for running analysis
- ✓report command for viewing clusters
- ✓Configuration file support (.json, .js, .ts)
- ✓Debug mode with detailed logging
@flakiness-detective/utils
Shared utilities and logger for all packages
v0.1.0
Features:
- ✓Configurable logger with multiple levels
- ✓Optional timestamps
- ✓Shared helper functions