Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Static turn annotation language fix #4002

Merged
merged 1 commit into from
Sep 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def process_data_into_dataframe(self, conversations) -> pd.DataFrame:
row[k] = utt[k] if utt['agent_idx'] == 1 else ''
rows.append(row)
df = pd.DataFrame(rows)
print(f'Returning main dataframe with {len(df)} annotations.')
print(f'Returning dataframe with {len(df)} annotations.')
return df

def _add_additional_columns(self, row: Dict[str, Any], utt: dict) -> Dict[str, Any]:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Got 4 folders to read.
Average task completion time (seconds) was: 187.5
Returning master dataframe with 48 annotations.
Returning dataframe with 48 annotations.
Dropped 1 inconsistently annotated utterances (none_all_good and a problem bucket). Now have 7 utterances.
Removed 1 that did not have annotations by 3 workers. 6 annotations remaining.
summed_df has length 2; bot_only_df: 4
Expand Down