How rashmigowda1206/matchnexa-ai works
MatchNexa resolves business records from Source 2 and Source 3 against Source 1, emphasizing high-precision matches and correct singleton handling. The CLI starts an orchestrated workflow: records are normalized, candidates are generated by multi-pass blocking, candidate pairs are featurized, and a LightGBM model is trained and threshold-tuned against Macro F0.5 before test predictions and two TSV outputs are written. The README documents additional normalization and blocking capabilities not all visible in excerpts; unsampled implementation details are represented only where documented, and edges reflect shown calls or documented workflow.
Main entry points: pipeline.py Resolution pipeline · main.py CLI entry · blocking.py Multi-pass blocker · features.py Pair feature extraction
Components 15
Entry and orchestration
- CLI entry
src/main.py - Resolution pipeline
src/pipeline.py
Record preparation
- Record normalization
src/preprocessing.py
Candidate matching
- Multi-pass blocker
src/blocking.py - Candidate pairs
src/blocking.py - Pair feature extraction
src/features.py - Pair feature vectors
src/features.py
Decision and outputs
- Pair classifier
src/model.py - Threshold tuning
src/model.py - Macro F0.5 metrics
src/metrics.py - Match predictions
src/model.py - Candidate TSV
src/pipeline.py - Matching TSV
src/pipeline.py
Other components
- Operator
- Challenge datasets
Connections 15
- Operator → CLI entry: runs
src/main.py - CLI entry → Resolution pipeline: starts
src/main.py - Resolution pipeline → Challenge datasets: loads
README.md - Resolution pipeline → Record normalization: normalizes
src/pipeline.py - Resolution pipeline → Multi-pass blocker: generates candidates
src/pipeline.py - Multi-pass blocker → Candidate pairs: returns
src/blocking.py - Resolution pipeline → Pair feature extraction: extracts features
src/pipeline.py - Pair feature extraction → Pair feature vectors: produces
src/features.py - Resolution pipeline → Pair classifier: trains
src/pipeline.py - Resolution pipeline → Threshold tuning: tunes threshold
src/pipeline.py - Threshold tuning → Macro F0.5 metrics: scores
src/model.py - Resolution pipeline → Match predictions: requests inference
src/pipeline.py - Pair classifier → Match predictions: predicts matches
src/model.py - Resolution pipeline → Candidate TSV: writes candidates
src/pipeline.py - Resolution pipeline → Matching TSV: writes matches
src/pipeline.py