# Same code which was earlier gettng passed now failing

**URL:** <https://community.drivendata.org/t/same-code-which-was-earlier-gettng-passed-now-failing/10451>\
**Category:** SNOMED CT Entity Linking\
**Created:** [March 4, 2024, 6:09pm UTC](https://community.drivendata.org/t/same-code-which-was-earlier-gettng-passed-now-failing/10451 "2024-03-04T18:09:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![phoenix16](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@phoenix16](https://community.drivendata.org/u/phoenix16)\
**Post date:** [March 4, 2024, 6:09pm UTC](https://community.drivendata.org/t/same-code-which-was-earlier-gettng-passed-now-failing/10451/1 "2024-03-04T18:09:00Z")

</div>

Same code which was earlier getting passed now failing in smoke as well as normal submission. Only weights are modified.  
Following is print of submission.csv  
note\_id start end concept\_id  
0 12204158-DS-10 182 193 91936005  
1 12204158-DS-10 196 201 1003755004  
saving output as sapns.to\_csv(‘submission.csv’,index=False)  
On local setup submission.csv is having same format as sample submission.  
Not sure why submissions are etting failed with error message  
The submission file your code generated is not a valid submission. Check the execution logs for more details and compare the output of your program with the submission example.

---

<div class="post-metadata">

**Author:** ![chrisk-dd](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@chrisk-dd](https://community.drivendata.org/u/chrisk-dd)\
**Post date:** [March 4, 2024, 6:47pm UTC](https://community.drivendata.org/t/same-code-which-was-earlier-gettng-passed-now-failing/10451/2 "2024-03-04T18:47:43Z")

</div>

@phoenix16 For your submissions, I’m seeing the error message “Zero or negative spans prohibited”. This indicates that your submission.csv contains predicted spans that have zero length.

Can you confirm that you are seeing this error message?

---

<div class="post-metadata">

**Author:** ![phoenix16](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@phoenix16](https://community.drivendata.org/u/phoenix16)\
**Post date:** [March 5, 2024, 4:11am UTC](https://community.drivendata.org/t/same-code-which-was-earlier-gettng-passed-now-failing/10451/3 "2024-03-05T04:11:21Z")

</div>

Thanks. Need to debug  
Though error message is misleading.
