# Assignment 2 passed with 100% score, but the output isn't entirely correct for UNQ\_C9 and UNQ\_C10

**URL:** <https://community.deeplearning.ai/t/assignment-2-passed-with-100-score-but-the-output-isnt-entirely-correct-for-unq-c9-and-unq-c10/274969>\
**Category:** NLP with Attention Models\
**Tags:** week-module-2\
**Created:** [February 16, 2023, 6:48am UTC](https://community.deeplearning.ai/t/assignment-2-passed-with-100-score-but-the-output-isnt-entirely-correct-for-unq-c9-and-unq-c10/274969 "2023-02-16T06:48:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![R\_Wang](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/r_wang/32/38959_2.png) [@R\_Wang](https://community.deeplearning.ai/u/R_Wang)\
**Post date:** [February 16, 2023, 6:48am UTC](https://community.deeplearning.ai/t/assignment-2-passed-with-100-score-but-the-output-isnt-entirely-correct-for-unq-c9-and-unq-c10/274969/1 "2023-02-16T06:48:17Z")

</div>

Hi,

I have a very strange issue. I have tried the unit test and it results in me passing all the unit-tests, however, there is a strange matter in it. The UNQ\_C9 and UNQ\_C10 results in some mismatch between the expected output and the actual output. Is it normal because of the training processes? Or I have made a mistake somewhere?

I didn’t rerun the assignments because they took really too long to complete. In that case, it would be really helpful if someone could have a look.

---

<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:** [February 16, 2023, 9:26am UTC](https://community.deeplearning.ai/t/assignment-2-passed-with-100-score-but-the-output-isnt-entirely-correct-for-unq-c9-and-unq-c10/274969/2 "2023-02-16T09:26:16Z")

</div>

If you passed all the assignment tests and got 100% then it should not matter, might be a rounding issue.

---

<div class="post-metadata">

**Author:** ![R\_Wang](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/r_wang/32/38959_2.png) [@R\_Wang](https://community.deeplearning.ai/u/R_Wang)\
**Post date:** [February 16, 2023, 9:53am UTC](https://community.deeplearning.ai/t/assignment-2-passed-with-100-score-but-the-output-isnt-entirely-correct-for-unq-c9-and-unq-c10/274969/3 "2023-02-16T09:53:20Z")

</div>

Sounds good to me~ In any case, I still hope to understand the source of error. 😜

---

<div class="post-metadata">

**Author:** ![Izak\_van\_Zyl\_Marais](https://avatars.discourse-cdn.com/v4/letter/i/a183cd/32.png) [@Izak\_van\_Zyl\_Marais](https://community.deeplearning.ai/u/Izak_van_Zyl_Marais)\
**Post date:** [July 27, 2023, 6:23am UTC](https://community.deeplearning.ai/t/assignment-2-passed-with-100-score-but-the-output-isnt-entirely-correct-for-unq-c9-and-unq-c10/274969/4 "2023-07-27T06:23:50Z")

</div>

I have a similar problem: UNQ\_C9 does not output ‘The’ (it outputs ‘0’). For this section one of the unit tests fail.

Then for UNQ\_C10, I can see the summaries look reasonable but are not exactly the same.

After submission everything passes with 100%.

---

<div class="post-metadata">

**Author:** ![Igor\_Bilogrevic](https://avatars.discourse-cdn.com/v4/letter/i/df705f/32.png) [@Igor\_Bilogrevic](https://community.deeplearning.ai/u/Igor_Bilogrevic)\
**Post date:** [August 3, 2023, 2:55pm UTC](https://community.deeplearning.ai/t/assignment-2-passed-with-100-score-but-the-output-isnt-entirely-correct-for-unq-c9-and-unq-c10/274969/5 "2023-08-03T14:55:36Z")

</div>

I have a similar issue with UNQ\_C9. Any help is appreciated, thanks!

 ![Screenshot 2023-08-03 at 16.53.22](https://global.discourse-cdn.com/dlai/original/3X/9/e/9e0a300f2fbbbc219f4c553d284e1dcb7d24ee89.jpeg)
