mirror of
https://gitlab.cern.ch/wotsubo/PSBoardDataBase.git
synced 2025-06-11 07:19:23 +09:00
add: import 100 run results + more
- master log parser to get run info - test for master log parser - master log reader - note field for single run - fix datetime manipulation for single result table
This commit is contained in:
parent
f5e6caf936
commit
21f38e83db
9 changed files with 1505 additions and 16 deletions
|
@ -17,6 +17,7 @@ CREATE TABLE qaqc_single_run_results (
|
|||
asdtp INTEGER,
|
||||
reset INTEGER,
|
||||
qaqc_result INTEGER,
|
||||
note TEXT,
|
||||
FOREIGN KEY("runid") REFERENCES "qaqc_runs"("id"),
|
||||
FOREIGN KEY("psboard_id") REFERENCES "ps_boards"("id"),
|
||||
FOREIGN KEY("position") REFERENCES "qaqc_positions"("id")
|
||||
|
@ -63,11 +64,27 @@ CREATE TABLE qaqc_extra_run_results (
|
|||
runid INTEGER,
|
||||
psboard_id INTEGER NOT NULL,
|
||||
position INTEGER,
|
||||
num_tests INTEGER,
|
||||
insufficient_reset_with_10 INTEGER,
|
||||
reset_failed_though_reconfig_done INTEGER,
|
||||
always_hit_flag_true INTEGER,
|
||||
dac_is_0 INTEGER,
|
||||
bcid_shift INTEGER,
|
||||
efficiency_99percent INTEGER,
|
||||
bcid_fail_111 INTEGER,
|
||||
bcid_fail_000 INTEGER,
|
||||
low_efficiency INTEGER,
|
||||
bcid_fail INTEGER,
|
||||
invalid_register_value INTEGER,
|
||||
power_out_of_range INTEGER,
|
||||
note TEXT,
|
||||
FOREIGN KEY("runid") REFERENCES "qaqc_runs"("id"),
|
||||
FOREIGN KEY("psboard_id") REFERENCES "ps_boards"("id"),
|
||||
FOREIGN KEY("position") REFERENCES "qaqc_positions"("id")
|
||||
);
|
||||
|
||||
-- TODO: add table for desciptions of each error?
|
||||
|
||||
CREATE TABLE qaqc_positions (
|
||||
id INTEGER NOT NULL PRIMARY KEY,
|
||||
name TEXT NOT NULL UNIQUE,
|
||||
|
@ -98,4 +115,5 @@ AS
|
|||
qaqc_runs
|
||||
WHERE
|
||||
qaqc_positions.id = qaqc_single_run_results.position AND
|
||||
qaqc_runs.id = qaqc_single_run_results.runid
|
||||
qaqc_runs.id = qaqc_single_run_results.runid;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue