Does my agent.py fit the contract?
Drop your file in, give your group code, and it is run in a sandbox against the same
ten protocol checks your own agent_unittest.py runs — the same
file, byte for byte — plus three real 750-day runs on your report market, the one of the four your group code
picks.
Run python3 selfcheck.py in your own folder first
(on Windows, python selfcheck.py).
It is instant, needs no network, and you can run it as often as you like. This page
is limited to one check per group every 10 minutes, and it is
for the one thing your laptop
cannot tell you: what happens when your agent.py is on its own,
which is how the competition loads it.
Drop agent.py here
or click to choose it
One check per group every 10 minutes.
What your code printed
Three things worth knowing
A check can fail here and pass on your laptop, and that is the point.
In your own folder, desk.py and the rest of your project sit next to
agent.py, so importing them works. Here — and in the competition
— agent.py is alone. If loads on its own is red here and
green on your laptop, that is what it is telling you. The import line above it is
red in both places, and names the line. This page also runs the competition's Python,
numpy and pandas, named at the top of your results, so a laptop on another one can
pass what fails here; the Python versions page in Start here on Brightspace says why.
Green here is not a grade. It means your agent will load and run. It says nothing about whether your strategy is any good, and it is not the class board's gate: your Brightspace submission is what counts.
No code, no check. Your group code has to be in the box above and in
the GROUP_CODE line of your agent.py, and the two have to
match. That is not this page being awkward: an agent.py without your code
is not a submission, because every group's file has the same name and that line is the
only thing in yours that says it is yours.