Set minTimeIntervention to 30 min for Java

This commit is contained in:
Sebastian Serth
2021-11-30 21:35:14 +01:00
parent e90a79a069
commit 5b09722c20

View File

@ -832,7 +832,11 @@ var CodeOceanEditor = {
const percentile75 = data['working_time_75_percentile'];
const accumulatedWorkTimeUser = data['working_time_accumulated'];
const minTimeIntervention = 10 * 60 * 1000;
let minTimeIntervention = 10 * 60 * 1000;
if ($('#editor').data('exercise-id') === 909) {
// 30 minutes for our large Map exercise
minTimeIntervention = 30 * 60 * 1000;
}
let timeUntilIntervention;
if ((accumulatedWorkTimeUser - percentile75) > 0) {