[package]
edition = "2021"
rust-version = "1.90"
name = "newt-eval"
version = "0.8.0"
authors = ["Shawn Hartsock <hartsock@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "End-to-end evaluation framework for the newt worker"
homepage = "https://github.com/hartsock/newt-agent"
readme = "README.md"
keywords = [
"newt",
"agent",
"eval",
"drake",
"scorecard",
]
categories = ["development-tools::testing"]
license = "Apache-2.0"
repository = "https://github.com/hartsock/newt-agent"
[features]
default = []
pyo3 = [
"dep:pyo3",
"newt-core/pyo3",
"newt-acp-worker/pyo3",
]
[lib]
name = "newt_eval"
path = "src/lib.rs"
[[bin]]
name = "newt-eval"
path = "src/bin/newt-eval.rs"
[[test]]
name = "case_prompt_lint"
path = "tests/case_prompt_lint.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "gaming_corpus"
path = "tests/gaming_corpus.rs"
[[test]]
name = "grade"
path = "tests/grade.rs"
[[test]]
name = "mock_e2e"
path = "tests/mock_e2e.rs"
[[test]]
name = "output_matches_real"
path = "tests/output_matches_real.rs"
[[test]]
name = "python_surface"
path = "tests/python_surface.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.clap]
version = "4"
features = [
"derive",
"env",
]
[dependencies.content-addressable]
version = "0.1.2"
features = [
"unstable-merkle",
"unstable-store",
]
[dependencies.fs_extra]
version = "1"
[dependencies.newt-acp-worker]
version = "=0.8.0"
[dependencies.newt-core]
version = "=0.8.0"
[dependencies.pyo3]
version = "0.28"
features = ["macros"]
optional = true
default-features = false
[dependencies.regex]
version = "1"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.tempfile]
version = "3"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.toml]
version = "1.0"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.walkdir]
version = "2"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.sha2]
version = "0.10"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"test-util",
]
[dev-dependencies.wiremock]
version = "0.6"
[lints.clippy]
explicit_iter_loop = "warn"
flat_map_option = "warn"
implicit_clone = "warn"
needless_for_each = "warn"
semicolon_if_nothing_returned = "warn"
uninlined_format_args = "warn"
use_self = "warn"
useless_conversion = "warn"