Open Harshit28j opened 4 months ago
Here is the working:-
https://github.com/Cloud-CV/EvalAI/assets/48647625/c0784898-94e7-4b6f-925a-ad9de24241b6
:warning: Please install the to ensure uploads and comments are reliably processed by Codecov.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 69.27%. Comparing base (
96968d6
) to head (dcb9f0d
). Report is 1110 commits behind head on master.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@Harshit28j We should remove (1,2,2) instead of appending. Thoughts?
@Harshit28j We should remove (1,2,2) instead of appending. Thoughts?
Yes, @gautamjajoo I agree. Also, since I removed the for loop that uses challenge_phase_split_uuids
to respond to the user about missing UUIDs, I think there is no longer a need for the challenge_phase_split_uuids
variable either.
Edit: I tested in my local code environment and it's working. Instead of removing missing combinations, I removed combinations that already exist, considering this case:
_Let's say we have new combinations from the yaml file (1,2,3) and current_challenge_phasesplit are from host (1,1,1), (1,2,1), (1,2,2). Then if a combination does not exist, it will show a ValueError.
So I only removed combinations that already exist, and it's working fine. I have tried and tested it by both adding and deleting.
This PR resolves #4274
I debug each and every functionality and statements to find out the root cause of this problem and I figured out that issue is from the challenge_phase_split_uuids (which actually holds data value from yaml)
I removed the loop that tell us about the combination in which we have error and added a condition to append the combination if it does not exist in current_phase_split_id (which is from host)
This is how the workflow looks like for validate_challenge_phase_splits
Its somewhat similarly for validate_challenge_phase