Discussion:
got 2/3 on assign 0
(too old to reply)
Neo
2011-09-14 00:31:45 UTC
Permalink
Hello everyone, how's everything going?
I was wondering if anyone got a 2/3 on assign 0, with the first test failed.
I created the hello.txt exactly as stated but still failed the test.
Is anyone having the same problem?

Neo
Brad Lushman
2011-09-14 00:53:31 UTC
Permalink
Post by Neo
Hello everyone, how's everything going?
I was wondering if anyone got a 2/3 on assign 0, with the first test failed.
I created the hello.txt exactly as stated but still failed the test.
Is anyone having the same problem?
Neo
There are several 3/3 submissions, and also several 2/3 submissions. If you
tell me who you are, I can investigate further.
Neo
2011-09-14 04:47:56 UTC
Permalink
That'll be great! My userid is t43zhang
Brad Lushman
2011-09-14 16:11:04 UTC
Permalink
Post by Neo
That'll be great! My userid is t43zhang
Marmoset reports your submission as passing now.

jasonbttran
2011-09-14 01:27:32 UTC
Permalink
Post by Neo
Hello everyone, how's everything going?
I was wondering if anyone got a 2/3 on assign 0, with the first test failed.
I created the hello.txt exactly as stated but still failed the test.
Is anyone having the same problem?
Neo
Newline for both lines? What does your hellolines.txt say?
Stephen Pisani
2011-09-14 02:40:03 UTC
Permalink
Post by Neo
Hello everyone, how's everything going?
I was wondering if anyone got a 2/3 on assign 0, with the first test failed.
I created the hello.txt exactly as stated but still failed the test.
Is anyone having the same problem?
Neo
From what I can tell, to get the correct hellolines.txt you need to
create hello.txt as described in the assignment, but to get the correct
hello.txt you have to put one less newline than the assignment specifies.

I have tried two different zips myself, one with hello.txt passing but
hellolines.txt failing and one with hello.txt failing but hellolines.txt
passing. I could mix and match the two to get the 3/3 but that shouldn't
be necessary when following the instructions to the letter, which leads
me to believe the issue is with Marmoset's tests.
Brad Lushman
2011-09-14 02:58:19 UTC
Permalink
Post by Stephen Pisani
From what I can tell, to get the correct hellolines.txt you need to
create hello.txt as described in the assignment, but to get the correct
hello.txt you have to put one less newline than the assignment specifies.
I have tried two different zips myself, one with hello.txt passing but
hellolines.txt failing and one with hello.txt failing but hellolines.txt
passing. I could mix and match the two to get the 3/3 but that shouldn't
be necessary when following the instructions to the letter, which leads
me to believe the issue is with Marmoset's tests.
What everyone is observing is that vi and emacs handle the last line of a
text file differently. Vi treats the enter key at the end of the second line
as creating a third line, whereas emacs does not. So I'd guess that the
people getting 2/3 are the people who created the file with vi, and the people
getting 3/3 are the people who created the file with emacs.

This is a defect in our testing scripts. We'll get them fixed. In the
meantime, vi users, if you want to just get your 3/3, don't press the second
enter.

Brad
Neo
2011-09-14 04:49:04 UTC
Permalink
yeah, I was using the vi
Loading...