Skip to main content

detect_missing_debug_structure

Function detect_missing_debug_structure 

Source
pub fn detect_missing_debug_structure(response: &str) -> bool
Expand description

Check whether a response to a debugging or diagnostic query is missing explicit root-cause or verification structure.

Returns true when the response text looks like a technical/debugging answer (contains error, bug, fix, crash, or failure language) but lacks any root-cause marker or verification instruction. Used as an additional quality signal to trigger reflection on structurally incomplete answers.