# Issue with assignment 2 - income\_day

**URL:** <https://community.deeplearning.ai/t/issue-with-assignment-2-income-day/713149>\
**Category:** Team Software Engineering with AI\
**Tags:** week-module-3, coursera-platform\
**Created:** [October 24, 2024, 6:11am UTC](https://community.deeplearning.ai/t/issue-with-assignment-2-income-day/713149 "2024-10-24T06:11:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nemiga](https://avatars.discourse-cdn.com/v4/letter/n/bcef8e/32.png) [@nemiga](https://community.deeplearning.ai/u/nemiga)\
**Post date:** [October 24, 2024, 6:11am UTC](https://community.deeplearning.ai/t/issue-with-assignment-2-income-day/713149/1 "2024-10-24T06:11:36Z")

</div>

I believe I successfully upgraded the libraries and everything. I even assured that data.csv that is generated by old code (using old libraries) and new code (with upgraded libraries) produces absolutely identical results. However, my submission fails with an error:  
There was an error grading your submission. Details:  
‘income\_day’

1. Completely informative. In a normal development environment I am sure I would receive a lot more information about exactly what fails.
2. What is the problem???

---

<div class="post-metadata">

**Author:** ![gent.spah](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/gent.spah/32/136423_2.png) [@gent.spah](https://community.deeplearning.ai/u/gent.spah)\
**Post date:** [October 24, 2024, 6:53am UTC](https://community.deeplearning.ai/t/issue-with-assignment-2-income-day/713149/2 "2024-10-24T06:53:11Z")

</div>

Ask the LLM why its giving this error (but feed it the code as well), ask about issues with the dependencies version migration! Ask if there is something wrong with the new implementation…

---

<div class="post-metadata">

**Author:** ![nemiga](https://avatars.discourse-cdn.com/v4/letter/n/bcef8e/32.png) [@nemiga](https://community.deeplearning.ai/u/nemiga)\
**Post date:** [October 24, 2024, 7:14am UTC](https://community.deeplearning.ai/t/issue-with-assignment-2-income-day/713149/3 "2024-10-24T07:14:41Z")

</div>

Thank you!  
Asked about 20 times or more using all sorts of prompts. Provided the code, even provided the outputs. Everything.  
Asked way before I posted all that…  
LLM (and probably not even an experienced developer) can tell anything without knowing exactly what the tests do and what exactly fails.  
Does not happen in real life like that.

---

<div class="post-metadata">

**Author:** ![gent.spah](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/gent.spah/32/136423_2.png) [@gent.spah](https://community.deeplearning.ai/u/gent.spah)\
**Post date:** [October 24, 2024, 9:18am UTC](https://community.deeplearning.ai/t/issue-with-assignment-2-income-day/713149/4 "2024-10-24T09:18:31Z")

</div>

Actually when I did it I t was straight forward, send me your code in private let me have a look at it!

---

<div class="post-metadata">

**Author:** ![gent.spah](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/gent.spah/32/136423_2.png) [@gent.spah](https://community.deeplearning.ai/u/gent.spah)\
**Post date:** [October 25, 2024, 9:02am UTC](https://community.deeplearning.ai/t/issue-with-assignment-2-income-day/713149/5 "2024-10-25T09:02:11Z")

</div>

I think your issue is as you say you deleted the json file and that the income day cannot be created.

Check this link, you should reset the whole lab files and resolve the, sometimes you may need to delete all the existing files and get the latest version!

> [@Module 3 Programming Assignement issue](https://community.deeplearning.ai/t/module-3-programming-assignement-issue/698283/37):
>
> Hey all, I’ve updated the assignment to remove the set function, and performing a “manual” deduplication of the list. I have also improved the unittests as well as fixed one value that was wrong (the last expected value as 50 but actually it should be 46). You all may [refresh your workspace](https://www.coursera.org/learn/team-software-engineering-with-ai/item/qEB8o) to get a new copy it it. I would also suggest you all to explicitly tell an LLM to only make the necessary changes in the code to run it in Pyhon 3. If you let it, it will perform several changes and it w…

---

<div class="post-metadata">

**Author:** ![TMosh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/tmosh/32/9321_2.png) [@TMosh](https://community.deeplearning.ai/u/TMosh)\
**Post date:** [October 25, 2024, 5:34pm UTC](https://community.deeplearning.ai/t/issue-with-assignment-2-income-day/713149/6 "2024-10-25T17:34:19Z")

</div>

“Check this link”  
@gent.spah, I think the link is missing from your reply.

---

<div class="post-metadata">

**Author:** ![gent.spah](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/gent.spah/32/136423_2.png) [@gent.spah](https://community.deeplearning.ai/u/gent.spah)\
**Post date:** [October 28, 2024, 5:18am UTC](https://community.deeplearning.ai/t/issue-with-assignment-2-income-day/713149/7 "2024-10-28T05:18:36Z")

</div>

True sometimes I forget thanks @TMosh
