Skip to content
Open
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
8 changes: 4 additions & 4 deletions docs/data.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ docker compose -f src/couchdb/docker-compose.yaml up -d

# 2. Verify (Fauxton UI: http://localhost:5984/_utils — admin / password)
curl -s -u admin:password http://localhost:5984/_all_dbs
# → ["workorder","iot","vibration","failurecode", ...]
# → ["workorder","iot","vibration","failure_code", ...]

curl -s -u admin:password http://localhost:5984/workorder/wo:MAIN:1000045
```
Expand Down Expand Up @@ -133,7 +133,7 @@ init_data() # back to default
"workorder": "shared/work_order/workorders.csv",
"iot": ["shared/iot/chiller_6.json", "shared/iot/metro_pump_1.json"],
"vibration": "shared/iot/motor_01.json",
"failurecode": "shared/failure_code/failure_code_sample.csv"
"failure_code": "shared/failure_code/failure_code_sample.csv"
}
```

Expand All @@ -154,7 +154,7 @@ Edit this file and re-run `init_data.py` — that's the whole change.
### 2. Change *how* a collection is parsed — `collections.json`

```json
"failurecode": {
"failure_code": {
"format": "csv",
"primary_key": ["code"],
"id_prefix": "fc",
Expand Down Expand Up @@ -283,4 +283,4 @@ folder's parent); data unique to a private scenario goes in that scenario's fold
Consumers should sort client-side or add the index to `collections.json`.
- **`--reuse` keeps history; default reload wipes it.** Anything written at runtime
(e.g. work orders created by agent tools) is deleted on the next default load —
that's the deterministic-benchmark behavior.
that's the deterministic-benchmark behavior.
15 changes: 0 additions & 15 deletions src/servers/fmsr/failure_modes.yaml

This file was deleted.

Loading