Handle zero-token source rows in code trace audit
This commit is contained in:
@@ -63,6 +63,8 @@ def main() -> None:
|
||||
continue
|
||||
if timestamp >= end:
|
||||
break
|
||||
if int(row["input_length"]) <= 0 or int(row["output_length"]) <= 0:
|
||||
continue
|
||||
chat = row.get("chat_id", source_index)
|
||||
parent = row.get("parent_chat_id")
|
||||
has_parent = parent not in (None, "", -1, "-1")
|
||||
|
||||
Reference in New Issue
Block a user