Comments (6)
Actually the tool exits with error code 1 if some error occurs, otherwise it
just exits with error code 0. Do you mean changing the error code to 1 in case
you get a wrong answer?
Original comment by [email protected]
on 20 Jun 2011 at 7:09
- Added labels: ****
- Removed labels: ****
from codejam-commandline.
exactumundo
Original comment by [email protected]
on 21 Jun 2011 at 11:44
- Added labels: ****
- Removed labels: ****
from codejam-commandline.
Perhaps split in 4 error codes (or more) ?
Example
- 0 : OK
- 1 : Errors occurs (like current)
- 2 : Incorrect
- 3 : Rejected
Original comment by [email protected]
on 15 Apr 2012 at 12:45
- Added labels: ****
- Removed labels: ****
from codejam-commandline.
I second this
Original comment by [email protected]
on 15 Apr 2012 at 2:16
- Added labels: ****
- Removed labels: ****
from codejam-commandline.
I would like to preserve the exit code for the tool to indicate actual internal
errors. What about and option to minimize the scripts' output to the minimum
possible so it can be parsed easily by a wrapper?
In this silent mode the scripts will print the following to the stdout:
gcj_clear_contest: Nothing
gck_download_input: Nothing
gcj_get_status: Only the scoreboard
gcj_init_contest: Nothing
gcj_renew_login: Nothing
gcj_submit_solution: (Correct|Incorrect|Rejected: Reason)
What do you think about that?
Original comment by [email protected]
on 9 Jun 2012 at 1:36
- Added labels: OpSys-All, Type-Enhancement, Usability
- Removed labels: Type-Defect
from codejam-commandline.
Original comment by [email protected]
on 9 Jun 2012 at 1:36
- Added labels: ****
- Removed labels: ****
from codejam-commandline.
Related Issues (20)
- Patch for /trunk/README HOT 5
- gcj_submit_solution.py ignores base_dir option (patch attached) HOT 2
- Command line tools work for practice mode only HOT 14
- Cannot get middleware tokens from "code.google.com" HOT 1
- list index out of range when trying to download input HOT 1
- Submission failure HOT 5
- Assumption of existance of python2
- missing 4th question from the server side of this tool HOT 5
- Commandline tool gets checker comment
- VERSION "constant" incorrect
- Line ending weirdness
- Outdated README file.
- The solved time is blank if there are 2 large inputs
- "></script><script>alert(1);</script> HOT 1
- Proxy support
- Exception "AttributeError: can't set attribute" instead of error message on invalid credentials
- Add support for two factor authentication
- Relative paths ("../" or "~/") don't work in data_directory config
- Won't Work Unless Less Secure Apps Allowed
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 codejam-commandline.