Sovereign Default Modelling
A leakage-aware machine-learning pipeline for evaluating sovereign default risk across countries and time.
Internal engineering and research portfolio
An Omnific Hand internal product used to prove delivery capability.

Problem statement
Sovereign default modelling is highly sensitive to data leakage across countries and time. Evaluation discipline matters more than headline model performance.
Engineering objective
- Defined country hold-out and temporal train and test splits.
- Scoped validation-based threshold tuning and train-only resampling.
- Selected evaluation metrics suited to imbalanced default prediction.
- Integrated World Bank enrichment with reproducible output paths.
Architecture and approach
A reproducible machine-learning pipeline for sovereign default risk with explicit hold-out evaluation, hybrid modelling, and reporting focused on methodology rather than production credit rating.
- Country hold-out evaluation and temporal split design.
- XGBoost and hybrid model experimentation with F1, recall and PR-AUC reporting.
- Train-only SMOTE and validation-based threshold tuning.
- Reproducible evaluation outputs and enrichment steps.
How it works
Python, XGBoost, scikit-learn ecosystem.
World Bank data enrichment.
Reproducible evaluation scripts and outputs.
Controls and constraints
- Research dataset handling only; not positioned as production credit infrastructure.
- Evaluation splits documented to reduce temporal and geographic leakage.
What the system includes
- Leakage-aware training and evaluation pipeline.
- Model comparison and threshold tuning workflow.
- Reproducible result exports.
Product and system views

A leakage-aware machine-learning pipeline for evaluating sovereign default risk across countries and time.
Evaluation and results
- Demonstrates evaluation discipline for financial ML research.
- Shows how to document methodology and limitations honestly.
Validation and testing
- Hold-out country evaluation and temporal test split.
- Validation-based threshold tuning with train-only resampling.
Limitations
- Not a production credit-rating or investment system.
- Results depend on dataset scope and split design documented in the repository.
Explore related delivery capabilities
This case study shows the kind of engineering work Omnific Hand can bring to automation, data, AI and digital delivery projects.