FineEnvs/repo2rlenv-code-instruct
repo2rlenv-code-instruct: Harbor dataset on Hugging Face with 100 tasks. Generated by Repo2RLEnv — turning real GitHub repositories into verifiable RL environments.
Tasks
- Using starlette 's routing and schema primitives, implement a RouteDocExtractor class in task module.py that analys
- Using starlette 's HTTPException as a base, implement a RichHTTPException class in task module.py that extends s
- Using starlette 's URLPath and URL classes from starlette.datastructures , implement a utility called URLPathColl
- Using starlette , implement a utility called AsyncCallableClassifier that inspects callables and categorizes them. Bu
- Using starlette 's CommaSeparatedStrings from starlette.datastructures , implement a function and a class in task m
- Build a lightweight rate-limiting ASGI middleware using starlette primitives. Implement a class called RateLimitM
- Using starlette , implement a MiniApp class that wraps a starlette.applications.Starlette instance and provides a s
- Using starlette 's BackgroundTask and BackgroundTasks from starlette.background , implement a PrioritizedTaskQueu
- Using starlette 's routing and schema primitives, implement a RouteInspector class in task module.py that wraps st
- Using starlette , implement a custom authentication middleware called RoleBasedAuthMiddleware that wraps a Starlette
- Using starlette 's Request and Headers classes, implement a utility called RequestInspector in task module.py .
- Using starlette 's Config and Environ from starlette.config , implement a PrefixedConfigReader class that wraps
- Using starlette 's exception primitives, implement a retry-aware HTTP exception registry in task module.py .
- Using starlette 's TestClient and routing primitives, implement a WebSocketEchoRouter — a function that builds and
- Using starlette 's HTTPException and WebSocketException as building blocks, implement a RichHTTPException cla
- Build a lightweight HTTP caching helper using starlette . Implement a class ConditionalResponseBuilder that wraps st
- Using starlette , implement an OriginValidator class in task module.py that inspects incoming HTTP requests and enf
- Using starlette , implement a WSGI-to-ASGI bridge utility called wsgi app bridge in task module.py .
- Using starlette , implement a TrackedSession class and a SessionInspector utility in task module.py .
- Build a PrefixedConfig class using starlette 's Config as a backend. PrefixedConfig wraps a starlette.config.Con
- Implement a utility function get context info in task module.py that inspects the current Click execution context us
- Using click 's public API, implement a CLI command called wrap text command that exposes click.wrap text — a public
- Implement a custom Click parameter type called PercentageParamType that accepts a floating-point percentage value (0.0
- Using click 's HelpFormatter class, implement a function render definition list that takes a list of (term, descri
- Implement a CLI tool using click that provides an environment-variable-aware configuration command. Specifically, crea
- Implement a click -based CLI utility in task module.py that wraps click 's wrap text function to provide ANSI-awar
- Implement a function called buffered echo lines in task module.py that collects multiple messages into an in-memory
- Implement a function track progress in task module.py that uses click 's progressbar context manager to process a
- Using click 's exception hierarchy, implement a custom exception class called RangedParameterError that subclasses c
- Implement a click -based CLI tool in task module.py that provides an editor-backed annotation command . Using cli
- Implement a click -based CLI tool that provides a custom click.ParamType subclass called RangedFloatParamType which
- Using click 's public API, implement a RangedIntParamType — a custom click.ParamType subclass that accepts an i
- Using click , implement a build context chain function in task module.py that constructs a chain of nested click.C
- Implement a custom click parameter type called ExtensionFilteredPath that extends click.Path to additionally valid
- Implement a reusable Click parameter validator using click 's public API. Specifically, create a custom click.ParamTyp
- Implement a custom click parameter type called RangedFloatType that validates a floating-point number falls within a
- Implement a click -based CLI utility in task module.py that provides a command called stream info using click 's p
- Using click , implement a custom click.Command subclass called AuditedCommand that wraps command invocation to reco
- Build a CLI helper using click that implements a tri-state flag option . Create a function make tristate command
- Implement a click -based CLI parser utility called parse cli args in task module.py . Using click 's public API, cr
- Implement a Flask application registry in task module.py using Flask's public API. You will create a class AppRegistr
- Using Flask's session infrastructure, implement a time-limited in-memory session interface for Flask applications.
- Using Flask's public API, implement a utility that inspects a Flask application's request routing and extracts blueprint
- Build a Flask-based JSON API response helper using Flask's public API. Implement a function make json api response in
- Using Flask's public API, implement a utility function make tagged response in task module.py that wraps Flask's ma
- Implement a custom Flask JSON provider called SortableJSONProvider by subclassing flask.json.provider.JSONProvider .
- Using Flask's Blueprint class, implement a VersionedBlueprint — a subclass of flask.Blueprint that automatical
- Using Flask's configuration system, implement a function load config from mapping in task module.py that creates a F
- Build a Flask-based request context inspector using Flask's public API. Implement a function inspect request contex
- Using Flask's templating system, implement a function render multi template in task module.py that accepts a Flask a
- Build a Flask-powered response builder utility using flask 's make response and Flask application context.
- Using Flask's configuration system, implement a function build namespaced config in task module.py that creates a Fl
- Using Flask's g object and request context utilities, implement a per-request key-value store in task module.py .
- Build a custom Flask JSON provider that extends Flask's JSONProvider base class and integrates it into a Flask applica
- Build a Flask-based URL rule registry using Flask's public API. Implement a function register routes and a class Rout
- Using Flask's application factory pattern and its built-in CLI infrastructure, implement a function build debug app in
- Using Flask's application and request context machinery, implement a utility called build request log entry in task m
- Using Flask's public API, implement a route registry inspector that wraps a flask.Flask application and provides u
- Build a context-aware request inspector using Flask's public API. Implement a function inspect request info(app, en
- Using Flask's application context and logging infrastructure, implement a RequestAwareLogger class in task module.py
- Build a retry-aware HTTP session factory using requests .
- Implement a CookieAnalyzer class in task module.py that wraps a requests.cookies.RequestsCookieJar and provides an
- Implement a RetryingSession class in task module.py that wraps requests.Session to add automatic retry logic with
- Build a RetrySession class that extends requests.Session to add automatic retry logic with configurable limits and t
- Implement a RequestBlueprint class in task module.py that wraps requests.Request to provide a reusable, partially-
- Implement a function lookup status info in task module.py that uses requests 's public status code API to return a
- Implement a function gather environment report in task module.py that collects and returns a structured dictionary s
- Implement a custom authentication class called TimestampedBasicAuth by subclassing requests.auth.AuthBase . This auth
- Implement a HeaderMergingSession class in task module.py that extends requests.Session . This class should accept a
- Implement a HeaderValidatingSession class in task module.py that extends requests.Session . This subclass must vali
- Implement a RetrySession class in task module.py that extends requests.Session to add automatic retry logic with c
- Implement a HookedSession class in task module.py that extends requests.Session and supports registering named res
- Implement a CookieSnapshot class in task module.py that wraps a requests.cookies.RequestsCookieJar and provides co
- Implement a RetrySession class in task module.py that subclasses requests.Session and adds automatic retry logic f
- Implement a requests -based session subclass called AuditedSession that extends requests.Session and tracks HTTP me
- Implement a HeaderNormalizer class in task module.py that wraps requests.structures.CaseInsensitiveDict to provide
- Implement a RetryingSession class in task module.py that subclasses requests.Session and adds automatic retry logi
- Implement a function resolve best proxy(url, proxies) in task module.py that, given a target URL and a proxy diction
- Implement a RetrySession class in task module.py that wraps requests.Session and adds automatic retry logic with a
- Implement a function collect requests environment info in task module.py that uses requests 's built-in diagnostic
- Using attrs , implement a function filtered serialize in task module.py that converts a nested attrs instance to
- Using the attrs library, implement a validated configuration registry in task module.py .
- Using attrs , implement a make validated point function that creates a 2D point class with configurable validation us
- Using attrs , implement a function filtered asdict in task module.py that converts an attrs -decorated instance to
- Using attrs , implement a RankedRecord class and a factory function build ranked field that creates an attrs fiel
- Using attrs , implement a validated configuration class system for a simple web server config.
- Using attrs , implement a make validated point function in task module.py that creates a 2D Point class (with x
- Using attrs , implement a versioned configuration registry in task module.py .
- Using attrs , implement a validated configuration registry called make config field and a ConfigRegistry class.
- Using attrs , implement a validated configuration registry called ConfigRegistry in task module.py .
- Using attrs , implement a make audited class function that creates an attrs -based class with audit logging for
- Using attrs , implement a field introspection utility for attrs-decorated classes.
- Using the attrs library, implement a validated configuration registry called ConfigRegistry in task module.py .
- Using attrs , implement a function make validated converter in task module.py that creates an attrs -powered data
- Using attrs , implement a function safe evolve fields in task module.py that takes an attrs class instance and a
- Using attrs , implement a versioned record factory called make versioned record . This function accepts a class na
- Using attrs , implement a build validated point factory function and a RangedPoint class that represents a 2D point
- Using attrs , implement a typed configuration registry system in task module.py .
- Using attrs , implement a validated configuration registry in task module.py .
- Using attrs , implement a function nested to flat tuples in task module.py that converts a nested structure of att