P3 grading script available

65 views
Skip to first unread message

Matt Might

unread,
Apr 19, 2013, 2:15:27 PM4/19/13
to utah-compilers-spring-2013
The P3 grading script is now available.

You can run grade-p3 now.

I will collect the directories ~/p3.grade and attempt to match your results.

As with p2, I will email you only if my result differs from the score
you got for yourself.

You have a diff budget.

And, your total diff budget for p3 is 200 lines.

If something goes crazy with your diff, just email me (and your
partner's) uid with an explanation. I'll verify manually. No need to
worry.


As with p2, there are 56 test cases.

6 of them count as bonus, so 112% is the max score.

I'm retroactively making 112% the max score on p2 as well: 56 test
cases, but 6 count as bonus.

-Matt

Colton Myers

unread,
Apr 19, 2013, 4:21:00 PM4/19/13
to Matt Might, utah-compilers-spring-2013
FYI, if you're seeing a high diff right from the get-go, it might be because you removed trailing whitespace in hir-header.rkt.  Matt used the official one, which has a lot of trailing whitespace.  Just copy the one from the .turnin directory to your pytrans directory.  It was a difference of 118 diff for us.  =)

--
Colton Myers



-Matt

--
You received this message because you are subscribed to the Google Groups "Utah Compilers, Spring 2013" group.
To unsubscribe from this group and stop receiving emails from it, send an email to utah-compilers-spri...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Colton Myers

unread,
Apr 19, 2013, 4:23:09 PM4/19/13
to Matt Might, utah-compilers-spring-2013
Nevermind, he used ours -- I must have just removed the trailing whitespace later on accident.  =P

Just check the p3.patch in p3.grade to see the actual diff.  =)

--
Colton Myers

Matt Might

unread,
Apr 19, 2013, 4:23:13 PM4/19/13
to Colton Myers, utah-compilers-spring-2013
Good point.

If it's hir-header.rkt (or any header) that breaks your budget, let me know.

I won't count that either.

Kevin Avery

unread,
Apr 20, 2013, 9:45:59 PM4/20/13
to utah-compiler...@googlegroups.com, Colton Myers, mi...@cs.utah.edu
Can you change the grading scripts so use the -s flag like:

make -s trans < $t > ../p3.grade/p3.hir/$bn.hir

For some reason our makefile always puts the make command at the top of the output...

>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Utah Compilers, Spring 2013" group.
> To unsubscribe from this group and stop receiving emails from it, send an

Parker Wightman

unread,
Apr 20, 2013, 9:50:44 PM4/20/13
to utah-compiler...@googlegroups.com, Colton Myers, mi...@cs.utah.edu
I was having this same problem. You can fix it by doing this:

trans:
        @ ./pytrans

The @ will mute the output. I just about wrote in regarding this as well before I figured this out. A -s would still be nice though.

Parker

Michael Bradshaw

unread,
Apr 20, 2013, 9:50:54 PM4/20/13
to Kevin Avery, Matt Might, Colton Myers, utah-compiler...@googlegroups.com

Did you prefix your make command with @?

To unsubscribe from this group and stop receiving emails from it, send an email to utah-compilers-spri...@googlegroups.com.

Parker Wightman

unread,
Apr 20, 2013, 9:51:07 PM4/20/13
to utah-compiler...@googlegroups.com, Colton Myers, mi...@cs.utah.edu
I was having this same problem. You can fix it by doing this:

trans:
        @ ./pytrans

The @ will mute the output. I just about wrote in regarding this as well before I figured this out. A -s would still be nice though.

Parker

On Saturday, April 20, 2013 7:45:59 PM UTC-6, Kevin Avery wrote:

Kevin Avery

unread,
Apr 20, 2013, 10:01:53 PM4/20/13
to utah-compiler...@googlegroups.com, Colton Myers, mi...@cs.utah.edu
Ah! Thanks for that.
Reply all
Reply to author
Forward
0 new messages