Skip to content

Problem with grader requirements #11

@carsongee

Description

@carsongee

I have a grader that needs additional libraries. They are installed no problem, but when the xqueuewatcher imp loads the grader it doesn't have that library: https://github.com/edx/xqueue-watcher/blob/master/xqueue_watcher/jailedgrader.py#L103

The relevant parts from the grader:

import numpy as np
from numpy import array, matrix
import gradelib
reload(gradelib)
from gradelib import Grader, InvokeStudentFunctionTest, must_define_function, rand, generateRandom2DData

fn = "perceptron"

grader = Grader()
grader.add_input_check(must_define_function(fn))

Should I just make a task in the ansible play to install all the individual coder requirements into the root processes' venv, or is there a better way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions