Giter Site home page Giter Site logo

Comments (7)

theSage21 avatar theSage21 commented on August 16, 2024
  • Server is run once. Always
  • Url is called >= 0 times.

That's why file read code is outside the url call.

from pyjudge.

theSage21 avatar theSage21 commented on August 16, 2024

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.

shivankgtm avatar shivankgtm commented on August 16, 2024

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.

theSage21 avatar theSage21 commented on August 16, 2024

from pyjudge.

shivankgtm avatar shivankgtm commented on August 16, 2024

Ohk, That's a lot of space :D

    1. 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 a global expected in url_upload.
    1. it's giving 'Wrong answer' even I am submitting the right answer.
      looks like we are going to need more issues.

from pyjudge.

theSage21 avatar theSage21 commented on August 16, 2024

from pyjudge.

shivankgtm avatar shivankgtm commented on August 16, 2024

I will positively do it in night. and i will add global expected myself.

from pyjudge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.