Skip to content

Commit

Permalink
Fix task_yaml communication not giving any points.
Browse files Browse the repository at this point in the history
  • Loading branch information
mraron committed Apr 11, 2024
1 parent 39f3bf3 commit 3537161
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/problems/config/task_yaml/task_yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,8 @@ func (p Problem) makeCompiler() problems.Compiler {

func (p Problem) GetTaskType() problems.TaskType {
if p.tasktype == "communication" {
return communication.New(p.makeCompiler(), p.managerBinary, p.Checker(), evaluation.InteractiveRunnerWithExecutor(&evaluation.TaskYAMLUserInteractorExecute{}))
eval := &evaluation.TaskYAMLUserInteractorExecute{}
return communication.New(p.makeCompiler(), p.managerBinary, eval, evaluation.InteractiveRunnerWithExecutor(eval))
} else if p.tasktype == "batch" {
return batch.New(p.makeCompiler(), evaluation.BasicRunnerWithChecker(p.Checker()))
} else if p.tasktype == "stub" {
Expand Down

0 comments on commit 3537161

Please sign in to comment.