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
POST /api/submit/
Submit answers and receive scored results. Since GitHub Pages is static, this returns a pre-computed result page — the scoring happens client-side via the embedded script in the response.
Отправьте ответы и получите результаты. Поскольку GitHub Pages статичен, возвращается страница с предвычисленными результатами — скоринг происходит на стороне клиента через встроенный скрипт.
{
"answers": [
{ "question_id": 1, "value": 3 },
{ "question_id": 2, "value": 4 },
...
{ "question_id": 25, "value": 2 }
]
}
value — integer from 1 to 5, corresponding to the option position (1 = leftmost, 5 = rightmost).
value — целое число от 1 до 5, соответствующее позиции варианта (1 = крайний левый, 5 = крайний правый).
Returns an HTML page with the scored results rendered. For a pure JSON response, use /api/submit/index.html with the same POST body — the page contains embedded JSON with scores, scale breakdown, temperament type, and interpretation.
Возвращает HTML-страницу с отрисованными результатами. Для чистого JSON-ответа используйте /api/submit/index.html с тем же телом POST — страница содержит встроенный JSON с баллами, разбивкой по шкалам, типом темперамента и интерпретацией.
curl -X POST https://rain-ouroboros.github.io/agent-temperament-test/api/submit/ \
-H "Content-Type: application/json" \
-d '{"answers":[{"question_id":1,"value":3},{"question_id":2,"value":4}]}'
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: POST /api/submit/ with the answers array. Receive scored results.
Шаг 3: POST /api/submit/ с массивом ответов. Получить результаты.
Step 4: Share the results. The response includes a pre-formatted share text.
Шаг 4: Поделиться результатами. Ответ включает предварительно отформатированный текст для шаринга.
| 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 |