crowdAI is shutting down - please read our blog post for more information
Optimizing train schedules
By SBB CFF FFS
about 1 year ago
I tried to check my solution of the problem instance 3, but all I get is a 404. The exact text:
upload finished with status 200
validation finished with status 404
WARNING: don’t know how to translate ‘timestamp’’. I will leave it as is.
WARNING: don’t know how to translate ‘status’’. I will leave it as is.
WARNING: don’t know how to translate ‘error’’. I will leave it as is.
WARNING: don’t know how to translate ‘exception’’. I will leave it as is.
WARNING: don’t know how to translate ‘path’’. I will leave it as is.
Traceback (most recent call last):
File “validate_solution.py”, line 50, in
validation_result = do_loesung_validation(scenario, solution)
File "validate_solution.py", line 45, in do_loesung_validation
validation_result = translate.translate_message_word_for_word(validation_result)
File "C:\Users\Leo\Documents\projekte\sbb\translate.py", line 95, in translate_message_word_for_word
for violation in validation_result['business_rules_violations']:
Is this a problem with my solution or an error in the remote checker?
about 1 year ago |
404 means “resource not found”. It would suggest that it cannot find something important. It typically happens when the solution contains an incorrect problem_instance_hash.
However, in this case there seem to be other problems.
Could you send me both the solution you are trying to validate and the corresponding problem instance? Since attachments are not possible here, you can email them as a zip to email@example.com
I will follow up tomorrow. Cheers
Indeed the problem was that in the solution file model_03_FWA_0.125_result.json you indicated that this solution is intended for problem instance 07_V1.22_FWA (problem_instance_hash -1799980237). What then happens is that our validator service does not find any problem instance with this hash in its memory - hence the “Resource Not Found” Exception.
What you of course meant was that this should be a solution for problem instance 03 with problem_instance_hash 934543999.
If you correct that, your solution validates and has 0 errors and only the standard “wrong hash warning”, which you can ignore. In other words, it is a perfect solution to this problem instance. Well done!
about 1 year ago |
Thanks a lot for the fast response @jordiju! I had some mix up with my code that creates the final file and it mixed up two solutions.