Skip to main content

Crate agi4_adapters

Crate agi4_adapters 

Source
Expand description

Upstream source adapters for AGI/4 evidence ingestion.

Each upstream benchmark source implements the Source trait for pure parsing and evidence conversion. The Fetcher trait handles I/O (HTTP, file, in-memory). Adapters are testable in isolation against frozen JSON fixtures.

Re-exports§

pub use apex_agents::ApexAgentsAdapter;
pub use arc_prize::ArcPrizeAdapter;
pub use gdpval::GdpvalAdapter;
pub use gpqa_diamond::GpqaDiamondAdapter;
pub use hle::HleAdapter;
pub use metr::MetrAdapter;
pub use osworld::OsworldAdapter;
pub use re_bench::ReBenchAdapter;
pub use rli::RliAdapter;
pub use swe_bench::SweBenchAdapter;

Modules§

apex_agents
APEX-Agents adapter for economic substitutability conjunct.
arc_prize
ARC Prize adapter for generality and environmental transfer conjuncts.
gdpval
GDPval (Artificial Analysis) adapter for economic substitutability conjunct.
gpqa_diamond
GPQA Diamond adapter for generality conjunct.
hle
HLE (Humanity’s Last Exam) adapter for generality conjunct.
metr
METR time-horizon adapter for autonomous agency conjunct.
osworld
OSWorld adapter for environmental transfer conjunct.
re_bench
RE-Bench adapter for autonomous agency conjunct.
rli
RLI (Remote Labor Index) adapter for economic substitutability conjunct.
swe_bench
SWE-bench Verified pass@5 adapter for autonomous agency conjunct.

Structs§

AdapterError
Error type for source adaptation operations.
CachingFetcher
Caching fetcher with local filesystem storage and TTL.
CachingFetcherError
Error for caching fetcher operations.
HttpFetcher
HTTP fetcher with timeout and exponential backoff retry (blocking).
HttpFetcherError
Error for HTTP fetcher operations.
InMemoryFetcher
In-memory test fetcher for fixture-based testing.
InMemoryFetcherError
Error for in-memory fetcher (URL not found in fixtures).
ModelId
Model identifier for evidence ingestion.

Enums§

AdapterErrorKind
Error kind for source adaptation operations.

Traits§

Fetcher
Fetcher abstraction for I/O.
Source
The Source trait: each upstream source implements this.