Anbu-00001 commited on
Commit
10897fb
·
verified ·
1 Parent(s): 58f91a4

Population: no_linked_issue counted against the real task_from value

Browse files
Files changed (1) hide show
  1. eval/aidev_population.py +1 -1
eval/aidev_population.py CHANGED
@@ -46,7 +46,7 @@ def summarize(rows: list) -> dict:
46
  "most_threads_on_one_pull_request": max((r["n"] for r in ok), default=0),
47
  "by_agent": by("agent"), "by_state": by("state"), "by_task": by("task_from"),
48
  "extras_by_kind": dict(collections.Counter(k for r in ok for k in r["kinds"])),
49
- "no_linked_issue": sum(1 for r in ok if r["task_from"] != "issue")}
50
 
51
 
52
  def chunks(ids: list, size: int):
 
46
  "most_threads_on_one_pull_request": max((r["n"] for r in ok), default=0),
47
  "by_agent": by("agent"), "by_state": by("state"), "by_task": by("task_from"),
48
  "extras_by_kind": dict(collections.Counter(k for r in ok for k in r["kinds"])),
49
+ "no_linked_issue": sum(1 for r in ok if r["task_from"] != "linked_issue")}
50
 
51
 
52
  def chunks(ids: list, size: int):