Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

verifiable-labs-code-humaneval

Single-turn procedural code-execution RL environment from the Verifiable Labs catalogue. Each instance carries a function signature

  • docstring + a small visible test set; the model returns Python source which the env runs against a hidden test battery inside a sandboxed subprocess (D5 limits: 512 MB / 30 s wall / 20 s CPU / unshare -rn network isolation / 16-process fanout cap).
Component Weight What it rewards
format_valid 0.10 Output is parseable JSON containing a code field
parse_valid 0.20 Extracted code compiles via compile(..., "exec")
pass_rate 0.70 Fraction of (visible ∪ hidden) pytest cases that passed

12 procedural templates across lists, strings, dicts, ints, trees, and graphs — EFFECTIVE_INSTANCES > 7e23, well above the contamination-resistance gate.

Install

pip install verifiable-labs-code-humaneval

Use

from verifiable_labs_code_humaneval import load_environment

env = load_environment(calibration_quantile=0.5)
inst = env.generate_instance(seed=42)
print(inst.prompt)

Source of truth + full docs: https://github.com/stelioszach03/verifiable-labs-envs

Metadata

Release files for verifiable-labs-code-humaneval 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for verifiable-labs-code-humaneval 0.1.1
File Size Uploaded Provenance Actions
verifiable_labs_code_humaneval-0.1.1.tar.gz 3.4 kB Without provenance Details for verifiable_labs_code_humaneval-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for verifiable-labs-code-humaneval 0.1.1
File Interpreter ABI Platform Actions
verifiable_labs_code_humaneval-0.1.1-py3-none-any.whl Python 3 none any Details for verifiable_labs_code_humaneval-0.1.1-py3-none-any.whl

Total release size: 6.7 kB

Release files / verifiable_labs_code_humaneval-0.1.1.tar.gz

Download URL verifiable_labs_code_humaneval-0.1.1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e77c4e70785cf16c69c136b953952ce3b79c3036ca9df17d6154e61066b5a9d8
BLAKE2b-256 checksum
How to use checksums
d45318165c633491df98dcc46148a07ac3c4fb501cf2fa9bb417287812c37d67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / verifiable_labs_code_humaneval-0.1.1-py3-none-any.whl

Download URL verifiable_labs_code_humaneval-0.1.1-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5cb7b5e27feea2bf337190423e52a105cd1e9abdfea48583e6f9b4f485837812
BLAKE2b-256 checksum
How to use checksums
625909e6cfaeaccf22f56c14abd374a9341dd3d4d117ab0ec1cd87a9d6788cb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for verifiable-labs-code-humaneval 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page