Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion app/nullius/catalogue/agents/jiuwenswarm/agent.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@
"label": "Page fetch limit",
"summary": "Pages fetched per invocation.",
"pattern": "(?:[1-9]|[1-9][0-9]|100)",
"example": "6",
"default": "3"
}
},
Expand Down
1 change: 0 additions & 1 deletion app/nullius/catalogue/benchmarks/osworld1/standard.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@
"label": "Pause after each action (seconds)",
"summary": "Seconds to wait after each action before taking the next screenshot.",
"pattern": "[0-9]{1,2}(\\.[0-9]{1,2})?",
"example": "5.0",
"default": "3.0",
"setups": [
"agent"
Expand Down
2 changes: 0 additions & 2 deletions app/nullius/catalogue/benchmarks/tau3-bench/standard.json
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,6 @@
],
"default": "200",
"pattern": "[1-9][0-9]?|1[0-9]{2}|200",
"example": "100",
"limit": true
},
"max_errors": {
Expand All @@ -347,7 +346,6 @@
],
"default": "10",
"pattern": "[1-9][0-9]{0,3}",
"example": "5",
"limit": true
},
"upstream_agent": {
Expand Down
8 changes: 6 additions & 2 deletions app/tests/test_standard_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import json
import os
import re
import shutil
import tempfile
import unittest
Expand Down Expand Up @@ -54,11 +55,14 @@ def test_a_pattern_carries_an_example_it_allows(self):
o = dict(pattern, example=example)
self.assertIn("options.effort.example: a value its pattern allows besides its default, shown in its place", definitions.problems(agent(options={"effort": o}), "agent"))

def test_every_bundled_pattern_carries_an_example(self):
def test_a_bundled_pattern_has_an_example_only_beside_a_word_default(self):
""""200 e.g. 100" reads as two defaults: an example only where the default is a word (default, none)."""
number = re.compile(r"^-?[0-9]+(?:\.[0-9]+)?$")
for kind in ("benchmark", "agent", "capability"):
for d in definitions.load(kind, root=definitions.CATALOGUE, every=True)[0]:
for n, o in (d.get("options") or {}).items():
self.assertTrue("pattern" not in o or "example" in o, f"{d['_ref']} {n}")
if "pattern" in o:
self.assertEqual("example" in o, not number.match(str(o.get("default"))), f"{d['_ref']} {n}")

def test_a_name_and_a_summary(self):
bad = definitions.problems(agent(options={"Effort": dict(EFFORT), "effort": dict(EFFORT, summary="")}), "agent")
Expand Down
3 changes: 2 additions & 1 deletion app/ui_tests/test_catalogue_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,9 @@ def test_an_option_with_a_pattern_shows_its_example_not_the_pattern(self):
for key in ("osworld2", "gsm8k", "humaneval", "gaia", "osworld1", "tau3-bench"):
html, opts = self.page_html(key), json.loads((Path(catalog.__file__).parent / "benchmarks" / key / "standard.json").read_text())["options"]
for o in opts.values():
if "pattern" in o:
if "example" in o:
self.assertIn("e.g. <code>%s</code>" % o["example"], html)
if "pattern" in o:
self.assertNotIn(o["pattern"], unescape(html))
self.assertNotIn("Provider default", self.page("osworld1"))

Expand Down
2 changes: 1 addition & 1 deletion docs/agents/supported/jiuwenswarm.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ openJiuwen's WorkSwarm agent.
| Option | Values, default in bold | What it sets | Versions |
|---|---|---|---|
| `reasoning_effort` | **`default`**, `off`, `minimal`, `low`, `medium`, `high`, `xhigh`, `max` | How much reasoning the model uses before answering, with `default` leaving the choice to the provider. | every version |
| `web_max_fetches` | e.g. `6`, default `3` | Pages fetched per invocation. | `jiuwenswarm@0.2.9` |
| `web_max_fetches` | default `3` | Pages fetched per invocation. | `jiuwenswarm@0.2.9` |

## Benchmarks it fits

Expand Down
2 changes: 1 addition & 1 deletion docs/benchmarks/supported/osworld1.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Open-ended tasks on a real Ubuntu desktop and its applications, each in a VM of
|---|---|---|---|
| `agent` | **`m3` (M3 Agent)**, `prompt` (PromptAgent), `claude` (Claude computer use), `gpt54` (GPT-5.4), `openai_cua` (OpenAI CUA), `qwen` (Qwen), `os_symphony` (OS-Symphony), `evocua` (EvoCUA), `autoglm` (AutoGLM), `autoglm_v` (AutoGLM-V), `mano` (Mano), `muse_spark` (Muse Spark) | Which of OSWorld's own agents runs: each its script as published, with its own prompts, action format and step limit. | `original`, `model` |
| `max_steps` | e.g. `50`, default `default` | The most actions per task. default: each OSWorld agent script's own documented invocation; 100 through the computer port. | `original`, `model`, `yours` |
| `pause` | e.g. `5.0`, default `3.0` | Seconds to wait after each action before taking the next screenshot. | `agent` |
| `pause` | default `3.0` | Seconds to wait after each action before taking the next screenshot. | `agent` |
| `thinking` | **`adaptive`**, `off` | M3_THINKING_MODE: adaptive, as run_multienv_m3.py's own documented invocation exports it (the model decides whether to think; temperature 1, no top_p), or off, the agent's code default when the variable is unset. | `original`, `model` |
| `vm_provider` | **`docker`** | --provider_name: where the task's VM runs. docker only: the upstream's other providers need cloud accounts or a hypervisor of their own. | `original`, `model`, `yours` |

Expand Down
4 changes: 2 additions & 2 deletions docs/benchmarks/supported/tau3-bench.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ Customer service with domain tools and a simulated user: airline, retail, teleco
| Option | Values, default in bold | What it sets | Setups |
|---|---|---|---|
| `agent_reasoning_effort` | **`default`**, `none`, `minimal`, `low`, `medium`, `high`, `xhigh` | How much reasoning the benchmark's own agent model uses, with `default` keeping the upstream settings. | `original` |
| `max_errors` | e.g. `5`, default `10` | The upstream's --max-errors: the most tool calls that fail before a conversation ends. 10, its default, is the leaderboard's. | `original`, `yours` |
| `max_steps` | e.g. `100`, default `200` | The upstream's --max-steps: the most messages and tool calls of a conversation, the user's and the agent's together, at most 200: its default, the leaderboard's, which limits.turns leaves the one met. | `original`, `yours` |
| `max_errors` | default `10` | The upstream's --max-errors: the most tool calls that fail before a conversation ends. 10, its default, is the leaderboard's. | `original`, `yours` |
| `max_steps` | default `200` | The upstream's --max-steps: the most messages and tool calls of a conversation, the user's and the agent's together, at most 200: its default, the leaderboard's, which limits.turns leaves the one met. | `original`, `yours` |
| `retrieval` | **`bm25`**, `bm25_grep`, `grep_only`, `no_knowledge`, `full_kb`, `golden_retrieval`, `openai_embeddings`, `openai_embeddings_grep`, `alltools`, `terminal_use`, `terminal_use_write`, `bm25_reranker`, `bm25_reranker_grep`, `openai_embeddings_reranker`, `openai_embeddings_reranker_grep`, `qwen_embeddings`, `qwen_embeddings_grep`, `qwen_embeddings_reranker`, `qwen_embeddings_reranker_grep`, `alltools-qwen` | How the agent searches the bank's documents in banking_knowledge tasks. | `original`, `yours` |
| `task_split` | **`base`**, `train`, `test`, `small`, `full` | Which group of tasks to run within the selected domain. | `original`, `yours` |
| `upstream_agent` | **`llm_agent`**, `llm_agent_gt`, `llm_agent_solo` | Whether the benchmark's own agent runs normally, receives the reference actions, or works alone with the user's tools. | `original` |
Expand Down
2 changes: 1 addition & 1 deletion docs/standard.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ The upstream's dependencies go in `driver.install` (a capability's `install` is

| Key of an option | Meaning |
| --- | --- |
| `summary`, `values` or `pattern`, `example`, `default` | What it changes, its allowed choices or input pattern, and its value when unset. `example`, optional and checked when given, is a value the pattern allows besides the default |
| `summary`, `values` or `pattern`, `example`, `default` | What it changes, its allowed choices or input pattern, and its value when unset. `example`, optional and checked when given, is a value the pattern allows besides the default; give it only beside a default that is a word |
| `datasets` | The datasets it applies to |
| `about` | A line about each value |
| `names` | A name for some values, shown in their place; a recipe and the CLI keep the value |
Expand Down