-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dec 20 tele fix #49
dec 20 tele fix #49
Conversation
* fixed enormous amount of human characters in telemetry * human characters after last completion made no longer counts, as this lead to bugs * telemetry_full_cycle -> 2 functions (request from @oleg)
|
||
for s in &mut text_a_lines { | ||
*s = s.trim_end().trim_start(); | ||
// info!("text_a: {}; len: {}", s, s.len()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if u not sure, use debug!() macros. I will add extra param for debug lvl https://docs.rs/tracing/latest/tracing/macro.debug.html
|
||
for s in &mut text_b_lines { | ||
*s = s.trim_end().trim_start(); | ||
// info!("text_b: {}; len: {}", s, s.len()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
|
||
let (added_characters, _) = utils::get_add_del_chars_from_texts(&removed_characters, &added_characters); | ||
|
||
// let real_characters_added = re.replace_all(&added_characters, "").len() as i64 - re.replace_all(&removed_characters, "").len() as i64; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove extra comments
let key = (accum.file_extension.clone(), accum.model.clone()); | ||
unique_combinations.entry(key).or_default().push(accum); | ||
} | ||
let mut compressed_vec= vec![]; | ||
for (key, entries) in unique_combinations { | ||
info!("compress_robot_human: compressing {} entries for key {:?}", entries.len(), key); | ||
// info!("compress_robot_human: compressing {} entries for key {:?}", entries.len(), key); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same with debug!
No description provided.