It's UWAweek 48

help2003/help4407

This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

How do I ask a good question?
Displaying the 23 articles in this topic
Showing 23 of 564 articles.
Currently no other people reading this forum.


 UWA week 21 (1st semester, week 12) ↓
SVG not supported

Login to reply

👍x2
helpful
4:00pm Thu 26th May, Daniel S.

I know you're all keen for some Project 1 feedback before Project 2 is due, so here are some tips from me, based on common mistakes that I saw while marking: - Test to make sure your code it do all the examples shown in the project page. - Test your code INSIDE THE DOCKER ENVIRONMENT. Shell commands on mac DO NOT behave the same as on linux - Make sure you name your files correctly as specified on the assignment page - Use sensible variable names and consistent indenting - Avoid repeating large sections of code. Use functions or subscripts to avoid this, or ideally, rearrange your code so that stuff only needs to happen once


SVG not supported

Login to reply

👍?
helpful
6:22pm Thu 26th May, Terra T.

Hey Daniel, Thanks for the feedback! Just so you know, the second assignment was due on Monday night :)


SVG not supported

Login to reply

👍x1
helpful
8:21pm Thu 26th May, ANONYMOUS

Are you joking? Giving tips 3 days after the due day of assignment 2?


SVG not supported

Login to reply

👍?
helpful
8:52pm Thu 26th May, ANONYMOUS

Thankyou for this invaluable feedback. Appreciate it


SVG not supported

Login to reply

👍?
helpful
8:57pm Thu 26th May, ANONYMOUS

You know project 2 was due on Monday, right?


SVG not supported

Login to reply

👍?
helpful
9:11pm Thu 26th May, ANONYMOUS

Considering the feedback was released after the deadline, is it save to assume that we will not be penalized on the above points?


SVG not supported

Login to reply

👍?
helpful
9:25pm Thu 26th May, ANONYMOUS

you wanna but your house on that


SVG not supported

Login to reply

👍x1
helpful
10:30pm Thu 26th May, Michael W.

ANONYMOUS wrote:
> Considering the feedback was released after the deadline, is it save to assume that we will not be penalized on the above points?
Hi Everyone, While Daniels post at this late stage is a little unhelpful, let's analyse what he said. To recap """ 1 Test to make sure your code it do all the examples shown in the project page. 2 Test your code INSIDE THE DOCKER ENVIRONMENT. Shell commands on mac DO NOT behave the same as on linux 3 Make sure you name your files correctly as specified on the assignment page 4 Use sensible variable names and consistent indenting 5 Avoid repeating large sections of code. Use functions or subscripts to avoid this, or ideally, rearrange your code so that stuff only needs to happen once """ (I have just number the points). *) Points 3, 4 and 5 are things that I've raised in the lectures (generally several times). *) Point 1 is really just sensible advice, seeing I gave you test data and target output. More to the point, for Ass2 I said that small examples need to be exact, while, for the larger texts, we will allow a margin of 10% *) Point 2 is something we encountered when a student came to us with perplexing code issues (looked right but didn't quite work), when we discovered that that was due to his code being created on a Mac and the standard environment being used in the unit is Ubuntu. Mostly that does not matter (my solutions were developed on a Mac, but all the assignments were tested on a Ubuntu machine). Unfortunately, that particular person used features only found in the Mac implementation (I think of Sed). You are unlikely to encounter that problem, but that is why we got you to set up Docker. In short, nothing new, really. Fair enough? BTW, I am really sorry that Ass1 marking has taken so long. Not my usual standard, but there were a number of things I did not anticipate, which bogged things down. Cheers MichaelW


SVG not supported

Login to reply

👍x1
helpful
11:13pm Thu 26th May, ANONYMOUS

I think a lot of people just worried because for this unit marking is pretty strict, its either you get it right and get the marks, or you dont get it right and lose a lot of marks. That's why 50% of the grade that "hangs in the air" at the moment is pretty pressuring. But thanks for the feedback anyway, looking forward to get the marks for ass1


SVG not supported

Login to reply

👍?
helpful
9:23am Fri 27th May, Michael W.

Fair enough. In the next hour. M


SVG not supported

Login to reply

👍?
helpful
9:58am Fri 27th May, Michael W.

Not so fast ..... Because CITS2003 and CITS4407 are aliased I can't upload marks for feedback. Chris can fix it, but needs to go to a meeting. Should be done by lunchtime. <sigh> M


SVG not supported

Login to reply

👍?
helpful
12:01pm Fri 27th May, ANONYMOUS

Hi Michael, we are about to have lunch now. I suppose you have a different lunchtime than us. Makes sense? Fair enough? <sigh>


SVG not supported

Login to reply

👍x4
helpful
12:01pm Fri 27th May, Terra T.

Hi Michael, I wanted to point out that nowhere on the assignment spec does it say what environment we're being tested on. In the labs we've been told to use Docker, but in the lectures, you've been using your own Mac environment. I also understand that we're not supposed to repeat large chunks of code, however we were only taught how to use shell functions in week 11. I'm not sure our first assignment should be graded against using functions if we didn't use them. I understand there are other ways to no repeat code. Finally, the example scripts you worked through with us in the lectures were comparatively small to what our assignment 1 and assignment 2 were asking of us. In terms of style, we had nothing to compare to. Yes, we understand that we ought to use sensible variable names, but we may not have had any experience with writing long scripts (particularly if you're a first-year student with no programming experience), and therefore do not know what style a long script could have.


SVG not supported

Login to reply

👍?
helpful
2:07pm Fri 27th May, Michael W.

Hi Terra, I never assumed shell functions (because we did it so late), but if you see my suggested breakdown in Ass2 there are multiple scripts, and I have talked about problem decomposition. Thus, my solution to Ass1 called subsidiary shell scripts. If you didn't have them and the resulting script was long, then there may have been a penalty of 0.5 marks on the style side. Not huge. Of course, the fact remains that you are getting this feedback far too late, and I truly apologize for that. Cheers MichaelW


SVG not supported

Login to reply

👍?
helpful
2:29pm Fri 27th May, ANONYMOUS

Dear MichaelW, I saw the email saying the score for assessment 1 has been posted, so does it require time before the score available on css mark system. As for now I still see that the score is not released. Thanks


SVG not supported

Login to reply

👍?
helpful
2:34pm Fri 27th May, Michael W.

Hi, Thanks for letting me know. How's it now? M


SVG not supported

Login to reply

👍?
helpful
2:44pm Fri 27th May, ANONYMOUS

I can confirm, I can see my mark now, thank you


SVG not supported

Login to reply

👍x1
helpful
3:00pm Fri 27th May, ANONYMOUS

There may be an error in Michael's marking. For the word rank script, he seems to be calculating rank as the 'nth row' in an ordered list, rather than doing a proper rank algorithm, that traverses the list and only increments rank if words have different frequencies. For instance, [10 this, 10 is, 10 a 9 list], "9" should be considered the 2nd highest, not the fourth. I don't believe 'cat' should be ranked the 381st most common in Alice in Wonderland. Perhaps I am wrong. I will look more into this.


SVG not supported

Login to reply

👍?
helpful
3:32pm Fri 27th May, Michael W.

ANONYMOUS wrote:
> There may be an error in Michael's marking. For the word rank script, he seems to be calculating rank as the 'nth row' in an ordered list, rather than doing a proper rank algorithm, that traverses the list and only increments rank if words have different frequencies. For instance, [10 this, 10 is, 10 a 9 list], "9" should be considered the 2nd highest, not the fourth. I don't believe 'cat' should be ranked the 381st most common in Alice in Wonderland. > > Perhaps I am wrong. I will look more into this.
Hi, That is not how ranks work. The 3 10's in your example are equal first, and the 9 is fourth. For example, Alice is position 32 or 33 in the ranked list, so I accepted either (seeing I said to pick one). Similarly, in your example, I would have accepted rank 1, 2 or 3 for the words that scored 10. Cheers MichaelW


SVG not supported

Login to reply

👍?
helpful
3:37pm Fri 27th May, ANONYMOUS

I have a feeling the model answers used for the auto-marking was computed using a different set of texts then the set used to test our scripts. I say this because when I test my script on the Alice_in_Wonderland.txt file from week 4 (note the underscores), the frequency rank for 'cat' is 378. But when I test my script on the AliceInWonderland.txt file downloaded from link provided in the Assignment 1 brief, I get the correct answer of 381.



This article has 1 attachment:

 

SVG not supported

Login to reply

👍?
helpful
4:43pm Fri 27th May, ANONYMOUS

Understood. Thank you for clarifying.


SVG not supported

Login to reply

👍?
helpful
5:02pm Fri 27th May, Michael W.

ANONYMOUS wrote:
> I have a feeling the model answers used for the auto-marking was computed using a different set of texts then the set used to test our scripts. > > I say this because when I test my script on the Alice_in_Wonderland.txt file from week 4 (note the underscores), the frequency rank for 'cat' is 378. But when I test my script on the AliceInWonderland.txt file downloaded from link provided in the Assignment 1 brief, I get the correct answer of 381.
The Week 4 script was a good starting point for this assignment, but you need to look at the actual specs and modify it to work with these specs, not the class example. Yes, I did use a number of texts, but Alice was unchanged. Cheers MichaelW


 UWA week 22 (1st semester, study break) ↓
SVG not supported

Login to reply

👍?
helpful
10:12am Tue 31st May, Daniel S.

Whoops. Sorry about the tardiness of this feedback, everyone. Hopefully it's of some use to you in future computing courses.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  1:17AM Sep 14 2022
Privacy policy