feat: round text_line_mean_len to nearest integer
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
@@ -283,9 +283,11 @@ impl TextMetaPlugin {
|
||||
}
|
||||
|
||||
if output_mean {
|
||||
// Round to nearest integer
|
||||
let mean_len_int = mean_len.round() as usize;
|
||||
if let Some(meta_data) = crate::meta_plugin::process_metadata_outputs(
|
||||
"text_line_mean_len",
|
||||
mean_len.to_string(),
|
||||
mean_len_int.to_string(),
|
||||
self.base.outputs()
|
||||
) {
|
||||
log::debug!("TEXT: Adding mean line length metadata: {:?}", meta_data);
|
||||
|
||||
Reference in New Issue
Block a user