Dataset Viewer
The dataset viewer is not available for this dataset.
The JWT signature verification failed. Check the signing key and the algorithm.
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 failed

Need 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_CodeNet
  • language: The programming language of the submission (Python or C++)
  • original_status: The status of the initial submission (TLE, MLE, anything that is not Accepted)
  • fail: The initial (buggy) source code formatted (black or clang-fromat)
  • pass: The modified (accepted) source code formatted(black or clang-format
  • change: 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; for insert we have i1 == 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; for delete we have j1 == j2)
  • error: The error that was obtained running the buggy source code on the input/output examples
  • stderr: The full output of stderr of running the buggy source code on the input/output examples
  • stdout: The full output of stdout of running the buggy source code on the input/output examples
  • description: The problem statement in html format
  • input: The input for the test case
  • output: The output for the test case
Downloads last month
103

Models trained or fine-tuned on alexjercan/bugnet

Space using alexjercan/bugnet 1