Motivated by the problem of assigning mediators to cases in the Kenyan judicial, we study an online resource allocation problem where incoming tasks (cases) must be immediately assigned to available, capacity-constrained resources (mediators). The resources differ in their quality, which may need to be learned. In addition, resources can only be assigned to a subset of tasks that overlaps to varying degrees with the subset of tasks other resources can be assigned to. The objective is to maximize task completion while satisfying soft capacity constraints across all the resources. The scale of the real-world problem poses substantial challenges, since there are over 2000 mediators and a multitude of combinations of geographic locations (87) and case types (12) that each mediator is qualified to work on. Together, these features, unknown quality of new resources, soft capacity constraints, and a high-dimensional state space, make existing scheduling and resource allocation algorithms either inapplicable or inefficient. We formalize the problem in a tractable manner using a quadratic program formulation for assignment and a multi-agent bandit-style framework for learning. We demonstrate the key properties and advantages of our new algorithm, SMaRT (Selecting Mediators that are Right for the Task), compared with baselines on stylized instances of the mediator allocation problem. We then consider its application to real-world data on cases and mediators from the Kenyan judiciary. SMaRT outperforms baselines and allows control over the tradeoff between the strictness of capacity constraints and overall case resolution rates, both in settings where mediator quality is known beforehand and in bandit-like settings where learning is part of the problem definition. On the strength of these results, we plan to run a randomized controlled trial with SMaRT in the judiciary in the near future.
| Repository name | URI |
|---|---|
| Reproducible Research Repository (World Bank) | https://reproducibility.worldbank.org |
Paper exhibits were reproduced on a computer with the following specifications:
• OS: Windows 11 Enterprise
• Processor: INTEL(R) XEON(R) PLATINUM 8562Y+ (2.80 GHz) (2 processors)
• Memory available: 128.0 GB
Run time with intermediate data: ~ 90 minutes.
Total run time: ~ 640 hours
To reproduce the findings in this paper, a replicator must:
requirenments.txt.reproduce_exp_one_click_QP.ipynb; reproduce_exp_one_click_LP_refinedC5.ipynb; sensitivity_analysis_of_VA_esitmation.ipynb.Refer to the instructions in the README for details on Workflow B. Since no data is included, the package includes the results produced by replicators. These files can be used to review the results presented in the paper.
All data is restricted and has not been included in the reproducibility package. For more details, please refer to the README file.
| Author | Affiliation | |
|---|---|---|
| Antoine Deeb | World Bank | adeeb1@worldbank.org |
| Shafkat Farabi | Virginia Tech | mfarabi@vt.edu |
| Anja Sautman | World Bank | asautmann@worldbank.org |
| Manuel Ramos-Maqueda | World Bank | mramosmaqueda@worldbank.org |
| Sanmay Das | Virginia Tech | sanmay@vt.edu |
| Wei Lu | World Bank | wlu4@worldbank.org |
| Didac Marti Pinto | University College London | didac.marti.pinto.19@ucl.ac.uk |
2026-09-08
| Location | Code |
|---|---|
| Kenya | KEN |
The materials in the reproducibility packages are distributed as they were prepared by the staff of the International Bank for Reconstruction and Development/The World Bank. The findings, interpretations, and conclusions expressed in this event do not necessarily reflect the views of the World Bank, the Executive Directors of the World Bank, or the governments they represent. The World Bank does not guarantee the accuracy of the materials included in the reproducibility package.
| Name | URI |
|---|---|
| MIT License | https://opensource.org/license/mit |
| World Bank IGO Rider | https://github.com/worldbank/metadata-editor/blob/main/WB-IGO-RIDER.md |
| Name | Affiliation | |
|---|---|---|
| Antoine Deeb | World Bank | adeeb1@worldbank.org |
| Reproducibility WBG | World Bank | reproducibility@worldbank.org |
| Name | Abbreviation | Affiliation | Role |
|---|---|---|---|
| Reproducibility WBG | DECDI | World Bank - Development Impact Department | Verification and preparation of metadata |
2026-09-08
1