pub struct DocInfoReport {
pub pages: usize,
pub words: usize,
pub cross_references: usize,
pub code_blocks: usize,
pub diagrams: usize,
pub llm_judged: bool,
pub llm_score: f64,
pub llm_judged_modules: usize,
pub llm_abstain_modules: usize,
}Expand description
维度 2:文本统计(+ v32 6.2:LLM 信息性判定并存)
Fields§
§pages: usize产物页面数(wiki/{lang}/*.md)
words: usize全部页面词数(空白分隔,去 markdown 围栏不影响统计口径)
cross_references: usize交叉引用链接数(文本(目标) 形态)
code_blocks: usize代码块数(``` 围栏对)
diagrams: usizeMermaid 图数
llm_judged: boolv32(6.2 FR-101):LLM 信息性判定是否执行——LLM 不可用时 降级跳过(false),报告显式标注而非静默
llm_score: f64v32(6.2 FR-101):LLM 信息性评分(0-10,已判定页面平均; abstain 页面不计入分母——FR-102 exclude 模式)
llm_judged_modules: usizev32(6.2):LLM 判定成功的页面数
llm_abstain_modules: usizev32(6.2):LLM 判定 abstain 的页面数(uncertain 重试后仍不确定 或调用/解析失败;报告暴露 abstain 数——FR-102)
Trait Implementations§
Source§impl Clone for DocInfoReport
impl Clone for DocInfoReport
Source§fn clone(&self) -> DocInfoReport
fn clone(&self) -> DocInfoReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DocInfoReport
impl Debug for DocInfoReport
Auto Trait Implementations§
impl Freeze for DocInfoReport
impl RefUnwindSafe for DocInfoReport
impl Send for DocInfoReport
impl Sync for DocInfoReport
impl Unpin for DocInfoReport
impl UnsafeUnpin for DocInfoReport
impl UnwindSafe for DocInfoReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
Converts
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> ⓘ
Converts
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