forked from ChelseaKR/nearmiss
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstudio.html
More file actions
236 lines (222 loc) · 10.5 KB
/
Copy pathstudio.html
File metadata and controls
236 lines (222 loc) · 10.5 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#2543d8" />
<meta
name="description"
content="Check whether community road-safety data can support a defensible public claim without uploading protected reports."
/>
<meta property="og:type" content="website" />
<meta property="og:site_name" content="NearMiss" />
<meta property="og:title" content="NearMiss Studio — check the evidence before the claim" />
<meta
property="og:description"
content="Run a local data-readiness check and generate claim language bounded by the evidence you have."
/>
<meta property="og:url" content="https://nearmiss.chelseakr.com/studio/" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="NearMiss Studio — check the evidence before the claim" />
<meta
name="twitter:description"
content="Run a local data-readiness check and generate claim language bounded by the evidence you have."
/>
<link rel="canonical" href="https://nearmiss.chelseakr.com/studio/" />
<link rel="icon" href="/web/vendor/brand/clearance-mark.svg" type="image/svg+xml" />
<link rel="stylesheet" href="/web/style.css" />
<link rel="stylesheet" href="/web/brand.css" />
<link rel="stylesheet" href="/web/workflow.css" />
<link rel="stylesheet" href="/web/interface.css" />
<title>NearMiss Studio — check the evidence before the claim</title>
</head>
<body class="workflow-page">
<a class="skip-link" href="#main">Skip to main content</a>
<header class="workflow-header">
<nav class="workflow-nav" aria-label="Primary">
<a class="brand-lockup" href="/" aria-label="NearMiss home">
<svg class="clearance-mark" viewBox="0 0 48 32" aria-hidden="true" focusable="false">
<path class="clearance-path clearance-path-a" d="M3 27 17 13h5" />
<path class="clearance-path clearance-path-b" d="M45 5 31 19h-5" />
</svg>
<span class="brand-lockup-copy">
<strong>nearmiss</strong>
<span>Studio</span>
</span>
</a>
<div class="workflow-nav-links">
<a href="/dossier/">Sample dossier</a>
<a href="/fars/national/">Conflict Atlas</a>
</div>
</nav>
<div class="workflow-hero">
<div>
<p class="workflow-kicker">Local-first evidence check</p>
<h1>Find the claim your data can carry.</h1>
<p class="workflow-lede">
Inspect a CSV or JSON file in this browser, see the gaps before analysis, and generate
language that stays inside the evidence boundary.
</p>
</div>
<aside class="workflow-privacy" aria-label="Privacy statement">
<strong>Your file stays here.</strong>
<p>
The readiness check runs in this browser. It does not upload, store, or transmit the
selected file. Close the tab to clear the working state.
</p>
</aside>
</div>
</header>
<main id="main" class="workflow-main">
<ol class="evidence-chain" aria-label="Evidence-to-action chain">
<li><span class="chain-step">Source</span><strong>Inspect what you have</strong></li>
<li><span class="chain-step">Boundary</span><strong>Name what is missing</strong></li>
<li><span class="chain-step">Claim</span><strong>Use permitted language</strong></li>
<li><span class="chain-step">Action</span><strong>Request the next step</strong></li>
</ol>
<section class="workflow-section" aria-labelledby="readiness-heading">
<div class="workflow-heading">
<div>
<p class="workflow-kicker">01 · Source readiness</p>
<h2 id="readiness-heading">Check the evidence before running an analysis.</h2>
</div>
<p>
This quick audit recognizes common report fields, checks whether the observation window
and location are usable, and estimates whether a privacy floor would suppress grouped
results. It is a readiness screen, not a statistical result.
</p>
</div>
<form id="readiness-form" class="readiness-form">
<div class="form-grid">
<label>
Decision you need to inform
<input id="decision" name="decision" type="text" value="Request a corridor field audit" maxlength="160" />
</label>
<label>
Corridor or place
<input id="corridor" name="corridor" type="text" value="Example corridor" maxlength="120" />
</label>
<label>
Intended decision owner
<input id="owner" name="owner" type="text" value="City transportation department" maxlength="120" />
</label>
</div>
<label>
Community-report file
<input id="evidence-file" name="evidence-file" type="file" accept=".csv,.json,text/csv,application/json" aria-describedby="file-help" />
</label>
<p id="file-help">
CSV and JSON are supported. Useful fields include latitude/longitude or address, date or
timestamp, hazard type, and a segment or corridor identifier.
</p>
<fieldset>
<legend>Other evidence already available</legend>
<div class="source-checks">
<label><input id="has-exposure" type="checkbox" /> Aligned exposure denominator</label>
<label><input id="has-official" type="checkbox" /> Independent official outcome source</label>
<label><input id="has-review" type="checkbox" /> Human data-quality review completed</label>
</div>
</fieldset>
<div class="workflow-actions">
<button class="workflow-action" type="submit">Run local readiness check</button>
<button class="workflow-action workflow-action-secondary" id="load-sample" type="button">
Use a safe sample
</button>
</div>
<p id="readiness-status" role="status" aria-live="polite" aria-atomic="true"></p>
</form>
<section id="readiness-result" class="readiness-result" aria-labelledby="readiness-result-heading" hidden>
<div class="result-topline">
<h3 id="readiness-result-heading" tabindex="-1">Readiness result</h3>
<span id="evidence-tier" class="result-tier">Tier —</span>
</div>
<p id="readiness-summary"></p>
<ul id="readiness-findings" class="readiness-findings"></ul>
<p><strong>Recommended next step:</strong> <span id="readiness-next"></span></p>
<div class="workflow-actions">
<button id="copy-readiness" class="workflow-action workflow-action-secondary" type="button">
Copy readiness report
</button>
<a id="open-claim" class="workflow-link-action" href="#claim-heading">Set the claim boundary</a>
</div>
</section>
</section>
<section class="workflow-section" aria-labelledby="claim-heading">
<div class="workflow-heading">
<div>
<p class="workflow-kicker">02 · Claim compiler</p>
<h2 id="claim-heading">Say exactly what the evidence supports.</h2>
</div>
<p>
The readiness result sets the evidence tier; you choose the public task. NearMiss
supplies bounded language, forbidden shortcuts, and the next credible action. It never
turns observational data into causation or an engineering prescription.
</p>
</div>
<form id="claim-form" class="claim-form">
<div class="form-grid">
<label>
Evidence tier from readiness
<select id="claim-tier" name="claim-tier" disabled>
<option value="0" selected>Tier 0 · Coverage gap</option>
<option value="1">Tier 1 · Community signal</option>
<option value="2">Tier 2 · Elevated rate</option>
<option value="3">Tier 3 · Triangulated priority</option>
</select>
<span id="claim-tier-note" class="field-note">Run the readiness check to set this tier.</span>
</label>
<label>
Intended use
<select id="claim-use" name="claim-use">
<option value="field_audit">Request a field audit</option>
<option value="staff_memo">Prepare a staff or council memo</option>
<option value="grant">Support a funding application</option>
<option value="evaluation">Plan a follow-up evaluation</option>
</select>
</label>
<label>
Place named in the claim
<input
id="claim-place"
name="claim-place"
type="text"
value="Example corridor"
maxlength="120"
readonly
/>
</label>
</div>
<button id="generate-claim" class="workflow-action" type="submit" disabled>
Generate bounded claim
</button>
</form>
<section id="claim-result" class="claim-result" aria-labelledby="claim-result-heading" hidden>
<h3 id="claim-result-heading" tabindex="-1">Permitted claim</h3>
<p id="claim-output" class="claim-output"></p>
<div class="claim-boundary">
<article>
<h4>What this supports</h4>
<p id="claim-supports"></p>
</article>
<article class="cannot-claim">
<h4>What this does not support</h4>
<p id="claim-cannot"></p>
</article>
</div>
<p><strong>Next credible action:</strong> <span id="claim-next"></span></p>
<div class="workflow-actions">
<button id="copy-claim" class="workflow-action workflow-action-secondary" type="button">
Copy claim and boundary
</button>
<a id="build-dossier" class="workflow-link-action" href="/dossier/">Open a dossier draft</a>
</div>
</section>
</section>
</main>
<footer class="workflow-footer">
<p>NearMiss checks readiness; it does not upload or publish the file you inspect.</p>
<a href="https://github.com/ChelseaKR/nearmiss">Inspect the source and methods</a>
</footer>
<script src="/web/studio.js"></script>
</body>
</html>