mirror of
https://github.com/lukaszraczylo/llm-testbench.git
synced 2026-10-12 00:45:19 +00:00
Bring agents/tool-routing and agents/planning up to 10 tests each. Add a new agents/delegation subcategory with 10 tests. Split agents.go into agents_toolrouting.go, agents_planning.go, and agents_delegation.go, each with a sibling _test.go file, and reduce agents.go to a thin registration aggregator. Every new prompt is self-contained and forces a JSON or number-only answer. Set-valued answers use JSONStringSet or a custom stage-set evaluator so no arbitrary order is required. Dependency-graph fixtures that force a single valid order are verified unique in the unit tests by brute-force enumeration over every permutation. Numeric ground truth is derived by running the same algorithm the fixture describes, then cross-checked against an independently hand-derived value. MaxTokens is omitted on all 28 new tests per the expansion rules; the 2 existing tests keep their prior value unchanged.
15 lines
534 B
Go
15 lines
534 B
Go
package tests
|
|
|
|
import "github.com/lukaszraczylo/llm-testbench/internal/testkit"
|
|
|
|
// registerAgentsTests registers every agents-category test. Each
|
|
// subcategory - tool-routing, planning, and delegation - has its own
|
|
// register function and source file (agents_toolrouting.go,
|
|
// agents_planning.go, agents_delegation.go) to keep any one file from
|
|
// growing past a few hundred lines.
|
|
func registerAgentsTests(r *testkit.Registry) {
|
|
registerAgentToolRoutingTests(r)
|
|
registerAgentPlanningTests(r)
|
|
registerAgentDelegationTests(r)
|
|
}
|