Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
valaises committed Jan 10, 2024
1 parent d341c54 commit 123be36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/telemetry/basic_robot_human.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fn basetext_to_text_leap_calculations(
// let real_characters_added = re.replace_all(&added_characters, "").len() as i64 - re.replace_all(&removed_characters, "").len() as i64;
let human_characters = re.replace_all(&added_characters, "").len() as i64 - rec.robot_characters_acc_baseline;
debug!("human_characters: +{}; robot_characters: +{}", human_characters, rec.robot_characters_acc_baseline);
rec.human_characters += human_characters;
rec.human_characters += 0.max(human_characters);
rec.robot_characters += rec.robot_characters_acc_baseline;
rec.robot_characters_acc_baseline = 0;
}
Expand Down

0 comments on commit 123be36

Please sign in to comment.