Skip to content

Commit 41e6597

Browse files
author
tianqi77
committed
fix some queries
1 parent 3e2e6b5 commit 41e6597

File tree

5 files changed

+752
-284
lines changed

5 files changed

+752
-284
lines changed

Team20/Tests20/iteration3/Affects/affects_1_queries.txt

+14-14
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ TRUE
66
2 - comment
77
stmt s, s1, s2; assign a, a1; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
88
Select BOOLEAN such that Affects(_, s)
9-
FALSE
9+
TRUE
1010
5000
1111
3 - comment
1212
stmt s, s1, s2; assign a, a1; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
@@ -51,7 +51,7 @@ Select a such that Affects(_, _)
5151
11 - comment
5252
stmt s, s1, s2; assign a, a1; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
5353
Select s such that Affects(s,_)
54-
none
54+
14,15,16,17,18,19,21,24
5555
5000
5656
12 - comment
5757
stmt s, s1, s2; assign a, a1; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
@@ -116,7 +116,7 @@ Select c.value such that Affects(a, a1) with c.value =a1.stmt#
116116
24 - comment
117117
stmt s, s1, s2; assign a, a1; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
118118
Select a such that Affects(a,s)
119-
none
119+
14,15,16,17,18,19,21,24
120120
5000
121121
25 - comment
122122
stmt s, s1, s2; assign a, a1; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
@@ -141,7 +141,7 @@ TRUE
141141
29 - comment
142142
stmt s, s1, s2; assign a, a1; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
143143
Select BOOLEAN such that Affects*(_, s)
144-
FALSE
144+
TRUE
145145
5000
146146
30 - comment
147147
stmt s, s1, s2; assign a, a1; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
@@ -156,7 +156,7 @@ FALSE
156156
32 - comment
157157
stmt s, s1, s2; assign a, a1; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
158158
Select BOOLEAN such that Affects*(n, n1)
159-
FALSE
159+
TRUE
160160
5000
161161
33 - comment
162162
stmt s, s1, s2; assign a, a1; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
@@ -181,7 +181,7 @@ Select a such that Affects*(_, _)
181181
37 - comment
182182
stmt s, s1, s2; assign a, a1; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
183183
Select s such that Affects*(s,_)
184-
none
184+
14,15,16,17,18,19,21,24
185185
5000
186186
38 - comment
187187
stmt s, s1, s2; assign a, a1; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
@@ -301,7 +301,7 @@ TRUE
301301
61 - comment
302302
stmt s, s1, s2; assign a, a1; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
303303
Select BOOLEAN such that Affects(a, s) and Affects(a, a1)
304-
FALSE
304+
TRUE
305305
5000
306306
62 - comment
307307
stmt s, s1, s2; assign a, a1, a2; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
@@ -351,7 +351,7 @@ Select a2 such that Affects(a, a2) and Affects(a2, a1) and Affects (a, a1)
351351
71 - comment
352352
stmt s, s1, s2; assign a, a1; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
353353
Select s such that Affects(a, s) and Affects(a, a1)
354-
none
354+
10,11,15,17,20,22,25,9
355355
5000
356356
72 - comment
357357
stmt s, s1, s2; assign a, a1; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
@@ -361,7 +361,7 @@ none
361361
73 - comment
362362
stmt s, s1, s2; assign a, a1, a2; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
363363
Select a1 such that Affects(a1, a) and Affects(a, a2) with a2.stmt# = c1.value
364-
14
364+
14, 15, 16
365365
5000
366366
74 - comment
367367
stmt s, s1, s2; assign a, a1; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
@@ -371,12 +371,12 @@ none
371371
75 - comment
372372
stmt s, s1, s2; assign a, a1; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
373373
Select a such that Affects(a, s) such that Affects(s, a1)
374-
none
374+
14, 15, 16
375375
5000
376376
76 - comment
377377
stmt s, s1, s2; assign a, a1, a2; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
378378
Select a1.stmt# such that Affects(a, a2) and Affects(a1, a)with a2.stmt# = 10
379-
14
379+
15,16, 14
380380
5000
381381
77 - comment
382382
stmt s, s1, s2; assign a, a1; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
@@ -456,7 +456,7 @@ TRUE
456456
92 - comment
457457
stmt s, s1, s2; assign a, a1; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
458458
Select BOOLEAN such that Affects*(a, s) and Affects*(a, a1)
459-
FALSE
459+
TRUE
460460
5000
461461
93 - comment
462462
stmt s, s1, s2; assign a, a1, a2; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
@@ -511,7 +511,7 @@ Select a such that Affects*(a, a2) and Affects*(a2, a1) and Affects* (a, a1)
511511
103 - comment
512512
stmt s, s1, s2; assign a, a1; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
513513
Select s such that Affects*(a, s) and Affects*(a, a1)
514-
none
514+
10,11,15,17,20,22,25,9
515515
5000
516516
104 - comment
517517
stmt s, s1, s2; assign a, a1; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
@@ -531,7 +531,7 @@ none
531531
107 - comment
532532
stmt s, s1, s2; assign a, a1; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;
533533
Select a such that Affects*(a, s) such that Affects*(s, a1)
534-
none
534+
14, 15, 16
535535
5000
536536
108 - comment
537537
stmt s, s1, s2; assign a, a1, a2; while w, w1; if ifs, ifs1; variable v, v1; procedure p, q, p1; constant c, c1; call cl; print pn; read re; prog_line n, n1;

0 commit comments

Comments
 (0)