File size: 1,039 Bytes
f571126
67fde39
 
b66710c
f571126
4fd3a9c
 
 
 
9f5efd9
4fd3a9c
 
 
 
f571126
b66710c
67fde39
 
b66710c
f571126
b66710c
f571126
67fde39
 
 
4fd3a9c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import streamlit as st 
from utils.firebase_util import init_connection
init_connection()

st.title("LSATLR Study")

st.write("""Welcome to our Study! The guidelines are as follows:          
         1. We'll start with a short survey followed by a pre-quiz of LSAT Logical Reasoning questions          
         2. Then you'll be assigned to a learning session based on your group (A or B)          
         3. Use the "Click here when finished" to end session once you're done       
         4. You'll then be directed to a post-quiz to review concepts learnt       
         5. The study ends with a post survey to assess general experience         
         6. You're expected to complete steps 1 - 5 in one sitting 
""")
st.write("Welcome to our Study! Please enter your name and group ID to begin.")

name =st.text_input("Name")
group_id = st.radio("Group ID", ["A", "B"])

start_btn = st.button("Start")

if start_btn:
  st.session_state.name = name
  st.session_state.group_id = group_id
  st.switch_page("pages/presurvey.py")