Skip to content

Feature/exclude challenge #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 31, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion tco_setup/tco21_eligible_contests.sql
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,9 @@ WHERE p.project_status_id = 1
-- and mod(p.project_id, 2) = 0
and p.project_id not in (select ce.contest_id from contest_eligibility ce) --excluding private challenges
and p.project_id not in (30145483) --excluding as per support ticket 71633
-- and p.project_id not in ( 30114809, 30116975, 30116520 ) --excluding specific challenge
and p.project_id not in (30153848) --excluding as per support ticket 75389
--comment
-- and p.project_id not in ( 30114809, 30116975, 30116520 ) --excluding specific challenge
and 1 = 1;

-- Stage 3
Expand Down Expand Up @@ -543,6 +545,7 @@ WHERE p.project_status_id = 1
and NVL(pi82.value, 0) = 0 -- No TCO if these are tasks
and p.tc_direct_project_id not in (8943, 16411, 16412, 16413, 16406, 16399, 16407)-- exclude projects for fun and university challenges
and p.tc_direct_project_id not in ( 22249 ) --Rodeo Challenges to be excluded
and p.tc_direct_project_id not in ( 26910 ) --USBR Streamflow Forecasting challenges to be excluded
-- and mod(p.project_id, 2) = 0
and p.project_id not in (select ce.contest_id from contest_eligibility ce) --excluding private challenges
and 1 = 1;
Expand Down Expand Up @@ -571,6 +574,7 @@ WHERE p.project_status_id = 1
and NVL(pi82.value, 0) = 0 -- No TCO if these are tasks
and p.tc_direct_project_id not in (8943, 16411, 16412, 16413, 16406, 16399, 16407)-- exclude projects for fun and university challenges
and p.tc_direct_project_id not in ( 22249 ) --Rodeo Challenges to be excluded
and p.tc_direct_project_id not in ( 26910 ) --USBR Streamflow Forecasting challenges to be excluded
-- and mod(p.project_id, 2) = 0
and p.project_id not in (select ce.contest_id from contest_eligibility ce) --excluding private challenges
and 1 = 1;
Expand Down Expand Up @@ -599,6 +603,7 @@ WHERE p.project_status_id = 1
and NVL(pi82.value, 0) = 0 -- No TCO if these are tasks
and p.tc_direct_project_id not in (8943, 16411, 16412, 16413, 16406, 16399, 16407)-- exclude projects for fun and university challenges
and p.tc_direct_project_id not in ( 22249 ) --Rodeo Challenges to be excluded
and p.tc_direct_project_id not in ( 26910 ) --USBR Streamflow Forecasting challenges to be excluded
-- and mod(p.project_id, 2) = 0
and p.project_id not in (select ce.contest_id from contest_eligibility ce) --excluding private challenges
and 1 = 1;
Expand Down Expand Up @@ -627,6 +632,7 @@ WHERE p.project_status_id = 1
and NVL(pi82.value, 0) = 0 -- No TCO if these are tasks
and p.tc_direct_project_id not in (8943, 16411, 16412, 16413, 16406, 16399, 16407)-- exclude projects for fun and university challenges
and p.tc_direct_project_id not in ( 22249 ) --Rodeo Challenges to be excluded
and p.tc_direct_project_id not in ( 26910 ) --USBR Streamflow Forecasting challenges to be excluded
-- and mod(p.project_id, 2) = 0
and p.project_id not in (select ce.contest_id from contest_eligibility ce) --excluding private challenges
and 1 = 1;
Expand Down