Constrained Choices / 生活的选择空间 · 2026-10-17

Open index.html at the root of the research pack. The page follows your browser's
language and also offers Auto / 中文 / English. These 20 questions are research
starting points, not promises of publication. Download a task sheet for each topic;
topics.json and topics.csv let you maintain the database yourself.

The en/ folder contains English task sheets and starter materials. Chinese versions
are at the root. Two worked examples have been run: NYC-01 (beginner, 2–4 weeks)
and HPS-01 (intermediate, 4–6 weeks). Other topics have analysis plans, not completed
analyses. ACS data still need extraction; IDMC data still need extraction and joining.

NYC-01 / Python 3.10+
  python -m pip install -r requirements.txt
  python nyc_analysis.py --data-dir data-nyc --output-dir results-nyc --download
Add --no-plots for CSV/JSON output without a plotting dependency.
The official CSV is small. The script checks a fixed SHA256 and the official HVI
table before removing an incorrect duplicate row. Results describe 197 NTA
neighborhoods, not individuals or real-time conditions in 2026.

HPS-01 / Python 3.10+ (standard library; no paid API)
  python hps_analysis.py --data-dir data-hps --output-dir results-hps --download --language en
The first run downloads the official ZIP, about 54 MB, including its dictionary,
main table and 80 replicate weights. If the checksum changes, the script stops:
recheck the source rather than removing the check.
  python plot_hps.py --results results-hps/hps_results.json --output-dir results-hps
Plotting requires matplotlib and produces PNG/SVG. The starter notebooks embed
their scripts and can also run cell by cell in Jupyter or Google Colab.

Reference summaries, figures and source checks are in ../results/ when included.
You can also generate them with the commands above. The pack does not include raw
individual survey records. Reproduce the analysis before comparing results; if
numbers differ, inspect versions, missing values, coding, denominators and weights.
"Reproducible" means this defined workflow has run on this edition; it does not
promise automatic compatibility with a different dataset. Read source terms and
retain citations: public access does not mean unrestricted use.

Developing your own contribution:
1. Reproduce one figure and explain what one row and its denominator mean.
2. Write a small, testable extension question before analyzing it.
3. Change one threshold, subgroup or robustness rule and record your reason.
4. Report all planned results, including null, opposite or inconclusive results.
5. Do not present a worked example or AI-generated text as your independent discovery.

Four milestones (combine for a two-week project; allow more checking for six weeks):
1. Read the question and data; submit the question, variable dictionary and data receipt.
2. Clean the data and define denominators; submit exclusions, a sample table and one figure.
3. Run the planned analysis and robustness checks; submit runnable code and real results.
4. Prepare a poster and explanation with methods, limitations, references and your contribution.

Conclusion template:
For [edition/scope] and [unit/effective n], using [definition], we observed
[estimate, units and uncertainty]. This supports [descriptive comparison] but does
not establish [causation/individual mechanism]. Key limitations are
[missingness/selection/measurement/time or geographic mismatch].

Prompt for an AI assistant:
"Read this task sheet, variable dictionary and actual data structure first. Check
the code, units, years and denominators. Propose cleaning rules, then execute code
before citing numbers. Do not invent columns, results or references. Preserve
errors and their causes; if data are insufficient, explain the limit instead of
simulating findings. Identify what I must decide and understand, and record AI use."
