Skip to content

Commit ca209ca

Browse files
docs: fix incorrect file paths and outdated chat command examples
1 parent 0045540 commit ca209ca

2 files changed

Lines changed: 11 additions & 13 deletions

File tree

docs/architecture.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Topological sort (Kahn's algorithm) resolves attribute dependencies into a valid
4545

4646
Iterates through `sampling_order`, routing each attribute by strategy. Supports 6 distribution types: normal, lognormal, uniform, beta, categorical, boolean.
4747

48-
### 6. Household Sampling (`sampler/household.py`)
48+
### 6. Household Sampling (`sampler/households.py`)
4949

5050
When `household_mode: true`:
5151
- Sample primary adults first
@@ -345,8 +345,7 @@ pytest + pytest-asyncio. Key coverage:
345345
- `test_propagation.py` — exposure propagation and sharing
346346
- `test_stopping.py` — stopping conditions and convergence
347347
- `test_memory_traces.py` — memory window and multi-touch triggers
348-
- `test_household.py` — household sampling and partner correlation
348+
- `test_household_sampling.py` — household sampling and partner correlation
349349
- `test_conversations.py` — multi-turn conversation dynamics
350-
- `test_fidelity.py` — fidelity tier behavior differences
351350

352351
CI: `.github/workflows/test.yml` — lint (ruff) + test (Python 3.11/3.12/3.13)

docs/commands.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -543,17 +543,17 @@ extropy config reset
543543

544544
## extropy chat
545545

546-
Interactive chat with simulated agents.
546+
Interactive chat with simulated agents. Auto-detects study folder from current working directory.
547547

548548
### Interactive REPL
549549

550550
```bash
551-
extropy chat --study-db austin/study.db
551+
cd austin # study folder
552+
extropy chat
552553
```
553554

554555
| Flag | Type | Default | Description |
555556
|------|------|---------|-------------|
556-
| `--study-db` | path | required | Study database path |
557557
| `--run-id` | string | latest | Simulation run ID |
558558
| `--agent-id` | string | auto | Agent ID (auto-selects first agent if not specified) |
559559
| `--session-id` | string | auto | Chat session ID |
@@ -565,33 +565,32 @@ REPL commands: `/context`, `/timeline <n>`, `/history`, `/exit`
565565
Show recent runs and sample agents so users can pick chat targets quickly.
566566

567567
```bash
568-
extropy chat list --study-db austin/study.db
568+
cd austin && extropy chat list
569569
```
570570

571571
| Flag | Type | Default | Description |
572572
|------|------|---------|-------------|
573-
| `--study-db` | path | required | Study database path |
574573
| `--limit-runs` | int | 10 | Number of recent runs to list |
575574
| `--agents-per-run` | int | 5 | Number of sample agent IDs per run |
576-
| `--json` | flag | false | Output JSON response |
577575

578576
### extropy chat ask
579577

580578
Non-interactive API for automation.
581579

582580
```bash
583-
extropy chat ask --study-db austin/study.db \
584-
--prompt "What changed your mind?" --json
581+
cd austin && extropy chat ask --prompt "What changed your mind?"
585582
```
586583

587584
| Flag | Type | Default | Description |
588585
|------|------|---------|-------------|
589-
| `--study-db` | path | required | Study database path |
590586
| `--run-id` | string | latest | Simulation run ID |
591587
| `--agent-id` | string | auto | Agent ID (auto-selects first agent if not specified) |
592588
| `--prompt` | string | required | Question to ask |
593589
| `--session-id` | string | auto | Chat session ID |
594-
| `--json` | flag | false | Output JSON response |
590+
591+
**Output modes:**
592+
- Human mode (`cli.mode: human`): Rich terminal formatting
593+
- Agent mode (`cli.mode: agent`): Structured JSON output
595594

596595
---
597596

0 commit comments

Comments
 (0)