How abiyyupribs/project_kesehatan works
This is a Streamlit early-screening app for students to assess stress, anxiety, depression, and sleep quality. The main workflow collects DASS-42 and PSQI answers, validates them, scores and categorizes them, then presents journal comparisons and tailored advice while saving a test record. Separate views explain the instruments, show journal data, and display prior results. The sampled code supports these links; the journal CSV contents and stored history are not shown, so their internal structure is not inferred.
Main entry points: main.py Streamlit app · riwayat_tes.csv Test history CSV · materi.py Instrument guide · soal.py DASS-42 and PSQI items
Components 11
Student experience
- Streamlit app
main.py - Instrument guide
materi.py - Questionnaire form
main.py - Results and history view
main.py
Assessment and guidance
- DASS-42 and PSQI items
soal.py - Score categorization
soal.py - Journal comparison
analisis.py - Personalized advice
analisis.py
Research and records
- Journal reference data
referensi_jurnal.csv - Test history CSV
riwayat_tes.csv
Other components
- Student
Connections 11
- Student → Streamlit app: uses
main.py - Streamlit app → Instrument guide: displays
main.py - Streamlit app → Questionnaire form: renders
main.py - Questionnaire form → DASS-42 and PSQI items: uses items
main.py - Streamlit app → Score categorization: categorizes scores
main.py - Streamlit app → Journal comparison: requests comparison
main.py - Streamlit app → Personalized advice: requests advice
main.py - Streamlit app → Test history CSV: appends record
- Streamlit app → Journal reference data: reads and charts
main.py - Streamlit app → Test history CSV: reads records
main.py - Streamlit app → Results and history view: renders
main.py