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.

control-apps-cleaned

A curated subset of the APPS dataset (Hendrycks et al., NeurIPS 2021), pre-filtered for use in the ARENA AI Control chapter — a teaching replication of Greenblatt et al. 2023 (arXiv:2312.06942).

What's in here

  • cleaned_apps.jsonl — 1,202 problems from the APPS "interview" split, filtered to a uniform I/O schema (inputs and outputs are each one of list[str], list[int], list[list[str]], list[list[int]]). Each line is a JSON record with the original APPS fields plus two added fields:
    • input_type — one of "list of strings", "list of integers", "list of lists of strings", "list of lists of integers"
    • output_type — same vocabulary

The filtering removes problems whose original I/O was strings-with-embedded-newlines (which broke the chapter's main(input) function-call interface).

Why this exists

The original APPS dataset has inputs as raw stdin strings, which doesn't play nicely with the inspect_ai sandbox calling main(input) directly. This filtered subset lets every problem be solved by a function def main(input: list[str]) -> list[str]: ... without per-problem dispatch on the input shape.

Usage

from huggingface_hub import hf_hub_download
import json

path = hf_hub_download(
    repo_id="styme3279/control-apps-cleaned",
    filename="cleaned_apps.jsonl",
    repo_type="dataset",
)

with open(path) as f:
    apps = [json.loads(line) for line in f]

print(len(apps), "problems")
print(apps[0].keys())

Provenance

  • Upstream source: hendrycks/apps, interview-difficulty split
  • Filter script: utils.clean_dataset in the ARENA chapter chapter3_llm_evals/exercises/part5_ai_control/utils.py
  • Used by: ARENA chapter 3.5 (AI Control)

License

MIT, inherited from the upstream APPS dataset.

Downloads last month
254

Paper for styme3279/control-apps-cleaned