codetether-rlm 0.1.0

Recursive Language Model processing for CodeTether
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/// Result of tree-sitter oracle verification.
#[derive(Debug, Clone, PartialEq)]
pub enum TreeSitterVerification {
    /// Answer matches AST truth exactly.
    ExactMatch,
    /// Answer matches but in different order.
    UnorderedMatch,
    /// Answer is a subset of the AST truth.
    SubsetMatch { claimed: usize, actual: usize },
    /// Answer contains incorrect claims.
    HasErrors { errors: Vec<String> },
    /// Answer is completely different.
    Mismatch,
    /// Could not parse or verify the answer.
    CannotVerify { reason: String },
}