Skip to main content

No project description provided

Project description

Environments

Synthetic Environments / Long Horizon Tasks / Digital Control Agents

Coverage Python License Tests

Motivation

  • We're building Environments to have key desiderata for long-horizon language agents
  • Snapshotting and reproducibility
  • Statefulness as a first-class citizen
  • Consistent abstractions for engine interaction and state reads across settings
  • Environment observability and tracing
  • HTTP access for simplified training and evaluation
  • Strong data abstractions to enable easily-configurable filtering and curriculum learning
  • Simple abstractions for agent-originated tool edits, etc.

User Guide

Note - this repo is under extremely active development. Hic sunt dracones, if not contributing it may be more useful as a reference or development resource than as core code for your production systems.

Supported Environments

[] Sokoban (maturing, not active dev) - This environment is not of our own making! Please credit the great researchers at Deepmind and Ragen, among others. - Checkout test_synth_react.py for a hello world example! [] Hendryks Math [] (maturing) [] Crafter-Classic (maturing) [] EnronBench (active dev) [] SWE-Bench (active dev - do not attempt) [] NMMO (active dev - do not attempt) [] Red (active dev) [] Verilog (maturing)

...

Development

To use the Astral suite of devtools:

  • Package management: uv sync, uv add, uv remove
  • Linting: ruff format .
  • Type checking: uvx ty check

Testing and Coverage

Run tests with coverage:

# Run all tests with coverage report
pytest tests/ --cov=src --cov-report=html --cov-report=term

# Run specific test files
pytest tests/unit/test_registry.py

# Run with verbose output
pytest tests/ -v

Current test coverage: 42.3%

The test suite includes:

  • Unit tests for core components (registry, environments, engines)
  • Integration tests for service API endpoints
  • Q solver tests* for Sokoban environment
  • No AI agent demos in tests (algorithmic solving only)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

synth_env-0.0.0.dev10.tar.gz (442.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

synth_env-0.0.0.dev10-py3-none-any.whl (558.4 kB view details)

Uploaded Python 3

File details

Details for the file synth_env-0.0.0.dev10.tar.gz.

File metadata

  • Download URL: synth_env-0.0.0.dev10.tar.gz
  • Upload date:
  • Size: 442.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for synth_env-0.0.0.dev10.tar.gz
Algorithm Hash digest
SHA256 c1b0aa9f8c8e7f4e1dcc67871aee56642037a984315079508f2c518c19f74b5d
MD5 91d7dc35e0264c6246482e16ec32559f
BLAKE2b-256 b541f15fb0dcdb6bc1a8e418ef2f7ced82871c85f6f3315069643a92f271c663

See more details on using hashes here.

File details

Details for the file synth_env-0.0.0.dev10-py3-none-any.whl.

File metadata

File hashes

Hashes for synth_env-0.0.0.dev10-py3-none-any.whl
Algorithm Hash digest
SHA256 4cc518aa14c0438704c2191504e994b8ae461fe249f0f97a667c675df3384bc6
MD5 8a85f84960d7d5d2ab501d3ee1e7bf39
BLAKE2b-256 5c2592189ffa08f115794a633c687d673dcad81e870d62e942864cc748a36a3e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page