Upgrade to lilac
This commit is contained in:
parent
016ae9011e
commit
f2912e69da
@ -2,7 +2,7 @@ variables:
|
||||
TUTOR_PLUGIN: xqueue
|
||||
TUTOR_IMAGES: xqueue
|
||||
TUTOR_PYPI_PACKAGE: tutor-xqueue
|
||||
OPENEDX_RELEASE: koa
|
||||
OPENEDX_RELEASE: lilac
|
||||
|
||||
include:
|
||||
- project: 'community/tutor-ci'
|
||||
|
||||
@ -29,10 +29,10 @@ In the Open edX studio, edit a course and add a new "Advanced blank problem" ("P
|
||||
<codeparam>
|
||||
<initial_display>
|
||||
# students write your program here
|
||||
print ""
|
||||
print("")
|
||||
</initial_display>
|
||||
<answer_display>
|
||||
print "hello world"
|
||||
print("hello world")
|
||||
</answer_display>
|
||||
<grader_payload>
|
||||
{"output": "hello world", "max_length": 2}
|
||||
@ -41,8 +41,7 @@ In the Open edX studio, edit a course and add a new "Advanced blank problem" ("P
|
||||
</coderesponse>
|
||||
</problem>
|
||||
|
||||
.. note::
|
||||
The queue name must be "openedx".
|
||||
Note that the queue name must be "openedx".
|
||||
|
||||
Save and publish the created unit. Then, access the unit from the LMS and attempt to answer the problem. The answer is sent to the Xqueue service. If you know how to use the Xqueue API, you can access it at http(s)://xqueue.LMS_HOST (in production) or http://xqueue.local.overhang.io (in development). However, the Xqueue API is a bit awkward to use. Tutor provides a simple command-line interface to interact with the Xqueue service.
|
||||
|
||||
@ -75,7 +74,7 @@ Show the first submission that should be graded::
|
||||
|
||||
Grade the submission (in this case, mark it as being correct)::
|
||||
|
||||
$ tutor xqueue submissions grade 1 692c2896cdfc8bdc2d073bc3b3daf928 0.9 true "Good job\!"
|
||||
$ tutor xqueue submissions grade 1 692c2896cdfc8bdc2d073bc3b3daf928 0.9 true "Good job!"
|
||||
{
|
||||
"content": "",
|
||||
"return_code": 0
|
||||
|
||||
2
setup.py
2
setup.py
@ -32,7 +32,7 @@ setup(
|
||||
packages=find_packages(exclude=["tests*"]),
|
||||
include_package_data=True,
|
||||
python_requires=">=3.5",
|
||||
install_requires=["tutor-openedx>=11.0.0,<12.0.0", "requests"],
|
||||
install_requires=["tutor-openedx>=12.0.0,<13.0.0", "requests"],
|
||||
entry_points={"tutor.plugin.v0": ["xqueue = tutorxqueue.plugin"]},
|
||||
classifiers=[
|
||||
"Development Status :: 3 - Alpha",
|
||||
|
||||
@ -1 +1 @@
|
||||
__version__ = "11.0.2"
|
||||
__version__ = "12.0.0"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user