Module 2 Graded Lab Issues - GRADER ERROR

Hi [Instructor/Support Team],

I’m running into repeated grading issues in the lab. Although my code produces correct results — including valid API responses and correctly named columns — the grader continues to fail my submissions. However, all the codes I made matches the expected answers exactly. Below are the specific issues I encountered, along with my corresponding code for each exercise.

Exercise 1: Failed test case: The keys in params dictionary do not match the expected values. The keys are correct, but the values do not match the expected ones.

Exercise 2: Failed test case: You have the correct columns in the census_df DataFrame, but the values do not match the expected values. Make sure you created the DataFrame correctly.

Exercise 7: Failed test case: priority_score has a wrong type
Expected:
<class ‘pandas.core.series.Series’>,
but got:
<class ‘list’>.

Exercise 8: Failed test case: z_score_outliers has a correct number of rows, but its values are not right. If you had any errors in the exercises 2 or 3, that might be the cause..

Strangely enough… questions 3-6 got 100% full credit.

Hi Rick. If the output matches exactly what you see in the expected output screenshots, you can send me your notebook via direct message. You can click my name then the blue Message button. We’ll investigate and try to resolve by early next week. Thanks.

I am also having the same issue with different labs. All the individual results are good (passed), but the total grade fails. Sometimes, the kernel starts and “Run All Cells” works, and sometimes nothing works.

Hi, and welcome to the Forum. Please create a separate topic about this and post the grader feedback for a particular lab so we can get more context. Thank you.

Hello @Hammad_Niaz.

Just as an addition to @chris.favila’s response: You should run all cells (in order) before submitting the assignment for grading. Most of the time, simply doing this will ensure all your exercises are graded correctly. If it doesn’t work, please create another post in the forum with more details about the labs and exercises you are having issues with (including the error message).

Good luck and welcome to the forum :slight_smile: