Skip to content

Aniket2002/ifrs16-lbo-engine

Repository files navigation

IFRS-16 LBO Engine — Short README

Practical research code for optimizing LBO covenants under IFRS-16 and frozen-GAAP conventions. Clean, installable Python package with reproducible analysis and a public benchmark.

Purpose: reproducible experiments, publishable manuscript, and an optimization library for covenant design.

Quick start

  • Clone and install (editable):
git clone https://github.com/Aniket2002/ifrs16-lbo-engine.git
cd ifrs16-lbo-engine
pip install -e .

Run a quick demo

  • Accor case study (small, reproducible):
python analysis/scripts/case_study_accor.py

Tests

pytest -q

Structure

  • src/lbo/ — core library (installable)
  • analysis/ — experiments, scripts, and paper/ (manuscript + figures)
  • data/ — small CSV inputs and benchmark
  • tests/ — unit and integration tests

License: MIT

🚀 Quick Start

Installation

git clone https://github.com/Aniket2002/ifrs16-lbo-engine.git
cd ifrs16-lbo-engine
pip install -e .  # Installs as package

Run Key Demonstrations

# 1. Reproduce Accor case study (real company analysis)
python analysis/scripts/case_study_accor.py

# 2. Generate theoretical guarantee proofs  
python analysis/scripts/theoretical_guarantees.py

# 3. Run Bayesian calibration pipeline
python analysis/calibration/bayes_calibrate.py

# 4. Create all paper figures in one command
make figures

Docker (Guaranteed Reproducibility)

docker build -t ifrs16-lbo .
docker run ifrs16-lbo python analysis/scripts/case_study_accor.py

🏗️ Technical Architecture

📦 Production-Ready Python Package
├── 🔧 src/lbo/                    # Core library (pip installable)
│   ├── optimization/              # Bayesian covenant optimization  
│   ├── workflows/                 # LBO modeling pipelines
│   └── models/                    # IFRS-16 compliant engines
│
├── 🔬 analysis/                   # Research & experiments
│   ├── scripts/                   # Executable analyses
│   ├── calibration/               # Bayesian parameter fitting
│   ├── paper/                     # LaTeX manuscript + figures
│   └── figures/                   # Generated visualizations
│
├── � data/                       # Input datasets
├── 🧪 tests/                      # Comprehensive test suite  
└── 📋 benchmark_dataset_v1.0/     # Public research benchmark

💼 Business Impact & Skills Demonstrated

Quantitative Finance Expertise

  • Complex derivative pricing: IFRS-16 lease liability valuation
  • Risk management: Covenant breach probability modeling
  • Regulatory compliance: Dual accounting standard handling
  • Portfolio optimization: Multi-objective PE fund optimization

Machine Learning Engineering

  • Bayesian inference: PyMC hierarchical modeling at scale
  • Uncertainty quantification: Posterior predictive distributions
  • Model validation: Cross-validation with financial time series
  • Feature engineering: Financial ratio transformation pipelines

Software Engineering Excellence

  • Clean architecture: Domain-driven design with clear interfaces
  • Performance optimization: Closed-form solutions vs Monte Carlo
  • Testing strategy: Property-based testing for financial invariants
  • Documentation: Research-grade technical writing
  • Fast screening for optimization algorithms (10x speedup)
  • Validation framework against full simulation with error bounds

Track 1: Covenant Design Optimization

  • Stochastic optimization of (ICR, Leverage, Sweep) thresholds
  • Pareto frontiers mapping IRR vs breach risk trade-offs
  • ε-constraint formulation with risk-first covenant design
  • Policy maps showing optimal covenant levels vs risk tolerance

Standard Academic Rigor

  • Wilson confidence intervals for success rate estimation
  • Bootstrap percentile CIs for robust IRR quantiles
  • Multiple IRR calculation methods for cross-validation
  • Sobol global sensitivity with first-order (S₁) and total-effect (Sₜ) indices

📊 Novel Outputs

Enhanced Figure Series (F1-F11)

  • F1-F6: Standard methods figures (Monte Carlo, S&U, Sobol, stress)
  • F7: Prior vs posterior distributions (Bayesian shrinkage)
  • F8: Analytic vs simulation validation (approximation quality)
  • F9: First-order elasticities (parameter sensitivities)
  • F10: Pareto frontiers (IRR vs breach risk) ← KEY NOVEL OUTPUT
  • F11: Policy maps (optimal covenant levels vs risk tolerance)

Research Tables

  • Optimized vs baseline covenants (ΔIRR, ΔP(breach), Δheadroom)
  • Posterior parameter estimates by firm with shrinkage metrics
  • Sobol sensitivity indices with confidence intervals
  • Validation statistics (analytic vs simulation errors)

📊 Live Results & Validation

Performance Metrics

# Benchmark Results (vs Traditional Methods)
covenant_breach_auc: 0.76 ± 0.05  # +18% improvement  
headroom_rmse: 0.28               # 46% reduction
computational_speedup: 12.3x      # Analytic vs Monte Carlo
model_accuracy: ε0.12          # Mathematical guarantee

Real-World Case Study: Accor SA

# Material impact quantification
ifrs16_leverage: 5.1x    vs    frozen_gaap_leverage: 12.6x
ifrs16_icr: 10.6x        vs    frozen_gaap_icr: 2.6x
covenant_sensitivity: "High - requires dual-convention analysis"

🎓 Academic Excellence

Research Paper

  • 📄 Full manuscript: analysis/paper/main.tex
  • 🔢 Mathematical proofs: Propositions with deterministic error bounds
  • 📈 Empirical validation: Multi-company benchmark testing
  • 🏆 Publication-ready: Structured for top finance journals

Theoretical Contributions

Proposition 1: Analytic Screening Guarantee
├── ε ≤ 0.12 bounded approximation error
├── Computational complexity O(1) vs O(n³)
└── Formal proof in mathematical appendix

Proposition 2: Frontier Monotonicity  
├── Pareto-efficiency under uncertainty
├── Bayesian posterior convergence
└── Risk-adjusted optimization guarantees

Benchmark Dataset

  • 🏢 5 hotel operators with public financial data
  • 📋 3 standardized tasks for method comparison
  • Integrity verified with SHA256 checksums
  • 🔓 Open access under CC-BY-4.0 license

🔗 For Hiring Managers

This project demonstrates advanced capabilities across multiple domains:

Skill Category Specific Demonstrations
Quantitative Finance IFRS-16 compliance, derivative valuation, risk modeling, portfolio optimization
Machine Learning Bayesian inference, uncertainty quantification, hierarchical modeling, validation
Software Engineering Clean architecture, performance optimization, comprehensive testing, CI/CD
Research Excellence Mathematical rigor, reproducible science, academic writing, benchmark creation
Business Impact Real company analysis, regulatory compliance, decision support systems

Key Technical Differentiators:

  • Production-ready code (not just research prototype)
  • Mathematical guarantees (not just empirical results)
  • End-to-end pipeline (data → model → optimization → deployment)
  • Regulatory expertise (IFRS-16, dual accounting standards)
  • Open source contribution (public benchmark for research community)
  1. Single source of truth: All optimization logic in clearly documented modules
  2. Deterministic pipeline: make paper-optimization reproduces all F1-F11 results
  3. Complete provenance: Git tracking, parameter logging, computational environment capture
  4. Graceful degradation: Framework works with/without optional optimization dependencies

Academic Positioning

  • Methods contribution: Novel algorithmic framework, not just empirical application
  • Practical impact: Industry-applicable covenant optimization with measurable value
  • Literature gap: First optimization approach to IFRS-16 covenant design under uncertainty
  • Scalable framework: Extensible to other deal structures and accounting standards

📚 Academic Citations

When using this framework in academic research, please reference:

Novel Methodological Contributions

  • Bayesian hierarchical calibration methodology with partial pooling
  • Analytic headroom approximations for IFRS-16 covenant dynamics
  • Stochastic optimization formulation for covenant package design
  • Pareto frontier analysis for risk-return covenant trade-offs

Standard Implementation Details

  • IFRS-16 lease treatment methodology with proper debt classification
  • Monte Carlo simulation parameters (400+ scenarios, seed=42)
  • Sobol sensitivity analysis with first-order and total-effect indices
  • Statistical confidence interval methods (Wilson, Bootstrap percentile)

🔗 Related Documentation

Novel Framework Documentation

Standard Academic Documentation

📞 Contact & Collaboration

Aniket Bhardwaj | Quantitative Finance Researcher
📧 bhardwaj.aniket2002@gmail.com
🔗 LinkedIn | GitHub

Open to opportunities in:

  • 🏦 Quantitative Finance (Buy-side, Sell-side, Fintech)
  • 🤖 Machine Learning Engineering (Finance, Risk, Optimization)
  • 📊 Data Science (Financial Services, Regulatory Technology)
  • 🔬 Research Engineering (Academic-Industry Bridge Roles)

📄 Citation

@article{bhardwaj2025ifrs16lbo,
  title={Covenant Optimization in LBO Structures Under IFRS-16: 
         Fast Analytic Approximations with Deterministic Error Bounds},
  author={Bhardwaj, Aniket},
  journal={arXiv preprint arXiv:XXXX.XXXXX}, 
  year={2025},
  url={https://github.com/Aniket2002/ifrs16-lbo-engine}
}

🌟 Advanced quantitative finance framework combining academic rigor with production engineering excellence.

About

Reproducible, covenant-aware LBO engine (IFRS-16) with Monte Carlo & Sobol; includes empirical hotel-operator note.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages