The situation
The consultancy (mostly fixed-price phase-1 contracts) ships population simulations weekly — integrator failures cost rerun cycles that eat fixed-price margin directly.
Your task
Benchmark stiff-aware ODE integrators on three PK/PD model classes and produce an integrator-selection policy that eliminates the current pipeline's failure rate.
The brief
What you do
- Use SciPy's solve_ivp + SUNDIALS (via scikit-sundae or diffeqpy) to benchmark: RK45 (baseline), LSODA, BDF (CVODE), Radau, and Rosenbrock.
- Run on three model classes (insulin-glucose 22 states, drug-receptor binding 14 states, hepatic clearance 9 states) at 10,000 parameter samples each.
- Report success rate, wall time per trajectory, accuracy vs a reference high-precision solution.
You deliver
A Python benchmark harness, results report, and a 5-page integrator-selection policy memo (model class → recommended integrator + tolerances).
What you will practice
- Diagnose ODE stiffness using eigenvalue spectra or numerical signatures
- Compare BDF, Rosenbrock, and implicit Runge-Kutta methods on stiff systems
- Choose absolute and relative tolerances defensibly for population workloads
- Build a model-class-to-integrator policy reusable across sponsors
A suggested way in
- Stiffness detection: estimate the spectral radius / smallest-decaying-mode ratio; high ratio means stiff
- Tolerances should be set per state, not globally — concentrations near zero need different abs tolerance than peak states
- Always compare against a high-precision reference (Radau at 1e-12) — relative error against another fast integrator is circular
Skills you will practice
Numerical odes, Stiff integrators, Scientific python, Benchmarking, Pk pd modeling, Numerical tolerance tuning
How it is assessed
- Benchmark rigor30%
Three model classes × five integrators × 10,000 samples, reproducible.
- Stiffness diagnosis20%
Stiffness characterized for each model class with quantitative evidence.
- Tolerance tuning25%
Per-state tolerances justified against accuracy and runtime trade.
- Policy clarity25%
Memo gives a deterministic integrator-selection rule per model class.
Resources
- PythonTool
Pipeline language for the consultancy's existing PK/PD stack.
- SciPyTool
solve_ivp covers RK45, BDF, LSODA, Radau out of the box.
- NumPyTool
Eigenvalue analysis for stiffness diagnosis.
- JupyterTool
Stiffness exploration and tolerance-sensitivity notebooks.
- MatplotlibTool
Per-integrator accuracy vs runtime scatter plots.
- NotionTool
Integrator-selection policy memo.
Finish it. Earn this.
A verified certificate with your name. Anyone can check it.
Time to practice.
Solve this challengeMore like this.
- Data ScientistExplain a Credit-Risk Model with SHAP for a Fintech
- Senior AccountantIFRS 16 Lease Accounting for a Renewable Energy Firm
- Data ScientistInterpretable-by-Design GAM for an Insurer's Claims Triage
- Data Protection OfficerData Protection Impact Assessment for a Fintech App
-
Explain a Credit-Risk Model with SHAP for a Fintech Data Scientist You receive a trained XGBoost credit-risk model (binary default prediction), the training feature schema (38 features), and a held-out 10,000-sample t shapinterpretabilityfairness analysis Open challenge → -
IFRS 16 Lease Accounting for a Renewable Energy Firm Senior Accountant You are a senior accountant at SunPower Renewables. The company is adopting IFRS 16 for the first time. You are given a sample lease for a wind turbin ifrs 16lease accountingright of use asset Open challenge → -
Interpretable-by-Design GAM for an Insurer's Claims Triage Data Scientist You receive an anonymized claims dataset (around 60,000 claims, target: log reserve), a feature schema (22 features), and an existing LightGBM baselin generalized additive modelsebminterpretability Open challenge → -
Data Protection Impact Assessment for a Fintech App Data Protection Officer You are the data protection officer (DPO) for the fintech. Perform a DPIA for the new AI-driven loan feature, following ICO guidelines. Identify at le gdpr compliancedata protection impact assessmentrisk management Open challenge →