You are required to use GitHub issues to upload your code. There are two steps.
-
Compress your code into a single .tar.gz file (in which the
dune-project
file should be at the root of the package, rather than in an inner directory). Then, encrypt it with the PGP public key attached at the end of this document, getting an ascii text file like the following. You'd better save it as a '.txt' file.-----BEGIN PGP MESSAGE----- wcDMAzeDU5KNWkDZAQv/TbtirFruvoSG+EUF3s4Fnh7OisgrEnW8481K37mOqnDF qcam+xpH8SqY4NMIa5q6z9kas9ji7MOzMLljU4THwLXFSePEV6m45p1UHdmKbKkr ... M9W3Q5eOYcpKNE/iMUqaKeq3nZMEq6LxAiYxP1R1ywnWPpcQY9ghI1JRpuuBuqPt qP4neCvA77yv79PDkLyX8ZFpZanKwtaz54N+OsCf5YlEKGwLKw== =Ve7J -----END PGP MESSAGE-----
-
Create a issue here (click "New issue"), upload your encrypted file by dragging the file into the input box (which finally has the form
[Some text](A link)
), and submit. About 2 minutes later, your issue will get a reply, reporting your scores. Submission Done.
If you want to submit again, you can just edit your issue, delete the old file and upload a new one, instead of creating a new issue.
Your warm-hearted teaching assistants have written a packing tool, which can be downloaded here. Put the binary in your project root directory (the same directory where dune-project
resides), and execute it. It will generate a stu-code.pgp.txt
(step 1 completed). Just submit it.
Warnings:
-
DO NOT post any image link or other link before your code package link, or they may not be judged.
-
DO NOT upload code without encryption. We will consider a penalty if you don't notice us to delete it in time.
-
DO NOT try to hack the grader or do other cheating behaviors. There's going to be serious results.
你需要使用 GitHub Issues 来上传你的代码。
提交代码的步骤如下。
-
把你的代码打包成一个 .tar.gz 格式的文件,其中项目文件 dune-project 应该位于压缩包的根目录下,而不是在内部的某个目录中。然后,把这个压缩包用本页末尾的 PGP 公钥加密,得到一个文本形式的加密后的文件,例如
stu-code.pgp.txt
,形如-----BEGIN PGP MESSAGE----- wcDMAzeDU5KNWkDZAQv/TbtirFruvoSG+EUF3s4Fnh7OisgrEnW8481K37mOqnDF qcam+xpH8SqY4NMIa5q6z9kas9ji7MOzMLljU4THwLXFSePEV6m45p1UHdmKbKkr ... M9W3Q5eOYcpKNE/iMUqaKeq3nZMEq6LxAiYxP1R1ywnWPpcQY9ghI1JRpuuBuqPt qP4neCvA77yv79PDkLyX8ZFpZanKwtaz54N+OsCf5YlEKGwLKw== =Ve7J -----END PGP MESSAGE-----
-
在本仓库的 Issue 中新建一个 issue(自己起一个能辨识的名字),将上面得到的文本文件拖进去上传。上传成功后你就会看到一段形如
[一些文本](一个链接)
的东西出现在内容框里,这时直接提交就行了。两分钟后,你的 issue 下面就会收到评测结果。这样就完成了提交。
如果你想多次提交,可以直接编辑你的 issue,把旧的文件删掉,上传新的文件,然后保存。评测会再次进行。没有必要重新开一个 issue。
贴心的助教为大家写了打包程序,可以在这里下载。把拿到的打包程序放在项目根目录下(跟 dune-project
文件在同一个目录下),执行它,就能得到 stu-code.pgp.txt
(一键完成第一步)。提交它就行了。
注意:
- 不要在代码压缩包链接前放置任何链接。否则可能无法评测你的代码。
- 不要上传没有加密的代码。如果你上传了还不及时通知我们删除,有你好果子吃。
- 不要试图破解评分器或者进行其他作弊行为。否则有你好果子吃。
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBGM1TUQBDACzCCQ4l6FsYmJX2DqU2sABF/kGWNHppWWh0Nbqe4Shx2mHdMDy
sZPHDF7zyHjZXTWLS4jlqRnHs/phGb6CtJIKn+vgyccmAexCAfurrtjYc36yxI4c
koGrwQ6YI5VNXiHZ7+rrq0JqA5jM/Nf8cYCiV6mMy45TNDrdQzem9HcRTITrOcvr
OIpF+M5SSru9Tx0jYN3ycHGGJrc2dediyVNmxjepO3xL5NV7FVfjyRzc/+qU4vdO
QKW4iJ9ykiyBqX7XagOiF/Kf9N1Kr5YV6KkJyIMzg3IszDrb8j58pNVYLlo2xfwe
9luMus9qQ7dSbPiwb7dLLeYQT8bpdJDCzUB0t7ZmVbBrUTNVfbPnWdNQBHArHdG1
7TozTAvtRnZeHIkhgYiJNx1GWp5vMdYjGCWa1wqloENZzTBK83Tdrm0dKAAdiLUG
++EdRxET/6k8DTjsXv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