2 min readmenit baca
Let the tree decide, let the LLM writeBiarkan pohon yang memutuskan, LLM yang menulis
Why EduNara uses a five-level decision tree — not a language model — to decide which students are at risk.Mengapa EduNara memakai decision tree lima tingkat — bukan model bahasa — untuk menentukan siswa yang berisiko.
- Explainable AI
- scikit-learn
- EdTech
When an app tells a teacher that a student is “high risk”, the teacher is entitled to ask why. That single question shaped the whole architecture of EduNara, a dashboard that helps elementary teachers find learning gaps in literacy and numeracy.Ketika aplikasi memberi tahu guru bahwa seorang siswa “berisiko tinggi”, guru berhak bertanya mengapa. Pertanyaan itu membentuk seluruh arsitektur EduNara, dashboard yang membantu guru SD menemukan learning gap literasi dan numerasi.
The Decision Tree decides. The LLM only writes.Decision Tree yang memutuskan. LLM hanya yang menulis.
Three reasons not to let the LLM decideTiga alasan tidak membiarkan LLM memutuskan
- Accountability — a decision tree can explain its label in five sentences. A language model can't trace its own reasoning that way.Bisa dipertanggungjawabkan — decision tree bisa menjelaskan labelnya dalam lima kalimat. Model bahasa tidak bisa menelusuri alasannya seperti itu.
- Consistency — the same data must give the same category today and next month.Konsisten — data yang sama harus menghasilkan kategori yang sama hari ini maupun bulan depan.
- Independence — if the AI service goes down, risk classification keeps running locally.Mandiri — bila layanan AI mati, klasifikasi risiko tetap berjalan secara lokal.
Seven features, named for humansTujuh fitur, dinamai untuk manusia
The tree uses seven deliberately plain features — overall mastery, the share of weak competencies, repeated errors, literacy and numeracy mastery, hard-question mastery and fast wrong answers — because the decision path is shown to teachers exactly as it is.Pohon memakai tujuh fitur yang sengaja dibuat sederhana — penguasaan keseluruhan, proporsi kompetensi lemah, kesalahan berulang, penguasaan literasi dan numerasi, penguasaan soal sulit, dan jawaban salah yang terburu-buru — karena jalur keputusannya ditampilkan kepada guru apa adanya.
DecisionTreeClassifier(max_depth=5, min_samples_leaf=25)
test accuracy : 0.955 (1,200 test / 4,800 train)
low : precision 0.949 recall 0.946
medium : precision 0.959 recall 0.962
high : precision 0.954 recall 0.951Those depth limits weren't chosen to chase accuracy. A deeper tree might gain a point or two, but its path could no longer be read aloud to a teacher — and readability is the reason to use a tree at all.Batas kedalaman itu tidak dipilih untuk mengejar akurasi. Pohon yang lebih dalam mungkin naik satu-dua poin, tetapi jalurnya tak lagi bisa dibacakan kepada guru — padahal keterbacaan adalah alasan memakai pohon sejak awal.

Being honest about simulated dataJujur soal data simulasi
Real assessment data from elementary students wasn't available, so the model learns from 6,000 simulated students with correlated literacy and numeracy ability and 4% deliberately flipped labels. Yes, that's circular — the tree learns rules we wrote. The value is the pipeline: when real data arrives, the generator is swapped out, training reruns, and nothing else in the system changes.Data asesmen siswa SD yang riil belum tersedia, jadi model belajar dari 6.000 siswa simulasi dengan kemampuan literasi dan numerasi yang berkorelasi serta 4% label yang sengaja dibalik. Ya, ini melingkar — pohon mempelajari aturan yang kami tulis. Nilainya ada pada pipeline: saat data nyata tersedia, generatornya diganti, pelatihan diulang, dan bagian lain sistem tidak berubah.
And when the LLM fails, the record says so — “deterministic-fallback” instead of a model name. A system that degrades quietly is harder to trust than one that admits it.Dan saat LLM gagal, catatannya menyebutkannya — “deterministic-fallback”, bukan nama model. Sistem yang menurun diam-diam lebih sulit dipercaya daripada yang mengakuinya.