pub struct VerifyAccuracyHandler { /* private fields */ }Expand description
The verify_accuracy meta-tool (the 6th served tool): re-run the executor at
the workbook’s REFERENCE inputs (the manifest tier defaults — verified the
oracle was computed there) and return a per-output [ReconcileReport] vs each
Tool.oracle within TOL.
This makes the compile-time penny-reconcile RUNTIME-inspectable: a queryable,
HONESTLY-framed attestation that the served engine reproduces Excel’s authored
values at the reference inputs. It does NOT attest arbitrary inputs — for those
the BA downloads the formula workbook via render_workbook (filled /
inputs_only), where Excel is the oracle.
Reader-free + stateless: calls the pure
pmcp_workbook_runtime::reconcile_reference over the in-memory bundle (no
reader, no toolkit-side seeding, no caller-supplied seeds). An optional
tool-name filter scopes the report; an unknown filter is an Err listing the
available tool names (D-03) — never a silent empty pass.
Implementations§
Trait Implementations§
Source§impl ToolHandler for VerifyAccuracyHandler
impl ToolHandler for VerifyAccuracyHandler
Source§fn handle<'life0, 'async_trait>(
&'life0 self,
args: Value,
_extra: RequestHandlerExtra,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn handle<'life0, 'async_trait>(
&'life0 self,
args: Value,
_extra: RequestHandlerExtra,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn metadata(&self) -> Option<ToolInfo>
fn metadata(&self) -> Option<ToolInfo>
Source§fn handle_output<'life0, 'async_trait>(
&'life0 self,
args: Value,
extra: RequestHandlerExtra,
) -> Pin<Box<dyn Future<Output = Result<ToolOutput, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn handle_output<'life0, 'async_trait>(
&'life0 self,
args: Value,
extra: RequestHandlerExtra,
) -> Pin<Box<dyn Future<Output = Result<ToolOutput, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
ToolOutput for a call. Read moreAuto Trait Implementations§
impl Freeze for VerifyAccuracyHandler
impl RefUnwindSafe for VerifyAccuracyHandler
impl Send for VerifyAccuracyHandler
impl Sync for VerifyAccuracyHandler
impl Unpin for VerifyAccuracyHandler
impl UnsafeUnpin for VerifyAccuracyHandler
impl UnwindSafe for VerifyAccuracyHandler
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more