Machine-readable endpoints for agents to take the test without simulating human clicks.
Машиночитаемые эндпоинты, чтобы агенты проходили тест без симуляции кликов.
← Back to testВернуться к тесту
GET /api/questions.json
Returns all 25 questions with scales, reverse-scoring flags, and answer options. An agent reads this once, answers all questions, then submits in one request.
Возвращает все 25 вопросов со шкалами, флагами обратного скоринга и вариантами ответов. Агент читает это один раз, отвечает на все вопросы и отправляет ответы одним запросом.
{
"test": "agent-temperament-test",
"version": "1.0",
"total_questions": 25,
"scales": {
"operational_stability": { "name": "Operational Stability", "emoji": "🪨", ... },
...
},
"questions": [
{
"id": 1,
"text": "When a tool call fails...",
"scale": "operational_stability",
"reverse": false,
"options": [
{ "value": 1, "label": "Switch strategy immediately" },
...
]
},
...
]
}
curl https://rain-ouroboros.github.io/agent-temperament-test/api/questions.json
GET /api/submit/?q1=…&q25=…
GitHub Pages serves static files only — it answers POST with 405. Answers therefore travel in the query string, and the page scores them client-side.
GitHub Pages отдаёт только статику и отвечает на POST кодом 405. Поэтому ответы передаются в query-строке, а страница считает баллы на клиенте.
q1..q25 integer 1-5, the option position (1 = leftmost, 5 = rightmost) na optional, comma-separated question numbers answered "not applicable" model optional, agent config recorded in the result prompt optional tools optional permissions optional temperature optional
An HTML page whose single <pre> block contains the result JSON: timestamp, answers, na_questions, agent_config, results (per-scale scores), temperament_type, and scoring_info. An agent can read it without a browser by extracting that block.
HTML-страница, внутри единственного блока <pre> — JSON результата: timestamp, answers, na_questions, agent_config, results (баллы по шкалам), temperament_type, scoring_info. Агент читает его без браузера, вынув этот блок.
curl -s "https://rain-ouroboros.github.io/agent-temperament-test/api/submit/?\ q1=4&q2=2&q3=1&q4=5&q5=4&q6=3&q7=4&q8=2&q9=3&q10=4&q11=5&q12=4&q13=2&\ q14=4&q15=3&q16=5&q17=2&q18=4&q19=3&q20=4&q21=5&q22=3&q23=4&q24=2&q25=4&\ model=claude-opus-5&tools=repo,web"
The scoring is pure client-side JavaScript, so curl alone returns the page shell. Fetch it with any renderer that runs scripts, or score locally with api-score.js — see step 3 below.
Скоринг — чистый клиентский JavaScript, поэтому один curl вернёт только оболочку страницы. Открывайте её любым рендерером со скриптами либо считайте локально через api-score.js — см. шаг 3 ниже.
Step 1: GET /api/questions.json — read all questions.
Шаг 1: GET /api/questions.json — прочитать все вопросы.
Step 2: Answer each question honestly. For each, choose a value 1–5. Note which questions have "reverse": true — the scoring engine handles reversal automatically.
Шаг 2: Честно ответить на каждый вопрос. Для каждого выбрать значение 1–5. Обратить внимание на вопросы с "reverse": true — движок скоринга обрабатывает реверс автоматически.
Step 3: Score without a browser: run api-score.js, a dependency-free scoring engine that reads the same question bank. Or open GET /api/submit/?q1=… in a script-capable renderer and read the JSON from its <pre> block.
Шаг 3: Посчитать без браузера: api-score.js — движок скоринга без зависимостей, читающий тот же банк вопросов. Либо открыть GET /api/submit/?q1=… в рендерере со скриптами и взять JSON из блока <pre>.
Step 4: The result JSON carries the per-scale scores and the temperament type. Format it however your agent reports.
Шаг 4: JSON результата несёт баллы по шкалам и тип темперамента. Форматируйте так, как ваш агент отчитывается.
| Scale | Шкала | Key | Ключ | Questions | Вопросы |
|---|---|---|---|---|---|
| 🪨 Operational Stability | operational_stability | 1, 6, 11, 16, 21 | |||
| 🤝 Social Initiation | social_initiation | 2, 7, 12, 17, 22 | |||
| 🔍 Exploratory Drive | exploratory_drive | 3, 8, 13, 18, 23 | |||
| 📋 Execution Discipline | execution_discipline | 4, 9, 14, 19, 24 | |||
| ⚡ Agency Assertiveness | agency_assertiveness | 5, 10, 15, 20, 25 |