The dataset viewer is not available for this dataset.
Error code: JWTInvalidSignature
Exception: InvalidSignatureError
Message: Signature verification failed
Traceback: Traceback (most recent call last):
File "/src/libs/libapi/src/libapi/jwt_token.py", line 286, in validate_jwt
decoded = jwt.decode(
jwt=token,
...<2 lines>...
options=options,
)
File "/usr/local/lib/python3.14/site-packages/jwt/api_jwt.py", line 368, in decode
decoded = self.decode_complete(
jwt,
...<8 lines>...
leeway=leeway,
)
File "/usr/local/lib/python3.14/site-packages/jwt/api_jwt.py", line 265, in decode_complete
decoded = self._jws.decode_complete(
jwt,
...<3 lines>...
detached_payload=detached_payload,
)
File "/usr/local/lib/python3.14/site-packages/jwt/api_jws.py", line 270, in decode_complete
self._verify_signature(
~~~~~~~~~~~~~~~~~~~~~~^
signing_input,
^^^^^^^^^^^^^^
...<4 lines>...
options=merged_options,
^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/jwt/api_jws.py", line 417, in _verify_signature
raise InvalidSignatureError("Signature verification failed")
jwt.exceptions.InvalidSignatureError: Signature verification failedNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
About the Dataset
The source code used to generate the dataset can be found on GitHub
The dataset is based on the CodeNet project and contains Python and C++ code submissions for online coding competitions. The data is obtained by selecting consecutive attempts of a single user that resulted in fixing a buggy submission. Thus the data is represented by code pairs and annotated by the diff and error of each changed instruction. We have already tokenized all the source code files and kept the same format as in the original dataset.
The upgrade made compared to CodeNetPy is that we only keep one line errors. This means that the task of bug detection and repair will be easier to manage. We also removed all the files that fail on linters, so that we are focusing only on bugs that cannot be identified easily.
The resulting dataset file will be a csv with the following columns:
problem_id: The id of the problem, matches with the id from Project_CodeNetlanguage: The programming language of the submission (PythonorC++)original_status: The status of the initial submission (TLE,MLE, anything that is notAccepted)fail: The initial (buggy) source code formatted (blackorclang-fromat)pass: The modified (accepted) source code formatted(blackorclang-formatchange: The change that was made (replace,insert,delete)i1: Start of the change in the buggy source (the line; starting with 1)i2: End of the change in the buggy source (not inclusive; forinsertwe havei1 == i2)j1: Start of the change in the accepted source (the line; starting with 1)j2: End of the change in the accepted source (not inclusive; fordeletewe havej1 == j2)error: The error that was obtained running the buggy source code on the input/output examplesstderr: The full output of stderr of running the buggy source code on the input/output examplesstdout: The full output of stdout of running the buggy source code on the input/output examplesdescription: The problem statement in html formatinput: The input for the test caseoutput: The output for the test case
- Downloads last month
- 103