Algorithmic Decarceration in the Reform of Indonesia’s Sentencing System: A Maqashid al-Shari‘ah Perspective on the National Criminal Code
DOI:
https://doi.org/10.29240/jhi.v11i2.16897Keywords:
Algorithmic Decarceration, Maqashid Shariah, National Criminal Code, Non-Custodial Punishment, Sentencing ReformAbstract
This article examines the conditions under which algorithm-assisted non-custodial sentencing can be reconciled with Indonesia’s National Criminal Code and Maqashid al-Shari‘ah. The literature reviewed addresses algorithmic fairness, alternatives to imprisonment, and Islamic sentencing ethics largely through separate frameworks. The unresolved issue is how statutory eligibility, procedural contestability, and operational maqāṣid safeguards can be integrated into a coherent sentencing workflow. This normative legal study employs statutory, conceptual, and functional comparative analysis. It distinguishes existing sentencing rules from interpretive arguments and prospective policy proposals. The analysis identifies support for proportionate non-custodial sentencing within the Code, while showing that sentencing objectives do not independently authorize algorithmic tools or electronic monitoring. The proposed model connects legal eligibility, locally validated assessment, disclosure, opportunities to challenge errors, independent judicial reasoning, and periodic review. Maqashid principles are translated into indicators concerning safety, rehabilitation, economic burdens, dignity, and excessive surveillance. The article contributes a conditional governance framework rather than an empirically validated prediction model. Algorithm-assisted decarceration is defensible only where technological assistance supports lawful sentencing choices, preserves procedural rights, and avoids expanding unnecessary penal control.
Downloads
References
Adi Syahputra Sirait et al. “Community Service Order Punishment: Alternatives in The Criminal Law System From Maqashid Al-Shariah Perspective.” Nurani: Jurnal Kajian Syari’ah Dan Masyarakat 24, no. 2 (October 10, 2024): 273–96. https://doi.org/10.19109/NURANI.V24I2.24276.
Ado, Saidu, Mohammad Abdel Salama, and Abdallah Saleh Abdallah. “The Maqasid Al-Shari’ah and the Protection of Family Economics in Islamic Law: A Reflection on Surah Al-Baqarah 2:188.” QURU’: Journal of Family Law and Culture 3, no. 3 (September 1, 2025): 264–82. https://doi.org/10.59698/QURU.V3I3.477.
Agusta, Dika, Abdul Madjid, and Nurini Aprilianda. “Reforming Indonesian Criminal Law: Integrating Supervision, Punishment, And Rehabilitation For Restorative Justice.” International Journal of Islamic Education, Research and Multiculturalism (IJIERM) 7, no. 1 (February 25, 2025): 54–68. https://doi.org/10.47006/IJIERM.V7I1.434.
Al-Turabi, Uthman Mehdad, and Jasser Auda. “Toward a Maqashid-Based Legal Reform: Systemic Thinking for Social Transformation in the Modern Muslim World.” Indonesian Journal of Islamic Law 8, no. 2 (December 23, 2025): 209–28. https://doi.org/10.35719/FHW10V84.
ANTARA News. “Rehab Push Key to Solving Indonesia’s Prison Overcrowding.” en.antaranews.com, 2026. https://en.antaranews.com/news/413860/rehab-push-key-to-solving-indonesias-prison-overcrowding-lawmaker?
Bawono, Bambang Tri, Moh Nurul Huda, Ahmad Hadi Prayitno, and Moh Aris Siswanto. “Human Trafficking and the Relevance of Hifz Al-Nafs and Hifz Al-’ird in Contemporary Islamic Legal Ethics.” MILRev: Metro Islamic Law Review 4, no. 1 (June 30, 2025): 597–618. https://doi.org/10.32332/MILREV.V4I1.10694.
Bekkum, Marvin van, and Frederik Zuiderveen Borgesius. “Digital Welfare Fraud Detection and the Dutch SyRI Judgment.” European Journal of Social Security 23, no. 4 (December 1, 2021): 323–40. https://doi.org/10.1177/13882627211031257
Bouchagiar, Georgios. “Is Europe Prepared for Risk Assessment Technologies in Criminal Justice? Lessons from the US Experience.” New Journal of European Criminal Law 15, no. 1 (March 1, 2024): 72–98. https://doi.org/10.1177/20322844241228676
Chihaia, Gabriela N. “Respect for Human Dignity – The Fundamental Principle of Romanian and European Penal Enforcement Law.” Bulletin of the Transilvania University of Brasov. Series VII: Social Sciences • Law 18, no. 67 (February 16, 2026): 171–80. https://doi.org/10.31926/BUT.SSL.2025.18.67.3.18.
Clauset, Aaron. “Algorithms Fail to Improve Predictions.” Science 359, no. 6373 (January 19, 2018): 286. https://doi.org/10.1126/SCIENCE.359.6373.285-I.
Crime, United Nations Office on Drugs and. “Prison Matters 2024: Global Prison Population and Trends: A Focus on Rehabilitation.” Prison Matters 2024: Global Prison Population and Trends, April 23, 2025, 1–52. https://doi.org/10.18356/9789211073706.
Dawson-Edwards, Cherie. “Restorative Justice.” The Encyclopedia of Crime and Punishment, December 28, 2015, 1–5. https://doi.org/10.1002/9781118519639.WBECPX163.
DeMichele, Matthew, Megan Comfort, Kelle Barrick, and Peter Baumgartner. “The Intuitive-Override Model: Nudging Judges Toward Pretrial Risk Assessment Instruments.” Federal Probation 85, no. 2 (April 25, 2018): 22–31. https://doi.org/10.2139/SSRN.3168500.
Djalaluddin, Muhammad Mawardi. “The Implementation of Ta’zir Punishment as an Educational Reinforcement in Islamic Law.” Samarah: Jurnal Hukum Keluarga Dan Hukum Islam 7, no. 1 (March 31, 2023): 399–417. https://doi.org/10.22373/SJHK.V7I1.15101.
Dressel, Julia, and Hany Farid. “The Accuracy, Fairness, and Limits of Predicting Recidivism.” Science Advances 4, no. 1 (January 1, 2018): 1–6. https://doi.org/10.1126/SCIADV.AAO5580.
Ebers, Martin. “Truly Risk-Based Regulation of Artificial Intelligence How to Implement the EU’s AI Act.” European Journal of Risk Regulation 16, no. 2 (June 1, 2025): 684–703. https://doi.org/10.1017/ERR.2024.78.
Fathurokhman, Ferry. “The Necessity of Restorative Justice on Juvenile Delinquency in Indonesia, Lessons Learned from the Raju and AAL Cases.” Procedia Environmental Sciences 17 (January 1, 2013): 967–75. https://doi.org/10.1016/J.PROENV.2013.02.115.
Fedorczyk, Federica. “Navigating the Dichotomy of Smart Prisons: Between Surveillance and Rehabilitation.” Law, Innovation and Technology 16, no. 1 (January 2, 2024): 243–60. https://doi.org/10.1080/17579961.2024.2313793.
Fernando, Zico Junius, and Muhammad Imanuddin. “Green Financial Crime in The Perspective of Islamic Law.” Khazanah Hukum 7, no. 2 (June 28, 2025): 206–22. https://doi.org/10.15575/KH.V7I2.39211.
Fountain, Jane E. “The Moon, the Ghetto and Artificial Intelligence: Reducing Systemic Racism in Computational Algorithms.” Government Information Quarterly 39, no. 2 (April 1, 2022): 1–5. https://doi.org/10.1016/J.GIQ.2021.101645.
Gao, Yiqiang. “Algorithmic Justice: Can AI Mitigate or Exacerbate Bias in Criminal Sentencing?” International Journal of Education and Humanities 20, no. 2 (August 13, 2025): 95–99. https://doi.org/10.54097/B904EM84.
Grozdanovski, Ljupcho, and Jerome De Cooman. “Individual Safeguards in the Era of AI: Fair Algorithms, Fair Regulation, Fair Procedures.” Cambridge Forum on AI: Law and Governance 1 (2025): 1–7. https://doi.org/10.1017/CFL.2025.10.
Gundy, Alana Van. “Bangkok Rules.” The Encyclopedia of Women and Crime, January 1, 2019, 1–3. https://doi.org/10.1002/9781118929803.EWAC0549.
Hanna, Peter. “Human Cattle: Prison Overpopulation and the Political Economy of Mass Incarceration.” Themis: Research Journal of Justice Studies and Forensic Science 4, no. 1 (May 10, 2016): 1–25. https://doi.org/10.31979/THEMIS.2016.0403.
Henham, Ralph. “Sentencing Policy, Social Values and Discretionary Justice.” Oxford Journal of Legal Studies 42, no. 4 (December 9, 2022): 1093–1117. https://doi.org/10.1093/OJLS/GQAC011.
Ibrahim, Zumiyati Sanu, Suud Sarim Karimullah, Andi Istiqlal Assaad, Rina Septiani, and Huseyin Okur. “Integration of Maqashid Al-Shari’ah in the Criminal Law Reform to Achieve Justice and Human Dignity.” Jurnal Hukum Islam 23, no. 1 (June 17, 2025): 105–44. https://doi.org/10.28918/JHI.V23I1.04.
Joisten, Karen, and Tobias Renner. “Technological Biases and Human Prejudices: A Technoethical Challenge.” International Conference on Electrical, Computer, Communications and Mechatronics Engineering, ICECCME 2024, 2024, 1–5. https://doi.org/10.1109/ICECCME62383.2024.10797208.
Liu, Han Wei, Ching Fu Lin, and Yu Jie Chen. “Beyond State v Loomis: Artificial Intelligence, Government Algorithmization and Accountability.” International Journal of Law and Information Technology 27, no. 2 (June 1, 2019): 122–41. https://doi.org/10.1093/IJLIT/EAZ001.
Ludfi, Ludfi, and Rinovian Rais. “Reconstructing Islamic Legal Ethics : The Role of Maqashid Al-Shariah in Contemporary Muslim Community Governance.” Harmony Philosophy: International Journal of Islamic Religious Studies and Sharia 1, no. 1 (February 29, 2024): 23–32. https://doi.org/10.70062/HARMONYPHILOSOPHY.V1I1.322.
Malau, Parningotan. “Tinjauan Kitab Undang-Undang Hukum Pidana (KUHP) Baru 2023.” AL-MANHAJ: Jurnal Hukum Dan Pranata Sosial Islam 5, no. 1 (June 13, 2023): 837–44. https://doi.org/10.37680/almanhaj.v5i1.2815.
Mashdurohatun, Anis, Eid Abed Alhaleem Maslat Harahsheh, Muhammad Irwan Datuiding, Abun Hasbulloh Syambas, and Prasetiyo Adhi Wibowo. “Contemporary Reassessment of Punishment in Islamic and Secular Law: A Comparative Study of Justice and Penal Philosophy.” MILRev: Metro Islamic Law Review 5, no. 1 (January 1, 2026): 80–100. https://doi.org/10.32332/MILREV.V5I1.11887.
Minabari, Amir. “The Contest of Moral Values and Human Rights in the Formulation of Criminal Offenses Inbthe National Criminal Code.” Journal of Strafvordering Indonesian 2, no. 6 (January 27, 2026): 9–19. https://doi.org/10.62872/AJ5D0D93.
Mubarokah, Wakhidatul, Ali Masyhar Mursyid, and Cahya Wulandari. “The Urgency of Renewing the Theory of Punishment in the Formation of National Criminal Law Policy.” Jurnal Pendidikan Dan Kebudayaan (JURDIKBUD) 5, no. 1 (June 13, 2025): 29–43. https://doi.org/10.55606/JURDIKBUD.V5I1.6389.
Mullen, Joan. “Prison Crowding and the Evolution of Public Policy.” The ANNALS of the American Academy of Political and Social Science 478, no. 1 (1985): 31–46. https://doi.org/10.1177/0002716285478001004
Munadi Usman et al. “Fuqaha’ Perspective on Government Authority in Formulating Ta’zir Penalty.” Siyasah Wa Qanuniyah : Jurnal Ilmiah Ma’had Aly Raudhatul Ma’arif 3, no. 1 (June 25, 2025): 42–57. https://doi.org/10.61842/SWQ/V3I1.42.
Musyahid, Achmad, M Zul Fauzan, and Rahma Amir, Achmad Musyahid Idrus, Muh Zul Fauzan, Mulham Jaki Asti, and Rahma Amir. “An Actualization of Hifdz Al-Nafs Theory In Sentencing: A Philosophical Review Of Prisoner’s Rights To Healthcare At The Class IIb Detention Center In North Sinjai.” Al-Daulah : Jurnal Hukum Pidana Dan Ketatanegaraan 12, no. 1 (June 24, 2023): 144–60. https://doi.org/10.24252/AD.VI.38438.
Nesossi, Elisa, Sarah Biddulph, Flora Sapio, and Susan Trevaskes. “Legal Reforms and Deprivation of Liberty in Contemporary China.” Legal Reforms and Deprivation of Liberty in Contemporary China, January 1, 2016, 1–187. https://doi.org/10.4324/9781315592091/LEGAL-REFORMS-DEPRIVATION-LIBERTY-CONTEMPORARY-CHINA-ELISA-NESOSSI-SARAH-BIDDULPH-FLORA-SAPIO-SUSAN-TREVASKES/RIGHTS-AND-PERMISSIONS.
Nudd, Eva, Maha Aon, Kalliopi Kambanella, and Marie Brasholt. “Overcrowding in Prisons: Health and Legal Implications.” Torture Journal 34, no. 3 (December 27, 2024): 41–53. https://doi.org/10.7146/torture.v34i3.147571.
Pihu. “Retribution vs Reformation: Balancing Justice in Modern Criminal Law.” International Journal of Judicial Law 5, no. 2 (2026): 27–30. https://doi.org/10.54660/IJJL.2026.5.2.27-30.
Prawira, Ilham Abdi, Rahmad Setyawan, Fahlul Ulum, and Ahmad Adnani. “The Paradigm Shift of Maqashid Al-Syari’ah in Contemporary Society: From Protection to Development.” Academica: Journal of Multidisciplinary Studies 9, no. 2 (December 15, 2025): 22–32. https://doi.org/10.22515/ACADEMICA.V9I2.14126.
Purnomo, Hadi, Widhi Handoko, and Murad Altwaiqat. “Reframing Medical Malpractice Resolution: Restorative Justice between Indonesian Criminal Law and Islah in Contemporary Islamic Law.” MILRev: Metro Islamic Law Review 5, no. 1 (March 17, 2026): 299–327. https://doi.org/10.32332/MILREV.V5I1.13100.
Rifaid, Muhammad, Abdul Haris, M. Jasuli Ramadhan, and Hajairin. “Transformation of Indonesian Criminal Justice Paradigm: Analysis of the Integration of Restorative Justice Principles in the National Criminal Code (Law No. 1 of 2023).” Lex Journal : Kajian Hukum Dan Keadilan 9, no. 3 (August 2, 2025): 694–706. https://doi.org/10.25139/LEX.V9I3.10823.
Roberts, Julian V., and Jose Pina-Sanchez. “From Principles to Populism: Sentencing in England and Wales.” Crime and Justice, January 1, 2026, 1–5. https://doi.org/10.1086/738815
Safaruddin Harefa et al. “Transformasi Kebijakan Pemidanaan Dalam KUHP Nasional: Menuju Sistem Pemidanaan Yang Berkeadilan Dan Humanis.” Simbur Cahaya XXXII, no. 2 (December 31, 2025): 283–306. https://doi.org/10.28946/SC.V32I2.5050.
Salman, Abdulsatar Shaker. “Mass Surveillance and the Maqasid Al-Shari‘ah: Balancing Security and Human Rights in Contemporary Islamic Discourse.” International Journal of Sharia and Law 1, no. 1 (June 30, 2025): 65–80. https://doi.org/10.65211/PXW09065.
Santorso, Simone. “The Politics of Prison Crowding: A Critical Analysis of the Italian Prison System.” The Politics of Prison Crowding: A Critical Analysis of the Italian Prison System, February 14, 2023, 1–210. https://doi.org/10.4324/9781003030997/POLITICS-PRISON-CROWDING-SIMONE-SANTORSO/RIGHTS-AND-PERMISSIONS.
Sauni, Herawan, Zico Junius Fernando, David Aprizon Putra, Saivol Virdaus, and Aris Hardinanto. “Beyond Borders: Shedding Light on Foreign Bribery through an Islamic Legal Lens.” Al-Istinbath: Jurnal Hukum Islam 9, no. 2 (September 20, 2024): 649–78. https://doi.org/10.29240/JHI.V9I2.9752.
Singh, Arjun. “Community Service as an Emerging Punishment: Legal and Challenges.” INTERNATIONAL JOURNAL OF SCIENTIFIC RESEARCH IN ENGINEERING AND MANAGEMENT 9, no. 11 (October 10, 2025): 1–9. https://doi.org/10.55041/IJSREM53709.
Sulistio, Rian, Nyoman Nurjaya, and Abdul Madjid. “The Living Law in Judicial Decisions: Formulation and Implications of the National Criminal Code.” Jurnal Dinamika Hukum 25, no. 1 (March 24, 2025): 70–90. https://doi.org/10.20884/1.JDH.2025.25.1.15469.
Sunarto, Zainuddin. “Bridging Tradition and Modernity: Al-Syatibi’s Maqashid Al-Shari‘ah as a Framework for Contemporary Islamic Jurisprudence.” Al-Fiqh: Journal of Contemporary Islamic Law 1, no. 1 (July 22, 2025): 40–48. https://doi.org/10.61987/FIQH.V1I1.803.
Thailand Institute of Justice. “Global Prison Trends 2025,” 2025.
Usqo, Hanafi Urwatil, Faisar Ananda Arfa, and Nurasiah. “Kasus Nenek Minah Tinjauan Filsafat Hukum Islam Dan Barat.” Arus Jurnal Sosial Dan Humaniora 4, no. 3 (December 21, 2024): 2199–2206. https://doi.org/10.57250/AJSH.V4I3.885.
World Prison Brief. “Indonesia | World Prison Brief.” Accessed October 14, 2026. https://www.prisonstudies.org/country/indonesia?language_content_entity=en-gb.
———. “Pre-Trial/Remand Prison Population: Trend.” prisonstudies.org, 2025. https://www.prisonstudies.org/country/indonesia?language_content_entity.
Zilka, Miri, Riccardo Fogliato, Jiri Hron, Bradley Butcher, Carolyn Ashurst, and Adrian Weller. “The Progression of Disparities within the Criminal Justice System: Differential Enforcement and Risk Assessment Instruments.” ACM International Conference Proceeding Series 1 (June 12, 2023): 1553–69. https://doi.org/10.1145/3593013.3594099
Downloads
Published
How to Cite
Issue
Section
Citation Check
License
Copyright (c) 2026 Siswanto Siswanto, Zico Junius Fernando, Artha Artha Febriansyah, Fardana Kusumah

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Authors who publish with Al-Istinbath : Jurnal Hukum Islam agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a CC BY-SA 4.0 Deed | Attribution-ShareAlike 4.0 International | Creative Commons (CC BY-SA 4.0) that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).














.jpg)
