Judge each agent's best roles against its CV as skills, experience and career, a stage after summarise
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4fc474c437
commit
9960799b96
14 files changed
+866
-44
No files matched your search
+5
-4
@@ -1107,7 +1107,7 @@ def test_the_pull_job_runs_pull_prep_embed_score_extract_score_then_summarise(
|
||||
# Enrich found no board with role pages, so the prep, embed and score
|
||||
# behind it are passed over.
|
||||
assert stages == ["pull", "prep", "embed", "score", "enrich", "extract", "score",
|
||||
"summarise"]
|
||||
"summarise", "judge"]
|
||||
work = [j.kind for j in jobs if j.kind != FINAL]
|
||||
# The `pull` job and the chain it asked for are one cascade, so the Jobs
|
||||
# tab shows a scheduled pull as one run. Extract and summarise are off and
|
||||
@@ -1162,10 +1162,11 @@ def test_follows_walks_the_cascade_by_position_and_stops_at_its_end() -> None:
|
||||
"""By position, not by name: `score` is in the chain twice, once before
|
||||
extract and once after, and the second must lead on to summarise."""
|
||||
assert cascade.CASCADES["pull"] == ("pull", "prep", "embed", "score", "enrich", "prep",
|
||||
"embed", "score", "extract", "score", "summarise")
|
||||
assert [cascade.follows("pull", at) for at in range(11)] == \
|
||||
"embed", "score", "extract", "score", "summarise",
|
||||
"judge")
|
||||
assert [cascade.follows("pull", at) for at in range(12)] == \
|
||||
["prep", "embed", "score", "enrich", "prep", "embed", "score", "extract", "score",
|
||||
"summarise", ""]
|
||||
"summarise", "judge", ""]
|
||||
assert cascade.follows("pull", -1) == "" and cascade.follows("pull", 11) == ""
|
||||
assert cascade.follows("nope", 0) == ""
|
||||
assert cascade.chain("pull").carries == {"cascade": "pull", "task": "pull", "at": 0}
|
||||
|
||||
Reference in new issue
Block a user