- Submit a solution
- Click "edit" from the status page
- Edit your existing local file
- Click browse and select your local file to upload
- Click submit
The uploaded file should be submitted and not the code in the editor; this is how it would behave if I were on this page after clicking submit.
The code in the editor is submitted, which has more than once caused me a duplicate WA or CE.
As of now it isn't obvious if the code submitted is the one from the uploaded file or the one in the editor. This would be more clear if upon clicking browse and choosing a file the editor would become disabled. Optionally, there could be a button to clear the selected file or a checkbox/radio buttons to explicitly select which to send.
Perhaps an even better alternative would be for browse to upload the file and load it into the editor, allowing you to clearly see what you are submitting.
At the very least, when the submit page is in edit mode, there should be no "browse ..." button if it's not going to work.