From c078ba94540724d8da97ff74b156544755b6e981 Mon Sep 17 00:00:00 2001 From: Nathaniel Wesley Filardo Date: Mon, 21 Sep 2015 15:04:08 -0400 Subject: [PATCH] Tweak examples --- README.rst | 4 ++-- examples/data | 6 +++++- examples/data.grade | 38 ++++++++++++++++++++++++++++++++++++++ examples/defines.conf | 3 +-- examples/defines.skeleton | 33 +++++++++++++++++++++++++++++++++ 5 files changed, 79 insertions(+), 5 deletions(-) create mode 100644 examples/data.grade create mode 100644 examples/defines.skeleton diff --git a/README.rst b/README.rst index e795c37..cfe617a 100644 --- a/README.rst +++ b/README.rst @@ -55,8 +55,8 @@ something like this:: $END_COMMENTS # Automated test result section + # Un-comment the appropriate directive for each test failed. @tests - # Un-comment the appropriate directive for each test failed. #:ftbfs_all #:simple_test #:more_interesting_test @@ -243,8 +243,8 @@ among other defines :: #! ... # Automated test result section - @tests 0 40 - Functionality Tests # Un-comment the appropriate directive for each test failed. + @tests 0 40 - Functionality Tests #! ... diff --git a/examples/data b/examples/data index f101905..67e5ee8 100644 --- a/examples/data +++ b/examples/data @@ -37,4 +37,8 @@ $END_COMMENTS @tests2 :some_other_test -:yet_another_test +#:yet_another_test + +$BEGIN_COMMENTS + +$END_COMMENTS diff --git a/examples/data.grade b/examples/data.grade new file mode 100644 index 0000000..0212ab1 --- /dev/null +++ b/examples/data.grade @@ -0,0 +1,38 @@ +Packaging: [10.0/10.0] (100.0%) + + Additional Grader Comments: + + Some grader comments on packaging + +Functionality Tests: [28.0/40.0] (70.0%) + + (-6.0) + The buffer-passing test seems to mangle bytes on occasion. + + (-10.0% == -4.0) + There is a minor problem with the buffer-passing test output + when given an unusually long input string. + + (-1.0) + Some small problem happened (see grader commentary below). + + (-1.0) + Some small problem happened (see grader commentary below). + + Additional Grader Comments: + + More grader comments in a different section + +One Last Thing: [8.0/10.0] (80.0%) + + Additional Grader Comments: + + abcd + +More Functionality Tests: [20.0/40.0] (50.0%) + + (-20.0) + SOT + + +TOTAL: [66.0/100.0] (66.0%) diff --git a/examples/defines.conf b/examples/defines.conf index 963164c..24cc3f8 100644 --- a/examples/defines.conf +++ b/examples/defines.conf @@ -11,8 +11,8 @@ The submission failed to compile. @justScoreMe seconly 10 - One Last Thing # Manual test result section -@tests bounding simple 40 - Functionality Tests # Un-comment the appropriate directive for each test failed. +@tests bounding simple 40 - Functionality Tests :simple_test -6 The buffer-passing test seems to mangle bytes on occasion. @@ -23,7 +23,6 @@ There is a minor problem with the buffer-passing test output when given an unusually long input string. . -# May be assessed more than once! ;misc_ding -1 Some small problem happened (see grader commentary below). . diff --git a/examples/defines.skeleton b/examples/defines.skeleton new file mode 100644 index 0000000..3f079ef --- /dev/null +++ b/examples/defines.skeleton @@ -0,0 +1,33 @@ +# Basic features of the handin +@packaging + #:ftbfs_all + +$BEGIN_COMMENTS + +$END_COMMENTS + +# Here is a section without any dings; it uses a different +# section definition to take an argument directly in the +# data file. +@justScoreMe + +$BEGIN_COMMENTS + +$END_COMMENTS + +# Manual test result section +# Un-comment the appropriate directive for each test failed. +@tests + #:simple_test + #:more_interesting_test_minor + #:misc_ding # repeat as needed + +$BEGIN_COMMENTS + +$END_COMMENTS + +# These lines will, despite this section being hidden, still +# appear in the skeleton file. This may be useful for giving +# instructions to graders. + +# This is a second paragraph appearing in the skeleton. -- 2.50.1