pub struct SweBenchAdapter { /* private fields */ }Expand description
SWE-bench Verified pass@5 adapter for the success rate measurement.
Implementations§
Source§impl SweBenchAdapter
impl SweBenchAdapter
Sourcepub fn new() -> Result<Self, SweBenchError>
pub fn new() -> Result<Self, SweBenchError>
Create a new SWE-bench adapter with the canonical endpoint.
Sourcepub fn with_endpoint(endpoint: Url) -> Self
pub fn with_endpoint(endpoint: Url) -> Self
Create a SWE-bench adapter with a custom endpoint (for testing).
Trait Implementations§
Source§impl Default for SweBenchAdapter
impl Default for SweBenchAdapter
Source§impl Source for SweBenchAdapter
impl Source for SweBenchAdapter
Source§type Raw = SweBenchRaw
type Raw = SweBenchRaw
The native schema for this source’s upstream data.
Source§type Error = SweBenchError
type Error = SweBenchError
Error type for parse/to_evidence failures.
Auto Trait Implementations§
impl Freeze for SweBenchAdapter
impl RefUnwindSafe for SweBenchAdapter
impl Send for SweBenchAdapter
impl Sync for SweBenchAdapter
impl Unpin for SweBenchAdapter
impl UnsafeUnpin for SweBenchAdapter
impl UnwindSafe for SweBenchAdapter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more