You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The basic idea of this library is that it contains a number of classes that can be used as the check function for an edX custom response problem. Different classes of grader are used for different inputs. We begin by presenting a brief overview on how the grading classes are used in general.
79
79
80
+
### How to Zip Correctly
81
+
82
+
EdX expects packages to be at the top level of the ZIP file. If you zip an entire folder named `python_lib`, the paths end up as `python_lib/mitxgraders/`, `python_lib/voluptuous/`, etc., and edX will fail to locate them.
83
+
84
+
#### Option A (Command Line)
85
+
86
+
1. Go *inside* your local `python_lib` folder that holds `mitxgraders/`, `voluptuous/`, etc.
87
+
2. Run:
88
+
```bash
89
+
zip -r ../python_lib.zip *
90
+
```
91
+
This ensures the zip file contains only the contents of `python_lib/` at the top level.
92
+
93
+
#### Option B (Windows Explorer)
94
+
95
+
1. Open the `python_lib` folder in File Explorer.
96
+
2. Select **all** its contents (e.g. `mitxgraders`, `voluptuous`, etc.).
0 commit comments