Comments (7)
- Server is run once. Always
- Url is called >= 0 times.
That's why file read code is outside the url call.
from pyjudge.
Typically, the server is run once and then it keeps on running. It is only restarted if something goes wrong or if code needs to be updated in the server.
from pyjudge.
but when we will have more question. will we still open all the files?
for now, only one file is required so we file read code is outside URL code. but in the future, we will not need all expected_outputs. we will need expected_outputs only for given question number.
am i getting it right ?
from pyjudge.
from pyjudge.
Ohk, That's a lot of space :D
-
- another thing which I just faced is this, don't know how it got missed.
expected = expected.strip() UnboundLocalError: local variable 'expected' referenced before assignment
while running server.py.
so we will need to add aglobal expected
inurl_upload
.
- another thing which I just faced is this, don't know how it got missed.
-
- it's giving 'Wrong answer' even I am submitting the right answer.
looks like we are going to need more issues.
- it's giving 'Wrong answer' even I am submitting the right answer.
from pyjudge.
from pyjudge.
I will positively do it in night. and i will add global expected myself.
from pyjudge.
Related Issues (20)
- Database HOT 1
- Contest timings HOT 2
- Home page HOT 5
- Multiple contests
- Multiple contest UI design
- Move pre-commit and black to dev dependencies
- Pip installable project HOT 11
- 404 handler HOT 2
- Proper question statement and support HOT 5
- Session support
- Use sqlite as a database
- Interface to add questions via website HOT 4
- Raise error in proper places HOT 5
- Use a more common template system HOT 5
- Continuous testing needs to be added
- User stats/ profile HOT 4
- problem status in contest
- Reinstall black HOT 1
- Code Documentaion HOT 1
- Install pytest in pipenv HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyjudge.