How nigradwohl/risk_booster works
Science X Media Risk Booster is a browser-based risk-communication tool for journalists and readers. Its three documented experiences are text feedback, an interactive risk checklist/calculator, and a linked evidence-based wiki. Users enter or assess risk information; the tools identify communication gaps or calculate risk measures and present explanatory feedback. The graph separates those user-facing workflows from their internal analysis and content layers. The README documents the product capabilities; sampled JavaScript supports the wiki generation, shared templates, text analysis, and checklist calculations, while unsampled page wiring is not inferred.
Main entry points: handle_checklist.js Checklist interaction · global_scripts.js Shared page templates · build_wiki.js Wiki rendering · jtext_interface.html Text checker page
Components 17
User interfaces
- Shiny app
app.R - Text checker page
www/jtext_interface.html - Checklist page
www/checklist_main.html - Treatment checklist
www/checklist_impftreat.html - Risk wiki page
www/risk_wiki.html - Shared page templates
www/global_scripts.js - Header template
www/header_template.html - Footer template
www/footer_template.html
Text checker
- Text analysis
www/scripts/check_text.js - Feedback and highlights
www/scripts/check_text.js
Risk checklist
- Checklist interaction
www/scripts/handle_checklist.js - Risk calculations
www/scripts/calculate_risk.js - Risk inputs
www/scripts/handle_checklist.js - Risk feedback
www/scripts/handle_checklist.js
Wiki knowledge
- Wiki rendering
www/scripts/build_wiki.js - Guidance content
www/scripts/info_data.js
Other components
- Journalist / reader
Connections 16
- Journalist / reader → Text checker page: enters text
- Text checker page → Text analysis: analyzes text
- Text analysis → Feedback and highlights: produces feedback
- Feedback and highlights → Journalist / reader: shows feedback
- Journalist / reader → Checklist page: opens checklist
- Journalist / reader → Treatment checklist: opens treatment checklist
- Checklist interaction → Risk inputs: collects answers
- Risk inputs → Risk calculations: updates tables
- Checklist interaction → Risk calculations: reads risk values
- Checklist interaction → Risk feedback: shows results
- Risk feedback → Journalist / reader: presents feedback
- Journalist / reader → Risk wiki page: consults guidance
- Wiki rendering → Guidance content: reads entries
- Wiki rendering → Risk wiki page: renders content
- Shared page templates → Header template: loads template
- Shared page templates → Footer template: loads template