You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tco_setup/tco21_eligible_contests.sql
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ WHERE p.project_status_id = 1
28
28
andp.project_id not in (selectce.contest_idfrom contest_eligibility ce) --excluding private challenges
29
29
and not exists (SELECT1FROM comp_technology
30
30
-- WHERE comp_vers_id = pi1.value AND technology_type_id = 78) -- exclude QA Challenges from Dev
31
-
WHERE comp_vers_id =pi1.valueAND technology_type_id in (78,27621212)) -- exclude QA/Data Science Challenges from Dev
31
+
WHERE comp_vers_id =pi1.valueAND technology_type_id in (78,481,482,483,27621212)) -- exclude QA/QA - Regression/QA - Hunt/QA - Test Case Writing/Data Science Challenges from Dev
32
32
and1=1;
33
33
34
34
-- Stage 2
@@ -52,7 +52,7 @@ WHERE p.project_status_id = 1
52
52
andp.project_id not in (selectce.contest_idfrom contest_eligibility ce) --excluding private challenges
53
53
and not exists (SELECT1FROM comp_technology
54
54
-- WHERE comp_vers_id = pi1.value AND technology_type_id = 78) -- exclude QA Challenges from Dev
55
-
WHERE comp_vers_id =pi1.valueAND technology_type_id in (78,27621212)) -- exclude QA/Data Science Challenges from Dev
55
+
WHERE comp_vers_id =pi1.valueAND technology_type_id in (78,481,482,483,27621212)) -- exclude QA/QA - Regression/QA - Hunt/QA - Test Case Writing/Data Science Challenges from Dev
56
56
and1=1;
57
57
58
58
@@ -78,7 +78,7 @@ WHERE p.project_status_id = 1
78
78
-- and p.project_id not in (30128882) --excluding practice contest
79
79
and not exists (SELECT1FROM comp_technology
80
80
-- WHERE comp_vers_id = pi1.value AND technology_type_id = 78) -- exclude QA Challenges from Dev
81
-
WHERE comp_vers_id =pi1.valueAND technology_type_id in (78,27621212)) -- exclude QA/Data Science Challenges from Dev
81
+
WHERE comp_vers_id =pi1.valueAND technology_type_id in (78,481,482,483,27621212)) -- exclude QA/QA - Regression/QA - Hunt/QA - Test Case Writing/Data Science Challenges from Dev
82
82
and1=1;
83
83
84
84
-- Stage 4
@@ -103,7 +103,7 @@ WHERE p.project_status_id = 1
103
103
-- and p.project_id not in (30128882) --excluding practice contest
104
104
and not exists (SELECT1FROM comp_technology
105
105
-- WHERE comp_vers_id = pi1.value AND technology_type_id = 78) -- exclude QA Challenges from Dev
106
-
WHERE comp_vers_id =pi1.valueAND technology_type_id in (78,27621212)) -- exclude QA/Data Science Challenges from Dev
106
+
WHERE comp_vers_id =pi1.valueAND technology_type_id in (78,481,482,483,27621212)) -- exclude QA/QA - Regression/QA - Hunt/QA - Test Case Writing/Data Science Challenges from Dev
107
107
and1=1;
108
108
109
109
@@ -128,7 +128,7 @@ WHERE p.project_status_id = 1
128
128
p.project_category_idin (9,13) -- include Bug Hunt and Test Suites always
129
129
OR
130
130
exists (SELECT1FROM comp_technology
131
-
WHERE comp_vers_id =pi1.valueAND technology_type_id =78)-- if the challlenge is tagged as QA
131
+
WHERE comp_vers_id =pi1.valueAND technology_type_id in (78,481,482,483))-- if the challlenge is tagged as QA/QA - Regression/QA - Hunt/QA - Test Case Writing
132
132
)
133
133
andp.project_id not in (select project_id from contest_project_xref where contest_id in (718, 717)) -- make sure we exclude from tco
134
134
and NVL(pi82.value, 0) =0-- No TCO if these are tasks
@@ -157,7 +157,7 @@ WHERE p.project_status_id = 1
157
157
OR
158
158
exists (SELECT1FROM comp_technology
159
159
WHERE comp_vers_id =pi1.value
160
-
AND technology_type_id =78)-- if the challlenge is tagged as QA
160
+
AND technology_type_id in (78,481,482,483))-- if the challlenge is tagged as QA/QA - Regression/QA - Hunt/QA - Test Case Writing
161
161
)
162
162
andp.project_id not in (select project_id from contest_project_xref where contest_id in (719, 717)) -- make sure we exclude from tco
163
163
and NVL(pi82.value, 0) =0-- No TCO if these are tasks
@@ -185,7 +185,7 @@ WHERE p.project_status_id = 1
185
185
OR
186
186
exists (SELECT1FROM comp_technology
187
187
WHERE comp_vers_id =pi1.value
188
-
AND technology_type_id =78)-- if the challlenge is tagged as QA
188
+
AND technology_type_id in (78,481,482,483))-- if the challlenge is tagged as QA/QA - Regression/QA - Hunt/QA - Test Case Writing
189
189
)
190
190
andp.project_id not in (select project_id from contest_project_xref where contest_id in (720, 717)) -- make sure we exclude from tco
191
191
and NVL(pi82.value, 0) =0-- No TCO if these are tasks
@@ -213,7 +213,7 @@ WHERE p.project_status_id = 1
213
213
OR
214
214
exists (SELECT1FROM comp_technology
215
215
WHERE comp_vers_id =pi1.value
216
-
AND technology_type_id =78)-- if the challlenge is tagged as QA
216
+
AND technology_type_id =in (78,481,482,483))-- if the challlenge is tagged as QA/QA - Regression/QA - Hunt/QA - Test Case Writing
217
217
)
218
218
andp.project_id not in (select project_id from contest_project_xref where contest_id in (721, 717)) -- make sure we exclude from tco
219
219
and NVL(pi82.value, 0) =0-- No TCO if these are tasks
0 commit comments