#28Agents are nouns; these are the verbsEasy

Agents are nouns; these are the verbs

Background

The whole system is five verbs. The agents are the nouns that perform them:

ComponentVerb
Plannerdecompose
Executorexecute
Synthesizercombine
Criticcheck
Orchestratorretry

Problem statement

Implement pipeline_verb(component) returning the verb a component performs.

Input

  • component — one of "planner", "executor", "synthesizer" (or "synthesiser"), "critic", "orchestrator".

Output

Returns the verb: "decompose", "execute", "combine", "check", or "retry".

Examples

Input:  "planner"        Output: "decompose"
Input:  "critic"         Output: "check"
Input:  "orchestrator"   Output: "retry"

Constraints

  • Map each component to its verb (accept both synthesizer/synthesiser).

Notes

  • Strip away the nouns and every run is the same five verbs — that's the entire control flow.
Python
Loading...

▶ Run executes the 3 visible sample tests below in your browser. Submit runs the full suite — including hidden tests — on the server for an official verdict.

  • Reference: planner decomposes
  • Sample: critic checks
  • Example: orchestrator retries