It's UWAweek 42 (2nd semester, week 12)

helpOSTS

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 3 articles in this topic
Showing 3 of 445 articles.
Currently 1 other person reading this forum.


 UWA week 26 (mid-year break) ↓
SVG not supported

Login to reply

👍?
helpful
2:00pm Fri 28th Jun, ANONYMOUS

I am pleased with the score I received for Project 2, especially considering the average score was significantly lower. However, I do have some concerns regarding the feedback, particularly about the error output.

In the feedback, my program's output appears disordered, especially the colored error messages. However, this issue does not occur when I run the program on my computer.

Could you please provide details about the tool used to test the projects? It seems there might be compatibility issues with the ASCII escape sequences I used for coloring the error messages.


SVG not supported

Login to reply

👍?
helpful
2:02pm Fri 28th Jun, ANONYMOUS

To be more detailed, this is what the error message looks like in the feedback file:

\033[33mWarning:
\033[0m
\033[0m\033[31mError:
\033[0m\033[33mWarning:
\033[0m\033[33mWarning:
\033[0m\033[33mWarning:
cannot calculate average correlation coefficient for file: ’sample4_clean.tsv’
cannot calculate average correlation coefficient for file: ’sample4_clean.tsv’
cannot calculate average correlation coefficient for file: ’sample4_clean.tsv’
cannot calculate average correlation coefficient for file: ’sample4_clean.tsv’
cannot decide the most predictive mean correlation coefficient: ’sample4_clean.tsv’
current predictor is: ’GDP’
current predictor is: ’Homicide Rate’
current predictor is: ’Life Expectancy’
current predictor is: ’Population’
no entity has a valid correlation coefficient in this context
no entity has a valid correlation coefficient in this context
no entity has a valid correlation coefficient in this context
no entity has a valid correlation coefficient in this context
no valid mean correlation coefficient can be calculated from the file

Actually, it means to be:

\033[33mWarning:
cannot calculate average correlation coefficient for file: 'sample4_clean.tsv'
no entity has a valid correlation coefficient in this context
current predictor is: 'Homicide Rate'
\033[0m\033[33mWarning:
cannot calculate average correlation coefficient for file: 'sample4_clean.tsv'
no entity has a valid correlation coefficient in this context
current predictor is: 'GDP'
\033[0m\033[33mWarning:
cannot calculate average correlation coefficient for file: 'sample4_clean.tsv'
no entity has a valid correlation coefficient in this context
current predictor is: 'Population'
\033[0m\033[33mWarning:
cannot calculate average correlation coefficient for file: 'sample4_clean.tsv'
no entity has a valid correlation coefficient in this context
current predictor is: 'Life Expectancy'
\033[0m\033[31mError:
cannot decide the most predictive mean correlation coefficient: 'sample4_clean.tsv'
no valid mean correlation coefficient can be calculated from the file
\033[0m


SVG not supported

Login to reply

👍?
helpful
3:08pm Fri 28th Jun, Michael W.

ANONYMOUS wrote:

To be more detailed, this is what the error message looks like in the feedback file:

\033[33mWarning:
\033[0m
\033[0m\033[31mError:
\033[0m\033[33mWarning:
\033[0m\033[33mWarning:
\033[0m\033[33mWarning:
cannot calculate average correlation coefficient for file: ’sample4_clean.tsv’
cannot calculate average correlation coefficient for file: ’sample4_clean.tsv’
cannot calculate average correlation coefficient for file: ’sample4_clean.tsv’
cannot calculate average correlation coefficient for file: ’sample4_clean.tsv’
cannot decide the most predictive mean correlation coefficient: ’sample4_clean.tsv’
current predictor is: ’GDP’
current predictor is: ’Homicide Rate’
current predictor is: ’Life Expectancy’
current predictor is: ’Population’
no entity has a valid correlation coefficient in this context
no entity has a valid correlation coefficient in this context
no entity has a valid correlation coefficient in this context
no entity has a valid correlation coefficient in this context
no valid mean correlation coefficient can be calculated from the file

Actually, it means to be:

\033[33mWarning:
cannot calculate average correlation coefficient for file: 'sample4_clean.tsv'
no entity has a valid correlation coefficient in this context
current predictor is: 'Homicide Rate'
\033[0m\033[33mWarning:
cannot calculate average correlation coefficient for file: 'sample4_clean.tsv'
no entity has a valid correlation coefficient in this context
current predictor is: 'GDP'
\033[0m\033[33mWarning:
cannot calculate average correlation coefficient for file: 'sample4_clean.tsv'
no entity has a valid correlation coefficient in this context
current predictor is: 'Population'
\033[0m\033[33mWarning:
cannot calculate average correlation coefficient for file: 'sample4_clean.tsv'
no entity has a valid correlation coefficient in this context
current predictor is: 'Life Expectancy'
\033[0m\033[31mError:
cannot decide the most predictive mean correlation coefficient: 'sample4_clean.tsv'
no valid mean correlation coefficient can be calculated from the file
\033[0m

While I said I'll delay replying till next week, I just need to note that I ran the tests from within an instance of the Docker image, which implements the standard environment. That environment is based on plain text files.

Cheers MichaelW

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  8:08AM Aug 25 2024
Privacy policy