-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdope_nope_schema.sql
More file actions
29 lines (24 loc) · 892 Bytes
/
dope_nope_schema.sql
File metadata and controls
29 lines (24 loc) · 892 Bytes
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
/***************************
Basic idea behind the schema below
Every time someone votes yes or no on a pair of images, we record
their feedback in this table. This will keep track of
- What browser session someone is voting in
- The file path to the first image being shown
- The file path to the second image being shown
- Which CNN model judged these as similar
- How the human voted (perhaps 'yes' they match,
'no' they dont, and an 'idk' option)?
Any of this is subject to clarification/refinement as
we get a clearer idea of structure.
Figure out if and how to log sessions later
***************************/
drop table if exists user_feedback;
create table user_feedback(
id integer primary key autoincrement,
-- session text not null,
pair_file_1 text not null,
pair_file_2 text not null,
model text not null,
user_vote integer not null,
comment text not null
);