[package] name = "joule-bench" version = "0.1.0" edition = "2021" description = "Joule Code coding-agent benchmark: resolution rate × energy/cost 2D frontier over executable coding tasks with a test-execution oracle." [[bin]] name = "joule-bench" path = "src/main.rs" [features] # Measured host energy via jouleclaw (Apple IOReport / Linux RAPL+NVML, no sudo # on Apple Silicon) — the same dep and rev agent-joule pins. On by default; build # with `--no-default-features` to drop the dep and use the estimator only. default = ["measured"] measured = ["dep:jouleclaw-energy"] [dependencies] clap = { version = "4", features = ["derive"] } serde = { version = "1", features = ["derive"] } serde_json = "1" toml = "0.8" anyhow = "1" tempfile = "3" [target.'cfg(target_os = "macos")'.dependencies] jouleclaw-energy = { git = "https://github.com/Transaction-Science/open-standards.git", rev = "58726a224c72517436bc87ab9f10370cf6b63bb2", features = ["ioreport"], optional = true } [target.'cfg(target_os = "linux")'.dependencies] jouleclaw-energy = { git = "https://github.com/Transaction-Science/open-standards.git", rev = "58726a224c72517436bc87ab9f10370cf6b63bb2", features = ["rapl", "nvml"], optional = true }