Skip to content

Commit 1a70e4c

Browse files
neo4rmclaude
andcommitted
devin harvest: space turns >=5s so single-turn sessions aren't dropped
A harvested single-turn Devin session spanned only 1s (reply written 1000ms after the prompt), which the engine's harvest filter conservatively classifies as a <3s headless replay (skillopt_sleep Issue microsoft#62) and skips — so a real single-turn session mined 0 tasks. Widen the prompt->reply gap to 5s. With this, an end-to-end dry-run mines the task: "night 1: 1 sessions -> 1 tasks". Co-Authored-By: Claude Opus 4.8 <[email protected]>
1 parent 9799c41 commit 1a70e4c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎plugins/devin/harvest_devin.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,10 @@ def _write_session(
184184
# grouping key so the miner can collapse repeats into one recurring task
185185
user_rec["taskKey"] = task_key
186186
f.write(json.dumps(user_rec, ensure_ascii=False) + "\n")
187-
ts += 1000
187+
# space the reply >=5s after the prompt so a single-turn session
188+
# isn't misclassified as a <3s headless replay and dropped by the
189+
# engine's harvest filter (skillopt_sleep Issue #62).
190+
ts += 5000
188191
f.write(json.dumps({
189192
"type": "assistant",
190193
"message": {"role": "assistant", "content": asst_text},

0 commit comments

Comments
 (0)