Pybites Logo Rust Platform

Exercises

Code Validation

How code submission and validation works

On this page

Code Validation

When you click Run Tests, your code goes through several validation steps before being compiled and tested.

What Happens When You Submit

Your code is sent to a Rust compiler that:

  • Compiles your code with cargo test
  • Runs all test cases
  • Returns compiler output, test results, and any error messages

Submissions History

Every submission is saved. You can view your submission history by clicking the History toggle below the editor. Each entry shows:

  • The code you submitted
  • Whether it passed or failed
  • When it was submitted

Your most recent code is always loaded when you revisit an exercise, so you can pick up right where you left off.

First pass counts

Points are awarded the first time you pass an exercise. Subsequent successful submissions don't award additional points.