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.