p-Index From 2021 - 2026
5.854
P-Index
This Author published in this journals
All Journal Jurnal Sains dan Teknologi Jurnal Simetris Pro Bisnis INTENSIF: Jurnal Ilmiah Penelitian dan Penerapan Teknologi Sistem Informasi Jurnal Komputer Terapan Jurnal Eksplora Informatika Technomedia Journal DoubleClick : Journal of Computer and Information Technology MATRIK : Jurnal Manajemen, Teknik Informatika, dan Rekayasa Komputer Digital Zone: Jurnal Teknologi Informasi dan Komunikasi INTEK: Jurnal Penelitian Jurnal Abdimas PHB : Jurnal Pengabdian Masyarakat Progresif Humanis Brainstorming Jurnal Tekno Kompak Jurnal Ilmiah Ilmu Komputer Fakultas Ilmu Komputer Universitas Al Asyariah Mandar JATI (Jurnal Mahasiswa Teknik Informatika) Jurnal Komunitas: Jurnal Pengabidian Kepada Masyarakat IJIIS: International Journal of Informatics and Information Systems Jurasik (Jurnal Riset Sistem Informasi dan Teknik Informatika) ABSYARA: Jurnal Pengabdian Pada Masyarakat Journal of Electrical Engineering and Computer (JEECOM) Journal of Applied Data Sciences Jurnal Pengabdian Masyarakat Indonesia International Journal for Applied Information Management Jurnal Abdimas Prakasa Dakara Abdimas Altruis: Jurnal Pengabdian Kepada Masyarakat Jurnal Pengabdian Mitra Masyarakat (JPMM) Prosiding Seminar Nasional Teknologi Informasi dan Bisnis Inovasi Jurnal Pengabdian Masyarakat (IJPM) JAR'S (Journal of Advanced Research in Informatics) Jurnal Riset Sistem Informasi Kesejahteraan Bersama : Jurnal Pengabdian dan Keberlanjutan Masyarakat Journal of Informatics and Interactive Technology (JIITE) Edu Komputika Journal Jurnal Pengabdian Masyarakat Terapan
Claim Missing Document
Check
Articles

Found 1 Documents
Search
Journal : Journal of Applied Data Sciences

Optimizing Function-Level Source Code Classification Using Meta-Trained CodeBERT in Low-Resource Settings Septiadi, Abednego Dwi; Prasetyo, Muhamad Awiet Wiedanto; Daffa, Geusan Edurais Aria
Journal of Applied Data Sciences Vol 6, No 3: September 2025
Publisher : Bright Publisher

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.47738/jads.v6i3.902

Abstract

This study investigates the effectiveness of a meta-trained transformer-based model, CodeBERT, for classifying source code functions in environments with limited labeled data. The primary objective is to improve the accuracy and generalizability of function-level code classification using few-shot learning, a strategy where the model learns from only a few labeled examples per category. We introduce a meta-learning framework designed to enable CodeBERT to adapt to new function types with minimal supervision, addressing a common limitation in traditional code classification methods that require extensive labeled datasets and manual feature engineering. The methodology involves episodic few-shot classification, where each episode simulates a low-resource task using five labeled and five unlabeled samples per function class. A balanced subset of Python functions was sampled from the CodeXGLUE benchmark, consisting of ten function categories with equal representation. The source code was preprocessed by removing comments and docstrings, then tokenized into a fixed length of 128 tokens to fit the model input format. The meta-trained CodeBERT was evaluated across 10 episodes, each representing a different task composition. Results show that the model achieves an average classification accuracy of 73.0%, with high accuracy on function categories characterized by unique syntax patterns, and lower performance on categories with overlapping logic or naming structures. Despite this variability, the model-maintained accuracy above 60% in all episodes. These findings suggest that meta-learning significantly enhances the adaptability of CodeBERT to unseen tasks under data-constrained conditions. This research demonstrates that meta-trained transformer models can serve as practical tools for real-time code analysis, particularly in integrated development environments and continuous integration pipelines. Future work may include extending the framework to other programming languages and incorporating semantic code representations to further reduce classification ambiguity.
Co-Authors Abednego Dwi Septiadi Ade Iv Wanda, Hanna Affrad, Mahazam Afilda Trisetya Riziana Afilda Trisetya Riziana Afilda Trisetya Riziana Agung Prabowo Agustin, Wahyu Nurfida Aji, Ananda Wahyu Aji, Briyan Gifari Aji, Ranggi Prahraningtyas Alfriyanto Riski Wibowo, Nicodemus Alifah, Putri Eka Nur Aprilianti, Nabila Argiyan Dwi Pritama Argiyan Dwi Pritama Ayubi, Harun Al Aziim, Tanzil Bachtiar, Rizky Bangkit Bangkit, Jeffri Prayitno bara, tri wahyono Daffa, Geusan Edurais Aria Devi Yunita Saputri Devi Yunita Saputri Dewi, Richy Puspita Dhafin Aroby, Revanda Dhewanda Putro Laksono Dimas Fanny Hebrasianto Permadi Dwi Chandra Aditya Sondawa Eka Tripustikasari Eka Tripustikasari Eliyanti, Kiki Eliyanti, Kiki Fakhri Dewantoro Fatoni, M. Yoka Gifari, Muhammad Rifky Ginting, Delia Pebina Boru Gustin Setyaningsih Gustin Setyaningsih Gustin Setyaningsih Hanun Karomatunnisa Heraya Fitria Hidayah, Debby Ummul Ika Ayu Pratiwi Ika Romadoni Yunita Ika Romadoni Yunita Imam Alriyanto Indika Manggala Putra Ito Setiawan Khairun Nisa Meiah Ngafidin Laely Candra Arviana Latifah Adi Triana Liana Luby, Ervie Luqyana, Maghda M Yoka Fathoni Mahazam Afrad Ma’arifah, Windiya Mohammad Imron Muhamad Rezha Riaqia Putra Muhammad Ikhsan Maulana Nabila Aprilianti Nalakhudin, Khaidir Novian Adi Prasetyo Nur Asysyifa Febrianti Nurhidayah, Isnaeni Palupi Pandanarum Pandu Praditya Galih Pratama Puja Kusuma, Tyas Pratama, Rizki Yoga Prayoga Siswono, Andika Rafi Rahmat Dani Ranggi Praharaningtyas Aji Ranggi Prahraningtyas Aji Resti Nur Azizah Rizky Bangkit Bachtiar Rosyid, Rahman Sabrina Uhti Kusreynada Salsa Billa Zulmi Zettira Sandhy Fernandez Saputri, Devi Yunita Sena Wijayanto Septi Fajarwati Septiadi, Abednego Setiawan, Ito Setyaningsih, Gustin Setyaningsih, Gustin Shafirina Arsydini Shidqi Sisilia Thya Safitri Sukmadiningtyas Suliswaningsih Toni Anwar Toni Anwar Ummul Hidayah, Debby Wardhani, Melinia Indah Yogo Dwi Prasetyo Yunita, Ika Romadoni Zhafira Atika Anggraini