cjc0013 commited on
Commit
a938ec8
·
verified ·
1 Parent(s): 2c4c360

Add fictional example walkthrough to Start Here

Browse files
Files changed (1) hide show
  1. public_space_app.py +19 -10
public_space_app.py CHANGED
@@ -121,7 +121,7 @@ def _about_release_markdown(
121
  "",
122
  "- Journalists can use it to move from a vague suspicion to a concrete set of records worth checking.",
123
  "- Researchers can use it to compare members, sectors, and funding-recipient patterns without pulling six public sources by hand.",
124
- "- Citizens can use it to see why a relationship appears, then open the actual published source URLs and SHA-backed artifacts.",
125
  "",
126
  "## What this does not claim",
127
  "",
@@ -157,21 +157,29 @@ def _about_release_markdown(
157
  def _data_used_markdown(manifest: Dict[str, Any]) -> str:
158
  summary = manifest.get("methodology_summary") or {}
159
  source_groups = _split_source_group_lines(summary.get("source_groups"))
 
 
 
 
 
 
 
 
 
 
160
  return "\n".join(
161
  [
162
  "## What data is used here",
163
  "",
164
  "This release combines public records from these source groups:",
165
  "",
166
- *[f"- {item}" for item in source_groups],
167
- "",
168
- "## In plain English, what those sources add",
169
- "",
170
- "- Disclosure records show trades or financial holdings.",
171
- "- Bill and vote records show legislative activity in related policy areas.",
172
- "- Committee records show formal committee context.",
173
- "- Lobbying and campaign-finance visibility add more public context around the same issue areas.",
174
- "- Community project funding records and award pages help show recipient-side relationships.",
175
  "",
176
  "## How those records show up in this release",
177
  "",
@@ -181,6 +189,7 @@ def _data_used_markdown(manifest: Dict[str, Any]) -> str:
181
  "- `evidence_audit/*`: source URLs, SHA-256 values, and public-safe provenance rows for verification.",
182
  "",
183
  "Not every internal raw record is published here. The public package is a bounded, sanitized release layer.",
 
184
  ]
185
  )
186
 
 
121
  "",
122
  "- Journalists can use it to move from a vague suspicion to a concrete set of records worth checking.",
123
  "- Researchers can use it to compare members, sectors, and funding-recipient patterns without pulling six public sources by hand.",
124
+ "- Citizens can use it to see why a relationship appears, then open the actual published source URLs and SHA-backed artifacts (cryptographic hashes used to help show a published record has not been altered).",
125
  "",
126
  "## What this does not claim",
127
  "",
 
157
  def _data_used_markdown(manifest: Dict[str, Any]) -> str:
158
  summary = manifest.get("methodology_summary") or {}
159
  source_groups = _split_source_group_lines(summary.get("source_groups"))
160
+ source_pairs = [
161
+ ("House Clerk financial disclosures and PTRs", "Show trades or financial holdings disclosed by House members."),
162
+ ("House Clerk member directory and committee list", "Identify who the members are and what committee context they have."),
163
+ ("GovInfo BILLSTATUS bulk data", "Show bill activity tied to the same policy area."),
164
+ ("House Clerk roll-call vote XML", "Show vote activity tied to the same policy area."),
165
+ ("FEC public bulk downloads", "Add campaign-finance context where it is used in the released slice."),
166
+ ("LDA public search pages", "Add lobbying visibility around the same issue areas."),
167
+ ("House member community project funding disclosure pages", "Show member-published funding-request disclosures."),
168
+ ("USAspending award pages used for some recipient matching", "Show public award records used to support some funding-recipient links."),
169
+ ]
170
  return "\n".join(
171
  [
172
  "## What data is used here",
173
  "",
174
  "This release combines public records from these source groups:",
175
  "",
176
+ "| Source | What it adds |",
177
+ "| --- | --- |",
178
+ *[
179
+ f"| {source} | {purpose} |"
180
+ for source, purpose in source_pairs
181
+ if source in source_groups or source == "USAspending award pages used for some recipient matching"
182
+ ],
 
 
183
  "",
184
  "## How those records show up in this release",
185
  "",
 
189
  "- `evidence_audit/*`: source URLs, SHA-256 values, and public-safe provenance rows for verification.",
190
  "",
191
  "Not every internal raw record is published here. The public package is a bounded, sanitized release layer.",
192
+ "When this app says a row has a SHA-backed artifact, it means the release includes a cryptographic hash that helps show the published record has not been altered.",
193
  ]
194
  )
195