This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

at main 31 lines 1.1 kB View raw View rendered
1# Questionnaire tree viewer 2 3Small static frontend for exploring AI-solve questionnaire JSON. 4 5## Run locally 6 7Browsers block `fetch()` for local files, so serve this folder: 8 9```bash 10cd agent/questionnaires 11python -m http.server 8765 12``` 13 14Open [http://localhost:8765](http://localhost:8765). 15 16## Features 17 18- **Introduction** — project, issue, and approach context shown at the top and in walk-through 19- **Tree view** — nested questions with `context`, `explanation`, and detailed option labels 20- **Walk-through** — interactive simulator with narrative context per step (depth-first stack) 21- **Schema v2** — options are `{ "label": "detailed description…" }` only; answers use `optionIndex` 22- **Load** sample (`test.json`), upload a `.json` / `.txt` file, or paste JSON (supports markdown fences; v1 auto-normalized) 23 24## Sample data 25 26- `test.json` — parsed questionnaire for the AtomicXR lighthouse pair issue 27- `test.txt` — same content with markdown code fence (also loadable) 28 29## Output 30 31Walk-through mode builds the flat `POST /answers` payload shape when you finish all questions.