Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /* ________________________________________ | GarudaCBT ..
Decoded Output download
<?php
/* ________________________________________
| GarudaCBT |
| https://github.com/garudacbt/cbt |
|________________________________________|
*/
class Cbtanalisis extends CI_Controller
{
public function __construct()
{
goto xviUW;
xviUW:
parent::__construct();
goto vSC17;
tXJ82:
HahlG:
goto Hu76h;
Hu76h:
goto qznPQ;
goto pCSiD;
Wv9UR:
show_error("Hanya Administrator yang diberi hak untuk mengakses halaman ini, <a href="" . base_url("dashboard") . "">Kembali ke menu awal</a>", 403, "Akses Terlarang");
goto tXJ82;
EYKW_:
$this->load->library(["datatables", "form_validation"]);
goto jVY6g;
vSC17:
if (!$this->ion_auth->logged_in()) {
goto fwK7M;
}
goto MOx65;
nygim:
redirect("auth");
goto fYXiQ;
fYXiQ:
qznPQ:
goto EYKW_;
jVY6g:
$this->form_validation->set_error_delimiters('', '');
goto g1Pya;
MOx65:
if (!(!$this->ion_auth->is_admin() && !$this->ion_auth->in_group("guru"))) {
goto HahlG;
}
goto Wv9UR;
pCSiD:
fwK7M:
goto nygim;
g1Pya:
}
public function output_json($data, $encode = true)
{
goto Cc91w;
HV2gX:
$data = json_encode($data);
goto IuQmt;
z_d3e:
$this->output->set_content_type("application/json")->set_output($data);
goto GXUC_;
IuQmt:
Dtq_p:
goto z_d3e;
Cc91w:
if (!$encode) {
goto Dtq_p;
}
goto HV2gX;
GXUC_:
}
public function index()
{
goto Gb2Ds;
DT_Es:
$thn_sel = $thn_sel == null ? $tp->id_tp : $thn_sel;
goto U_4eD;
il1bd:
$data["profile"] = $this->dashboard->getProfileAdmin($user->id);
goto lpimc;
AdJxi:
foreach ($all_soals[1] as $no => $soal) {
goto j23S4;
JZwkY:
xoUf2:
goto bZDQ7;
IuArD:
$status_soal = "sukar";
goto RJKaR;
QL4YK:
$daya_pembeda = $yng_benar_golonganatas / $bagi_daya - $yng_benar_golonganbawah / $bagi_daya;
goto lCv4_;
n6tGK:
wSmcK:
goto xuogS;
FYJJz:
$pos_a = 0;
goto pKnWT;
OZxPh:
$soal->table_r = $this->nilaiSignifikansi($total_siswa);
goto Sej4N;
m_1o_:
$jml_siswa--;
goto xMCYN;
qRpUB:
ypzdF:
goto maVOR;
mqIiS:
MzBJp:
goto ySwwm;
F37yp:
$soal->jumlah_benar = 0;
goto O1M_b;
mrbvR:
$soal->status_daya = "Baik Sekali";
goto IKKQZ;
FkjfU:
if (!($jml_siswa > 0)) {
goto cNkdc;
}
goto W3BF8;
lCv4_:
goto K1y0z;
goto iRK0X;
npk_3:
if ($daya_pembeda >= 0.2) {
goto riE12;
}
goto Q5nwl;
LSIdv:
if ($kesukaran >= 0.7) {
goto wSmcK;
}
goto wbJZy;
wBkZw:
$soal->nilai_valid = $pearson;
goto OZxPh;
CIS6w:
$cek = $jml_siswa % 2;
goto TsdGC;
xuogS:
$status_soal = "mudah";
goto lM9pv;
veRLZ:
if ($daya_pembeda >= 0.7) {
goto zB9G1;
}
goto bYPjf;
hsYd8:
cNkdc:
goto nQt05;
lAhRI:
if ($yng_benar_golonganatas == 0 && $yng_benar_golonganbawah == 0) {
goto XpLVj;
}
goto QL4YK;
Lvk3F:
$yng_benar_golonganbawah = 0;
goto mwzmM;
dmZdQ:
$status_soal = '';
goto FkjfU;
sHvo2:
hC6FZ:
goto aN8hi;
OZCJT:
$soal->skor_siswa = [];
goto F37yp;
iRK0X:
XpLVj:
goto KIvvI;
Zfs3c:
if ($yng_benar_golonganatas != 0 && $yng_benar_golonganbawah == 0) {
goto QfDgf;
}
goto lAhRI;
B5zz2:
goto ypzdF;
goto j3tTH;
VOtvH:
$y = [];
goto P10ZV;
bYPjf:
if ($daya_pembeda >= 0.4) {
goto sTnkX;
}
goto npk_3;
maVOR:
goto C00rB;
goto fRhpo;
rZ0QD:
$soal->status_valid = $validitas;
goto wQS8z;
MNFnM:
eFL0J:
goto B5zz2;
niZHp:
$soal->status_kesukaran = $status_soal;
goto CIS6w;
j3tTH:
sTnkX:
goto SLokX;
bHFvg:
$soal->benar_atas = $yng_benar_golonganatas;
goto kqTsV;
eCZUR:
$jml_siswa = $total_siswa;
goto c9c9y;
htt56:
$jwbn_siswa = isset($jawabans_siswa[1][$no]) && isset($jawabans_siswa[1][$no]) ? $jawabans_siswa[1][$no] : [];
goto buRQ5;
F313L:
E_G0R:
goto HFnxt;
FGE1H:
$x = [];
goto htt56;
KIvvI:
$daya_pembeda = 0;
goto Lq_9D;
pKnWT:
$pos_b = $bagi;
goto VOtvH;
DSWAZ:
$soal->status_daya = "Cukup";
goto MNFnM;
nQt05:
$soal->tingkat_kesukaran = $kesukaran;
goto niZHp;
qX65h:
$total_siswa = 0;
goto FGE1H;
W_jz6:
riE12:
goto DSWAZ;
wbJZy:
if ($kesukaran >= 0.3) {
goto n61nc;
}
goto IuArD;
O1M_b:
$soal->jumlah_salah = 0;
goto qX65h;
HFnxt:
goto x5Nxm;
goto DCq5C;
wQS8z:
$bagi_daya = $bagi > 0 ? $bagi : 1;
goto p7Rey;
yHuDA:
n61nc:
goto FzXI9;
fQw4J:
goto i2GhO;
goto n6tGK;
DCq5C:
l48uw:
goto xWEIr;
bfIKT:
x5Nxm:
goto H7bfp;
ihy02:
$pearson = $this->pearson($x, $y);
goto wBkZw;
Lq_9D:
K1y0z:
goto bfBfl;
RJKaR:
goto l_A8F;
goto yHuDA;
Q5nwl:
$soal->status_daya = "Jelek";
goto RnnWq;
lM9pv:
i2GhO:
goto hsYd8;
RnnWq:
goto eFL0J;
goto W_jz6;
Sej4N:
$validitas = $this->nilaiSignifikansi($total_siswa) <= $pearson ? "Valid" : "Tidak valid";
goto rZ0QD;
buRQ5:
foreach ($jwbn_siswa as $id => $jawab_siswa) {
goto r1bOX;
FzgYq:
array_push($x, 1);
goto zPFB1;
XElEy:
Bk_PB:
goto RBlKQ;
jZG4v:
xWKXP:
goto JrC3Q;
mXw7t:
$soal->jumlah_benar++;
goto FzgYq;
bTm0W:
array_push($x, 0);
goto oxL2_;
j3_3w:
if ($jawab_siswa == "B") {
goto AccQx;
}
goto EgUD3;
O4jsd:
AccQx:
goto BAV7Y;
r_02u:
goto xWKXP;
goto XElEy;
EgUD3:
if ($jawab_siswa == "C") {
goto WAnR0;
}
goto nAvdA;
nAvdA:
if ($jawab_siswa == "D") {
goto Bk_PB;
}
goto ki1an;
BAV7Y:
$soal->jawaban_siswa["jawab_b"][$id] = $jawab_siswa;
goto eNg2O;
r1bOX:
$total_siswa++;
goto F75wz;
dCHdq:
$soal->jumlah_salah++;
goto bTm0W;
Snd8T:
K8gqf:
goto mXw7t;
oxL2_:
goto UuEiE;
goto Snd8T;
ki1an:
if ($jawab_siswa == "E") {
goto E1g_F;
}
goto YcUj8;
jbA3G:
$soal->jawaban_siswa["jawab_a"][$id] = $jawab_siswa;
goto Uj22V;
ajn13:
if ($jawab_siswa == "A") {
goto zyle5;
}
goto j3_3w;
JrC3Q:
XeLN5:
goto SvmUv;
VE6Hh:
WAnR0:
goto KuyDE;
YcUj8:
goto xWKXP;
goto pKKT5;
qfjXG:
$soal->jawaban_siswa["jawab_e"][$id] = $jawab_siswa;
goto jZG4v;
RBlKQ:
$soal->jawaban_siswa["jawab_d"][$id] = $jawab_siswa;
goto DCqQZ;
eNg2O:
goto xWKXP;
goto VE6Hh;
Uj22V:
goto xWKXP;
goto O4jsd;
pKKT5:
zyle5:
goto jbA3G;
F75wz:
if ($jawab_siswa == $soal->jawaban) {
goto K8gqf;
}
goto dCHdq;
KuyDE:
$soal->jawaban_siswa["jawab_c"][$id] = $jawab_siswa;
goto r_02u;
zPFB1:
UuEiE:
goto ajn13;
DCqQZ:
goto xWKXP;
goto pYqJC;
pYqJC:
E1g_F:
goto qfjXG;
SvmUv:
}
goto JZwkY;
bfBfl:
goto E_G0R;
goto xOTvd;
FzXI9:
$status_soal = "sedang";
goto HT_D_;
bZDQ7:
$benar = $soal->jumlah_benar;
goto REupv;
xWEIr:
$daya_pembeda = 0 - $yng_benar_golonganbawah / $bagi_daya;
goto bfIKT;
TsdGC:
if (!($cek == 1)) {
goto lEeZl;
}
goto m_1o_;
aN8hi:
$soal->total_siswa = $total_siswa;
goto bHFvg;
W3BF8:
$kesukaran = round($benar / $jml_siswa, 2);
goto LSIdv;
kqTsV:
$soal->benar_bawah = $yng_benar_golonganbawah;
goto ihy02;
xMCYN:
lEeZl:
goto KViyx;
p7Rey:
if ($yng_benar_golonganatas == 0 && $yng_benar_golonganbawah != 0) {
goto l48uw;
}
goto Zfs3c;
HT_D_:
l_A8F:
goto fQw4J;
j23S4:
$soal->jawaban_siswa = [];
goto OZCJT;
mwzmM:
$no = 1;
goto vljH2;
SLokX:
$soal->status_daya = "Baik";
goto qRpUB;
H7bfp:
$soal->daya_pembeda = $daya_pembeda;
goto veRLZ;
c9c9y:
$kesukaran = 0;
goto dmZdQ;
xOTvd:
QfDgf:
goto x2epV;
fRhpo:
zB9G1:
goto mrbvR;
IKKQZ:
C00rB:
goto mqIiS;
REupv:
$salah = $soal->jumlah_salah;
goto eCZUR;
vljH2:
foreach ($nilai_pg as $id => $nilai) {
goto Fem2n;
bifwb:
$siswa_menjawab = $jwbn_siswa[$id];
goto iBuDy;
Fem2n:
array_push($y, $nilai->pg_benar);
goto Epbko;
S1K2m:
$yng_benar_golonganatas++;
goto Oorey;
IzBJT:
$no++;
goto fUwFN;
IAP2f:
oQy3R:
goto Y6E9_;
fUwFN:
NMe7h:
goto YK9hK;
iBuDy:
if ($no <= $bagi) {
goto kK6J3;
}
goto C_A13;
C_A13:
if (!($siswa_menjawab == $soal->jawaban)) {
goto oQy3R;
}
goto LTFg2;
wRh1d:
vS1Wl:
goto IzBJT;
SwEko:
XkJml:
goto wRh1d;
swZoT:
kK6J3:
goto sJV0D;
Epbko:
if (!isset($jwbn_siswa[$id])) {
goto vS1Wl;
}
goto bifwb;
Y6E9_:
goto XkJml;
goto swZoT;
Oorey:
Ht6pi:
goto SwEko;
LTFg2:
$yng_benar_golonganbawah++;
goto IAP2f;
sJV0D:
if (!($siswa_menjawab == $soal->jawaban)) {
goto Ht6pi;
}
goto S1K2m;
YK9hK:
}
goto sHvo2;
KViyx:
$bagi = $jml_siswa / 2;
goto FYJJz;
x2epV:
$daya_pembeda = $yng_benar_golonganatas / $bagi_daya;
goto F313L;
P10ZV:
$yng_benar_golonganatas = 0;
goto Lvk3F;
ySwwm:
}
goto H5abE;
oKspz:
if (!isset($all_soals[1])) {
goto v8Tk3;
}
goto AdJxi;
lpimc:
$data["kodejadwal"] = $this->dropdown->getAllJadwal($thn_sel, $smt_sel);
goto xagw_;
dZYEa:
$smt_sel = $this->input->get("smt");
goto DT_Es;
U_4eD:
$smt_sel = $smt_sel == null ? $smt->id_smt : $smt_sel;
goto k3K8n;
GnDvm:
$user = $this->ion_auth->user()->row();
goto N1RG8;
TKTq2:
$info = $this->cbt->getJadwalById($jadwal);
goto zGOo6;
dekQY:
$data["smt"] = $this->dashboard->getSemester();
goto H6cdi;
NK3N4:
$this->load->model("Cbt_model", "cbt");
goto v9wsL;
gFiy0:
$jawabans_siswa = [];
goto m_iPt;
H6cdi:
$data["smt_active"] = $smt;
goto u10YY;
BxJ9S:
$nguru[$guru->id_guru] = $guru->nama_guru;
goto eyY5_;
xagw_:
$this->load->view("_templates/dashboard/_header", $data);
goto GpkP9;
T_QoE:
$thn_sel = $this->input->get("thn");
goto dZYEa;
REtXz:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $thn_sel, $smt_sel);
goto BxJ9S;
hryG_:
$data["jadwal_selected"] = $jadwal;
goto fGyAG;
vLLoE:
$all_soals = $this->cbt->getSoalByBank($info->id_bank);
goto oKspz;
GNcbe:
jgipF:
goto kpDbE;
H5abE:
Yeusr:
goto jYlDJ;
rBbzh:
$this->load->view("cbt/analisis/data");
goto TzIjb;
ICTls:
goto jgipF;
goto x0mi1;
Sdp7N:
$data["info"] = $info;
goto gKCWU;
KX5G8:
$data["tp"] = $this->dashboard->getTahun();
goto x1DIn;
VMUV4:
$data["kodejadwal"] = $this->dropdown->getAllJadwalGuru($thn_sel, $smt_sel, $guru->id_guru);
goto HH9DV;
rGQQe:
if ($this->ion_auth->is_admin()) {
goto Mdo7A;
}
goto REtXz;
v9wsL:
$this->load->model("Dropdown_model", "dropdown");
goto GnDvm;
eyY5_:
$data["guru"] = $guru;
goto VMUV4;
N1RG8:
$data = ["user" => $user, "judul" => "Analisa Soal", "subjudul" => "Analisa Soal Ujian", "setting" => $this->dashboard->getSetting()];
goto PSiFT;
fGyAG:
if (!($jadwal != null)) {
goto lvzmg;
}
goto TKTq2;
sAJ0z:
$this->load->view("_templates/dashboard/_footer");
goto GNcbe;
zGOo6:
$all_jawaban = $this->cbt->getJawabanByBank($info->id_bank);
goto gFiy0;
x0mi1:
Mdo7A:
goto il1bd;
unmL6:
$nilai_pg = $this->cbt->getAllNilaiSiswa($jadwal);
goto vLLoE;
nQyX6:
a4Z9b:
goto unmL6;
HH9DV:
$this->load->view("members/guru/templates/header", $data);
goto rBbzh;
jYlDJ:
v8Tk3:
goto Sdp7N;
UvdeY:
foreach ($all_jawaban as $jawaban_siswa) {
goto Dy6Pf;
pLFQh:
Lywzj:
goto yn82M;
Dy6Pf:
array_push($ids, $jawaban_siswa->id_siswa);
goto P08we;
P08we:
$jawabans_siswa[$jawaban_siswa->jenis_soal][$jawaban_siswa->nomor_soal][$jawaban_siswa->id_siswa] = $jawaban_siswa->jawaban_siswa;
goto pLFQh;
yn82M:
}
goto nQyX6;
GpkP9:
$this->load->view("cbt/analisis/data");
goto sAJ0z;
n0N_c:
$smt = $this->dashboard->getSemesterActive();
goto KX5G8;
u10YY:
$jadwal = $this->input->get("jadwal");
goto T_QoE;
PSiFT:
$tp = $this->dashboard->getTahunActive();
goto n0N_c;
TzIjb:
$this->load->view("members/guru/templates/footer");
goto ICTls;
Gb2Ds:
$this->load->model("Dashboard_model", "dashboard");
goto NK3N4;
gKCWU:
$data["soals"] = $all_soals;
goto BOxg0;
tHGOh:
lvzmg:
goto rGQQe;
x1DIn:
$data["tp_active"] = $tp;
goto dekQY;
m_iPt:
$ids = [];
goto UvdeY;
k3K8n:
$data["tp_selected"] = $thn_sel;
goto Ap60y;
BOxg0:
$data["nilai"] = $nilai_pg;
goto tHGOh;
Ap60y:
$data["smt_selected"] = $smt_sel;
goto hryG_;
kpDbE:
}
private function pearson($x, $y)
{
goto KLEKj;
EXTG3:
F7CIY:
goto YLh26;
mFCYp:
WUlqX:
goto J419O;
m0MgZ:
$i = 0;
goto rAvlW;
gThFs:
if (!($i < $d)) {
goto hqCFZ;
}
goto Pn2DZ;
hdKjR:
$i = 0;
goto FgCmM;
J419O:
$x = array_values($x);
goto DW_kT;
QGpXt:
if (!($i < $d)) {
goto F7CIY;
}
goto znxp7;
IqTba:
ftAt1:
goto f6kgi;
OtDbC:
$yr = $y[$i] - $ys;
goto N51jL;
EJMYH:
return -1;
goto mFCYp;
f6kgi:
$b = sqrt($bx * $by);
goto rR1tY;
YLh26:
qfehi:
goto sTJPe;
BBqus:
zcZ_5:
goto lu88V;
zH10W:
if (!($i < count($x))) {
goto ftAt1;
}
goto JiN47;
OOUH2:
$bx += pow($xr, 2);
goto orJa4;
DW_kT:
$y = array_values($y);
goto WWcpB;
jNxUX:
if (!($b > 0)) {
goto b3EnC;
}
goto n6QFR;
f_ah2:
yXKmN:
goto b1Gwe;
Enqge:
$i++;
goto FnOjf;
b1Gwe:
if (!($cx < $cy)) {
goto zAJDU;
}
goto cxaxI;
SqKAO:
$bx = 0;
goto sFNck;
FgCmM:
ByYd3:
goto gThFs;
rR1tY:
$ret = -1;
goto jNxUX;
sTJPe:
if (!(count($x) !== count($y))) {
goto WUlqX;
}
goto EJMYH;
rAvlW:
dFpcD:
goto QGpXt;
tZ21z:
poWtt:
goto Enqge;
KLEKj:
$cx = count($x);
goto UjyQz;
VGsLl:
return -1;
goto f_ah2;
l66cp:
zAJDU:
goto AOhKE;
TQ3dn:
kSVaQ:
goto zH10W;
xLwir:
goto kSVaQ;
goto IqTba;
AOhKE:
if (!($cx > $cy)) {
goto qfehi;
}
goto hY52K;
Q7spv:
$i = 0;
goto TQ3dn;
UjyQz:
$cy = count($y);
goto rKA9O;
Pn2DZ:
array_pop($y);
goto tZ21z;
ULeqN:
return $ret;
goto s8ddJ;
N51jL:
$a += $xr * $yr;
goto OOUH2;
rKA9O:
if (!($cx === 0 || $cy === 0)) {
goto yXKmN;
}
goto VGsLl;
znxp7:
array_pop($x);
goto HDs06;
FnOjf:
goto ByYd3;
goto LJLap;
P3ucG:
$i++;
goto uvUYJ;
uvUYJ:
goto dFpcD;
goto EXTG3;
cxaxI:
$d = $cy - $cx;
goto hdKjR;
orJa4:
$by += pow($yr, 2);
goto BBqus;
lu88V:
$i++;
goto xLwir;
fMtpT:
b3EnC:
goto ULeqN;
WWcpB:
$xs = array_sum($x) / count($x);
goto teGfJ;
LJLap:
hqCFZ:
goto l66cp;
JiN47:
$xr = $x[$i] - $xs;
goto OtDbC;
pARzI:
$a = 0;
goto SqKAO;
teGfJ:
$ys = array_sum($y) / count($y);
goto pARzI;
n6QFR:
$ret = $a / $b;
goto fMtpT;
hY52K:
$d = $cx - $cy;
goto m0MgZ;
sFNck:
$by = 0;
goto Q7spv;
HDs06:
rKfoR:
goto P3ucG;
s8ddJ:
}
public function getNilaiKelas()
{
goto ihEW_;
J3Cbi:
$tp = $this->dashboard->getTahunActive();
goto lnVdX;
R_F2m:
$data["jawaban"] = $arrDur;
goto w3bYT;
De5ID:
$siswas = $this->cbt->getSiswaByKelas($tp->id_tp, $smt->id_smt, $kelas);
goto YXmVa;
Uqi_d:
$this->output_json($data);
goto KtX3S;
ihEW_:
$this->load->model("Dashboard_model", "dashboard");
goto pt00P;
fZoJJ:
$jadwal = $this->input->get("jadwal");
goto J3Cbi;
pt00P:
$this->load->model("Cbt_model", "cbt");
goto KsTUK;
KsTUK:
$kelas = $this->input->get("kelas");
goto gBerm;
Ux2cQ:
foreach ($siswas as $siswa) {
goto q7hgf;
YjZTI:
goto HobGX;
goto qx20B;
zBqKM:
WJz9N:
goto coTpW;
inS6H:
if ($jawaban != null) {
goto WJz9N;
}
goto V9cB7;
Y_UsY:
if (!($i < $info->tampil_pg)) {
goto MtpLD;
}
goto N8M9x;
u7_ui:
$i = 0;
goto Qb5OK;
oD8r9:
vrXp4:
goto Zc0ON;
q7hgf:
$arrJawab_pg = [];
goto JME6c;
zy3q4:
F4Vfy:
goto fNt7Z;
ueu4c:
if (!($j < $info->tampil_esai)) {
goto F4Vfy;
}
goto DVvQo;
P5B21:
$arrDur[$siswa->id_siswa] = ["dur" => $this->cbt->getDurasiSiswa($siswa->id_siswa . "0" . $jadwal), "jawab_pg" => $arrJawab_pg[$siswa->id_siswa], "jawab_essai" => $jawab_essai, "log" => $this->cbt->getLogUjian($siswa->id_siswa, $jadwal)];
goto ff1TV;
N8M9x:
$arrJawab_pg[$siswa->id_siswa][] = $this->cbt->getJawabanSiswa($siswa->id_siswa . "0" . $jadwal . $info->id_bank . 1 . ($i + 1));
goto d2O8Y;
qx20B:
MtpLD:
goto DnbfR;
C_sBg:
glPTQ:
goto oD8r9;
d2O8Y:
ZETN2:
goto MWH1I;
DnbfR:
$j = 0;
goto aGB0O;
nsWFL:
goto BES2c;
goto zy3q4;
DVvQo:
$jawaban = $this->cbt->getJawabanSiswa($siswa->id_siswa . "0" . $jadwal . $info->id_bank . 2 . ($j + 1));
goto inS6H;
aGB0O:
BES2c:
goto ueu4c;
JME6c:
$arrJawab_essai = [];
goto u7_ui;
V9cB7:
$arrJawab_essai[$siswa->id_siswa][] = array("id_jawaban" => 0, "jawaban" => '', "jawaban_benar" => '', "koreksi" => 0);
goto eZ3IE;
fNt7Z:
$jawab_essai = isset($arrJawab_essai[$siswa->id_siswa]) ? $arrJawab_essai[$siswa->id_siswa] : [];
goto P5B21;
Zc0ON:
$j++;
goto nsWFL;
ff1TV:
Gl710:
goto dbjQG;
MWH1I:
$i++;
goto YjZTI;
eZ3IE:
goto glPTQ;
goto zBqKM;
coTpW:
$arrJawab_essai[$siswa->id_siswa][] = $jawaban;
goto C_sBg;
Qb5OK:
HobGX:
goto Y_UsY;
dbjQG:
}
goto uBXhQ;
YXmVa:
$arrDur = [];
goto Ux2cQ;
gC4Xs:
$data["siswa"] = $siswas;
goto R_F2m;
lnVdX:
$smt = $this->dashboard->getSemesterActive();
goto rWbKS;
gBerm:
$sesi = $this->input->get("sesi");
goto fZoJJ;
rWbKS:
$info = $this->cbt->getJadwalById($jadwal, $sesi);
goto De5ID;
uBXhQ:
xPlf_:
goto gC4Xs;
w3bYT:
$data["info"] = $info;
goto Uqi_d;
KtX3S:
}
public function getJadwalUjianByJadwal()
{
goto Eu1l0;
wpdVu:
$kelas = unserialize($info->bank_kelas);
goto HkHbY;
y9Eve:
$this->output_json($kelases);
goto zi0ap;
HkHbY:
$kelases = [];
goto NiESr;
NiESr:
foreach ($kelas as $key => $value) {
$kelases[$value["kelas_id"]] = $this->dropdown->getNamaKelasById($info->id_tp, $info->id_smt, $value["kelas_id"]);
iXp7E:
}
goto gLqyh;
rr7GA:
$jadwal = $this->input->get("jadwal");
goto S0Hv0;
w_sCe:
$info = $this->cbt->getJadwalById($jadwal);
goto wpdVu;
gLqyh:
HzQNv:
goto y9Eve;
Eu1l0:
$this->load->model("Cbt_model", "cbt");
goto X8zBm;
UdcZc:
$smt = $this->input->get("smt");
goto w_sCe;
X8zBm:
$this->load->model("Dropdown_model", "dropdown");
goto rr7GA;
S0Hv0:
$tp = $this->input->get("thn");
goto UdcZc;
zi0ap:
}
public function kalkulasi()
{
goto agwh_;
iApuS:
$this->output_json($update);
goto YjlDA;
HMhiM:
$update = $this->generateNilaiUjian($jadwal);
goto iApuS;
agwh_:
$jadwal = $this->input->get("jadwal");
goto HMhiM;
YjlDA:
}
public function generateNilaiUjian($jadwal)
{
goto uq_g7;
YUNYu:
$jawabans = $this->cbt->getJawabanByBank($info->id_bank);
goto bQ8YH;
LckHO:
return $update;
goto mfd2j;
bgu0K:
$update = $this->db->update_batch("cbt_nilai", $insets, "id_nilai");
goto LckHO;
DMm1q:
foreach ($kelas_bank as $key => $value) {
array_push($kelases, $value["kelas_id"]);
HDkbw:
}
goto QG5wF;
FKjKF:
$kelas_bank = unserialize($info->bank_kelas);
goto og_BS;
eCo8y:
$jawabans_siswa = [];
goto zCX8f;
tKaWz:
$siswas = $this->cbt->getSiswaByKelas($info->id_tp, $info->id_smt, $kelases);
goto Gk6uV;
XJoqi:
$bagi_pg = $info->tampil_pg / 100;
goto A1Vnk;
bQ8YH:
$soal = [];
goto eCo8y;
og_BS:
$kelases = [];
goto DMm1q;
ts7WM:
$insets = [];
goto WomrV;
mersT:
$info = $this->cbt->getJadwalById($jadwal);
goto XJoqi;
qYi3z:
$bobot_isian = $info->bobot_isian / 100;
goto TBJwe;
sTLNO:
$bagi_jodoh = $info->tampil_jodohkan / 100;
goto P7SCC;
uq_g7:
$this->load->model("Cbt_model", "cbt");
goto mersT;
Xapk2:
XUdyG:
goto bgu0K;
c_jFK:
foreach ($siswas as $key => $value) {
array_push($ids, $value->id_siswa);
cMvSw:
}
goto XA9pe;
XA9pe:
qwFDG:
goto YUNYu;
A1Vnk:
$bobot_pg = $info->bobot_pg / 100;
goto Rsoo7;
Rsoo7:
$bagi_pg2 = $info->tampil_kompleks / 100;
goto CiT80;
zCX8f:
foreach ($jawabans as $jawaban_siswa) {
goto AdTD5;
QYsza:
y5j1y:
goto Sormc;
MLSmA:
$jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa);
goto d0agn;
F2nGX:
$jawaban_siswa->jawaban_benar = array_map("strtoupper", $jawaban_siswa->jawaban_benar);
goto lQW67;
pKopA:
K0VID:
goto hTnC2;
xTPFE:
$jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa);
goto OfvqS;
KeG0y:
if (!($jawaban_siswa->jenis_soal == "3")) {
goto y5j1y;
}
goto MLSmA;
AdTD5:
if (!($jawaban_siswa->jenis_soal == "2")) {
goto Ijitg;
}
goto mMmXH;
OfvqS:
$jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar);
goto F2nGX;
QCaZ8:
$jawaban_siswa->jawaban_benar = json_decode(json_encode($jawaban_siswa->jawaban_benar));
goto QYsza;
E14FS:
$soal[$jawaban_siswa->jenis_soal][] = $jawaban_siswa;
goto pKopA;
mMmXH:
$jawaban_siswa->opsi_a = @unserialize($jawaban_siswa->opsi_a);
goto xTPFE;
Sormc:
$jawabans_siswa[$jawaban_siswa->id_siswa][$jawaban_siswa->jenis_soal][] = $jawaban_siswa;
goto E14FS;
ip_oV:
Ijitg:
goto KeG0y;
yHYcz:
$jawaban_siswa->jawaban_siswa = json_decode(json_encode($jawaban_siswa->jawaban_siswa));
goto QCaZ8;
lQW67:
$jawaban_siswa->jawaban_benar = array_filter($jawaban_siswa->jawaban_benar, "strlen");
goto ip_oV;
d0agn:
$jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar);
goto yHYcz;
hTnC2:
}
goto Zkckc;
WomrV:
foreach ($siswas as $siswa) {
goto FvaEZ;
yaYhq:
IMN_T:
goto hEmPj;
CZP_p:
$input_es = 0;
goto cLgtE;
vy4aB:
$ada_jawaban_pg2 = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["2"]);
goto ZSeWP;
sX0B5:
$skor_koreksi_es = 0.0;
goto oDByR;
W6rwc:
$benar_es = 0;
goto sX0B5;
UaCp1:
WTGZT:
goto ygzVU;
lQ7wH:
$insert["pg_benar"] = $benar_pg;
goto dmLh8;
kWvjU:
if (!(count($jawaban_is) > 0)) {
goto IMN_T;
}
goto dgadW;
qYv5w:
array_push($insets, $insert);
goto Y9Bgj;
XmYWu:
rJgsc:
goto M6LMv;
HAdy4:
WmCep:
goto d25B4;
eFnEC:
$input_pg2 = 0;
goto uMkPK;
oRB71:
foreach ($jawaban_pg2 as $num => $jawab_pg2) {
goto Lzf1n;
g9lg4:
$skor_koreksi_pg2 += $jawab_pg2->nilai_koreksi;
goto HFIzL;
WW9WT:
sKw7r:
goto JoDC0;
n2kpY:
foreach ($jawab_pg2->jawaban_siswa as $js) {
goto zP9zs;
Um6Un:
oXBDx:
goto iLlQM;
yNrdP:
DZPN5:
goto Um6Un;
zP9zs:
if (!in_array($js, $jawab_pg2->jawaban_benar)) {
goto DZPN5;
}
goto OV_Eo;
OV_Eo:
array_push($arr_benar, true);
goto yNrdP;
iLlQM:
}
goto IMGlL;
KA2dO:
$benar_pg2 += 1 / count($jawab_pg2->jawaban_benar) * count($arr_benar);
goto WW9WT;
HFIzL:
$arr_benar = [];
goto n2kpY;
Lzf1n:
$otomatis_pg2 = $jawab_pg2->nilai_otomatis;
goto g9lg4;
IMGlL:
RL5gh:
goto KA2dO;
JoDC0:
}
goto H2_Tm;
Z1sZp:
if7Rz:
goto RPE9R;
Wxgfm:
$insert["id_jadwal"] = $jadwal;
goto lQ7wH;
lK0fA:
ws0Ex:
goto Jyebw;
cjD6q:
if (!(count($jawaban_pg2) > 0)) {
goto WmCep;
}
goto oRB71;
Znf9t:
if (!($info->tampil_isian > 0)) {
goto nz60p;
}
goto kWvjU;
hEmPj:
nz60p:
goto OUrV3;
AbSTM:
$otomatis_pg2 = 0;
goto Ac3T2;
GyhSI:
if (!(count($jawaban_jodoh) > 0)) {
goto uNvR1;
}
goto wZ_Ed;
gd_zW:
$insert["isian_nilai"] = round($skor_is, 2);
goto ybGQo;
d25B4:
tBWVl:
goto FwizX;
Ac3T2:
if (!($info->tampil_kompleks > 0)) {
goto tBWVl;
}
goto cjD6q;
ybGQo:
$insert["essai_nilai"] = round($skor_es, 2);
goto qYv5w;
ygzVU:
$s_jod = $bagi_jodoh == 0 ? 0 : $benar_jod / $bagi_jodoh * $bobot_jodoh;
goto XOsBq;
OUrV3:
$s_is = $bagi_isian == 0 ? 0 : $benar_is / $bagi_isian * $bobot_isian;
goto vD9Uh;
cLgtE:
if (!($nilai_input != null && $nilai_input->isian_nilai != null)) {
goto ws0Ex;
}
goto nGnrM;
ymk0z:
if (!($nilai_input != null && $nilai_input->jodohkan_nilai != null)) {
goto PpAMy;
}
goto GkLoj;
FI3r3:
$salah_pg = 0;
goto d9075;
kqkom:
FkLWR:
goto XmYWu;
dmLh8:
$insert["pg_nilai"] = round($skor_pg, 2);
goto PxFNT;
LNN0u:
$skor_is = $input_is != 0 ? $input_is : ($otomatis_is == 0 ? $s_is : $skor_koreksi_is);
goto gTdRQ;
TQruN:
$skor_koreksi_is = 0.0;
goto CzcH9;
zcUNw:
uNvR1:
goto UaCp1;
CLO_W:
$jawaban_pg = $ada_jawaban_pg ? $jawabans_siswa[$siswa->id_siswa]["1"] : [];
goto JCs78;
wZ_Ed:
foreach ($jawaban_jodoh as $num => $jawab_jod) {
goto g2py5;
MNERG:
wgZRq:
goto wxSs8;
H6KG6:
$item_benar = 0;
goto KBJev;
e5AOk:
LbzgO:
goto H6KG6;
g2py5:
$skor_koreksi_jod += $jawab_jod->nilai_koreksi;
goto vkc01;
qdmGw:
foreach ($arrSoal as $kolSoal) {
goto Ozv3G;
UlOdO:
$jwb->title = array_shift($kolSoal);
goto SJJKZ;
j9uHz:
foreach ($kolSoal as $pos => $kol) {
goto yfi1J;
eJu5w:
$jwb->subtitle[] = $headSoal[$pos];
goto HPp3I;
piZUD:
ebqVM:
goto Y3Vmr;
Y3Vmr:
mNNL4:
goto o5Uax;
yfi1J:
if (!($kol == "1")) {
goto ebqVM;
}
goto eJu5w;
HPp3I:
$items++;
goto piZUD;
o5Uax:
}
goto h7Cif;
m6rAS:
HWxkx:
goto rjUM8;
Ozv3G:
$jwb = new stdClass();
goto j9uHz;
SJJKZ:
array_push($arrJwbSoal, $jwb);
goto m6rAS;
h7Cif:
g6pPP:
goto UlOdO;
rjUM8:
}
goto MNERG;
sVySE:
$items = 0;
goto qdmGw;
cHmdg:
$headJawab = array_shift($arrJawab);
goto n9IYY;
vkc01:
$arrSoal = $jawab_jod->jawaban_benar->jawaban;
goto yO52M;
oTo1r:
wraMU:
goto ADEeG;
MB3kI:
$otomatis_jod = $jawab_jod->nilai_otomatis;
goto oTo1r;
wxSs8:
$arrJawab = $jawab_jod->jawaban_siswa->jawaban;
goto cHmdg;
SO7l1:
foreach ($arrJawab as $kolJawab) {
goto dhQFn;
Na5QF:
EMVbH:
goto IPefW;
Y4ep6:
array_push($arrJwbJawab, $jwbs);
goto Na5QF;
U2TkT:
foreach ($kolJawab as $po => $kol) {
goto RvaUj;
o2SSU:
$sub = $headJawab[$po];
goto NP_7T;
NP_7T:
$jwbs->subtitle[] = $sub;
goto OyQtt;
RvaUj:
if (!($kol == "1")) {
goto hBzaS;
}
goto o2SSU;
OyQtt:
hBzaS:
goto yGuR3;
yGuR3:
A1LOC:
goto ZOAYl;
ZOAYl:
}
goto CI7Uw;
CI7Uw:
KnYUU:
goto Y4ep6;
dhQFn:
$jwbs = new stdClass();
goto U2TkT;
IPefW:
}
goto e5AOk;
n9IYY:
$arrJwbJawab = [];
goto SO7l1;
FU33N:
$arrJwbSoal = [];
goto sVySE;
KBJev:
$item_salah = 0;
goto MGREP;
lh5MQ:
vX3jE:
goto WOvyj;
yO52M:
$headSoal = array_shift($arrSoal);
goto FU33N;
MGREP:
foreach ($arrJwbJawab as $p => $ajjs) {
goto MFSaB;
mU8j0:
bKoKR:
goto c6lIq;
BmYF4:
QLP5t:
goto mU8j0;
MFSaB:
foreach ($ajjs->subtitle as $pp => $ajs) {
goto x27ys;
x27ys:
if (in_array($ajs, $arrJwbSoal[$p]->subtitle)) {
goto Vh1kW;
}
goto q7zFp;
sfJjn:
JmoII:
goto jp8tZ;
e9FJE:
goto VTRPM;
goto qUSr2;
q7zFp:
$item_salah++;
goto e9FJE;
pWHPa:
VTRPM:
goto sfJjn;
D2MSk:
$item_benar++;
goto pWHPa;
qUSr2:
Vh1kW:
goto D2MSk;
jp8tZ:
}
goto BmYF4;
c6lIq:
}
goto lh5MQ;
WOvyj:
$benar_jod += 1 / $items * $item_benar;
goto MB3kI;
ADEeG:
}
goto QTd79;
RPE9R:
$s_es = $bagi_essai == 0 ? 0 : $benar_es / $bagi_essai * $bobot_essai;
goto CZP_p;
FvaEZ:
$ada_jawaban = isset($jawabans_siswa[$siswa->id_siswa]);
goto mo0ZE;
QTd79:
VxKdM:
goto zcUNw;
BVUzc:
u09y3:
goto Z1sZp;
ztisb:
VZn3Q:
goto M8KMa;
XQy5E:
ql2fB:
goto LNN0u;
SR7IV:
IpyZ_:
goto yaYhq;
RRSWj:
PpAMy:
goto wad7V;
d9075:
if (!($info->tampil_pg > 0)) {
goto V073n;
}
goto Fv4Kc;
oDByR:
$otomatis_es = 0;
goto RXnr9;
GkLoj:
$input_jod = $nilai_input->jodohkan_nilai;
goto RRSWj;
nGnrM:
$input_es = $nilai_input->essai_nilai;
goto lK0fA;
Fv4Kc:
if (!(count($jawaban_pg) > 0)) {
goto rJgsc;
}
goto s8Fsj;
PxFNT:
$insert["kompleks_nilai"] = round($skor_pg2, 2);
goto z7kD7;
k_k7o:
foreach ($jawaban_es as $num => $jawab_es) {
goto S5ofi;
uPEVl:
Jlh3d:
goto Jd4rs;
iRH5Y:
if (!$benar) {
goto kOxzE;
}
goto fZQ4F;
nhPVt:
kOxzE:
goto t9buQ;
L1m6N:
$benar = $jawab_es != null && strtolower($jawab_es->jawaban_siswa) == strtolower($jawab_es->jawaban_benar);
goto iRH5Y;
fZQ4F:
$benar_es++;
goto nhPVt;
S5ofi:
$skor_koreksi_es += $jawab_es->nilai_koreksi;
goto L1m6N;
t9buQ:
$otomatis_es = $jawab_es->nilai_otomatis;
goto uPEVl;
Jd4rs:
}
goto Avqp_;
aUR9k:
if (!(count($jawaban_es) > 0)) {
goto u09y3;
}
goto k_k7o;
VARLP:
$nilai_input = $this->cbt->getNilaiSiswaByJadwal($jadwal, $siswa->id_siswa);
goto CLO_W;
M8KMa:
$skor_pg2 = $input_pg2 != 0 ? $input_pg2 : ($otomatis_pg2 == 0 ? $s_pg2 : $skor_koreksi_pg2);
goto BXFLT;
Avqp_:
QFNvl:
goto BVUzc;
Y4NML:
$otomatis_jod = 0;
goto qoP9B;
qoP9B:
if (!($info->tampil_jodohkan > 0)) {
goto WTGZT;
}
goto GyhSI;
xpF7l:
$insert["id_nilai"] = $siswa->id_siswa . "0" . $jadwal;
goto p_E7H;
dQs7m:
$benar_jod = 0;
goto BMM1X;
kw6tT:
$skor_pg = $bagi_pg == 0 ? 0 : $benar_pg / $bagi_pg * $bobot_pg;
goto EZnVu;
wad7V:
$skor_jod = $input_jod != 0 ? $input_jod : ($otomatis_jod == 0 ? $s_jod : $skor_koreksi_jod);
goto Gmjel;
CzcH9:
$otomatis_is = 0;
goto Znf9t;
JCs78:
$benar_pg = 0;
goto FI3r3;
Y9Bgj:
yda_K:
goto QNpZ5;
oCduw:
$ada_jawaban_essai = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["5"]);
goto VARLP;
mo0ZE:
$ada_jawaban_pg = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["1"]);
goto vy4aB;
QiUua:
$skor_koreksi_pg2 = 0.0;
goto AbSTM;
M6bsB:
$benar_is = 0;
goto TQruN;
XOsBq:
$input_jod = 0;
goto ymk0z;
vD9Uh:
$input_is = 0;
goto rttoz;
H2_Tm:
ZSqAw:
goto HAdy4;
M6LMv:
V073n:
goto kw6tT;
C87AZ:
$input_is = $nilai_input->isian_nilai;
goto XQy5E;
uMkPK:
if (!($nilai_input != null && $nilai_input->kompleks_nilai != null)) {
goto VZn3Q;
}
goto rucPn;
dU7AZ:
$ada_jawaban_isian = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["4"]);
goto oCduw;
dgadW:
foreach ($jawaban_is as $num => $jawab_is) {
goto hBYqX;
gw7dG:
$otomatis_is = $jawab_is->nilai_otomatis;
goto PUCVF;
JXzzu:
$benar = $jawab_is != null && strtolower($jawab_is->jawaban_siswa) == strtolower($jawab_is->jawaban_benar);
goto iLM1g;
MM3gM:
b7eb3:
goto gw7dG;
hBYqX:
$skor_koreksi_is += $jawab_is->nilai_koreksi;
goto JXzzu;
PUCVF:
AQf_E:
goto HDzyB;
iLM1g:
if (!$benar) {
goto b7eb3;
}
goto chRgg;
chRgg:
$benar_is++;
goto MM3gM;
HDzyB:
}
goto SR7IV;
g2Oh3:
$benar_pg2 = 0;
goto QiUua;
EZnVu:
$jawaban_pg2 = $ada_jawaban_pg2 ? $jawabans_siswa[$siswa->id_siswa]["2"] : [];
goto g2Oh3;
Jyebw:
$skor_es = $input_es != 0 ? $input_es : ($otomatis_es == 0 ? $s_es : $skor_koreksi_es);
goto xpF7l;
gTdRQ:
$jawaban_es = $ada_jawaban_essai ? $jawabans_siswa[$siswa->id_siswa]["5"] : [];
goto W6rwc;
rucPn:
$input_pg2 = $nilai_input->kompleks_nilai;
goto ztisb;
p_E7H:
$insert["id_siswa"] = $siswa->id_siswa;
goto Wxgfm;
ZSeWP:
$ada_jawaban_jodoh = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["3"]);
goto dU7AZ;
BMM1X:
$skor_koreksi_jod = 0.0;
goto Y4NML;
Gmjel:
$jawaban_is = $ada_jawaban_isian ? $jawabans_siswa[$siswa->id_siswa]["4"] : [];
goto M6bsB;
z7kD7:
$insert["jodohkan_nilai"] = round($skor_jod, 2);
goto gd_zW;
rttoz:
if (!($nilai_input != null && $nilai_input->isian_nilai != null)) {
goto ql2fB;
}
goto C87AZ;
RXnr9:
if (!($info->tampil_esai > 0)) {
goto if7Rz;
}
goto aUR9k;
s8Fsj:
foreach ($jawaban_pg as $jwb_pg) {
goto wsvtb;
LV14x:
goto XJnPv;
goto T3O_a;
oK9rO:
M9Q4V:
goto TWu0U;
wsvtb:
if (!($jwb_pg != null && $jwb_pg->jawaban_siswa != null)) {
goto NvgWY;
}
goto M_wKj;
w9LUc:
XJnPv:
goto kGeP2;
kGeP2:
NvgWY:
goto oK9rO;
T3O_a:
ET4y9:
goto BEwZd;
M_wKj:
if (strtoupper($jwb_pg->jawaban_siswa) == strtoupper($jwb_pg->jawaban_benar)) {
goto ET4y9;
}
goto oSy0G;
BEwZd:
$benar_pg += 1;
goto w9LUc;
oSy0G:
$salah_pg += 1;
goto LV14x;
TWu0U:
}
goto kqkom;
BXFLT:
$jawaban_jodoh = $ada_jawaban_jodoh ? $jawabans_siswa[$siswa->id_siswa]["3"] : [];
goto dQs7m;
FwizX:
$s_pg2 = $bagi_pg2 == 0 ? 0 : $benar_pg2 / $bagi_pg2 * $bobot_pg2;
goto eFnEC;
QNpZ5:
}
goto Xapk2;
TBJwe:
$bagi_essai = $info->tampil_esai / 100;
goto rIaqn;
XCSyy:
$bagi_isian = $info->tampil_isian / 100;
goto qYi3z;
CiT80:
$bobot_pg2 = $info->bobot_kompleks / 100;
goto sTLNO;
QG5wF:
axA91:
goto tKaWz;
Gk6uV:
$ids = [];
goto c_jFK;
Zkckc:
crMwY:
goto ts7WM;
P7SCC:
$bobot_jodoh = $info->bobot_jodohkan / 100;
goto XCSyy;
rIaqn:
$bobot_essai = $info->bobot_esai / 100;
goto FKjKF;
mfd2j:
}
private function nilaiSignifikansi($jml)
{
goto nFdvu;
BRGIL:
RutnJ:
goto Q7MSX;
ayYRy:
Or7f0:
goto Tv7e1;
d7JwE:
i6te5:
goto fNmEM;
Q7MSX:
goto qy6Vl;
goto FB8w1;
RyWR3:
return $list[$jml]["1"];
goto P6jZ5;
PX654:
$keys = 4;
goto d7JwE;
aWuv8:
return $list[$keys]["5"];
goto BRGIL;
jEVA0:
if (isset($list[$jml]["5"])) {
goto Or7f0;
}
goto RyWR3;
wH3YV:
zcqq1:
goto aWuv8;
P6jZ5:
goto gkgyA;
goto ayYRy;
HQCWZ:
goto RutnJ;
goto wH3YV;
fNmEM:
if (isset($list[$keys]["5"])) {
goto zcqq1;
}
goto ciMSp;
hzpb9:
$keys = $this->getClosest($jml, array_keys($list));
goto WWOGl;
ciMSp:
return $list[$keys]["1"];
goto HQCWZ;
WWOGl:
if (!($keys < 4)) {
goto i6te5;
}
goto PX654;
kozSA:
qy6Vl:
goto l9vpa;
FB8w1:
eNM8x:
goto jEVA0;
Tv7e1:
return $list[$jml]["5"];
goto I0rC0;
iyVDz:
if (isset($list[$jml])) {
goto eNM8x;
}
goto hzpb9;
nFdvu:
$list = [3 => [5 => 0.997], [1 => 0.999], 4 => [5 => 0.95], [1 => 0.99], 5 => [5 => 0.878], [1 => 0.959], 6 => [5 => 0.8110000000000001], [1 => 0.917], 7 => [5 => 0.754], [1 => 0.874], 8 => [5 => 0.707], [1 => 0.834], 9 => [5 => 0.666], [1 => 0.798], 10 => [5 => 0.632], [1 => 0.765], 11 => [5 => 0.602], [1 => 0.735], 12 => [5 => 0.576], [1 => 0.708], 13 => [5 => 0.553], [1 => 0.6840000000000001], 14 => [5 => 0.532], [1 => 0.661], 15 => [5 => 0.514], [1 => 0.641], 16 => [5 => 0.497], [1 => 0.623], 17 => [5 => 0.482], [1 => 0.606], 18 => [5 => 0.468], [1 => 0.59], 19 => [5 => 0.456], [1 => 0.575], 20 => [5 => 0.444], [1 => 0.5610000000000001], 21 => [5 => 0.433], [1 => 0.549], 22 => [5 => 0.423], [1 => 0.537], 23 => [5 => 0.413], [1 => 0.526], 24 => [5 => 0.404], [1 => 0.515], 25 => [5 => 0.396], [1 => 0.505], 26 => [5 => 0.388], [1 => 0.496], 27 => [5 => 0.381], [1 => 0.487], 28 => [5 => 0.374], [1 => 0.478], 29 => [5 => 0.367], [1 => 0.47], 30 => [5 => 0.361], [1 => 0.463], 31 => [5 => 0.355], [1 => 0.456], 32 => [5 => 0.349], [1 => 0.449], 33 => [5 => 0.344], [1 => 0.442], 34 => [5 => 0.339], [1 => 0.436], 35 => [5 => 0.334], [1 => 0.43], 36 => [5 => 0.329], [1 => 0.424], 37 => [5 => 0.325], [1 => 0.418], 38 => [5 => 0.32], [1 => 0.413], 39 => [5 => 0.316], [1 => 0.408], 40 => [5 => 0.312], [1 => 0.403], 41 => [5 => 0.308], [1 => 0.398], 42 => [5 => 0.304], [1 => 0.393], 43 => [5 => 0.301], [1 => 0.389], 44 => [5 => 0.297], [1 => 0.384], 45 => [5 => 0.294], [1 => 0.38], 46 => [5 => 0.291], [1 => 0.376], 47 => [5 => 0.288], [1 => 0.372], 48 => [5 => 0.284], [1 => 0.368], 49 => [5 => 0.281], [1 => 0.364], 50 => [5 => 0.279], [1 => 0.361], 55 => [5 => 0.266], [1 => 0.345], 60 => [5 => 0.254], [1 => 0.33], 65 => [5 => 0.244], [1 => 0.317], 70 => [5 => 0.235], [1 => 0.306], 75 => [5 => 0.227], [1 => 0.296], 80 => [5 => 0.22], [1 => 0.286], 85 => [5 => 0.213], [1 => 0.278], 90 => [5 => 0.207], [1 => 0.27], 95 => [5 => 0.202], [1 => 0.263], 100 => [5 => 0.195], [1 => 0.256], 125 => [5 => 0.176], [1 => 0.23], 150 => [5 => 0.159], [1 => 0.21], 175 => [5 => 0.149], [1 => 0.194], 200 => [5 => 0.138], [1 => 0.191], 300 => [5 => 0.113], [1 => 0.181], 400 => [5 => 0.098], [1 => 0.148], 500 => [5 => 0.08799999999999999], [1 => 0.128], 600 => [5 => 0.08], [1 => 0.115], 700 => [5 => 0.074], [1 => 0.105], 800 => [5 => 0.07000000000000001], [1 => 0.091], 900 => [5 => 0.065], [1 => 0.08599999999999999], 1000 => [5 => 0.062], [1 => 0.081]];
goto iyVDz;
I0rC0:
gkgyA:
goto kozSA;
l9vpa:
}
function getClosest($search, $arr)
{
goto s2H69;
ryDDW:
eeAvi:
goto MZ7Mx;
s2H69:
$closest = null;
goto M15Vm;
MZ7Mx:
return $closest;
goto NCw6U;
M15Vm:
foreach ($arr as $item) {
goto MQ5R1;
RT_mk:
$closest = $item;
goto XplAx;
XplAx:
isCZy:
goto EpbRQ;
MQ5R1:
if (!($closest === null || abs($search - $closest) > abs($item - $search))) {
goto isCZy;
}
goto RT_mk;
EpbRQ:
gjvSO:
goto D66sM;
D66sM:
}
goto ryDDW;
NCw6U:
}
}
?>
Did this file decode correctly?
Original Code
<?php
/* ________________________________________
| GarudaCBT |
| https://github.com/garudacbt/cbt |
|________________________________________|
*/
class Cbtanalisis extends CI_Controller
{
public function __construct()
{
goto xviUW;
xviUW:
parent::__construct();
goto vSC17;
tXJ82:
HahlG:
goto Hu76h;
Hu76h:
goto qznPQ;
goto pCSiD;
Wv9UR:
show_error("\110\141\156\171\x61\x20\x41\144\155\x69\x6e\151\163\164\162\x61\x74\x6f\x72\40\171\x61\x6e\x67\x20\144\x69\142\145\162\151\x20\x68\x61\153\40\x75\156\x74\x75\153\x20\x6d\x65\156\147\x61\153\163\x65\x73\40\150\141\154\x61\155\x61\156\40\151\156\x69\54\x20\74\141\40\150\162\x65\x66\x3d\x22" . base_url("\144\x61\x73\150\x62\157\141\x72\144") . "\x22\76\113\145\x6d\x62\141\154\x69\x20\x6b\145\40\155\x65\x6e\165\x20\x61\x77\141\x6c\x3c\57\x61\x3e", 403, "\101\x6b\x73\x65\x73\x20\x54\145\x72\x6c\x61\162\x61\x6e\x67");
goto tXJ82;
EYKW_:
$this->load->library(["\x64\x61\x74\x61\164\141\x62\154\145\163", "\x66\157\162\x6d\x5f\x76\x61\154\151\x64\x61\x74\151\157\x6e"]);
goto jVY6g;
vSC17:
if (!$this->ion_auth->logged_in()) {
goto fwK7M;
}
goto MOx65;
nygim:
redirect("\x61\165\164\x68");
goto fYXiQ;
fYXiQ:
qznPQ:
goto EYKW_;
jVY6g:
$this->form_validation->set_error_delimiters('', '');
goto g1Pya;
MOx65:
if (!(!$this->ion_auth->is_admin() && !$this->ion_auth->in_group("\147\165\162\x75"))) {
goto HahlG;
}
goto Wv9UR;
pCSiD:
fwK7M:
goto nygim;
g1Pya:
}
public function output_json($data, $encode = true)
{
goto Cc91w;
HV2gX:
$data = json_encode($data);
goto IuQmt;
z_d3e:
$this->output->set_content_type("\141\x70\160\154\151\143\141\164\151\x6f\x6e\x2f\152\x73\x6f\x6e")->set_output($data);
goto GXUC_;
IuQmt:
Dtq_p:
goto z_d3e;
Cc91w:
if (!$encode) {
goto Dtq_p;
}
goto HV2gX;
GXUC_:
}
public function index()
{
goto Gb2Ds;
DT_Es:
$thn_sel = $thn_sel == null ? $tp->id_tp : $thn_sel;
goto U_4eD;
il1bd:
$data["\160\162\x6f\146\151\154\x65"] = $this->dashboard->getProfileAdmin($user->id);
goto lpimc;
AdJxi:
foreach ($all_soals[1] as $no => $soal) {
goto j23S4;
JZwkY:
xoUf2:
goto bZDQ7;
IuArD:
$status_soal = "\163\165\x6b\141\162";
goto RJKaR;
QL4YK:
$daya_pembeda = $yng_benar_golonganatas / $bagi_daya - $yng_benar_golonganbawah / $bagi_daya;
goto lCv4_;
n6tGK:
wSmcK:
goto xuogS;
FYJJz:
$pos_a = 0;
goto pKnWT;
OZxPh:
$soal->table_r = $this->nilaiSignifikansi($total_siswa);
goto Sej4N;
m_1o_:
$jml_siswa--;
goto xMCYN;
qRpUB:
ypzdF:
goto maVOR;
mqIiS:
MzBJp:
goto ySwwm;
F37yp:
$soal->jumlah_benar = 0;
goto O1M_b;
mrbvR:
$soal->status_daya = "\102\x61\x69\153\40\123\x65\x6b\141\154\151";
goto IKKQZ;
FkjfU:
if (!($jml_siswa > 0)) {
goto cNkdc;
}
goto W3BF8;
lCv4_:
goto K1y0z;
goto iRK0X;
npk_3:
if ($daya_pembeda >= 0.2) {
goto riE12;
}
goto Q5nwl;
LSIdv:
if ($kesukaran >= 0.7) {
goto wSmcK;
}
goto wbJZy;
wBkZw:
$soal->nilai_valid = $pearson;
goto OZxPh;
CIS6w:
$cek = $jml_siswa % 2;
goto TsdGC;
xuogS:
$status_soal = "\x6d\165\x64\141\x68";
goto lM9pv;
veRLZ:
if ($daya_pembeda >= 0.7) {
goto zB9G1;
}
goto bYPjf;
hsYd8:
cNkdc:
goto nQt05;
lAhRI:
if ($yng_benar_golonganatas == 0 && $yng_benar_golonganbawah == 0) {
goto XpLVj;
}
goto QL4YK;
Lvk3F:
$yng_benar_golonganbawah = 0;
goto mwzmM;
dmZdQ:
$status_soal = '';
goto FkjfU;
sHvo2:
hC6FZ:
goto aN8hi;
OZCJT:
$soal->skor_siswa = [];
goto F37yp;
iRK0X:
XpLVj:
goto KIvvI;
Zfs3c:
if ($yng_benar_golonganatas != 0 && $yng_benar_golonganbawah == 0) {
goto QfDgf;
}
goto lAhRI;
B5zz2:
goto ypzdF;
goto j3tTH;
VOtvH:
$y = [];
goto P10ZV;
bYPjf:
if ($daya_pembeda >= 0.4) {
goto sTnkX;
}
goto npk_3;
maVOR:
goto C00rB;
goto fRhpo;
rZ0QD:
$soal->status_valid = $validitas;
goto wQS8z;
MNFnM:
eFL0J:
goto B5zz2;
niZHp:
$soal->status_kesukaran = $status_soal;
goto CIS6w;
j3tTH:
sTnkX:
goto SLokX;
bHFvg:
$soal->benar_atas = $yng_benar_golonganatas;
goto kqTsV;
eCZUR:
$jml_siswa = $total_siswa;
goto c9c9y;
htt56:
$jwbn_siswa = isset($jawabans_siswa[1][$no]) && isset($jawabans_siswa[1][$no]) ? $jawabans_siswa[1][$no] : [];
goto buRQ5;
F313L:
E_G0R:
goto HFnxt;
FGE1H:
$x = [];
goto htt56;
KIvvI:
$daya_pembeda = 0;
goto Lq_9D;
pKnWT:
$pos_b = $bagi;
goto VOtvH;
DSWAZ:
$soal->status_daya = "\103\x75\x6b\x75\160";
goto MNFnM;
nQt05:
$soal->tingkat_kesukaran = $kesukaran;
goto niZHp;
qX65h:
$total_siswa = 0;
goto FGE1H;
W_jz6:
riE12:
goto DSWAZ;
wbJZy:
if ($kesukaran >= 0.3) {
goto n61nc;
}
goto IuArD;
O1M_b:
$soal->jumlah_salah = 0;
goto qX65h;
HFnxt:
goto x5Nxm;
goto DCq5C;
wQS8z:
$bagi_daya = $bagi > 0 ? $bagi : 1;
goto p7Rey;
yHuDA:
n61nc:
goto FzXI9;
fQw4J:
goto i2GhO;
goto n6tGK;
DCq5C:
l48uw:
goto xWEIr;
bfIKT:
x5Nxm:
goto H7bfp;
ihy02:
$pearson = $this->pearson($x, $y);
goto wBkZw;
Lq_9D:
K1y0z:
goto bfBfl;
RJKaR:
goto l_A8F;
goto yHuDA;
Q5nwl:
$soal->status_daya = "\x4a\145\154\x65\x6b";
goto RnnWq;
lM9pv:
i2GhO:
goto hsYd8;
RnnWq:
goto eFL0J;
goto W_jz6;
Sej4N:
$validitas = $this->nilaiSignifikansi($total_siswa) <= $pearson ? "\x56\x61\154\151\x64" : "\x54\x69\144\141\153\x20\x76\x61\x6c\x69\144";
goto rZ0QD;
buRQ5:
foreach ($jwbn_siswa as $id => $jawab_siswa) {
goto r1bOX;
FzgYq:
array_push($x, 1);
goto zPFB1;
XElEy:
Bk_PB:
goto RBlKQ;
jZG4v:
xWKXP:
goto JrC3Q;
mXw7t:
$soal->jumlah_benar++;
goto FzgYq;
bTm0W:
array_push($x, 0);
goto oxL2_;
j3_3w:
if ($jawab_siswa == "\x42") {
goto AccQx;
}
goto EgUD3;
O4jsd:
AccQx:
goto BAV7Y;
r_02u:
goto xWKXP;
goto XElEy;
EgUD3:
if ($jawab_siswa == "\103") {
goto WAnR0;
}
goto nAvdA;
nAvdA:
if ($jawab_siswa == "\x44") {
goto Bk_PB;
}
goto ki1an;
BAV7Y:
$soal->jawaban_siswa["\x6a\141\167\x61\142\x5f\x62"][$id] = $jawab_siswa;
goto eNg2O;
r1bOX:
$total_siswa++;
goto F75wz;
dCHdq:
$soal->jumlah_salah++;
goto bTm0W;
Snd8T:
K8gqf:
goto mXw7t;
oxL2_:
goto UuEiE;
goto Snd8T;
ki1an:
if ($jawab_siswa == "\105") {
goto E1g_F;
}
goto YcUj8;
jbA3G:
$soal->jawaban_siswa["\152\141\167\141\142\x5f\x61"][$id] = $jawab_siswa;
goto Uj22V;
ajn13:
if ($jawab_siswa == "\101") {
goto zyle5;
}
goto j3_3w;
JrC3Q:
XeLN5:
goto SvmUv;
VE6Hh:
WAnR0:
goto KuyDE;
YcUj8:
goto xWKXP;
goto pKKT5;
qfjXG:
$soal->jawaban_siswa["\152\x61\x77\141\142\137\x65"][$id] = $jawab_siswa;
goto jZG4v;
RBlKQ:
$soal->jawaban_siswa["\152\141\167\x61\142\137\x64"][$id] = $jawab_siswa;
goto DCqQZ;
eNg2O:
goto xWKXP;
goto VE6Hh;
Uj22V:
goto xWKXP;
goto O4jsd;
pKKT5:
zyle5:
goto jbA3G;
F75wz:
if ($jawab_siswa == $soal->jawaban) {
goto K8gqf;
}
goto dCHdq;
KuyDE:
$soal->jawaban_siswa["\x6a\141\167\x61\142\137\x63"][$id] = $jawab_siswa;
goto r_02u;
zPFB1:
UuEiE:
goto ajn13;
DCqQZ:
goto xWKXP;
goto pYqJC;
pYqJC:
E1g_F:
goto qfjXG;
SvmUv:
}
goto JZwkY;
bfBfl:
goto E_G0R;
goto xOTvd;
FzXI9:
$status_soal = "\x73\145\144\141\156\x67";
goto HT_D_;
bZDQ7:
$benar = $soal->jumlah_benar;
goto REupv;
xWEIr:
$daya_pembeda = 0 - $yng_benar_golonganbawah / $bagi_daya;
goto bfIKT;
TsdGC:
if (!($cek == 1)) {
goto lEeZl;
}
goto m_1o_;
aN8hi:
$soal->total_siswa = $total_siswa;
goto bHFvg;
W3BF8:
$kesukaran = round($benar / $jml_siswa, 2);
goto LSIdv;
kqTsV:
$soal->benar_bawah = $yng_benar_golonganbawah;
goto ihy02;
xMCYN:
lEeZl:
goto KViyx;
p7Rey:
if ($yng_benar_golonganatas == 0 && $yng_benar_golonganbawah != 0) {
goto l48uw;
}
goto Zfs3c;
HT_D_:
l_A8F:
goto fQw4J;
j23S4:
$soal->jawaban_siswa = [];
goto OZCJT;
mwzmM:
$no = 1;
goto vljH2;
SLokX:
$soal->status_daya = "\102\x61\x69\153";
goto qRpUB;
H7bfp:
$soal->daya_pembeda = $daya_pembeda;
goto veRLZ;
c9c9y:
$kesukaran = 0;
goto dmZdQ;
xOTvd:
QfDgf:
goto x2epV;
fRhpo:
zB9G1:
goto mrbvR;
IKKQZ:
C00rB:
goto mqIiS;
REupv:
$salah = $soal->jumlah_salah;
goto eCZUR;
vljH2:
foreach ($nilai_pg as $id => $nilai) {
goto Fem2n;
bifwb:
$siswa_menjawab = $jwbn_siswa[$id];
goto iBuDy;
Fem2n:
array_push($y, $nilai->pg_benar);
goto Epbko;
S1K2m:
$yng_benar_golonganatas++;
goto Oorey;
IzBJT:
$no++;
goto fUwFN;
IAP2f:
oQy3R:
goto Y6E9_;
fUwFN:
NMe7h:
goto YK9hK;
iBuDy:
if ($no <= $bagi) {
goto kK6J3;
}
goto C_A13;
C_A13:
if (!($siswa_menjawab == $soal->jawaban)) {
goto oQy3R;
}
goto LTFg2;
wRh1d:
vS1Wl:
goto IzBJT;
SwEko:
XkJml:
goto wRh1d;
swZoT:
kK6J3:
goto sJV0D;
Epbko:
if (!isset($jwbn_siswa[$id])) {
goto vS1Wl;
}
goto bifwb;
Y6E9_:
goto XkJml;
goto swZoT;
Oorey:
Ht6pi:
goto SwEko;
LTFg2:
$yng_benar_golonganbawah++;
goto IAP2f;
sJV0D:
if (!($siswa_menjawab == $soal->jawaban)) {
goto Ht6pi;
}
goto S1K2m;
YK9hK:
}
goto sHvo2;
KViyx:
$bagi = $jml_siswa / 2;
goto FYJJz;
x2epV:
$daya_pembeda = $yng_benar_golonganatas / $bagi_daya;
goto F313L;
P10ZV:
$yng_benar_golonganatas = 0;
goto Lvk3F;
ySwwm:
}
goto H5abE;
oKspz:
if (!isset($all_soals[1])) {
goto v8Tk3;
}
goto AdJxi;
lpimc:
$data["\153\157\x64\x65\x6a\141\x64\x77\141\x6c"] = $this->dropdown->getAllJadwal($thn_sel, $smt_sel);
goto xagw_;
dZYEa:
$smt_sel = $this->input->get("\163\155\x74");
goto DT_Es;
U_4eD:
$smt_sel = $smt_sel == null ? $smt->id_smt : $smt_sel;
goto k3K8n;
GnDvm:
$user = $this->ion_auth->user()->row();
goto N1RG8;
TKTq2:
$info = $this->cbt->getJadwalById($jadwal);
goto zGOo6;
dekQY:
$data["\x73\x6d\164"] = $this->dashboard->getSemester();
goto H6cdi;
NK3N4:
$this->load->model("\x43\x62\164\x5f\155\157\144\x65\x6c", "\143\x62\164");
goto v9wsL;
gFiy0:
$jawabans_siswa = [];
goto m_iPt;
H6cdi:
$data["\x73\155\164\137\141\x63\164\151\x76\145"] = $smt;
goto u10YY;
BxJ9S:
$nguru[$guru->id_guru] = $guru->nama_guru;
goto eyY5_;
xagw_:
$this->load->view("\x5f\x74\x65\155\x70\154\x61\164\145\163\57\144\141\x73\x68\x62\157\x61\162\144\x2f\137\150\145\x61\144\145\x72", $data);
goto GpkP9;
T_QoE:
$thn_sel = $this->input->get("\x74\150\156");
goto dZYEa;
REtXz:
$guru = $this->dashboard->getDataGuruByUserId($user->id, $thn_sel, $smt_sel);
goto BxJ9S;
hryG_:
$data["\x6a\141\x64\167\141\154\x5f\x73\145\154\145\143\164\145\x64"] = $jadwal;
goto fGyAG;
vLLoE:
$all_soals = $this->cbt->getSoalByBank($info->id_bank);
goto oKspz;
GNcbe:
jgipF:
goto kpDbE;
H5abE:
Yeusr:
goto jYlDJ;
rBbzh:
$this->load->view("\143\142\164\x2f\x61\x6e\x61\x6c\151\163\x69\163\57\144\141\164\x61");
goto TzIjb;
ICTls:
goto jgipF;
goto x0mi1;
Sdp7N:
$data["\151\x6e\146\157"] = $info;
goto gKCWU;
KX5G8:
$data["\x74\160"] = $this->dashboard->getTahun();
goto x1DIn;
VMUV4:
$data["\153\157\x64\145\x6a\141\x64\167\x61\x6c"] = $this->dropdown->getAllJadwalGuru($thn_sel, $smt_sel, $guru->id_guru);
goto HH9DV;
rGQQe:
if ($this->ion_auth->is_admin()) {
goto Mdo7A;
}
goto REtXz;
v9wsL:
$this->load->model("\104\162\x6f\x70\144\157\x77\156\137\x6d\x6f\144\x65\x6c", "\x64\x72\157\160\144\x6f\x77\x6e");
goto GnDvm;
eyY5_:
$data["\147\x75\162\x75"] = $guru;
goto VMUV4;
N1RG8:
$data = ["\165\x73\145\162" => $user, "\x6a\165\144\x75\154" => "\x41\156\141\154\151\x73\141\40\123\157\141\154", "\x73\x75\142\152\165\144\x75\154" => "\x41\x6e\x61\154\x69\163\141\40\123\157\x61\154\x20\x55\x6a\151\141\x6e", "\163\145\x74\x74\x69\156\147" => $this->dashboard->getSetting()];
goto PSiFT;
fGyAG:
if (!($jadwal != null)) {
goto lvzmg;
}
goto TKTq2;
sAJ0z:
$this->load->view("\x5f\164\x65\x6d\160\x6c\141\164\x65\163\x2f\x64\141\163\150\142\x6f\141\162\144\x2f\x5f\x66\157\157\164\x65\162");
goto GNcbe;
zGOo6:
$all_jawaban = $this->cbt->getJawabanByBank($info->id_bank);
goto gFiy0;
x0mi1:
Mdo7A:
goto il1bd;
unmL6:
$nilai_pg = $this->cbt->getAllNilaiSiswa($jadwal);
goto vLLoE;
nQyX6:
a4Z9b:
goto unmL6;
HH9DV:
$this->load->view("\155\x65\155\x62\145\162\163\57\x67\x75\162\165\x2f\x74\145\155\160\154\x61\164\145\x73\x2f\x68\145\141\x64\145\162", $data);
goto rBbzh;
jYlDJ:
v8Tk3:
goto Sdp7N;
UvdeY:
foreach ($all_jawaban as $jawaban_siswa) {
goto Dy6Pf;
pLFQh:
Lywzj:
goto yn82M;
Dy6Pf:
array_push($ids, $jawaban_siswa->id_siswa);
goto P08we;
P08we:
$jawabans_siswa[$jawaban_siswa->jenis_soal][$jawaban_siswa->nomor_soal][$jawaban_siswa->id_siswa] = $jawaban_siswa->jawaban_siswa;
goto pLFQh;
yn82M:
}
goto nQyX6;
GpkP9:
$this->load->view("\x63\142\164\57\x61\156\x61\x6c\151\163\x69\x73\x2f\x64\x61\x74\141");
goto sAJ0z;
n0N_c:
$smt = $this->dashboard->getSemesterActive();
goto KX5G8;
u10YY:
$jadwal = $this->input->get("\x6a\141\x64\x77\141\x6c");
goto T_QoE;
PSiFT:
$tp = $this->dashboard->getTahunActive();
goto n0N_c;
TzIjb:
$this->load->view("\155\x65\x6d\142\x65\162\x73\x2f\147\x75\162\x75\x2f\164\x65\x6d\x70\154\141\164\145\x73\x2f\146\x6f\157\x74\145\162");
goto ICTls;
Gb2Ds:
$this->load->model("\x44\x61\x73\150\x62\157\x61\x72\144\x5f\155\157\144\x65\x6c", "\144\141\x73\x68\142\x6f\x61\x72\x64");
goto NK3N4;
gKCWU:
$data["\x73\x6f\x61\154\x73"] = $all_soals;
goto BOxg0;
tHGOh:
lvzmg:
goto rGQQe;
x1DIn:
$data["\x74\x70\137\141\143\164\151\x76\145"] = $tp;
goto dekQY;
m_iPt:
$ids = [];
goto UvdeY;
k3K8n:
$data["\x74\x70\x5f\163\x65\154\145\143\x74\x65\144"] = $thn_sel;
goto Ap60y;
BOxg0:
$data["\x6e\151\154\x61\x69"] = $nilai_pg;
goto tHGOh;
Ap60y:
$data["\x73\x6d\x74\137\163\145\154\x65\x63\x74\145\x64"] = $smt_sel;
goto hryG_;
kpDbE:
}
private function pearson($x, $y)
{
goto KLEKj;
EXTG3:
F7CIY:
goto YLh26;
mFCYp:
WUlqX:
goto J419O;
m0MgZ:
$i = 0;
goto rAvlW;
gThFs:
if (!($i < $d)) {
goto hqCFZ;
}
goto Pn2DZ;
hdKjR:
$i = 0;
goto FgCmM;
J419O:
$x = array_values($x);
goto DW_kT;
QGpXt:
if (!($i < $d)) {
goto F7CIY;
}
goto znxp7;
IqTba:
ftAt1:
goto f6kgi;
OtDbC:
$yr = $y[$i] - $ys;
goto N51jL;
EJMYH:
return -1;
goto mFCYp;
f6kgi:
$b = sqrt($bx * $by);
goto rR1tY;
YLh26:
qfehi:
goto sTJPe;
BBqus:
zcZ_5:
goto lu88V;
zH10W:
if (!($i < count($x))) {
goto ftAt1;
}
goto JiN47;
OOUH2:
$bx += pow($xr, 2);
goto orJa4;
DW_kT:
$y = array_values($y);
goto WWcpB;
jNxUX:
if (!($b > 0)) {
goto b3EnC;
}
goto n6QFR;
f_ah2:
yXKmN:
goto b1Gwe;
Enqge:
$i++;
goto FnOjf;
b1Gwe:
if (!($cx < $cy)) {
goto zAJDU;
}
goto cxaxI;
SqKAO:
$bx = 0;
goto sFNck;
FgCmM:
ByYd3:
goto gThFs;
rR1tY:
$ret = -1;
goto jNxUX;
sTJPe:
if (!(count($x) !== count($y))) {
goto WUlqX;
}
goto EJMYH;
rAvlW:
dFpcD:
goto QGpXt;
tZ21z:
poWtt:
goto Enqge;
KLEKj:
$cx = count($x);
goto UjyQz;
VGsLl:
return -1;
goto f_ah2;
l66cp:
zAJDU:
goto AOhKE;
TQ3dn:
kSVaQ:
goto zH10W;
xLwir:
goto kSVaQ;
goto IqTba;
AOhKE:
if (!($cx > $cy)) {
goto qfehi;
}
goto hY52K;
Q7spv:
$i = 0;
goto TQ3dn;
UjyQz:
$cy = count($y);
goto rKA9O;
Pn2DZ:
array_pop($y);
goto tZ21z;
ULeqN:
return $ret;
goto s8ddJ;
N51jL:
$a += $xr * $yr;
goto OOUH2;
rKA9O:
if (!($cx === 0 || $cy === 0)) {
goto yXKmN;
}
goto VGsLl;
znxp7:
array_pop($x);
goto HDs06;
FnOjf:
goto ByYd3;
goto LJLap;
P3ucG:
$i++;
goto uvUYJ;
uvUYJ:
goto dFpcD;
goto EXTG3;
cxaxI:
$d = $cy - $cx;
goto hdKjR;
orJa4:
$by += pow($yr, 2);
goto BBqus;
lu88V:
$i++;
goto xLwir;
fMtpT:
b3EnC:
goto ULeqN;
WWcpB:
$xs = array_sum($x) / count($x);
goto teGfJ;
LJLap:
hqCFZ:
goto l66cp;
JiN47:
$xr = $x[$i] - $xs;
goto OtDbC;
pARzI:
$a = 0;
goto SqKAO;
teGfJ:
$ys = array_sum($y) / count($y);
goto pARzI;
n6QFR:
$ret = $a / $b;
goto fMtpT;
hY52K:
$d = $cx - $cy;
goto m0MgZ;
sFNck:
$by = 0;
goto Q7spv;
HDs06:
rKfoR:
goto P3ucG;
s8ddJ:
}
public function getNilaiKelas()
{
goto ihEW_;
J3Cbi:
$tp = $this->dashboard->getTahunActive();
goto lnVdX;
R_F2m:
$data["\152\141\x77\x61\x62\x61\x6e"] = $arrDur;
goto w3bYT;
De5ID:
$siswas = $this->cbt->getSiswaByKelas($tp->id_tp, $smt->id_smt, $kelas);
goto YXmVa;
Uqi_d:
$this->output_json($data);
goto KtX3S;
ihEW_:
$this->load->model("\104\x61\163\150\x62\157\141\x72\x64\137\x6d\x6f\144\x65\x6c", "\x64\x61\x73\x68\142\x6f\141\x72\144");
goto pt00P;
fZoJJ:
$jadwal = $this->input->get("\152\141\x64\167\141\154");
goto J3Cbi;
pt00P:
$this->load->model("\x43\x62\164\137\x6d\x6f\144\x65\154", "\x63\x62\164");
goto KsTUK;
KsTUK:
$kelas = $this->input->get("\153\145\x6c\141\163");
goto gBerm;
Ux2cQ:
foreach ($siswas as $siswa) {
goto q7hgf;
YjZTI:
goto HobGX;
goto qx20B;
zBqKM:
WJz9N:
goto coTpW;
inS6H:
if ($jawaban != null) {
goto WJz9N;
}
goto V9cB7;
Y_UsY:
if (!($i < $info->tampil_pg)) {
goto MtpLD;
}
goto N8M9x;
u7_ui:
$i = 0;
goto Qb5OK;
oD8r9:
vrXp4:
goto Zc0ON;
q7hgf:
$arrJawab_pg = [];
goto JME6c;
zy3q4:
F4Vfy:
goto fNt7Z;
ueu4c:
if (!($j < $info->tampil_esai)) {
goto F4Vfy;
}
goto DVvQo;
P5B21:
$arrDur[$siswa->id_siswa] = ["\144\x75\x72" => $this->cbt->getDurasiSiswa($siswa->id_siswa . "\60" . $jadwal), "\x6a\x61\x77\141\x62\137\x70\147" => $arrJawab_pg[$siswa->id_siswa], "\x6a\x61\167\x61\142\137\x65\x73\163\141\x69" => $jawab_essai, "\x6c\x6f\x67" => $this->cbt->getLogUjian($siswa->id_siswa, $jadwal)];
goto ff1TV;
N8M9x:
$arrJawab_pg[$siswa->id_siswa][] = $this->cbt->getJawabanSiswa($siswa->id_siswa . "\x30" . $jadwal . $info->id_bank . 1 . ($i + 1));
goto d2O8Y;
qx20B:
MtpLD:
goto DnbfR;
C_sBg:
glPTQ:
goto oD8r9;
d2O8Y:
ZETN2:
goto MWH1I;
DnbfR:
$j = 0;
goto aGB0O;
nsWFL:
goto BES2c;
goto zy3q4;
DVvQo:
$jawaban = $this->cbt->getJawabanSiswa($siswa->id_siswa . "\x30" . $jadwal . $info->id_bank . 2 . ($j + 1));
goto inS6H;
aGB0O:
BES2c:
goto ueu4c;
JME6c:
$arrJawab_essai = [];
goto u7_ui;
V9cB7:
$arrJawab_essai[$siswa->id_siswa][] = array("\x69\144\137\152\x61\167\x61\x62\x61\156" => 0, "\152\141\167\x61\x62\x61\156" => '', "\x6a\x61\167\141\x62\x61\x6e\137\x62\x65\156\x61\x72" => '', "\153\157\x72\x65\153\163\x69" => 0);
goto eZ3IE;
fNt7Z:
$jawab_essai = isset($arrJawab_essai[$siswa->id_siswa]) ? $arrJawab_essai[$siswa->id_siswa] : [];
goto P5B21;
Zc0ON:
$j++;
goto nsWFL;
ff1TV:
Gl710:
goto dbjQG;
MWH1I:
$i++;
goto YjZTI;
eZ3IE:
goto glPTQ;
goto zBqKM;
coTpW:
$arrJawab_essai[$siswa->id_siswa][] = $jawaban;
goto C_sBg;
Qb5OK:
HobGX:
goto Y_UsY;
dbjQG:
}
goto uBXhQ;
YXmVa:
$arrDur = [];
goto Ux2cQ;
gC4Xs:
$data["\163\x69\163\x77\x61"] = $siswas;
goto R_F2m;
lnVdX:
$smt = $this->dashboard->getSemesterActive();
goto rWbKS;
gBerm:
$sesi = $this->input->get("\x73\145\x73\x69");
goto fZoJJ;
rWbKS:
$info = $this->cbt->getJadwalById($jadwal, $sesi);
goto De5ID;
uBXhQ:
xPlf_:
goto gC4Xs;
w3bYT:
$data["\x69\156\x66\x6f"] = $info;
goto Uqi_d;
KtX3S:
}
public function getJadwalUjianByJadwal()
{
goto Eu1l0;
wpdVu:
$kelas = unserialize($info->bank_kelas);
goto HkHbY;
y9Eve:
$this->output_json($kelases);
goto zi0ap;
HkHbY:
$kelases = [];
goto NiESr;
NiESr:
foreach ($kelas as $key => $value) {
$kelases[$value["\x6b\145\154\141\163\x5f\x69\144"]] = $this->dropdown->getNamaKelasById($info->id_tp, $info->id_smt, $value["\153\145\154\141\x73\x5f\x69\144"]);
iXp7E:
}
goto gLqyh;
rr7GA:
$jadwal = $this->input->get("\152\141\144\x77\x61\154");
goto S0Hv0;
w_sCe:
$info = $this->cbt->getJadwalById($jadwal);
goto wpdVu;
gLqyh:
HzQNv:
goto y9Eve;
Eu1l0:
$this->load->model("\x43\142\x74\137\155\157\144\145\154", "\x63\x62\x74");
goto X8zBm;
UdcZc:
$smt = $this->input->get("\x73\x6d\164");
goto w_sCe;
X8zBm:
$this->load->model("\x44\162\x6f\x70\144\x6f\x77\156\137\x6d\157\144\145\x6c", "\x64\162\157\160\x64\x6f\167\x6e");
goto rr7GA;
S0Hv0:
$tp = $this->input->get("\x74\150\156");
goto UdcZc;
zi0ap:
}
public function kalkulasi()
{
goto agwh_;
iApuS:
$this->output_json($update);
goto YjlDA;
HMhiM:
$update = $this->generateNilaiUjian($jadwal);
goto iApuS;
agwh_:
$jadwal = $this->input->get("\152\x61\x64\x77\141\154");
goto HMhiM;
YjlDA:
}
public function generateNilaiUjian($jadwal)
{
goto uq_g7;
YUNYu:
$jawabans = $this->cbt->getJawabanByBank($info->id_bank);
goto bQ8YH;
LckHO:
return $update;
goto mfd2j;
bgu0K:
$update = $this->db->update_batch("\x63\x62\164\x5f\156\x69\154\x61\x69", $insets, "\151\144\137\156\x69\x6c\141\x69");
goto LckHO;
DMm1q:
foreach ($kelas_bank as $key => $value) {
array_push($kelases, $value["\x6b\x65\x6c\x61\x73\x5f\151\144"]);
HDkbw:
}
goto QG5wF;
FKjKF:
$kelas_bank = unserialize($info->bank_kelas);
goto og_BS;
eCo8y:
$jawabans_siswa = [];
goto zCX8f;
tKaWz:
$siswas = $this->cbt->getSiswaByKelas($info->id_tp, $info->id_smt, $kelases);
goto Gk6uV;
XJoqi:
$bagi_pg = $info->tampil_pg / 100;
goto A1Vnk;
bQ8YH:
$soal = [];
goto eCo8y;
og_BS:
$kelases = [];
goto DMm1q;
ts7WM:
$insets = [];
goto WomrV;
mersT:
$info = $this->cbt->getJadwalById($jadwal);
goto XJoqi;
qYi3z:
$bobot_isian = $info->bobot_isian / 100;
goto TBJwe;
sTLNO:
$bagi_jodoh = $info->tampil_jodohkan / 100;
goto P7SCC;
uq_g7:
$this->load->model("\103\x62\x74\137\x6d\x6f\x64\x65\x6c", "\143\142\x74");
goto mersT;
Xapk2:
XUdyG:
goto bgu0K;
c_jFK:
foreach ($siswas as $key => $value) {
array_push($ids, $value->id_siswa);
cMvSw:
}
goto XA9pe;
XA9pe:
qwFDG:
goto YUNYu;
A1Vnk:
$bobot_pg = $info->bobot_pg / 100;
goto Rsoo7;
Rsoo7:
$bagi_pg2 = $info->tampil_kompleks / 100;
goto CiT80;
zCX8f:
foreach ($jawabans as $jawaban_siswa) {
goto AdTD5;
QYsza:
y5j1y:
goto Sormc;
MLSmA:
$jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa);
goto d0agn;
F2nGX:
$jawaban_siswa->jawaban_benar = array_map("\163\x74\162\164\157\165\160\x70\145\x72", $jawaban_siswa->jawaban_benar);
goto lQW67;
pKopA:
K0VID:
goto hTnC2;
xTPFE:
$jawaban_siswa->jawaban_siswa = @unserialize($jawaban_siswa->jawaban_siswa);
goto OfvqS;
KeG0y:
if (!($jawaban_siswa->jenis_soal == "\x33")) {
goto y5j1y;
}
goto MLSmA;
AdTD5:
if (!($jawaban_siswa->jenis_soal == "\62")) {
goto Ijitg;
}
goto mMmXH;
OfvqS:
$jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar);
goto F2nGX;
QCaZ8:
$jawaban_siswa->jawaban_benar = json_decode(json_encode($jawaban_siswa->jawaban_benar));
goto QYsza;
E14FS:
$soal[$jawaban_siswa->jenis_soal][] = $jawaban_siswa;
goto pKopA;
mMmXH:
$jawaban_siswa->opsi_a = @unserialize($jawaban_siswa->opsi_a);
goto xTPFE;
Sormc:
$jawabans_siswa[$jawaban_siswa->id_siswa][$jawaban_siswa->jenis_soal][] = $jawaban_siswa;
goto E14FS;
ip_oV:
Ijitg:
goto KeG0y;
yHYcz:
$jawaban_siswa->jawaban_siswa = json_decode(json_encode($jawaban_siswa->jawaban_siswa));
goto QCaZ8;
lQW67:
$jawaban_siswa->jawaban_benar = array_filter($jawaban_siswa->jawaban_benar, "\x73\x74\x72\x6c\x65\156");
goto ip_oV;
d0agn:
$jawaban_siswa->jawaban_benar = @unserialize($jawaban_siswa->jawaban_benar);
goto yHYcz;
hTnC2:
}
goto Zkckc;
WomrV:
foreach ($siswas as $siswa) {
goto FvaEZ;
yaYhq:
IMN_T:
goto hEmPj;
CZP_p:
$input_es = 0;
goto cLgtE;
vy4aB:
$ada_jawaban_pg2 = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\x32"]);
goto ZSeWP;
sX0B5:
$skor_koreksi_es = 0.0;
goto oDByR;
W6rwc:
$benar_es = 0;
goto sX0B5;
UaCp1:
WTGZT:
goto ygzVU;
lQ7wH:
$insert["\160\x67\x5f\142\x65\x6e\141\162"] = $benar_pg;
goto dmLh8;
kWvjU:
if (!(count($jawaban_is) > 0)) {
goto IMN_T;
}
goto dgadW;
qYv5w:
array_push($insets, $insert);
goto Y9Bgj;
XmYWu:
rJgsc:
goto M6LMv;
HAdy4:
WmCep:
goto d25B4;
eFnEC:
$input_pg2 = 0;
goto uMkPK;
oRB71:
foreach ($jawaban_pg2 as $num => $jawab_pg2) {
goto Lzf1n;
g9lg4:
$skor_koreksi_pg2 += $jawab_pg2->nilai_koreksi;
goto HFIzL;
WW9WT:
sKw7r:
goto JoDC0;
n2kpY:
foreach ($jawab_pg2->jawaban_siswa as $js) {
goto zP9zs;
Um6Un:
oXBDx:
goto iLlQM;
yNrdP:
DZPN5:
goto Um6Un;
zP9zs:
if (!in_array($js, $jawab_pg2->jawaban_benar)) {
goto DZPN5;
}
goto OV_Eo;
OV_Eo:
array_push($arr_benar, true);
goto yNrdP;
iLlQM:
}
goto IMGlL;
KA2dO:
$benar_pg2 += 1 / count($jawab_pg2->jawaban_benar) * count($arr_benar);
goto WW9WT;
HFIzL:
$arr_benar = [];
goto n2kpY;
Lzf1n:
$otomatis_pg2 = $jawab_pg2->nilai_otomatis;
goto g9lg4;
IMGlL:
RL5gh:
goto KA2dO;
JoDC0:
}
goto H2_Tm;
Z1sZp:
if7Rz:
goto RPE9R;
Wxgfm:
$insert["\151\x64\x5f\x6a\x61\x64\x77\141\x6c"] = $jadwal;
goto lQ7wH;
lK0fA:
ws0Ex:
goto Jyebw;
cjD6q:
if (!(count($jawaban_pg2) > 0)) {
goto WmCep;
}
goto oRB71;
Znf9t:
if (!($info->tampil_isian > 0)) {
goto nz60p;
}
goto kWvjU;
hEmPj:
nz60p:
goto OUrV3;
AbSTM:
$otomatis_pg2 = 0;
goto Ac3T2;
GyhSI:
if (!(count($jawaban_jodoh) > 0)) {
goto uNvR1;
}
goto wZ_Ed;
gd_zW:
$insert["\x69\163\x69\x61\x6e\x5f\x6e\151\x6c\x61\151"] = round($skor_is, 2);
goto ybGQo;
d25B4:
tBWVl:
goto FwizX;
Ac3T2:
if (!($info->tampil_kompleks > 0)) {
goto tBWVl;
}
goto cjD6q;
ybGQo:
$insert["\x65\x73\x73\x61\151\137\156\151\154\x61\x69"] = round($skor_es, 2);
goto qYv5w;
ygzVU:
$s_jod = $bagi_jodoh == 0 ? 0 : $benar_jod / $bagi_jodoh * $bobot_jodoh;
goto XOsBq;
OUrV3:
$s_is = $bagi_isian == 0 ? 0 : $benar_is / $bagi_isian * $bobot_isian;
goto vD9Uh;
cLgtE:
if (!($nilai_input != null && $nilai_input->isian_nilai != null)) {
goto ws0Ex;
}
goto nGnrM;
ymk0z:
if (!($nilai_input != null && $nilai_input->jodohkan_nilai != null)) {
goto PpAMy;
}
goto GkLoj;
FI3r3:
$salah_pg = 0;
goto d9075;
kqkom:
FkLWR:
goto XmYWu;
dmLh8:
$insert["\160\x67\x5f\x6e\151\x6c\141\x69"] = round($skor_pg, 2);
goto PxFNT;
LNN0u:
$skor_is = $input_is != 0 ? $input_is : ($otomatis_is == 0 ? $s_is : $skor_koreksi_is);
goto gTdRQ;
TQruN:
$skor_koreksi_is = 0.0;
goto CzcH9;
zcUNw:
uNvR1:
goto UaCp1;
CLO_W:
$jawaban_pg = $ada_jawaban_pg ? $jawabans_siswa[$siswa->id_siswa]["\x31"] : [];
goto JCs78;
wZ_Ed:
foreach ($jawaban_jodoh as $num => $jawab_jod) {
goto g2py5;
MNERG:
wgZRq:
goto wxSs8;
H6KG6:
$item_benar = 0;
goto KBJev;
e5AOk:
LbzgO:
goto H6KG6;
g2py5:
$skor_koreksi_jod += $jawab_jod->nilai_koreksi;
goto vkc01;
qdmGw:
foreach ($arrSoal as $kolSoal) {
goto Ozv3G;
UlOdO:
$jwb->title = array_shift($kolSoal);
goto SJJKZ;
j9uHz:
foreach ($kolSoal as $pos => $kol) {
goto yfi1J;
eJu5w:
$jwb->subtitle[] = $headSoal[$pos];
goto HPp3I;
piZUD:
ebqVM:
goto Y3Vmr;
Y3Vmr:
mNNL4:
goto o5Uax;
yfi1J:
if (!($kol == "\61")) {
goto ebqVM;
}
goto eJu5w;
HPp3I:
$items++;
goto piZUD;
o5Uax:
}
goto h7Cif;
m6rAS:
HWxkx:
goto rjUM8;
Ozv3G:
$jwb = new stdClass();
goto j9uHz;
SJJKZ:
array_push($arrJwbSoal, $jwb);
goto m6rAS;
h7Cif:
g6pPP:
goto UlOdO;
rjUM8:
}
goto MNERG;
sVySE:
$items = 0;
goto qdmGw;
cHmdg:
$headJawab = array_shift($arrJawab);
goto n9IYY;
vkc01:
$arrSoal = $jawab_jod->jawaban_benar->jawaban;
goto yO52M;
oTo1r:
wraMU:
goto ADEeG;
MB3kI:
$otomatis_jod = $jawab_jod->nilai_otomatis;
goto oTo1r;
wxSs8:
$arrJawab = $jawab_jod->jawaban_siswa->jawaban;
goto cHmdg;
SO7l1:
foreach ($arrJawab as $kolJawab) {
goto dhQFn;
Na5QF:
EMVbH:
goto IPefW;
Y4ep6:
array_push($arrJwbJawab, $jwbs);
goto Na5QF;
U2TkT:
foreach ($kolJawab as $po => $kol) {
goto RvaUj;
o2SSU:
$sub = $headJawab[$po];
goto NP_7T;
NP_7T:
$jwbs->subtitle[] = $sub;
goto OyQtt;
RvaUj:
if (!($kol == "\61")) {
goto hBzaS;
}
goto o2SSU;
OyQtt:
hBzaS:
goto yGuR3;
yGuR3:
A1LOC:
goto ZOAYl;
ZOAYl:
}
goto CI7Uw;
CI7Uw:
KnYUU:
goto Y4ep6;
dhQFn:
$jwbs = new stdClass();
goto U2TkT;
IPefW:
}
goto e5AOk;
n9IYY:
$arrJwbJawab = [];
goto SO7l1;
FU33N:
$arrJwbSoal = [];
goto sVySE;
KBJev:
$item_salah = 0;
goto MGREP;
lh5MQ:
vX3jE:
goto WOvyj;
yO52M:
$headSoal = array_shift($arrSoal);
goto FU33N;
MGREP:
foreach ($arrJwbJawab as $p => $ajjs) {
goto MFSaB;
mU8j0:
bKoKR:
goto c6lIq;
BmYF4:
QLP5t:
goto mU8j0;
MFSaB:
foreach ($ajjs->subtitle as $pp => $ajs) {
goto x27ys;
x27ys:
if (in_array($ajs, $arrJwbSoal[$p]->subtitle)) {
goto Vh1kW;
}
goto q7zFp;
sfJjn:
JmoII:
goto jp8tZ;
e9FJE:
goto VTRPM;
goto qUSr2;
q7zFp:
$item_salah++;
goto e9FJE;
pWHPa:
VTRPM:
goto sfJjn;
D2MSk:
$item_benar++;
goto pWHPa;
qUSr2:
Vh1kW:
goto D2MSk;
jp8tZ:
}
goto BmYF4;
c6lIq:
}
goto lh5MQ;
WOvyj:
$benar_jod += 1 / $items * $item_benar;
goto MB3kI;
ADEeG:
}
goto QTd79;
RPE9R:
$s_es = $bagi_essai == 0 ? 0 : $benar_es / $bagi_essai * $bobot_essai;
goto CZP_p;
FvaEZ:
$ada_jawaban = isset($jawabans_siswa[$siswa->id_siswa]);
goto mo0ZE;
QTd79:
VxKdM:
goto zcUNw;
BVUzc:
u09y3:
goto Z1sZp;
ztisb:
VZn3Q:
goto M8KMa;
XQy5E:
ql2fB:
goto LNN0u;
SR7IV:
IpyZ_:
goto yaYhq;
RRSWj:
PpAMy:
goto wad7V;
d9075:
if (!($info->tampil_pg > 0)) {
goto V073n;
}
goto Fv4Kc;
oDByR:
$otomatis_es = 0;
goto RXnr9;
GkLoj:
$input_jod = $nilai_input->jodohkan_nilai;
goto RRSWj;
nGnrM:
$input_es = $nilai_input->essai_nilai;
goto lK0fA;
Fv4Kc:
if (!(count($jawaban_pg) > 0)) {
goto rJgsc;
}
goto s8Fsj;
PxFNT:
$insert["\x6b\157\155\x70\154\x65\x6b\163\137\156\151\x6c\141\151"] = round($skor_pg2, 2);
goto z7kD7;
k_k7o:
foreach ($jawaban_es as $num => $jawab_es) {
goto S5ofi;
uPEVl:
Jlh3d:
goto Jd4rs;
iRH5Y:
if (!$benar) {
goto kOxzE;
}
goto fZQ4F;
nhPVt:
kOxzE:
goto t9buQ;
L1m6N:
$benar = $jawab_es != null && strtolower($jawab_es->jawaban_siswa) == strtolower($jawab_es->jawaban_benar);
goto iRH5Y;
fZQ4F:
$benar_es++;
goto nhPVt;
S5ofi:
$skor_koreksi_es += $jawab_es->nilai_koreksi;
goto L1m6N;
t9buQ:
$otomatis_es = $jawab_es->nilai_otomatis;
goto uPEVl;
Jd4rs:
}
goto Avqp_;
aUR9k:
if (!(count($jawaban_es) > 0)) {
goto u09y3;
}
goto k_k7o;
VARLP:
$nilai_input = $this->cbt->getNilaiSiswaByJadwal($jadwal, $siswa->id_siswa);
goto CLO_W;
M8KMa:
$skor_pg2 = $input_pg2 != 0 ? $input_pg2 : ($otomatis_pg2 == 0 ? $s_pg2 : $skor_koreksi_pg2);
goto BXFLT;
Avqp_:
QFNvl:
goto BVUzc;
Y4NML:
$otomatis_jod = 0;
goto qoP9B;
qoP9B:
if (!($info->tampil_jodohkan > 0)) {
goto WTGZT;
}
goto GyhSI;
xpF7l:
$insert["\151\144\x5f\156\151\154\141\x69"] = $siswa->id_siswa . "\60" . $jadwal;
goto p_E7H;
dQs7m:
$benar_jod = 0;
goto BMM1X;
kw6tT:
$skor_pg = $bagi_pg == 0 ? 0 : $benar_pg / $bagi_pg * $bobot_pg;
goto EZnVu;
wad7V:
$skor_jod = $input_jod != 0 ? $input_jod : ($otomatis_jod == 0 ? $s_jod : $skor_koreksi_jod);
goto Gmjel;
CzcH9:
$otomatis_is = 0;
goto Znf9t;
JCs78:
$benar_pg = 0;
goto FI3r3;
Y9Bgj:
yda_K:
goto QNpZ5;
oCduw:
$ada_jawaban_essai = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\65"]);
goto VARLP;
mo0ZE:
$ada_jawaban_pg = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\61"]);
goto vy4aB;
QiUua:
$skor_koreksi_pg2 = 0.0;
goto AbSTM;
M6bsB:
$benar_is = 0;
goto TQruN;
XOsBq:
$input_jod = 0;
goto ymk0z;
vD9Uh:
$input_is = 0;
goto rttoz;
H2_Tm:
ZSqAw:
goto HAdy4;
M6LMv:
V073n:
goto kw6tT;
C87AZ:
$input_is = $nilai_input->isian_nilai;
goto XQy5E;
uMkPK:
if (!($nilai_input != null && $nilai_input->kompleks_nilai != null)) {
goto VZn3Q;
}
goto rucPn;
dU7AZ:
$ada_jawaban_isian = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\64"]);
goto oCduw;
dgadW:
foreach ($jawaban_is as $num => $jawab_is) {
goto hBYqX;
gw7dG:
$otomatis_is = $jawab_is->nilai_otomatis;
goto PUCVF;
JXzzu:
$benar = $jawab_is != null && strtolower($jawab_is->jawaban_siswa) == strtolower($jawab_is->jawaban_benar);
goto iLM1g;
MM3gM:
b7eb3:
goto gw7dG;
hBYqX:
$skor_koreksi_is += $jawab_is->nilai_koreksi;
goto JXzzu;
PUCVF:
AQf_E:
goto HDzyB;
iLM1g:
if (!$benar) {
goto b7eb3;
}
goto chRgg;
chRgg:
$benar_is++;
goto MM3gM;
HDzyB:
}
goto SR7IV;
g2Oh3:
$benar_pg2 = 0;
goto QiUua;
EZnVu:
$jawaban_pg2 = $ada_jawaban_pg2 ? $jawabans_siswa[$siswa->id_siswa]["\x32"] : [];
goto g2Oh3;
Jyebw:
$skor_es = $input_es != 0 ? $input_es : ($otomatis_es == 0 ? $s_es : $skor_koreksi_es);
goto xpF7l;
gTdRQ:
$jawaban_es = $ada_jawaban_essai ? $jawabans_siswa[$siswa->id_siswa]["\x35"] : [];
goto W6rwc;
rucPn:
$input_pg2 = $nilai_input->kompleks_nilai;
goto ztisb;
p_E7H:
$insert["\x69\x64\x5f\x73\151\x73\167\x61"] = $siswa->id_siswa;
goto Wxgfm;
ZSeWP:
$ada_jawaban_jodoh = $ada_jawaban && isset($jawabans_siswa[$siswa->id_siswa]["\x33"]);
goto dU7AZ;
BMM1X:
$skor_koreksi_jod = 0.0;
goto Y4NML;
Gmjel:
$jawaban_is = $ada_jawaban_isian ? $jawabans_siswa[$siswa->id_siswa]["\64"] : [];
goto M6bsB;
z7kD7:
$insert["\152\x6f\x64\x6f\150\153\141\x6e\137\x6e\x69\154\x61\151"] = round($skor_jod, 2);
goto gd_zW;
rttoz:
if (!($nilai_input != null && $nilai_input->isian_nilai != null)) {
goto ql2fB;
}
goto C87AZ;
RXnr9:
if (!($info->tampil_esai > 0)) {
goto if7Rz;
}
goto aUR9k;
s8Fsj:
foreach ($jawaban_pg as $jwb_pg) {
goto wsvtb;
LV14x:
goto XJnPv;
goto T3O_a;
oK9rO:
M9Q4V:
goto TWu0U;
wsvtb:
if (!($jwb_pg != null && $jwb_pg->jawaban_siswa != null)) {
goto NvgWY;
}
goto M_wKj;
w9LUc:
XJnPv:
goto kGeP2;
kGeP2:
NvgWY:
goto oK9rO;
T3O_a:
ET4y9:
goto BEwZd;
M_wKj:
if (strtoupper($jwb_pg->jawaban_siswa) == strtoupper($jwb_pg->jawaban_benar)) {
goto ET4y9;
}
goto oSy0G;
BEwZd:
$benar_pg += 1;
goto w9LUc;
oSy0G:
$salah_pg += 1;
goto LV14x;
TWu0U:
}
goto kqkom;
BXFLT:
$jawaban_jodoh = $ada_jawaban_jodoh ? $jawabans_siswa[$siswa->id_siswa]["\63"] : [];
goto dQs7m;
FwizX:
$s_pg2 = $bagi_pg2 == 0 ? 0 : $benar_pg2 / $bagi_pg2 * $bobot_pg2;
goto eFnEC;
QNpZ5:
}
goto Xapk2;
TBJwe:
$bagi_essai = $info->tampil_esai / 100;
goto rIaqn;
XCSyy:
$bagi_isian = $info->tampil_isian / 100;
goto qYi3z;
CiT80:
$bobot_pg2 = $info->bobot_kompleks / 100;
goto sTLNO;
QG5wF:
axA91:
goto tKaWz;
Gk6uV:
$ids = [];
goto c_jFK;
Zkckc:
crMwY:
goto ts7WM;
P7SCC:
$bobot_jodoh = $info->bobot_jodohkan / 100;
goto XCSyy;
rIaqn:
$bobot_essai = $info->bobot_esai / 100;
goto FKjKF;
mfd2j:
}
private function nilaiSignifikansi($jml)
{
goto nFdvu;
BRGIL:
RutnJ:
goto Q7MSX;
ayYRy:
Or7f0:
goto Tv7e1;
d7JwE:
i6te5:
goto fNmEM;
Q7MSX:
goto qy6Vl;
goto FB8w1;
RyWR3:
return $list[$jml]["\x31"];
goto P6jZ5;
PX654:
$keys = 4;
goto d7JwE;
aWuv8:
return $list[$keys]["\65"];
goto BRGIL;
jEVA0:
if (isset($list[$jml]["\65"])) {
goto Or7f0;
}
goto RyWR3;
wH3YV:
zcqq1:
goto aWuv8;
P6jZ5:
goto gkgyA;
goto ayYRy;
HQCWZ:
goto RutnJ;
goto wH3YV;
fNmEM:
if (isset($list[$keys]["\x35"])) {
goto zcqq1;
}
goto ciMSp;
hzpb9:
$keys = $this->getClosest($jml, array_keys($list));
goto WWOGl;
ciMSp:
return $list[$keys]["\61"];
goto HQCWZ;
WWOGl:
if (!($keys < 4)) {
goto i6te5;
}
goto PX654;
kozSA:
qy6Vl:
goto l9vpa;
FB8w1:
eNM8x:
goto jEVA0;
Tv7e1:
return $list[$jml]["\x35"];
goto I0rC0;
iyVDz:
if (isset($list[$jml])) {
goto eNM8x;
}
goto hzpb9;
nFdvu:
$list = [3 => [5 => 0.997], [1 => 0.999], 4 => [5 => 0.95], [1 => 0.99], 5 => [5 => 0.878], [1 => 0.959], 6 => [5 => 0.8110000000000001], [1 => 0.917], 7 => [5 => 0.754], [1 => 0.874], 8 => [5 => 0.707], [1 => 0.834], 9 => [5 => 0.666], [1 => 0.798], 10 => [5 => 0.632], [1 => 0.765], 11 => [5 => 0.602], [1 => 0.735], 12 => [5 => 0.576], [1 => 0.708], 13 => [5 => 0.553], [1 => 0.6840000000000001], 14 => [5 => 0.532], [1 => 0.661], 15 => [5 => 0.514], [1 => 0.641], 16 => [5 => 0.497], [1 => 0.623], 17 => [5 => 0.482], [1 => 0.606], 18 => [5 => 0.468], [1 => 0.59], 19 => [5 => 0.456], [1 => 0.575], 20 => [5 => 0.444], [1 => 0.5610000000000001], 21 => [5 => 0.433], [1 => 0.549], 22 => [5 => 0.423], [1 => 0.537], 23 => [5 => 0.413], [1 => 0.526], 24 => [5 => 0.404], [1 => 0.515], 25 => [5 => 0.396], [1 => 0.505], 26 => [5 => 0.388], [1 => 0.496], 27 => [5 => 0.381], [1 => 0.487], 28 => [5 => 0.374], [1 => 0.478], 29 => [5 => 0.367], [1 => 0.47], 30 => [5 => 0.361], [1 => 0.463], 31 => [5 => 0.355], [1 => 0.456], 32 => [5 => 0.349], [1 => 0.449], 33 => [5 => 0.344], [1 => 0.442], 34 => [5 => 0.339], [1 => 0.436], 35 => [5 => 0.334], [1 => 0.43], 36 => [5 => 0.329], [1 => 0.424], 37 => [5 => 0.325], [1 => 0.418], 38 => [5 => 0.32], [1 => 0.413], 39 => [5 => 0.316], [1 => 0.408], 40 => [5 => 0.312], [1 => 0.403], 41 => [5 => 0.308], [1 => 0.398], 42 => [5 => 0.304], [1 => 0.393], 43 => [5 => 0.301], [1 => 0.389], 44 => [5 => 0.297], [1 => 0.384], 45 => [5 => 0.294], [1 => 0.38], 46 => [5 => 0.291], [1 => 0.376], 47 => [5 => 0.288], [1 => 0.372], 48 => [5 => 0.284], [1 => 0.368], 49 => [5 => 0.281], [1 => 0.364], 50 => [5 => 0.279], [1 => 0.361], 55 => [5 => 0.266], [1 => 0.345], 60 => [5 => 0.254], [1 => 0.33], 65 => [5 => 0.244], [1 => 0.317], 70 => [5 => 0.235], [1 => 0.306], 75 => [5 => 0.227], [1 => 0.296], 80 => [5 => 0.22], [1 => 0.286], 85 => [5 => 0.213], [1 => 0.278], 90 => [5 => 0.207], [1 => 0.27], 95 => [5 => 0.202], [1 => 0.263], 100 => [5 => 0.195], [1 => 0.256], 125 => [5 => 0.176], [1 => 0.23], 150 => [5 => 0.159], [1 => 0.21], 175 => [5 => 0.149], [1 => 0.194], 200 => [5 => 0.138], [1 => 0.191], 300 => [5 => 0.113], [1 => 0.181], 400 => [5 => 0.098], [1 => 0.148], 500 => [5 => 0.08799999999999999], [1 => 0.128], 600 => [5 => 0.08], [1 => 0.115], 700 => [5 => 0.074], [1 => 0.105], 800 => [5 => 0.07000000000000001], [1 => 0.091], 900 => [5 => 0.065], [1 => 0.08599999999999999], 1000 => [5 => 0.062], [1 => 0.081]];
goto iyVDz;
I0rC0:
gkgyA:
goto kozSA;
l9vpa:
}
function getClosest($search, $arr)
{
goto s2H69;
ryDDW:
eeAvi:
goto MZ7Mx;
s2H69:
$closest = null;
goto M15Vm;
MZ7Mx:
return $closest;
goto NCw6U;
M15Vm:
foreach ($arr as $item) {
goto MQ5R1;
RT_mk:
$closest = $item;
goto XplAx;
XplAx:
isCZy:
goto EpbRQ;
MQ5R1:
if (!($closest === null || abs($search - $closest) > abs($item - $search))) {
goto isCZy;
}
goto RT_mk;
EpbRQ:
gjvSO:
goto D66sM;
D66sM:
}
goto ryDDW;
NCw6U:
}
}
Function Calls
None |
Stats
MD5 | 30f1573255fb559734d8bf2cd7bd3925 |
Eval Count | 0 |
Decode Time | 172 ms |