File size: 2,823 Bytes
0c987e6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f7f3eab
0c987e6
4aa9c39
0c987e6
 
 
4aa9c39
0c987e6
 
 
4aa9c39
0c987e6
 
 
4aa9c39
0c987e6
 
 
4aa9c39
0c987e6
 
 
4aa9c39
0c987e6
 
 
 
 
 
 
 
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Feedback on Table QA Explanations</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            line-height: 1.6;
            color: #333;
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
        }
        h1 {
            color: #2c3e50;
            text-align: center;
        }
        .question {
            margin-bottom: 20px;
        }
        .likert {
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
        }
        .likert-option {
            text-align: center;
            flex: 1;
        }
        input[type="radio"] {
            margin-bottom: 5px;
        }
        button {
            display: block;
            width: 200px;
            margin: 20px auto;
            padding: 10px;
            background-color: #3498db;
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            cursor: pointer;
        }
        button:hover {
            background-color: #2980b9;
        }
    </style>
</head>
<body>
    <h1>Feedback on Table QA Explanations</h1>

    <form id="feedbackForm" action="{{ url_for('subjective', session_id=session_id) }}" method="post">
        <div class="question">
            <p>How well do you think you understand the reasoning process of the Table QA model?</p>
            <div class="likert">
                <div class="likert-option">
                    <input type="radio" name="understanding" value="1" id="understanding1" required>
                    <label for="understanding1">Very Poor</label>
                </div>
                <div class="likert-option">
                    <input type="radio" name="understanding" value="2" id="understanding2">
                    <label for="understanding2">Poor</label>
                </div>
                <div class="likert-option">
                    <input type="radio" name="understanding" value="3" id="understanding3">
                    <label for="understanding3">Fair</label>
                </div>
                <div class="likert-option">
                    <input type="radio" name="understanding" value="4" id="understanding4">
                    <label for="understanding4">Good</label>
                </div>
                <div class="likert-option">
                    <input type="radio" name="understanding" value="5" id="understanding5">
                    <label for="understanding5">Very Good</label>
                </div>
            </div>
        </div>

        <button type="submit">Submit Feedback</button>
    </form>
</body>
</html>