forked from ChelseaKR/nearmiss
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathriverside-demo.toml
More file actions
35 lines (30 loc) · 1.1 KB
/
Copy pathriverside-demo.toml
File metadata and controls
35 lines (30 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Second demo city — proves config-over-code: a new city is a new config + data,
# no Python changes. See docs/ADAPTING.md.
city = "Riverside"
dataset_note = "Synthetic demonstration data — not real reports. The hotspots are planted in the fixture, so the method finds what was put there."
exposure_unit = "bike trips (synthetic)"
streets = "../tests/fixtures/riverside/streets.geojson"
reports = "../tests/fixtures/riverside/reports.json"
exposure = "../tests/fixtures/riverside/exposure.json"
raw_dir = "../data/raw/riverside" # PRIVATE, gitignored
out_dir = "../data/published" # open, committed
submissions_dir = "../data/pending" # PRIVATE moderation queue, gitignored (HR4)
ref_lat = 33.9533
ref_lon = -117.3962
# Analysis window (METHODOLOGY §1). Spans all synthetic fixture timestamps so the
# demo filters nothing and outputs stay byte-stable.
[window]
start = "2026-01-01"
end = "2026-12-31"
[thresholds]
snap_max_m = 25
dedupe_window_s = 600
dedupe_distance_m = 15
small_n = 5
min_publish_n = 3
rate_per = 1000
confidence_z = 1.96
fdr_alpha = 0.05
gi_band_m = 300
kde_bandwidth_m = 150
kde_grid = 20