【发布时间】:2020-10-28 16:59:52
【问题描述】:
我试图弄清楚 LF 测试脚本在从终端运行时如何输出手动评分的作业。
例如,如果您查看Induction.v 有一个名为plus_comm_informal 的练习,我正在尝试获取测试脚本InductionTest.v 来获取我编写的cmets 或内容。
所以我做了以下尝试猴子调试。
(** **** Exercise: 2 stars, advanced, especially useful (plus_comm_informal)
Translate your solution for [plus_comm] into an informal proof:
Theorem: Addition is commutative.
Proof: (* Let's see how this works! 1*)
Let's see how this works! 2
*)
(** Let's see how this works! 3 *)
(* Let's see how this works! 4 *)
(* Do not modify the following line: *)
Definition manual_grade_for_plus_comm_informal : option (nat*string) := None.
(** [] *)
我保存了文件。然后我用coqc -Q . LF .\Induction.v编译文件,然后用coqc -Q . LF .\InductionTest.v运行测试文件
它的输出并没有给出我在手动评分练习中通过的任何 cmets。 终端输出的相关部分如下。
------------------- plus_comm_informal --------------------
#> Manually graded: plus_comm_informal
Advanced
Possible points: 2
Score: Ungraded
Comment: None
我错过了什么?
【问题讨论】: