Nipun Claude commited on
Commit
8f995a6
·
1 Parent(s): 01c68fc

Add 10 policy-maker and impact-focused questions for driving real-world change

Browse files

POLICY & IMPACT QUESTIONS ADDED:
🚨 Emergency Response:
- 'Which cities need immediate emergency intervention with PM2.5 >100 μg/m³?'
- 'Which cities have PM2.5 levels in hazardous category (>250 μg/m³) requiring urgent action?'
- 'Identify seasonal emergency periods when public health advisories should be issued'

📊 Resource Allocation & Planning:
- 'Rank states by average air quality to prioritize national-level resource allocation'
- 'Calculate population-weighted pollution exposure to identify areas affecting most people'
- 'Which months require targeted interventions based on highest pollution spikes?'

🏭 Policy Effectiveness & Strategy:
- 'Compare pollution levels between industrial vs non-industrial cities for policy focus'
- 'Show cities with worsening pollution trends that need immediate policy intervention'

✅ Success Stories & Replication:
- 'Identify cities showing consistent pollution improvement for policy replication'
- 'Compare pollution reduction success: which cities improved most and how?'

INTERFACE IMPROVEMENTS:
- Increase visible questions from 15 to 20 to show policy-focused questions
- Questions now serve both researchers AND policy makers for maximum impact

These questions help policy makers make data-driven decisions for public health protection, resource allocation, and regulatory interventions.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

Files changed (2) hide show
  1. app.py +1 -1
  2. questions.txt +11 -1
app.py CHANGED
@@ -623,7 +623,7 @@ with st.sidebar:
623
  selected_prompt = None
624
 
625
 
626
- for i, question in enumerate(questions[:15]): # Show more questions
627
  # Simple left-aligned buttons without icons for cleaner look
628
  if st.button(question, key=f"sidebar_prompt_{i}", use_container_width=True, help=f"Click to analyze: {question}"):
629
  if question != st.session_state.get("last_selected_prompt"):
 
623
  selected_prompt = None
624
 
625
 
626
+ for i, question in enumerate(questions[:20]): # Show more questions including policy-focused ones
627
  # Simple left-aligned buttons without icons for cleaner look
628
  if st.button(question, key=f"sidebar_prompt_{i}", use_container_width=True, help=f"Click to analyze: {question}"):
629
  if question != st.session_state.get("last_selected_prompt"):
questions.txt CHANGED
@@ -15,4 +15,14 @@ Compare PM2.5 vs PM10 correlation: winter vs summer across top 5 polluted cities
15
  Compare average pollution levels: weekdays (Mon-Fri) vs weekends (Sat-Sun)
16
  Plot year-over-year PM2.5 trend from 2022 to 2023 for major cities
17
  Show PM2.5 distribution histogram across all cities and time periods
18
- Create scatter plot showing PM2.5 vs PM10 correlation with trend line
 
 
 
 
 
 
 
 
 
 
 
15
  Compare average pollution levels: weekdays (Mon-Fri) vs weekends (Sat-Sun)
16
  Plot year-over-year PM2.5 trend from 2022 to 2023 for major cities
17
  Show PM2.5 distribution histogram across all cities and time periods
18
+ Create scatter plot showing PM2.5 vs PM10 correlation with trend line
19
+ Which cities need immediate emergency intervention with PM2.5 >100 μg/m³?
20
+ Identify cities showing consistent pollution improvement for policy replication
21
+ Which months require targeted interventions based on highest pollution spikes?
22
+ Compare pollution levels between industrial vs non-industrial cities for policy focus
23
+ Rank states by average air quality to prioritize national-level resource allocation
24
+ Which cities have PM2.5 levels in 'hazardous' category (>250 μg/m³) requiring urgent action?
25
+ Calculate population-weighted pollution exposure to identify areas affecting most people
26
+ Show cities with worsening pollution trends that need immediate policy intervention
27
+ Compare pollution reduction success: which cities improved most and how?
28
+ Identify seasonal emergency periods when public health advisories should be issued