Hacker News new | past | comments | ask | show | jobs | submit login

What happens when you submit code?



The code gets uploaded to the server which sends it to an "engine" sitting in a Docker container. The engine generates test cases and send them with the code to another Docker container where the code is run. Then the output from your code is sent back to the engine which checks to see how many test cases you got correct before sending all the information back to your browser.

You can check out the engine code on GitHub if you're interested in the details: https://github.com/project-lovelace/lovelace-engine




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: