From 6681ad318acf0c0d92268698c4d67532a385e73a Mon Sep 17 00:00:00 2001 From: nursoltan-s Date: Thu, 28 Jan 2021 18:24:51 +0800 Subject: [PATCH] final fixes --- package-lock.json | 85 +- .../data/recommended-challenges.json | 2299 +---------------- src/services/challenges.js | 9 +- 3 files changed, 70 insertions(+), 2323 deletions(-) diff --git a/package-lock.json b/package-lock.json index 79c3acd5..b39bd176 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "topcoder-react-lib", - "version": "1.1.4", + "version": "1000.27.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -7537,6 +7537,11 @@ "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", "dev": true }, + "fast-safe-stringify": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.7.tgz", + "integrity": "sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA==" + }, "fastparse": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.2.tgz", @@ -8190,9 +8195,9 @@ "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" }, "form-data": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", - "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.0.tgz", + "integrity": "sha512-CKMFDglpbMi6PyN+brwB9Q/GOw0eAnsrEZDgcsH5Krhz5Od/haKHAX0NmQfha2zPPz0JpWzA7GJHGSnvCRLWsg==", "requires": { "asynckit": "0.4.0", "combined-stream": "1.0.8", @@ -9601,7 +9606,8 @@ "isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true }, "isexe": { "version": "2.0.0", @@ -14796,7 +14802,8 @@ "process-nextick-args": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "dev": true }, "progress": { "version": "2.0.3", @@ -15259,6 +15266,7 @@ "version": "2.3.7", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "dev": true, "requires": { "core-util-is": "1.0.2", "inherits": "2.0.4", @@ -18588,29 +18596,58 @@ } }, "superagent": { - "version": "3.8.3", - "resolved": "https://registry.npmjs.org/superagent/-/superagent-3.8.3.tgz", - "integrity": "sha512-GLQtLMCoEIK4eDv6OGtkOoSMt3D+oq0y3dsxMuYuDvaNUvuT8eFBuLmfR0iYYzHC1e8hpzC6ZsxbuP6DIalMFA==", + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/superagent/-/superagent-5.3.1.tgz", + "integrity": "sha512-wjJ/MoTid2/RuGCOFtlacyGNxN9QLMgcpYLDQlWFIhhdJ93kNscFonGvrpAHSCVjRVj++DGCglocF7Aej1KHvQ==", "requires": { "component-emitter": "1.3.0", "cookiejar": "2.1.2", - "debug": "3.2.6", - "extend": "3.0.2", - "form-data": "2.5.1", + "debug": "4.1.1", + "fast-safe-stringify": "2.0.7", + "form-data": "3.0.0", "formidable": "1.2.2", "methods": "1.1.2", - "mime": "1.6.0", + "mime": "2.5.0", "qs": "6.9.4", - "readable-stream": "2.3.7" + "readable-stream": "3.6.0", + "semver": "7.3.4" }, "dependencies": { - "debug": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", - "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "requires": { - "ms": "2.1.2" + "yallist": "4.0.0" } + }, + "mime": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.5.0.tgz", + "integrity": "sha512-ft3WayFSFUVBuJj7BMLKAQcSlItKtfjsKDDsii3rqFDAZ7t11zRe8ASw/GlmivGwVUYtwkQrxiGGpL6gFvB0ag==" + }, + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "2.0.4", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "semver": { + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", + "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", + "requires": { + "lru-cache": "6.0.0" + } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" } } }, @@ -18753,7 +18790,7 @@ "tc-core-library-js": { "version": "github:appirio-tech/tc-core-library-js#d16413db30b1eed21c0cf426e185bedb2329ddab", "requires": { - "auth0-js": "9.13.2", + "auth0-js": "9.14.3", "axios": "0.12.0", "bunyan": "1.8.12", "jsonwebtoken": "8.5.1", @@ -18765,15 +18802,15 @@ }, "dependencies": { "auth0-js": { - "version": "9.13.2", - "resolved": "https://registry.npmjs.org/auth0-js/-/auth0-js-9.13.2.tgz", - "integrity": "sha512-gWlf+X3XhCT9JboYpGviflv0pHcaHFPGtkLXiebyJohHDKddiu2rZkezp9kZHEoXqxhtNqgWuuaXkcla5JtnXg==", + "version": "9.14.3", + "resolved": "https://registry.npmjs.org/auth0-js/-/auth0-js-9.14.3.tgz", + "integrity": "sha512-UO/fGv9641PUpYjz2nkPaUHzzrhNaJKupJOqt8blj1pD6wBgpZtxUSXBox6Y8md3eTBzpxeWxV+6RKzzERvr1g==", "requires": { "base64-js": "1.3.1", "idtoken-verifier": "2.0.3", "js-cookie": "2.2.1", "qs": "6.9.4", - "superagent": "3.8.3", + "superagent": "5.3.1", "url-join": "4.0.1", "winchan": "0.2.2" } diff --git a/src/services/__mocks__/data/recommended-challenges.json b/src/services/__mocks__/data/recommended-challenges.json index 6ef74ccc..eb8496b9 100644 --- a/src/services/__mocks__/data/recommended-challenges.json +++ b/src/services/__mocks__/data/recommended-challenges.json @@ -140,7 +140,7 @@ "submissionStartDate":"2021-01-20T09:08:47Z", "submissionEndDate":"2021-01-26T12:11:00Z", "track":"Development", - "type":"Challenge", + "type":"First2Finish", "attachments":[ { "challengeId":"d211b5b4-4e15-459b-8c93-97580b125ebd", @@ -1446,2302 +1446,5 @@ "isTask":false, "memberId":null } - }, - { - "id":"380805ae-149f-45cd-b617-5f52f4922a75", - "matchScore": "0.6", - "created":"2021-01-14T05:29:36.781Z", - "createdBy":"TCConnCopilot", - "updated":"2021-01-23T18:13:48Z", - "updatedBy":"AutoPilot", - "status":"Active", - "projectId":16665, - "name":"Recommended Challenge #7", - "typeId":"e06b074d-43c2-4e7e-9cd3-c43e13d51b40", - "trackId":"c0f5d461-8219-4c14-878a-c3a3f356466d", - "startDate":"2021-01-15T05:53:47Z", - "legacy":{ - "reviewType":"COMMUNITY", - "confidentialityType":"public", - "isTask":false, - "subTrack":"CODE", - "directProjectId":23745, - "track":"DEVELOP", - "forumId":0, - "reviewScorecardId":30001610 - }, - "descriptionFormat":"markdown", - "timelineTemplateId":"7ebf1c69-f62f-4d3a-bdfb-fe9ddb56861c", - "terms":[ - { - "roleId":"3eedd4a4-3c68-4f68-8de4-a1ca5c2055e5", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"318b9c07-079a-42d9-a81f-b96be1dc1099", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"732339e7-8e30-49d7-9198-cccf9451e221", - "id":"317cd8f9-d66c-4f2a-8774-63c612d99cd4" - }, - { - "roleId":"ff556573-5da6-4392-b38c-08c1d7599c4a", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"d663fc84-5c37-43d1-a537-793feffb7667", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"e0544b94-6420-4afc-8f63-238eddc751b9", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"0e9c6879-39e4-4eb6-b8df-92407890faf1", - "id":"75d2f6bb-aadc-475e-9728-32c1dbd13655" - }, - { - "roleId":"cfe12b3f-2a24-4639-9d8b-ec86726f76bd", - "id":"e0993b1a-abf7-45e6-8ed9-8cd0546be90b" - } - ], - "discussions":[ - { - "provider":"vanilla", - "name":"DS 1 14 2021 Discussion", - "id":"3e7b6f9c-2d4e-4db3-a998-257febe9c3a8", - "type":"challenge", - "url":"https://vanilla.topcoder-dev.com/categories/380805ae-149f-45cd-b617-5f52f4922a75" - } - ], - "description":"DS 1 14 2021", - "groups":[ - - ], - "phases":[ - { - "duration":734363, - "scheduledEndDate":"2021-01-23T18:13:48Z", - "actualEndDate":"2021-01-23T18:13:48Z", - "isOpen":false, - "name":"Registration", - "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", - "actualStartDate":"2021-01-15T05:53:47Z", - "id":"abde58b8-21b9-4f19-9cdb-8e3d25131c5f", - "scheduledStartDate":"2021-01-15T05:53:47Z" - }, - { - "duration":734100, - "scheduledEndDate":"2021-01-23T18:13:49Z", - "actualEndDate":"2021-01-23T18:13:49Z", - "isOpen":false, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-15T06:13:48Z", - "id":"6099bcc9-4864-42be-bc15-62bbbd959509", - "scheduledStartDate":"2021-01-15T06:13:48Z" - }, - { - "duration":172800, - "scheduledEndDate":"2021-01-25T18:13:00Z", - "actualEndDate":"2021-01-23T18:21:02Z", - "isOpen":false, - "name":"Review", - "phaseId":"aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b", - "actualStartDate":"2021-01-23T18:21:02Z", - "id":"d6d713bd-7dc8-41e2-9c36-ddc13bf61f43", - "scheduledStartDate":"2021-01-23T18:13:49Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-26T18:13:00Z", - "actualEndDate":"2021-01-23T18:21:02Z", - "isOpen":false, - "name":"Appeals", - "phaseId":"1c24cfb3-5b0a-4dbd-b6bd-4b0dff5349c6", - "actualStartDate":"2021-01-23T18:21:02Z", - "id":"b479114f-6eaf-4ac3-a8ca-4b7f44dca560", - "scheduledStartDate":"2021-01-25T18:13:00Z" - }, - { - "duration":43200, - "scheduledEndDate":"2021-01-27T06:13:00Z", - "actualEndDate":"2021-01-23T18:21:02Z", - "isOpen":false, - "name":"Appeals Response", - "phaseId":"797a6af7-cd3f-4436-9fca-9679f773bee9", - "actualStartDate":"2021-01-23T18:21:02Z", - "id":"683235e8-844d-4764-82e4-b20e96acab93", - "scheduledStartDate":"2021-01-26T18:13:00Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-24T18:18:00Z", - "actualEndDate":"2021-01-23T18:21:02Z", - "isOpen":true, - "name":"Post-Mortem", - "phaseId":"f308bdb4-d3da-43d8-942b-134dfbaf5c45", - "actualStartDate":"2021-01-23T18:18:48Z", - "id":"fa20503e-406e-4086-8505-407fdd497705", - "scheduledStartDate":"2021-01-23T18:18:48Z" - } - ], - "endDate":"2021-01-24T18:18:00Z", - "numOfSubmissions":0, - "numOfRegistrants":0, - "currentPhaseNames":[ - "Post-Mortem" - ], - "registrationStartDate":"2021-01-15T05:53:47Z", - "registrationEndDate":"2021-01-23T18:13:48Z", - "submissionStartDate":"2021-01-15T06:13:48Z", - "submissionEndDate":"2021-01-23T18:13:49Z", - "track":"Data Science", - "type":"Challenge", - "prizeSets":[ - { - "prizes":[ - { - "type":"USD", - "value":1 - } - ], - "description":"Challenge Prizes", - "type":"placement" - }, - { - "prizes":[ - { - "type":"USD", - "value":"1" - } - ], - "type":"copilot" - } - ], - "overview":{ - "totalPrizes":1 - }, - "tags":[ - "Google" - ], - "legacyId":30058020, - "metadata":[ - - ], - "events":[ - - ], - "task":{ - "isAssigned":false, - "isTask":false, - "memberId":null - } - }, - { - "id":"19ecb9bc-c5c2-438c-85a1-f781ebc5d351", - "matchScore": "-0.1", - "created":"2021-01-14T04:25:00.206Z", - "createdBy":"TCConnCopilot", - "updated":"2021-01-24T16:48:48Z", - "updatedBy":"AutoPilot", - "status":"Active", - "projectId":16665, - "name":"Recommended Challenge #8", - "typeId":"e06b074d-43c2-4e7e-9cd3-c43e13d51b40", - "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", - "startDate":"2021-01-14T04:27:25Z", - "legacy":{ - "reviewType":"COMMUNITY", - "confidentialityType":"public", - "isTask":false, - "subTrack":"CODE", - "directProjectId":23745, - "track":"DEVELOP", - "forumId":0, - "reviewScorecardId":30001610 - }, - "descriptionFormat":"markdown", - "timelineTemplateId":"7ebf1c69-f62f-4d3a-bdfb-fe9ddb56861c", - "terms":[ - { - "roleId":"3eedd4a4-3c68-4f68-8de4-a1ca5c2055e5", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"318b9c07-079a-42d9-a81f-b96be1dc1099", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"732339e7-8e30-49d7-9198-cccf9451e221", - "id":"317cd8f9-d66c-4f2a-8774-63c612d99cd4" - }, - { - "roleId":"ff556573-5da6-4392-b38c-08c1d7599c4a", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"d663fc84-5c37-43d1-a537-793feffb7667", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"e0544b94-6420-4afc-8f63-238eddc751b9", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"0e9c6879-39e4-4eb6-b8df-92407890faf1", - "id":"75d2f6bb-aadc-475e-9728-32c1dbd13655" - }, - { - "roleId":"cfe12b3f-2a24-4639-9d8b-ec86726f76bd", - "id":"e0993b1a-abf7-45e6-8ed9-8cd0546be90b" - } - ], - "discussions":[ - { - "provider":"vanilla", - "name":"sdgun 1 14 2021 Discussion", - "id":"709aa3e0-827b-47de-942c-53263251737f", - "type":"challenge", - "url":"https://vanilla.topcoder-dev.com/categories/19ecb9bc-c5c2-438c-85a1-f781ebc5d351" - } - ], - "description":"Test Test Test Test Test Test ", - "groups":[ - - ], - "phases":[ - { - "duration":906994, - "scheduledEndDate":"2021-01-24T16:48:47Z", - "actualEndDate":"2021-01-24T16:48:47Z", - "isOpen":false, - "name":"Registration", - "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", - "actualStartDate":"2021-01-14T04:27:25Z", - "id":"e8b40478-3195-485b-bbbb-302e7d489454", - "scheduledStartDate":"2021-01-14T04:27:25Z" - }, - { - "duration":906720, - "scheduledEndDate":"2021-01-24T16:48:49Z", - "actualEndDate":"2021-01-24T16:48:49Z", - "isOpen":false, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-14T04:48:46Z", - "id":"cd49fee8-c00a-4a62-b91d-3aaa0b40b222", - "scheduledStartDate":"2021-01-14T04:48:46Z" - }, - { - "duration":172800, - "scheduledEndDate":"2021-01-26T16:48:00Z", - "actualEndDate":"2021-01-24T16:57:02Z", - "isOpen":false, - "name":"Review", - "phaseId":"aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b", - "actualStartDate":"2021-01-24T16:57:02Z", - "id":"791d206a-8932-413e-8c94-969d84047839", - "scheduledStartDate":"2021-01-24T16:48:49Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-27T16:48:00Z", - "actualEndDate":"2021-01-24T16:57:02Z", - "isOpen":false, - "name":"Appeals", - "phaseId":"1c24cfb3-5b0a-4dbd-b6bd-4b0dff5349c6", - "actualStartDate":"2021-01-24T16:57:02Z", - "id":"22ccb49a-a73b-4de5-8d68-2c015ee63008", - "scheduledStartDate":"2021-01-26T16:48:00Z" - }, - { - "duration":43200, - "scheduledEndDate":"2021-01-28T04:48:00Z", - "actualEndDate":"2021-01-24T16:57:02Z", - "isOpen":false, - "name":"Appeals Response", - "phaseId":"797a6af7-cd3f-4436-9fca-9679f773bee9", - "actualStartDate":"2021-01-24T16:57:02Z", - "id":"80bb2d87-faa9-4399-8099-da980ecae185", - "scheduledStartDate":"2021-01-27T16:48:00Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-25T16:53:00Z", - "actualEndDate":"2021-01-24T16:57:02Z", - "isOpen":true, - "name":"Post-Mortem", - "phaseId":"f308bdb4-d3da-43d8-942b-134dfbaf5c45", - "actualStartDate":"2021-01-24T16:53:49Z", - "id":"444fce20-eedf-4fa1-80fe-2de4fa9bd783", - "scheduledStartDate":"2021-01-24T16:53:49Z" - } - ], - "endDate":"2021-01-25T16:53:00Z", - "numOfSubmissions":0, - "numOfRegistrants":0, - "currentPhaseNames":[ - "Post-Mortem" - ], - "registrationStartDate":"2021-01-14T04:27:25Z", - "registrationEndDate":"2021-01-24T16:48:47Z", - "submissionStartDate":"2021-01-14T04:48:46Z", - "submissionEndDate":"2021-01-24T16:48:49Z", - "track":"Development", - "type":"Challenge", - "prizeSets":[ - { - "prizes":[ - { - "type":"USD", - "value":1 - } - ], - "description":"Challenge Prizes", - "type":"placement" - }, - { - "prizes":[ - { - "type":"USD", - "value":"1" - } - ], - "type":"copilot" - } - ], - "overview":{ - "totalPrizes":1 - }, - "tags":[ - "Google" - ], - "legacyId":30058019, - "metadata":[ - - ], - "events":[ - - ], - "task":{ - "isAssigned":false, - "isTask":false, - "memberId":null - } - }, - { - "id":"7539a222-dd57-444c-81c8-a9b5c46eb1ce", - "matchScore": "0.7", - "created":"2021-01-13T13:22:40.853Z", - "createdBy":"TCConnCopilot", - "updated":"2021-01-24T14:08:46Z", - "updatedBy":"AutoPilot", - "status":"Active", - "projectId":16640, - "name":"Recommended Challenge #9", - "typeId":"e06b074d-43c2-4e7e-9cd3-c43e13d51b40", - "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", - "startDate":"2021-01-14T13:43:44Z", - "legacy":{ - "reviewType":"INTERNAL", - "confidentialityType":"public", - "isTask":false, - "subTrack":"FIRST_2_FINISH", - "directProjectId":23678, - "track":"DEVELOP", - "forumId":0, - "reviewScorecardId":30001600 - }, - "descriptionFormat":"markdown", - "timelineTemplateId":"0a0fed34-cb5a-47f5-b0cb-6e2ee7de8dcb", - "terms":[ - { - "roleId":"3eedd4a4-3c68-4f68-8de4-a1ca5c2055e5", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"318b9c07-079a-42d9-a81f-b96be1dc1099", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"732339e7-8e30-49d7-9198-cccf9451e221", - "id":"317cd8f9-d66c-4f2a-8774-63c612d99cd4" - }, - { - "roleId":"ff556573-5da6-4392-b38c-08c1d7599c4a", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"d663fc84-5c37-43d1-a537-793feffb7667", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"e0544b94-6420-4afc-8f63-238eddc751b9", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"0e9c6879-39e4-4eb6-b8df-92407890faf1", - "id":"75d2f6bb-aadc-475e-9728-32c1dbd13655" - }, - { - "roleId":"cfe12b3f-2a24-4639-9d8b-ec86726f76bd", - "id":"e0993b1a-abf7-45e6-8ed9-8cd0546be90b" - } - ], - "discussions":[ - { - "provider":"vanilla", - "name":"Iterative Review Verification Discussion", - "id":"e85bbe5d-b516-4e52-8ae1-ea7e9b89f99c", - "type":"challenge", - "url":"https://vanilla.topcoder-dev.com/categories/7539a222-dd57-444c-81c8-a9b5c46eb1ce" - } - ], - "description":"Iterative Review Verification ", - "groups":[ - - ], - "phases":[ - { - "duration":864260, - "scheduledEndDate":"2021-01-24T14:08:46Z", - "actualEndDate":"2021-01-24T14:08:46Z", - "isOpen":false, - "name":"Registration", - "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", - "actualStartDate":"2021-01-14T13:43:44Z", - "id":"3ac513c8-e170-4cab-bf2d-5033898b73d0", - "scheduledStartDate":"2021-01-14T13:43:44Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-15T14:03:00Z", - "actualEndDate":"2021-01-24T14:11:01Z", - "isOpen":false, - "name":"Iterative Review", - "phaseId":"003a4b14-de5d-43fc-9e35-835dbeb6af1f", - "actualStartDate":"2021-01-24T14:11:01Z", - "id":"f3458c76-b832-4029-86d3-02b861b8512b", - "scheduledStartDate":"2021-01-14T14:03:45Z" - }, - { - "duration":864000, - "scheduledEndDate":"2021-01-24T14:08:47Z", - "actualEndDate":"2021-01-24T14:08:47Z", - "isOpen":false, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-14T14:03:45Z", - "id":"9325c707-0998-4f7d-a0fc-84128e5fd740", - "scheduledStartDate":"2021-01-14T14:03:45Z" - } - ], - "endDate":"2021-01-24T14:08:47Z", - "numOfSubmissions":0, - "numOfRegistrants":0, - "currentPhaseNames":[ - - ], - "registrationStartDate":"2021-01-14T13:43:44Z", - "registrationEndDate":"2021-01-24T14:08:46Z", - "submissionStartDate":"2021-01-14T14:03:45Z", - "submissionEndDate":"2021-01-24T14:08:47Z", - "track":"Development", - "type":"First2Finish", - "prizeSets":[ - { - "prizes":[ - { - "type":"USD", - "value":10 - } - ], - "description":"Challenge Prizes", - "type":"placement" - }, - { - "prizes":[ - { - "type":"USD", - "value":"1" - } - ], - "type":"copilot" - } - ], - "overview":{ - "totalPrizes":10 - }, - "tags":[ - "Salesforce.com" - ], - "legacyId":30058011, - "metadata":[ - - ], - "events":[ - - ], - "task":{ - "isAssigned":false, - "isTask":false, - "memberId":null - } - }, - { - "id":"2ef3a7b7-cf12-43f1-93b7-83e9467b4c3d", - "matchScore": "-0.06", - "created":"2021-01-11T08:11:13.797Z", - "createdBy":"TCConnCopilot", - "updated":"2021-01-20T20:53:47Z", - "updatedBy":"AutoPilot", - "status":"Active", - "projectId":16665, - "name":"Recommended Challenge #10", - "typeId":"e06b074d-43c2-4e7e-9cd3-c43e13d51b40", - "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", - "startDate":"2021-01-12T08:33:45Z", - "legacy":{ - "reviewType":"COMMUNITY", - "confidentialityType":"public", - "isTask":false, - "subTrack":"CODE", - "directProjectId":23745, - "track":"DEVELOP", - "forumId":0, - "reviewScorecardId":30001610 - }, - "descriptionFormat":"markdown", - "timelineTemplateId":"7ebf1c69-f62f-4d3a-bdfb-fe9ddb56861c", - "terms":[ - { - "roleId":"3eedd4a4-3c68-4f68-8de4-a1ca5c2055e5", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"318b9c07-079a-42d9-a81f-b96be1dc1099", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"732339e7-8e30-49d7-9198-cccf9451e221", - "id":"317cd8f9-d66c-4f2a-8774-63c612d99cd4" - }, - { - "roleId":"ff556573-5da6-4392-b38c-08c1d7599c4a", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"d663fc84-5c37-43d1-a537-793feffb7667", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"e0544b94-6420-4afc-8f63-238eddc751b9", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"0e9c6879-39e4-4eb6-b8df-92407890faf1", - "id":"75d2f6bb-aadc-475e-9728-32c1dbd13655" - }, - { - "roleId":"cfe12b3f-2a24-4639-9d8b-ec86726f76bd", - "id":"e0993b1a-abf7-45e6-8ed9-8cd0546be90b" - } - ], - "discussions":[ - { - "provider":"vanilla", - "name":"sdgun 1 11 2021 Discussion", - "id":"78ec53cf-7ae0-483c-8daf-f0bcb8b79f8b", - "type":"challenge", - "url":"https://vanilla.topcoder-dev.com/categories/2ef3a7b7-cf12-43f1-93b7-83e9467b4c3d" - } - ], - "description":"Test", - "groups":[ - - ], - "phases":[ - { - "duration":734400, - "scheduledEndDate":"2021-01-20T20:53:46Z", - "actualEndDate":"2021-01-20T20:53:46Z", - "isOpen":false, - "name":"Registration", - "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", - "actualStartDate":"2021-01-12T08:33:45Z", - "id":"2c9904df-6c0e-41f7-9c63-c58fa7619a62", - "scheduledStartDate":"2021-01-12T08:33:45Z" - }, - { - "duration":734100, - "scheduledEndDate":"2021-01-20T20:53:47Z", - "actualEndDate":"2021-01-20T20:53:47Z", - "isOpen":false, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-12T08:53:42Z", - "id":"0a574fdb-4872-42ee-898f-cbbc3915610e", - "scheduledStartDate":"2021-01-12T08:53:42Z" - }, - { - "duration":172800, - "scheduledEndDate":"2021-01-22T20:53:00Z", - "actualEndDate":"2021-01-20T21:01:00Z", - "isOpen":false, - "name":"Review", - "phaseId":"aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b", - "actualStartDate":"2021-01-20T21:01:00Z", - "id":"66b10d38-c3da-4fb2-bc0f-142643d38131", - "scheduledStartDate":"2021-01-20T20:53:47Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-23T20:53:00Z", - "actualEndDate":"2021-01-20T21:01:00Z", - "isOpen":false, - "name":"Appeals", - "phaseId":"1c24cfb3-5b0a-4dbd-b6bd-4b0dff5349c6", - "actualStartDate":"2021-01-20T21:01:00Z", - "id":"a36a4262-34f6-4917-a551-8ae3054ab33b", - "scheduledStartDate":"2021-01-22T20:53:00Z" - }, - { - "duration":43200, - "scheduledEndDate":"2021-01-24T08:53:00Z", - "actualEndDate":"2021-01-20T21:01:00Z", - "isOpen":false, - "name":"Appeals Response", - "phaseId":"797a6af7-cd3f-4436-9fca-9679f773bee9", - "actualStartDate":"2021-01-20T21:01:00Z", - "id":"d914c64a-442b-45ef-80b8-749f37b502a1", - "scheduledStartDate":"2021-01-23T20:53:00Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-21T20:58:00Z", - "actualEndDate":"2021-01-20T21:01:00Z", - "isOpen":true, - "name":"Post-Mortem", - "phaseId":"f308bdb4-d3da-43d8-942b-134dfbaf5c45", - "actualStartDate":"2021-01-20T20:58:49Z", - "id":"bb227ac7-d972-45f1-a350-59fcacafe3dd", - "scheduledStartDate":"2021-01-20T20:58:49Z" - } - ], - "endDate":"2021-01-21T20:58:00Z", - "numOfSubmissions":0, - "numOfRegistrants":0, - "currentPhaseNames":[ - "Post-Mortem" - ], - "registrationStartDate":"2021-01-12T08:33:45Z", - "registrationEndDate":"2021-01-20T20:53:46Z", - "submissionStartDate":"2021-01-12T08:53:42Z", - "submissionEndDate":"2021-01-20T20:53:47Z", - "track":"Development", - "type":"Challenge", - "prizeSets":[ - { - "prizes":[ - { - "type":"USD", - "value":1 - } - ], - "description":"Challenge Prizes", - "type":"placement" - }, - { - "prizes":[ - { - "type":"USD", - "value":"0" - } - ], - "type":"copilot" - } - ], - "overview":{ - "totalPrizes":1 - }, - "tags":[ - "Google" - ], - "legacyId":30057959, - "metadata":[ - - ], - "events":[ - - ], - "task":{ - "isAssigned":false, - "isTask":false, - "memberId":null - } - }, - { - "id":"c7f2c0a5-7a53-493d-944f-cbbb397def8b", - "matchScore": "0.12", - "created":"2021-01-08T11:10:30.429Z", - "createdBy":"TCConnCopilot", - "updated":"2021-01-16T23:33:48Z", - "updatedBy":"AutoPilot", - "status":"Active", - "projectId":16665, - "name":"Recommended Challenge #11", - "typeId":"e06b074d-43c2-4e7e-9cd3-c43e13d51b40", - "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", - "startDate":"2021-01-08T11:12:00Z", - "legacy":{ - "reviewType":"COMMUNITY", - "confidentialityType":"public", - "isTask":false, - "subTrack":"CODE", - "directProjectId":23745, - "track":"DEVELOP", - "forumId":0, - "reviewScorecardId":30001610 - }, - "descriptionFormat":"markdown", - "timelineTemplateId":"7ebf1c69-f62f-4d3a-bdfb-fe9ddb56861c", - "terms":[ - { - "roleId":"3eedd4a4-3c68-4f68-8de4-a1ca5c2055e5", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"318b9c07-079a-42d9-a81f-b96be1dc1099", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"732339e7-8e30-49d7-9198-cccf9451e221", - "id":"317cd8f9-d66c-4f2a-8774-63c612d99cd4" - }, - { - "roleId":"ff556573-5da6-4392-b38c-08c1d7599c4a", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"d663fc84-5c37-43d1-a537-793feffb7667", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"e0544b94-6420-4afc-8f63-238eddc751b9", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"0e9c6879-39e4-4eb6-b8df-92407890faf1", - "id":"75d2f6bb-aadc-475e-9728-32c1dbd13655" - }, - { - "roleId":"cfe12b3f-2a24-4639-9d8b-ec86726f76bd", - "id":"e0993b1a-abf7-45e6-8ed9-8cd0546be90b" - } - ], - "discussions":[ - { - "provider":"vanilla", - "name":"sdgun 1 8 2021 Discussion", - "id":"ccf97107-487f-4c4f-958a-b32aa5df5eb2", - "type":"challenge", - "url":"https://vanilla.topcoder-dev.com/categories/c7f2c0a5-7a53-493d-944f-cbbb397def8b" - } - ], - "description":"Test", - "groups":[ - - ], - "phases":[ - { - "duration":734340, - "scheduledEndDate":"2021-01-16T23:33:47Z", - "actualEndDate":"2021-01-16T23:33:47Z", - "isOpen":false, - "name":"Registration", - "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", - "actualStartDate":"2021-01-08T11:12:00Z", - "id":"1f47081d-7726-4844-97d9-c72ac9ad86b1", - "scheduledStartDate":"2021-01-08T11:12:00Z" - }, - { - "duration":734100, - "scheduledEndDate":"2021-01-16T23:33:48Z", - "actualEndDate":"2021-01-16T23:33:48Z", - "isOpen":false, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-08T11:33:44Z", - "id":"326dcfe9-565b-45e4-88bb-a7effe91fd12", - "scheduledStartDate":"2021-01-08T11:33:44Z" - }, - { - "duration":172800, - "scheduledEndDate":"2021-01-18T23:33:00Z", - "actualEndDate":"2021-01-16T23:41:02Z", - "isOpen":false, - "name":"Review", - "phaseId":"aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b", - "actualStartDate":"2021-01-16T23:41:02Z", - "id":"2bf3028e-9efb-4c1e-b8e0-9d0719a9c577", - "scheduledStartDate":"2021-01-16T23:33:48Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-19T23:33:00Z", - "actualEndDate":"2021-01-16T23:41:02Z", - "isOpen":false, - "name":"Appeals", - "phaseId":"1c24cfb3-5b0a-4dbd-b6bd-4b0dff5349c6", - "actualStartDate":"2021-01-16T23:41:02Z", - "id":"e9a3c054-11ac-45ae-9c8b-b652c68c72f4", - "scheduledStartDate":"2021-01-18T23:33:00Z" - }, - { - "duration":43200, - "scheduledEndDate":"2021-01-20T11:33:00Z", - "actualEndDate":"2021-01-16T23:41:02Z", - "isOpen":false, - "name":"Appeals Response", - "phaseId":"797a6af7-cd3f-4436-9fca-9679f773bee9", - "actualStartDate":"2021-01-16T23:41:02Z", - "id":"5562776f-1da8-49a7-ad06-25217722b4ca", - "scheduledStartDate":"2021-01-19T23:33:00Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-17T23:38:00Z", - "actualEndDate":"2021-01-16T23:41:02Z", - "isOpen":true, - "name":"Post-Mortem", - "phaseId":"f308bdb4-d3da-43d8-942b-134dfbaf5c45", - "actualStartDate":"2021-01-16T23:38:48Z", - "id":"6930be1c-0272-4b7b-bef1-8584acb932fc", - "scheduledStartDate":"2021-01-16T23:38:48Z" - } - ], - "endDate":"2021-01-17T23:38:00Z", - "numOfSubmissions":0, - "numOfRegistrants":0, - "currentPhaseNames":[ - "Post-Mortem" - ], - "registrationStartDate":"2021-01-08T11:12:00Z", - "registrationEndDate":"2021-01-16T23:33:47Z", - "submissionStartDate":"2021-01-08T11:33:44Z", - "submissionEndDate":"2021-01-16T23:33:48Z", - "track":"Development", - "type":"Challenge", - "prizeSets":[ - { - "prizes":[ - { - "type":"USD", - "value":1 - } - ], - "description":"Challenge Prizes", - "type":"placement" - }, - { - "prizes":[ - { - "type":"USD", - "value":"1" - } - ], - "type":"copilot" - } - ], - "overview":{ - "totalPrizes":1 - }, - "tags":[ - "Google" - ], - "legacyId":30057930, - "metadata":[ - - ], - "events":[ - - ], - "task":{ - "isAssigned":false, - "isTask":false, - "memberId":null - } - }, - { - "id":"f11af2c9-ba9c-4982-a2bc-363e6895c87e", - "matchScore": "0.99", - "created":"2021-01-07T11:32:17.758Z", - "createdBy":"TCConnCopilot", - "updated":"2021-01-15T23:53:47Z", - "updatedBy":"AutoPilot", - "status":"Active", - "projectId":16665, - "name":"Recommended Challenge #12", - "typeId":"e06b074d-43c2-4e7e-9cd3-c43e13d51b40", - "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", - "startDate":"2021-01-07T11:34:24Z", - "legacy":{ - "reviewType":"COMMUNITY", - "confidentialityType":"public", - "isTask":false, - "subTrack":"CODE", - "directProjectId":23745, - "track":"DEVELOP", - "forumId":0, - "reviewScorecardId":30001610 - }, - "descriptionFormat":"markdown", - "timelineTemplateId":"7ebf1c69-f62f-4d3a-bdfb-fe9ddb56861c", - "terms":[ - { - "roleId":"3eedd4a4-3c68-4f68-8de4-a1ca5c2055e5", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"318b9c07-079a-42d9-a81f-b96be1dc1099", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"732339e7-8e30-49d7-9198-cccf9451e221", - "id":"317cd8f9-d66c-4f2a-8774-63c612d99cd4" - }, - { - "roleId":"ff556573-5da6-4392-b38c-08c1d7599c4a", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"d663fc84-5c37-43d1-a537-793feffb7667", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"e0544b94-6420-4afc-8f63-238eddc751b9", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"0e9c6879-39e4-4eb6-b8df-92407890faf1", - "id":"75d2f6bb-aadc-475e-9728-32c1dbd13655" - }, - { - "roleId":"cfe12b3f-2a24-4639-9d8b-ec86726f76bd", - "id":"e0993b1a-abf7-45e6-8ed9-8cd0546be90b" - } - ], - "discussions":[ - { - "provider":"vanilla", - "name":"test challenge Discussion", - "id":"9e02020c-d450-4cc7-a1bb-b2c84e0a3102", - "type":"challenge", - "url":"https://vanilla.topcoder-dev.com/categories/f11af2c9-ba9c-4982-a2bc-363e6895c87e" - } - ], - "description":"test", - "groups":[ - - ], - "phases":[ - { - "duration":734400, - "scheduledEndDate":"2021-01-15T23:53:45Z", - "actualEndDate":"2021-01-15T23:53:45Z", - "isOpen":false, - "name":"Registration", - "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", - "actualStartDate":"2021-01-07T11:34:24Z", - "id":"a3381c22-131b-4150-8486-1fadb918c3d1", - "scheduledStartDate":"2021-01-07T11:34:24Z" - }, - { - "duration":734100, - "scheduledEndDate":"2021-01-15T23:53:48Z", - "actualEndDate":"2021-01-15T23:53:48Z", - "isOpen":false, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-07T11:53:44Z", - "id":"e5dd4d50-ca35-42a0-9f92-764921a570b8", - "scheduledStartDate":"2021-01-07T11:53:44Z" - }, - { - "duration":172800, - "scheduledEndDate":"2021-01-17T23:53:00Z", - "actualEndDate":"2021-01-16T00:01:02Z", - "isOpen":false, - "name":"Review", - "phaseId":"aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b", - "actualStartDate":"2021-01-16T00:01:02Z", - "id":"62244b5d-5296-4837-acf7-5301d171a0a5", - "scheduledStartDate":"2021-01-15T23:53:48Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-18T23:53:00Z", - "actualEndDate":"2021-01-16T00:01:02Z", - "isOpen":false, - "name":"Appeals", - "phaseId":"1c24cfb3-5b0a-4dbd-b6bd-4b0dff5349c6", - "actualStartDate":"2021-01-16T00:01:02Z", - "id":"b698251e-1c3c-4481-8343-c9fece7d0cac", - "scheduledStartDate":"2021-01-17T23:53:00Z" - }, - { - "duration":43200, - "scheduledEndDate":"2021-01-19T11:53:00Z", - "actualEndDate":"2021-01-16T00:01:02Z", - "isOpen":false, - "name":"Appeals Response", - "phaseId":"797a6af7-cd3f-4436-9fca-9679f773bee9", - "actualStartDate":"2021-01-16T00:01:02Z", - "id":"a78644e2-eaf9-437e-bdcf-178eed46774c", - "scheduledStartDate":"2021-01-18T23:53:00Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-16T23:58:00Z", - "actualEndDate":"2021-01-16T00:01:02Z", - "isOpen":true, - "name":"Post-Mortem", - "phaseId":"f308bdb4-d3da-43d8-942b-134dfbaf5c45", - "actualStartDate":"2021-01-15T23:58:46Z", - "id":"b11ae46c-bad3-49e1-a16d-2ff35d79b391", - "scheduledStartDate":"2021-01-15T23:58:46Z" - } - ], - "endDate":"2021-01-16T23:58:00Z", - "numOfSubmissions":0, - "numOfRegistrants":1, - "currentPhaseNames":[ - "Post-Mortem" - ], - "registrationStartDate":"2021-01-07T11:34:24Z", - "registrationEndDate":"2021-01-15T23:53:45Z", - "submissionStartDate":"2021-01-07T11:53:44Z", - "submissionEndDate":"2021-01-15T23:53:48Z", - "track":"Development", - "type":"Challenge", - "prizeSets":[ - { - "prizes":[ - { - "type":"USD", - "value":1 - } - ], - "description":"Challenge Prizes", - "type":"placement" - }, - { - "prizes":[ - { - "type":"USD", - "value":"0" - } - ], - "type":"copilot" - } - ], - "overview":{ - "totalPrizes":1 - }, - "tags":[ - "Google" - ], - "legacyId":30057927, - "metadata":[ - - ], - "events":[ - - ], - "task":{ - "isAssigned":false, - "isTask":false, - "memberId":null - } - }, - { - "id":"412435bc-c209-4e29-8f3d-359b4382b878", - "matchScore": "-0.58", - "created":"2021-01-06T05:34:11.646Z", - "createdBy":"TCConnCopilot", - "updated":"2021-01-06T05:36:21Z", - "updatedBy":"tcwebservice", - "status":"Active", - "projectId":16665, - "name":"sdgun 1/6/2021", - "typeId":"e06b074d-43c2-4e7e-9cd3-c43e13d51b40", - "trackId":"36e6a8d0-7e1e-4608-a673-64279d99c115", - "startDate":"2021-01-06T07:48:00Z", - "legacy":{ - "reviewType":"COMMUNITY", - "confidentialityType":"public", - "isTask":false, - "subTrack":"TEST_SUITES", - "directProjectId":23745, - "track":"DEVELOP", - "forumId":0, - "screeningScorecardId":30000120, - "reviewScorecardId":30000124 - }, - "descriptionFormat":"markdown", - "timelineTemplateId":"f1bcb2c7-3ee4-4fb5-8d0b-efe52c015963", - "terms":[ - { - "roleId":"3eedd4a4-3c68-4f68-8de4-a1ca5c2055e5", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"318b9c07-079a-42d9-a81f-b96be1dc1099", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"ff556573-5da6-4392-b38c-08c1d7599c4a", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"e0544b94-6420-4afc-8f63-238eddc751b9", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"0e9c6879-39e4-4eb6-b8df-92407890faf1", - "id":"75d2f6bb-aadc-475e-9728-32c1dbd13655" - }, - { - "roleId":"cfe12b3f-2a24-4639-9d8b-ec86726f76bd", - "id":"e0993b1a-abf7-45e6-8ed9-8cd0546be90b" - }, - { - "roleId":"d663fc84-5c37-43d1-a537-793feffb7667", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"732339e7-8e30-49d7-9198-cccf9451e221", - "id":"317cd8f9-d66c-4f2a-8774-63c612d99cd4" - } - ], - "discussions":[ - { - "provider":"vanilla", - "name":"sdgun 1/6/2021 Discussion", - "id":"b64dac5d-7539-423d-a35b-353e17c53ef0", - "type":"challenge", - "url":"https://vanilla.topcoder-dev.com/categories/412435bc-c209-4e29-8f3d-359b4382b878" - } - ], - "description":"test", - "groups":[ - - ], - "phases":[ - { - "duration":172800, - "scheduledEndDate":"2021-01-06T05:48:41Z", - "actualEndDate":"2021-01-06T05:48:41Z", - "isOpen":false, - "name":"Specification Submission", - "phaseId":"fb21431c-119e-4bc7-b447-d0af3f2be6b4", - "actualStartDate":"2021-01-06T05:43:48Z", - "id":"d934e156-4b95-4850-87f0-e630fcb0dd57", - "scheduledStartDate":"2021-01-06T05:43:48Z" - }, - { - "duration":7200, - "scheduledEndDate":"2021-01-06T07:48:00Z", - "actualEndDate":"2021-01-12T19:09:48Z", - "isOpen":true, - "name":"Specification Review", - "phaseId":"2752454b-0952-4a42-a4f0-f3fb88a9b065", - "actualStartDate":"2021-01-06T05:48:41Z", - "id":"9ffd8487-7bf7-4e7f-90e6-a9cde98f0838", - "scheduledStartDate":"2021-01-06T05:48:41Z" - }, - { - "duration":172800, - "scheduledEndDate":"2021-01-08T07:48:00Z", - "actualEndDate":"2021-01-12T19:09:48Z", - "isOpen":false, - "name":"Registration", - "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", - "actualStartDate":"2021-01-12T19:09:48Z", - "id":"59ba9646-b4d7-4d68-982c-4842e8a11644", - "scheduledStartDate":"2021-01-06T07:48:00Z" - }, - { - "duration":1382100, - "scheduledEndDate":"2021-01-22T07:48:00Z", - "actualEndDate":"2021-01-12T19:09:48Z", - "isOpen":false, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-12T19:09:48Z", - "id":"cbcaa1de-464b-438f-86ef-e5155669c90a", - "scheduledStartDate":"2021-01-06T07:53:00Z" - }, - { - "duration":43200, - "scheduledEndDate":"2021-01-22T19:48:00Z", - "actualEndDate":"2021-01-12T19:09:48Z", - "isOpen":false, - "name":"Screening", - "phaseId":"2d7d3d85-0b29-4989-b3b4-be7f2b1d0aa6", - "actualStartDate":"2021-01-12T19:09:48Z", - "id":"9fcec923-15c1-41e2-836b-152f9eb6ca60", - "scheduledStartDate":"2021-01-22T07:48:00Z" - }, - { - "duration":172800, - "scheduledEndDate":"2021-01-24T19:48:00Z", - "actualEndDate":"2021-01-12T19:09:48Z", - "isOpen":false, - "name":"Review", - "phaseId":"aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b", - "actualStartDate":"2021-01-12T19:09:48Z", - "id":"baff4aa7-0d81-4dde-8afe-c9351c9f40cc", - "scheduledStartDate":"2021-01-22T19:48:00Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-25T19:48:00Z", - "actualEndDate":"2021-01-12T19:09:48Z", - "isOpen":false, - "name":"Appeals", - "phaseId":"1c24cfb3-5b0a-4dbd-b6bd-4b0dff5349c6", - "actualStartDate":"2021-01-12T19:09:48Z", - "id":"d4633306-051d-42e2-9460-35e71cb0f8e2", - "scheduledStartDate":"2021-01-24T19:48:00Z" - }, - { - "duration":43200, - "scheduledEndDate":"2021-01-26T07:48:00Z", - "actualEndDate":"2021-01-12T19:09:48Z", - "isOpen":false, - "name":"Appeals Response", - "phaseId":"797a6af7-cd3f-4436-9fca-9679f773bee9", - "actualStartDate":"2021-01-12T19:09:48Z", - "id":"9a46c696-1989-4ea7-881a-92bd8e17e8a8", - "scheduledStartDate":"2021-01-25T19:48:00Z" - }, - { - "duration":43200, - "scheduledEndDate":"2021-01-26T19:48:00Z", - "actualEndDate":"2021-01-12T19:09:48Z", - "isOpen":false, - "name":"Aggregation", - "phaseId":"2691ed2b-8574-4f16-929a-35ac94e1c3ee", - "actualStartDate":"2021-01-12T19:09:48Z", - "id":"e1ffd40e-5d32-4d3c-9a52-52453f9a4d0b", - "scheduledStartDate":"2021-01-26T07:48:00Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-27T19:48:00Z", - "actualEndDate":"2021-01-12T19:09:48Z", - "isOpen":false, - "name":"Final Fix", - "phaseId":"3e2afca6-9542-4763-a135-96b33f12c082", - "actualStartDate":"2021-01-12T19:09:48Z", - "id":"88dd4e40-a8fd-4544-9840-5e2aad92406c", - "scheduledStartDate":"2021-01-26T19:48:00Z" - }, - { - "duration":43200, - "scheduledEndDate":"2021-01-28T07:48:00Z", - "actualEndDate":"2021-01-12T19:09:48Z", - "isOpen":false, - "name":"Final Review", - "phaseId":"f3acaf26-1dd5-42ae-9f0d-8eb0fd24ae59", - "actualStartDate":"2021-01-12T19:09:48Z", - "id":"177fd528-e98f-49ff-9b46-361103c246ea", - "scheduledStartDate":"2021-01-27T19:48:00Z" - }, - { - "duration":432000, - "scheduledEndDate":"2021-02-02T07:48:00Z", - "actualEndDate":"2021-01-12T19:09:48Z", - "isOpen":false, - "name":"Approval", - "phaseId":"ad985cff-ad3e-44de-b54e-3992505ba0ae", - "actualStartDate":"2021-01-12T19:09:48Z", - "id":"3364a796-6df1-456a-865d-f35507be8fbb", - "scheduledStartDate":"2021-01-28T07:48:00Z" - } - ], - "endDate":"2021-02-02T07:48:00Z", - "numOfSubmissions":0, - "numOfRegistrants":0, - "currentPhaseNames":[ - "Specification Review" - ], - "registrationStartDate":"2021-01-12T19:09:48Z", - "registrationEndDate":"2021-01-12T19:09:48Z", - "submissionStartDate":"2021-01-12T19:09:48Z", - "submissionEndDate":"2021-01-12T19:09:48Z", - "track":"Quality Assurance", - "type":"Challenge", - "prizeSets":[ - { - "prizes":[ - { - "type":"USD", - "value":1 - } - ], - "description":"Challenge Prizes", - "type":"placement" - }, - { - "prizes":[ - { - "type":"USD", - "value":"0" - } - ], - "type":"copilot" - } - ], - "overview":{ - "totalPrizes":1 - }, - "tags":[ - "Google", - "Test Suites" - ], - "legacyId":30057912, - "metadata":[ - - ], - "events":[ - - ], - "task":{ - "isAssigned":false, - "isTask":false, - "memberId":null - } - }, - { - "id":"7ec46626-c040-46c0-9498-09a4316a84d4", - "matchScore": "0", - "created":"2021-01-05T03:22:51.237Z", - "createdBy":"TCConnCopilot", - "updated":"2021-01-14T17:43:47Z", - "updatedBy":"AutoPilot", - "status":"Active", - "projectId":16665, - "name":"sdgun 1 5 2021", - "typeId":"e06b074d-43c2-4e7e-9cd3-c43e13d51b40", - "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", - "startDate":"2021-01-05T03:25:33Z", - "legacy":{ - "reviewType":"COMMUNITY", - "confidentialityType":"public", - "isTask":false, - "subTrack":"CODE", - "directProjectId":23745, - "track":"DEVELOP", - "forumId":0, - "reviewScorecardId":30001610 - }, - "descriptionFormat":"markdown", - "timelineTemplateId":"7ebf1c69-f62f-4d3a-bdfb-fe9ddb56861c", - "terms":[ - { - "roleId":"732339e7-8e30-49d7-9198-cccf9451e221", - "id":"317cd8f9-d66c-4f2a-8774-63c612d99cd4" - }, - { - "roleId":"d663fc84-5c37-43d1-a537-793feffb7667", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"3eedd4a4-3c68-4f68-8de4-a1ca5c2055e5", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"318b9c07-079a-42d9-a81f-b96be1dc1099", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"ff556573-5da6-4392-b38c-08c1d7599c4a", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"e0544b94-6420-4afc-8f63-238eddc751b9", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"0e9c6879-39e4-4eb6-b8df-92407890faf1", - "id":"75d2f6bb-aadc-475e-9728-32c1dbd13655" - }, - { - "roleId":"cfe12b3f-2a24-4639-9d8b-ec86726f76bd", - "id":"e0993b1a-abf7-45e6-8ed9-8cd0546be90b" - } - ], - "discussions":[ - { - "provider":"vanilla", - "name":"sdgun 1 5 2021 Discussion", - "id":"51f2d59e-63f7-4f65-8bd2-8405f1733395", - "type":"challenge", - "url":"https://vanilla.topcoder-dev.com/categories/7ec46626-c040-46c0-9498-09a4316a84d4" - } - ], - "description":"sdasdasd", - "groups":[ - - ], - "phases":[ - { - "duration":734366, - "scheduledEndDate":"2021-01-14T17:43:46Z", - "actualEndDate":"2021-01-14T17:43:46Z", - "isOpen":false, - "name":"Registration", - "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", - "actualStartDate":"2021-01-05T03:25:33Z", - "id":"1c6e9e1f-42e7-4bff-9b9e-fdc7ea37a12f", - "scheduledStartDate":"2021-01-05T03:25:33Z" - }, - { - "duration":734100, - "scheduledEndDate":"2021-01-14T17:43:47Z", - "actualEndDate":"2021-01-14T17:43:47Z", - "isOpen":false, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-06T05:43:47Z", - "id":"27af496e-13ac-42d2-96b4-f9f6259efd7e", - "scheduledStartDate":"2021-01-06T05:43:47Z" - }, - { - "duration":172800, - "scheduledEndDate":"2021-01-16T17:43:00Z", - "actualEndDate":"2021-01-14T17:51:02Z", - "isOpen":false, - "name":"Review", - "phaseId":"aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b", - "actualStartDate":"2021-01-14T17:51:02Z", - "id":"91b183d6-49b9-47ba-a44d-dd90223c6bad", - "scheduledStartDate":"2021-01-14T17:43:47Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-17T17:43:00Z", - "actualEndDate":"2021-01-14T17:51:02Z", - "isOpen":false, - "name":"Appeals", - "phaseId":"1c24cfb3-5b0a-4dbd-b6bd-4b0dff5349c6", - "actualStartDate":"2021-01-14T17:51:02Z", - "id":"17e41aa2-6f33-4e95-9124-24c755779e6c", - "scheduledStartDate":"2021-01-16T17:43:00Z" - }, - { - "duration":43200, - "scheduledEndDate":"2021-01-18T05:43:00Z", - "actualEndDate":"2021-01-14T17:51:02Z", - "isOpen":false, - "name":"Appeals Response", - "phaseId":"797a6af7-cd3f-4436-9fca-9679f773bee9", - "actualStartDate":"2021-01-14T17:51:02Z", - "id":"71a5ad3c-da9a-4015-b6c1-09f06e4442ea", - "scheduledStartDate":"2021-01-17T17:43:00Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-15T17:48:00Z", - "actualEndDate":"2021-01-14T17:51:02Z", - "isOpen":true, - "name":"Post-Mortem", - "phaseId":"f308bdb4-d3da-43d8-942b-134dfbaf5c45", - "actualStartDate":"2021-01-14T17:48:47Z", - "id":"8f3a3b3f-73f8-4d2c-a0ca-3cd73ef03292", - "scheduledStartDate":"2021-01-14T17:48:47Z" - } - ], - "endDate":"2021-01-15T17:48:00Z", - "numOfSubmissions":0, - "numOfRegistrants":0, - "currentPhaseNames":[ - "Post-Mortem" - ], - "registrationStartDate":"2021-01-05T03:25:33Z", - "registrationEndDate":"2021-01-14T17:43:46Z", - "submissionStartDate":"2021-01-06T05:43:47Z", - "submissionEndDate":"2021-01-14T17:43:47Z", - "track":"Development", - "type":"Challenge", - "prizeSets":[ - { - "prizes":[ - { - "type":"USD", - "value":1 - } - ], - "description":"Challenge Prizes", - "type":"placement" - }, - { - "prizes":[ - { - "type":"USD", - "value":"0" - } - ], - "type":"copilot" - } - ], - "overview":{ - "totalPrizes":1 - }, - "tags":[ - "Google" - ], - "legacyId":30057900, - "metadata":[ - - ], - "events":[ - - ], - "task":{ - "isAssigned":false, - "isTask":false, - "memberId":null - }, - "currentPhase":{ - "duration":432000, - "scheduledEndDate":"2021-01-10T03:25:00Z", - "actualEndDate":"2021-01-05T03:51:01Z", - "isOpen":true, - "name":"Registration", - "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", - "actualStartDate":"2021-01-05T03:25:33Z", - "description":"Registration Phase", - "id":"0fa6a90d-3458-4d16-816f-eea671388d06", - "scheduledStartDate":"2021-01-05T03:25:33Z" - } - }, - { - "id":"16b2daa3-78d0-4f74-abac-d5fe21fe30c1", - "matchScore": "-0.99", - "created":"2021-01-04T18:03:21.012Z", - "createdBy":"TonyJ", - "updated":"2021-01-11T06:43:46Z", - "updatedBy":"AutoPilot", - "descriptionFormat":"markdown", - "legacy":{ - "reviewType":"COMMUNITY", - "confidentialityType":"public", - "isTask":false, - "subTrack":"CODE", - "directProjectId":24283, - "track":"DEVELOP", - "forumId":0, - "reviewScorecardId":30001610 - }, - "phases":[ - { - "duration":561600, - "scheduledEndDate":"2021-01-11T06:43:45Z", - "actualEndDate":"2021-01-11T06:43:45Z", - "isOpen":false, - "name":"Registration", - "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", - "actualStartDate":"2021-01-04T18:23:44Z", - "id":"8f534b02-9f6c-4d39-9a4a-d0089eabcaa6", - "scheduledStartDate":"2021-01-04T18:23:44Z" - }, - { - "duration":561300, - "scheduledEndDate":"2021-01-11T06:43:47Z", - "actualEndDate":"2021-01-11T06:43:47Z", - "isOpen":false, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-04T18:43:39Z", - "id":"a3394491-2824-4839-9e21-9b7c62f098eb", - "scheduledStartDate":"2021-01-04T18:43:39Z" - }, - { - "duration":172800, - "scheduledEndDate":"2021-01-13T06:43:00Z", - "actualEndDate":"2021-01-11T06:51:00Z", - "isOpen":false, - "name":"Review", - "phaseId":"aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b", - "actualStartDate":"2021-01-11T06:51:00Z", - "id":"d8a5a4f9-5c6d-4432-9ffd-eb7d26c2da18", - "scheduledStartDate":"2021-01-11T06:43:47Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-14T06:43:00Z", - "actualEndDate":"2021-01-11T06:51:00Z", - "isOpen":false, - "name":"Appeals", - "phaseId":"1c24cfb3-5b0a-4dbd-b6bd-4b0dff5349c6", - "actualStartDate":"2021-01-11T06:51:00Z", - "id":"9cb9585d-690e-4dab-9610-dc19b4eab4a0", - "scheduledStartDate":"2021-01-13T06:43:00Z" - }, - { - "duration":43200, - "scheduledEndDate":"2021-01-14T18:43:00Z", - "actualEndDate":"2021-01-11T06:51:00Z", - "isOpen":false, - "name":"Appeals Response", - "phaseId":"797a6af7-cd3f-4436-9fca-9679f773bee9", - "actualStartDate":"2021-01-11T06:51:00Z", - "id":"af6ae90c-c05d-4a53-9b46-143436d16c4a", - "scheduledStartDate":"2021-01-14T06:43:00Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-12T06:48:00Z", - "actualEndDate":"2021-01-11T06:51:00Z", - "isOpen":true, - "name":"Post-Mortem", - "phaseId":"f308bdb4-d3da-43d8-942b-134dfbaf5c45", - "actualStartDate":"2021-01-11T06:48:49Z", - "id":"2926750b-6741-44b5-9eb1-d87ac69c2630", - "scheduledStartDate":"2021-01-11T06:48:49Z" - } - ], - "tags":[ - "Other" - ], - "status":"Active", - "terms":[ - { - "roleId":"318b9c07-079a-42d9-a81f-b96be1dc1099", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"ff556573-5da6-4392-b38c-08c1d7599c4a", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"3eedd4a4-3c68-4f68-8de4-a1ca5c2055e5", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"e0544b94-6420-4afc-8f63-238eddc751b9", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"d663fc84-5c37-43d1-a537-793feffb7667", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"0e9c6879-39e4-4eb6-b8df-92407890faf1", - "id":"75d2f6bb-aadc-475e-9728-32c1dbd13655" - }, - { - "roleId":"cfe12b3f-2a24-4639-9d8b-ec86726f76bd", - "id":"e0993b1a-abf7-45e6-8ed9-8cd0546be90b" - } - ], - "typeId":"e06b074d-43c2-4e7e-9cd3-c43e13d51b40", - "name":"Easy Bug 1000", - "description":"Desc ### Reference: https://dev.azure.com/TheGreyLake/TCXTest/_workitems/edit/47", - "prizeSets":[ - { - "prizes":[ - { - "type":"USD", - "value":1200 - } - ], - "description":"Challenge Prizes", - "type":"placement" - }, - { - "prizes":[ - { - "type":"USD", - "value":"0" - } - ], - "type":"copilot" - } - ], - "startDate":"2021-01-04T18:23:44Z", - "timelineTemplateId":"7ebf1c69-f62f-4d3a-bdfb-fe9ddb56861c", - "projectId":16804, - "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", - "groups":[ - - ], - "endDate":"2021-01-12T06:48:00Z", - "overview":{ - "totalPrizes":1200 - }, - "numOfSubmissions":0, - "numOfRegistrants":1, - "currentPhaseNames":[ - "Post-Mortem" - ], - "registrationStartDate":"2021-01-04T18:23:44Z", - "registrationEndDate":"2021-01-11T06:43:45Z", - "submissionStartDate":"2021-01-04T18:43:39Z", - "submissionEndDate":"2021-01-11T06:43:47Z", - "track":"Development", - "type":"Challenge", - "legacyId":30057897, - "metadata":[ - - ], - "events":[ - - ], - "task":{ - "isAssigned":false, - "isTask":false, - "memberId":null - } - }, - { - "id":"8cea8f3c-c5bc-48fe-b610-e68bc97be7b4", - "matchScore": "1", - "created":"2021-01-03T16:05:05.573Z", - "createdBy":"TonyJ", - "updated":"2021-01-13T16:38:44Z", - "updatedBy":"AutoPilot", - "status":"Active", - "projectId":16804, - "name":"Setting up test task", - "typeId":"e06b074d-43c2-4e7e-9cd3-c43e13d51b40", - "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", - "startDate":"2021-01-03T16:14:00Z", - "legacy":{ - "reviewType":"COMMUNITY", - "confidentialityType":"public", - "isTask":true, - "subTrack":"FIRST_2_FINISH", - "directProjectId":24283, - "track":"DEVELOP", - "forumId":0, - "reviewScorecardId":30001600 - }, - "descriptionFormat":"markdown", - "timelineTemplateId":"53a307ce-b4b3-4d6f-b9a1-3741a58f77e6", - "terms":[ - { - "roleId":"3eedd4a4-3c68-4f68-8de4-a1ca5c2055e5", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"318b9c07-079a-42d9-a81f-b96be1dc1099", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"732339e7-8e30-49d7-9198-cccf9451e221", - "id":"317cd8f9-d66c-4f2a-8774-63c612d99cd4" - }, - { - "roleId":"ff556573-5da6-4392-b38c-08c1d7599c4a", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"d663fc84-5c37-43d1-a537-793feffb7667", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"e0544b94-6420-4afc-8f63-238eddc751b9", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"0e9c6879-39e4-4eb6-b8df-92407890faf1", - "id":"75d2f6bb-aadc-475e-9728-32c1dbd13655" - }, - { - "roleId":"cfe12b3f-2a24-4639-9d8b-ec86726f76bd", - "id":"e0993b1a-abf7-45e6-8ed9-8cd0546be90b" - } - ], - "description":"Test task with autopilot.", - "task":{ - "isTask":true, - "isAssigned":false, - "memberId":null - }, - "groups":[ - - ], - "phases":[ - { - "duration":864296, - "scheduledEndDate":"2021-01-13T16:18:00Z", - "actualEndDate":"2021-01-13T16:41:00Z", - "isOpen":false, - "name":"Registration", - "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", - "actualStartDate":"2021-01-13T16:41:00Z", - "id":"50cb0d46-6ef6-4c55-b651-91916abb10fd", - "scheduledStartDate":"2021-01-03T16:14:00Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-04T16:33:00Z", - "actualEndDate":"2021-01-13T16:41:00Z", - "isOpen":false, - "name":"Iterative Review", - "phaseId":"003a4b14-de5d-43fc-9e35-835dbeb6af1f", - "actualStartDate":"2021-01-13T16:41:00Z", - "id":"c9611c0c-7cd6-4450-b536-0cfa335ba247", - "scheduledStartDate":"2021-01-03T16:33:39Z" - }, - { - "duration":864000, - "scheduledEndDate":"2021-01-13T16:38:45Z", - "actualEndDate":"2021-01-13T16:38:45Z", - "isOpen":false, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-03T16:33:39Z", - "id":"ce9ab733-1998-438b-ac1e-94061c4738e4", - "scheduledStartDate":"2021-01-03T16:33:39Z" - } - ], - "endDate":"2021-01-13T16:38:45Z", - "numOfSubmissions":0, - "numOfRegistrants":1, - "currentPhaseNames":[ - - ], - "submissionStartDate":"2021-01-03T16:33:39Z", - "submissionEndDate":"2021-01-13T16:38:45Z", - "track":"Development", - "type":"Task", - "prizeSets":[ - { - "prizes":[ - { - "type":"USD", - "value":5 - } - ], - "description":"Challenge Prizes", - "type":"placement" - }, - { - "prizes":[ - { - "type":"USD", - "value":"0" - } - ], - "type":"copilot" - } - ], - "overview":{ - "totalPrizes":5 - }, - "tags":[ - "AWS" - ], - "legacyId":30057895, - "metadata":[ - - ], - "registrationStartDate":"2021-01-13T16:41:00Z", - "registrationEndDate":"2021-01-13T16:41:00Z", - "events":[ - - ] - }, - { - "id":"4b05cb96-d30c-45e2-be98-76b2d9f7132d", - "matchScore": "-0.23", - "created":"2021-01-03T15:54:18.567Z", - "createdBy":"TonyJ", - "updated":"2021-01-12T05:13:47Z", - "updatedBy":"AutoPilot", - "status":"Active", - "projectId":16804, - "name":"My challenge 123", - "typeId":"e06b074d-43c2-4e7e-9cd3-c43e13d51b40", - "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", - "startDate":"2021-01-03T16:53:39Z", - "legacy":{ - "reviewType":"COMMUNITY", - "confidentialityType":"public", - "isTask":false, - "subTrack":"CODE", - "directProjectId":24283, - "track":"DEVELOP", - "forumId":0, - "reviewScorecardId":30001610 - }, - "descriptionFormat":"markdown", - "timelineTemplateId":"7ebf1c69-f62f-4d3a-bdfb-fe9ddb56861c", - "terms":[ - { - "roleId":"3eedd4a4-3c68-4f68-8de4-a1ca5c2055e5", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"318b9c07-079a-42d9-a81f-b96be1dc1099", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"732339e7-8e30-49d7-9198-cccf9451e221", - "id":"317cd8f9-d66c-4f2a-8774-63c612d99cd4" - }, - { - "roleId":"ff556573-5da6-4392-b38c-08c1d7599c4a", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"d663fc84-5c37-43d1-a537-793feffb7667", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"e0544b94-6420-4afc-8f63-238eddc751b9", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"0e9c6879-39e4-4eb6-b8df-92407890faf1", - "id":"75d2f6bb-aadc-475e-9728-32c1dbd13655" - }, - { - "roleId":"cfe12b3f-2a24-4639-9d8b-ec86726f76bd", - "id":"e0993b1a-abf7-45e6-8ed9-8cd0546be90b" - } - ], - "discussions":[ - { - "provider":"vanilla", - "name":"My challenge 123 Discussion", - "id":"711a4743-fa4c-4063-ab64-792f2013e2ea", - "type":"challenge", - "url":"https://vanilla.topcoder-dev.com/categories/4b05cb96-d30c-45e2-be98-76b2d9f7132d" - } - ], - "description":"Hopefullly it works finally ? ", - "groups":[ - - ], - "phases":[ - { - "duration":734400, - "scheduledEndDate":"2021-01-12T05:13:46Z", - "actualEndDate":"2021-01-12T05:13:46Z", - "isOpen":false, - "name":"Registration", - "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", - "actualStartDate":"2021-01-03T16:53:39Z", - "id":"1e320456-809b-4eb4-8235-2dabe4d6d020", - "scheduledStartDate":"2021-01-03T16:53:39Z" - }, - { - "duration":734117, - "scheduledEndDate":"2021-01-12T05:13:47Z", - "actualEndDate":"2021-01-12T05:13:47Z", - "isOpen":false, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-03T17:13:37Z", - "id":"d5ec4058-2b9c-4e46-bb36-6638ee091276", - "scheduledStartDate":"2021-01-03T17:13:37Z" - }, - { - "duration":172800, - "scheduledEndDate":"2021-01-14T05:13:00Z", - "actualEndDate":"2021-01-12T05:21:00Z", - "isOpen":false, - "name":"Review", - "phaseId":"aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b", - "actualStartDate":"2021-01-12T05:21:00Z", - "id":"dadc068b-5b26-4df0-943f-3ca79ffd8264", - "scheduledStartDate":"2021-01-12T05:13:47Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-15T05:13:00Z", - "actualEndDate":"2021-01-12T05:21:00Z", - "isOpen":false, - "name":"Appeals", - "phaseId":"1c24cfb3-5b0a-4dbd-b6bd-4b0dff5349c6", - "actualStartDate":"2021-01-12T05:21:00Z", - "id":"fb0f4189-9750-4532-a8e4-d2dc83642357", - "scheduledStartDate":"2021-01-14T05:13:00Z" - }, - { - "duration":43200, - "scheduledEndDate":"2021-01-15T17:13:00Z", - "actualEndDate":"2021-01-12T05:21:00Z", - "isOpen":false, - "name":"Appeals Response", - "phaseId":"797a6af7-cd3f-4436-9fca-9679f773bee9", - "actualStartDate":"2021-01-12T05:21:00Z", - "id":"09d84248-f5ba-4e1b-8199-e7618d5a7701", - "scheduledStartDate":"2021-01-15T05:13:00Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-13T05:18:00Z", - "actualEndDate":"2021-01-12T05:21:00Z", - "isOpen":true, - "name":"Post-Mortem", - "phaseId":"f308bdb4-d3da-43d8-942b-134dfbaf5c45", - "actualStartDate":"2021-01-12T05:18:47Z", - "id":"762525f9-136f-4cc5-b618-32b365efa829", - "scheduledStartDate":"2021-01-12T05:18:47Z" - } - ], - "endDate":"2021-01-13T05:18:00Z", - "numOfSubmissions":0, - "numOfRegistrants":2, - "currentPhaseNames":[ - "Post-Mortem" - ], - "registrationStartDate":"2021-01-03T16:53:39Z", - "registrationEndDate":"2021-01-12T05:13:46Z", - "submissionStartDate":"2021-01-03T17:13:37Z", - "submissionEndDate":"2021-01-12T05:13:47Z", - "track":"Development", - "type":"Challenge", - "prizeSets":[ - { - "prizes":[ - { - "type":"USD", - "value":5 - } - ], - "description":"Challenge Prizes", - "type":"placement" - }, - { - "prizes":[ - { - "type":"USD", - "value":"0" - } - ], - "type":"copilot" - } - ], - "overview":{ - "totalPrizes":5 - }, - "tags":[ - "AWS" - ], - "legacyId":30057893, - "metadata":[ - - ], - "events":[ - - ], - "task":{ - "isAssigned":false, - "isTask":false, - "memberId":null - } - }, - { - "id":"c3ae2359-e406-4b39-a0b4-67fbe00505a3", - "matchScore": "0.82", - "created":"2021-01-03T15:27:33.087Z", - "createdBy":"TonyJ", - "updated":"2021-01-13T04:03:46Z", - "updatedBy":"AutoPilot", - "status":"Active", - "projectId":16804, - "name":"Please work challenge", - "typeId":"e06b074d-43c2-4e7e-9cd3-c43e13d51b40", - "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", - "startDate":"2021-01-04T15:48:42Z", - "legacy":{ - "reviewType":"COMMUNITY", - "confidentialityType":"public", - "isTask":false, - "subTrack":"CODE", - "directProjectId":24283, - "track":"DEVELOP", - "forumId":0, - "reviewScorecardId":30001610 - }, - "descriptionFormat":"markdown", - "timelineTemplateId":"7ebf1c69-f62f-4d3a-bdfb-fe9ddb56861c", - "terms":[ - { - "roleId":"3eedd4a4-3c68-4f68-8de4-a1ca5c2055e5", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"318b9c07-079a-42d9-a81f-b96be1dc1099", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"732339e7-8e30-49d7-9198-cccf9451e221", - "id":"317cd8f9-d66c-4f2a-8774-63c612d99cd4" - }, - { - "roleId":"ff556573-5da6-4392-b38c-08c1d7599c4a", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"d663fc84-5c37-43d1-a537-793feffb7667", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"e0544b94-6420-4afc-8f63-238eddc751b9", - "id":"82a35602-57c2-4b48-a9b9-b4e133b22035" - }, - { - "roleId":"0e9c6879-39e4-4eb6-b8df-92407890faf1", - "id":"75d2f6bb-aadc-475e-9728-32c1dbd13655" - }, - { - "roleId":"cfe12b3f-2a24-4639-9d8b-ec86726f76bd", - "id":"e0993b1a-abf7-45e6-8ed9-8cd0546be90b" - } - ], - "discussions":[ - { - "provider":"vanilla", - "name":"Please work challenge Discussion", - "id":"f87f3b4a-fbb5-44d9-89ee-3dba3e548077", - "type":"challenge", - "url":"https://vanilla.topcoder-dev.com/categories/c3ae2359-e406-4b39-a0b4-67fbe00505a3" - } - ], - "description":"This is a test challenge.", - "groups":[ - - ], - "phases":[ - { - "duration":734100, - "scheduledEndDate":"2021-01-13T04:03:45Z", - "actualEndDate":"2021-01-13T04:03:45Z", - "isOpen":false, - "name":"Registration", - "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", - "actualStartDate":"2021-01-04T15:48:42Z", - "id":"48e1c023-ca12-4254-8131-71a898b09e95", - "scheduledStartDate":"2021-01-04T15:48:42Z" - }, - { - "duration":733832, - "scheduledEndDate":"2021-01-13T04:03:46Z", - "actualEndDate":"2021-01-13T04:03:46Z", - "isOpen":false, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-04T16:08:41Z", - "id":"5c7bbb12-1a17-491f-9bd2-2452dbc13e51", - "scheduledStartDate":"2021-01-04T16:08:41Z" - }, - { - "duration":172800, - "scheduledEndDate":"2021-01-15T04:03:00Z", - "actualEndDate":"2021-01-13T04:11:00Z", - "isOpen":false, - "name":"Review", - "phaseId":"aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b", - "actualStartDate":"2021-01-13T04:11:00Z", - "id":"e037a723-4b17-42c5-bfe3-b73f558610aa", - "scheduledStartDate":"2021-01-13T04:03:46Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-16T04:03:00Z", - "actualEndDate":"2021-01-13T04:11:00Z", - "isOpen":false, - "name":"Appeals", - "phaseId":"1c24cfb3-5b0a-4dbd-b6bd-4b0dff5349c6", - "actualStartDate":"2021-01-13T04:11:00Z", - "id":"53f01770-73ac-458c-b42c-de4c34b76bb0", - "scheduledStartDate":"2021-01-15T04:03:00Z" - }, - { - "duration":43200, - "scheduledEndDate":"2021-01-16T16:03:00Z", - "actualEndDate":"2021-01-13T04:11:00Z", - "isOpen":false, - "name":"Appeals Response", - "phaseId":"797a6af7-cd3f-4436-9fca-9679f773bee9", - "actualStartDate":"2021-01-13T04:11:00Z", - "id":"01ed5972-b832-405a-a5a7-cb4353df2b95", - "scheduledStartDate":"2021-01-16T04:03:00Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-14T04:08:00Z", - "actualEndDate":"2021-01-13T04:11:00Z", - "isOpen":true, - "name":"Post-Mortem", - "phaseId":"f308bdb4-d3da-43d8-942b-134dfbaf5c45", - "actualStartDate":"2021-01-13T04:08:48Z", - "id":"e92986b1-2319-460e-908a-45a3d9f550aa", - "scheduledStartDate":"2021-01-13T04:08:48Z" - } - ], - "endDate":"2021-01-14T04:08:00Z", - "numOfSubmissions":0, - "numOfRegistrants":0, - "currentPhaseNames":[ - "Post-Mortem" - ], - "registrationStartDate":"2021-01-04T15:48:42Z", - "registrationEndDate":"2021-01-13T04:03:45Z", - "submissionStartDate":"2021-01-04T16:08:41Z", - "submissionEndDate":"2021-01-13T04:03:46Z", - "track":"Development", - "type":"Challenge", - "prizeSets":[ - { - "prizes":[ - { - "type":"USD", - "value":1000 - } - ], - "description":"Challenge Prizes", - "type":"placement" - }, - { - "prizes":[ - { - "type":"USD", - "value":"0" - } - ], - "type":"copilot" - } - ], - "overview":{ - "totalPrizes":1000 - }, - "tags":[ - "Heroku", - "Salesforce.com" - ], - "legacyId":30057891, - "metadata":[ - - ], - "events":[ - - ], - "task":{ - "isAssigned":false, - "isTask":false, - "memberId":null - } } ] \ No newline at end of file diff --git a/src/services/challenges.js b/src/services/challenges.js index cf4b9463..ada7e4b1 100644 --- a/src/services/challenges.js +++ b/src/services/challenges.js @@ -547,7 +547,13 @@ class ChallengesService { */ async getRecommendedChallenges(sort, filter) { let sortedChallenges = []; + const tracks = []; + const types = []; + if (filter.types.includes('CH')) types.push('Challenge'); + if (filter.types.includes('F2F')) types.push('First2Finish'); + if (filter.types.includes('TSK')) types.push('Task'); + if (filter.tracks.DS) tracks.push('Data Science'); if (filter.tracks.Des) tracks.push('Design'); if (filter.tracks.Dev) tracks.push('Development'); @@ -558,7 +564,8 @@ class ChallengesService { sortedChallenges = _.sortBy(mockRecommendedChallenges, [sort.openForRegistration]); } - const filteredChallenges = sortedChallenges.filter(item => tracks.includes(item.track)); + let filteredChallenges = sortedChallenges.filter(item => tracks.includes(item.track)); + filteredChallenges = filteredChallenges.filter(item => types.includes(item.type)); const mockResponse = _.clone(this.private.tokenV3 ? filteredChallenges : []); const sleep = m => new Promise(r => setTimeout(r, m));