Skip to content

Commit

Permalink
update stat (#1159)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuji38kwmt authored Feb 22, 2024
1 parent 3d64eaf commit 9328b07
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions annofabcli/statistics/visualize_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,11 @@ def write_worktime_per_date(self, user_id_list: Optional[List[str]] = None) -> N

def write_user_productivity_per_date(self, user_id_list: Optional[List[str]] = None) -> None:
"""ユーザごとの日ごとの生産性情報を出力する。"""
df_task = self._get_task()
task = self._get_task()

annotator_per_date_obj = AnnotatorProductivityPerDate.from_df_task(df_task)
inspector_per_date_obj = InspectorProductivityPerDate.from_df_task(df_task)
acceptor_per_date_obj = AcceptorProductivityPerDate.from_df_task(df_task)
annotator_per_date_obj = AnnotatorProductivityPerDate.from_df_task(task.df)
inspector_per_date_obj = InspectorProductivityPerDate.from_df_task(task.df)
acceptor_per_date_obj = AcceptorProductivityPerDate.from_df_task(task.df)

# 開始日ごとのCSVを出力
self.project_dir.write_performance_per_started_date_csv(annotator_per_date_obj, phase=TaskPhase.ANNOTATION)
Expand Down

0 comments on commit 9328b07

Please sign in to comment.