]> hydra-www.ietfng.org Git - grade/log
grade
9 years agoMove from cmdlib to optparse-applicative
Nathaniel Wesley Filardo [Fri, 30 Sep 2016 19:17:45 +0000 (15:17 -0400)]
Move from cmdlib to optparse-applicative

The shenanigans inside cmdlib finally broke and so here we are, redoing
the UI layer.  I've tried to keep it friendly and compatible, but I
expect some breakage.  Look for follow-up commits!

9 years agoTidy error reporting
Nathaniel Wesley Filardo [Fri, 30 Sep 2016 17:25:15 +0000 (13:25 -0400)]
Tidy error reporting

9 years agoSkeleton: comment out comment delimeters
Nathaniel Wesley Filardo [Sun, 25 Sep 2016 02:56:42 +0000 (22:56 -0400)]
Skeleton: comment out comment delimeters

9 years agoModernize trifecta
Nathaniel Wesley Filardo [Sun, 25 Sep 2016 02:56:13 +0000 (22:56 -0400)]
Modernize trifecta

10 years agoBreak word parse util into two pieces
Nathaniel Wesley Filardo [Tue, 16 Feb 2016 03:25:01 +0000 (22:25 -0500)]
Break word parse util into two pieces

10 years agoSkeleton comments changes main
Nathaniel Wesley Filardo [Wed, 30 Sep 2015 19:21:18 +0000 (15:21 -0400)]
Skeleton comments changes

Allow structured comments everywhere, as we sometimes want #!.

Comment out the @ lines when generating skeletons, so that an unmodified
skeleton elicits an error from grade rather than a default score, which is
a perfect score with the Score modules currently in tree.

10 years agoTweak GRADE program behavior
Nathaniel Wesley Filardo [Sat, 26 Sep 2015 02:54:38 +0000 (22:54 -0400)]
Tweak GRADE program behavior

We now print out the highest total at standard verbosity, or all
scores at higher verbosities.

The earlier refactoring in 5b4b1350a9b01ac9 had suppressed error
printout during grade operation; this commit adds it back, too.

10 years agoTrivial whitespace fixes
Nathaniel Wesley Filardo [Sat, 26 Sep 2015 02:54:22 +0000 (22:54 -0400)]
Trivial whitespace fixes

10 years agoSlightly change skeleton ding comment handling
Nathaniel Wesley Filardo [Sat, 26 Sep 2015 02:54:10 +0000 (22:54 -0400)]
Slightly change skeleton ding comment handling

10 years agoAdd function for totaling report
Nathaniel Wesley Filardo [Sat, 26 Sep 2015 02:53:51 +0000 (22:53 -0400)]
Add function for totaling report

10 years agoFactor out parsing core to Grade.GradeIO
Nathaniel Wesley Filardo [Wed, 23 Sep 2015 02:59:29 +0000 (22:59 -0400)]
Factor out parsing core to Grade.GradeIO

10 years agoTweak examples
Nathaniel Wesley Filardo [Mon, 21 Sep 2015 19:04:08 +0000 (15:04 -0400)]
Tweak examples

10 years agoAdd newline to end of report printout
Nathaniel Wesley Filardo [Mon, 21 Sep 2015 19:18:04 +0000 (15:18 -0400)]
Add newline to end of report printout

10 years agoImprove ding printout in skeleton
Nathaniel Wesley Filardo [Mon, 21 Sep 2015 19:03:39 +0000 (15:03 -0400)]
Improve ding printout in skeleton

10 years agoPrint dings in order in the defines
Nathaniel Wesley Filardo [Mon, 21 Sep 2015 19:01:53 +0000 (15:01 -0400)]
Print dings in order in the defines

Rather than in sorted order by key.

10 years agoGobble whitespace after section header in defines
Nathaniel Wesley Filardo [Mon, 21 Sep 2015 18:59:13 +0000 (14:59 -0400)]
Gobble whitespace after section header in defines

10 years agoImprove suppression of Additional Grader Comments
Nathaniel Wesley Filardo [Mon, 21 Sep 2015 15:59:52 +0000 (11:59 -0400)]
Improve suppression of Additional Grader Comments

Rather than emitting any time there's a comment block at all, scan to
see if there are any non-whitespace bytes.  Since the skeleton files
always contain empty comment blocks, this should help in the case when
graders do not delete them.

10 years agoMove parse utilities to their own module
Nathaniel Wesley Filardo [Mon, 21 Sep 2015 15:59:06 +0000 (11:59 -0400)]
Move parse utilities to their own module

10 years agoAdd grade-dir command for bulk processing
Nathaniel Wesley Filardo [Mon, 14 Sep 2015 22:58:47 +0000 (18:58 -0400)]
Add grade-dir command for bulk processing

10 years agoAdd Grade.Score.Commenting
Nathaniel Wesley Filardo [Sat, 12 Sep 2015 03:26:12 +0000 (23:26 -0400)]
Add Grade.Score.Commenting

This adds 0-point dings which decline to print out any score modifiers.

10 years agoAdd support for section arguments in data file
Nathaniel Wesley Filardo [Fri, 11 Sep 2015 23:57:26 +0000 (19:57 -0400)]
Add support for section arguments in data file

See Grade.Section.SectionOnly for an example of how this could be used.

While here, break SecCallback into a core and existential wrapper;
this makes it a little easier for the scoring modules to write down
meaningful types as a kind of machine-checked documentation.

10 years agoMove some 'grading' work to the data parser
Nathaniel Wesley Filardo [Fri, 11 Sep 2015 23:47:20 +0000 (19:47 -0400)]
Move some 'grading' work to the data parser

10 years agoSplit out DingMeta too
Nathaniel Wesley Filardo [Thu, 10 Sep 2015 03:40:18 +0000 (23:40 -0400)]
Split out DingMeta too

10 years agoMove section metadata to its own data type
Nathaniel Wesley Filardo [Thu, 10 Sep 2015 02:28:38 +0000 (22:28 -0400)]
Move section metadata to its own data type

10 years agoInitial Haskell version
Nathaniel Wesley Filardo [Mon, 31 Aug 2015 08:00:08 +0000 (04:00 -0400)]
Initial Haskell version