Sangeetha-Grantha

TRACK-008: Entity Resolution Hardening & Deduplication

Metadata Value
Status Completed
Owner Backend Team
Priority High
Related Tracks TRACK-001 (Bulk Import)

1. Goal

Implement robust, performant, and musicologically accurate Entity Resolution and Deduplication for the Bulk Import pipeline (Phase 3). This ensures that imported Krithis are correctly mapped to canonical Composers, Ragas, and Talas without creating duplicates or bad data.

2. Problem Statement

The current EntityResolutionService is naive:

3. Implementation Plan

3.1 Normalization Logic (Domain Rules)

Implement NameNormalizationService with specific rules identified in csv-import-strategy.md:

3.2 Performance Optimization (Caching)

3.3 Deduplication Service

3.4 Integration

4. Progress Log