From 3ba0130904d6b014acbd1f0c90234c0228e4b5e8 Mon Sep 17 00:00:00 2001 From: Dedy Wahyudi Date: Wed, 27 Jan 2021 14:20:25 +0700 Subject: [PATCH 01/18] poc-recommender-sub-2 --- .../data/recommended-challenges.json | 3747 +++++++++++++++++ src/services/challenges.js | 45 +- 2 files changed, 3791 insertions(+), 1 deletion(-) create mode 100644 src/services/__mocks__/data/recommended-challenges.json diff --git a/src/services/__mocks__/data/recommended-challenges.json b/src/services/__mocks__/data/recommended-challenges.json new file mode 100644 index 00000000..6ef74ccc --- /dev/null +++ b/src/services/__mocks__/data/recommended-challenges.json @@ -0,0 +1,3747 @@ +[ + { + "id":"d211b5b4-4e15-459b-8c93-97580b125ebd", + "matchScore": "-0.28", + "created":"2021-01-19T08:25:31.283Z", + "createdBy":"max.admin", + "updated":"2021-01-22T11:06:30Z", + "updatedBy":"tcwebservice", + "status":"Active", + "projectId":16573, + "name":"Recommended Challenge #0", + "typeId":"e06b074d-43c2-4e7e-9cd3-c43e13d51b40", + "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", + "startDate":"2021-01-20T08:48:46Z", + "legacy":{ + "reviewType":"COMMUNITY", + "confidentialityType":"public", + "isTask":false, + "subTrack":"CODE", + "directProjectId":23570, + "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":"Attachments Max DEV Vikas Discussion", + "id":"f0633e93-c8fc-416e-a8e4-24690346d300", + "type":"challenge", + "url":"https://vanilla.topcoder-dev.com/categories/d211b5b4-4e15-459b-8c93-97580b125ebd" + } + ], + "description":"Testing attachments", + "groups":[ + + ], + "phases":[ + { + "duration":732897, + "scheduledEndDate":"2021-01-28T20:22:00Z", + "actualEndDate":"2021-01-26T12:11:00Z", + "isOpen":true, + "name":"Registration", + "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", + "actualStartDate":"2021-01-20T08:48:46Z", + "id":"8554ec02-3ad1-4440-ae32-8f6cd0ac7c59", + "scheduledStartDate":"2021-01-20T08:48:46Z" + }, + { + "duration":731696, + "scheduledEndDate":"2021-01-28T20:22:00Z", + "actualEndDate":"2021-01-26T12:11:00Z", + "isOpen":true, + "name":"Submission", + "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", + "actualStartDate":"2021-01-20T09:08:47Z", + "id":"3cd7e21c-d7c2-46d1-b5b5-d3ce6e109009", + "scheduledStartDate":"2021-01-20T09:08:47Z" + }, + { + "duration":172800, + "scheduledEndDate":"2021-01-30T20:22:00Z", + "actualEndDate":"2021-01-26T12:11:00Z", + "isOpen":false, + "name":"Review", + "phaseId":"aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b", + "actualStartDate":"2021-01-26T12:11:00Z", + "id":"06ee7711-8e98-4b5b-b9da-6253e1f3a182", + "scheduledStartDate":"2021-01-28T20:22:00Z" + }, + { + "duration":86400, + "scheduledEndDate":"2021-01-31T20:22:00Z", + "actualEndDate":"2021-01-26T12:11:00Z", + "isOpen":false, + "name":"Appeals", + "phaseId":"1c24cfb3-5b0a-4dbd-b6bd-4b0dff5349c6", + "actualStartDate":"2021-01-26T12:11:00Z", + "id":"d57f926a-f5b3-438c-b14f-b783e50e383b", + "scheduledStartDate":"2021-01-30T20:22:00Z" + }, + { + "duration":43200, + "scheduledEndDate":"2021-02-01T08:22:00Z", + "actualEndDate":"2021-01-26T12:11:00Z", + "isOpen":false, + "name":"Appeals Response", + "phaseId":"797a6af7-cd3f-4436-9fca-9679f773bee9", + "actualStartDate":"2021-01-26T12:11:00Z", + "id":"c8a32785-e0a2-4889-94e9-2eaa71ead531", + "scheduledStartDate":"2021-01-31T20:22:00Z" + } + ], + "endDate":"2021-02-01T08:22:00Z", + "numOfSubmissions":1, + "numOfRegistrants":2, + "currentPhaseNames":[ + "Registration", + "Submission" + ], + "registrationStartDate":"2021-01-20T08:48:46Z", + "registrationEndDate":"2021-01-26T12:11:00Z", + "submissionStartDate":"2021-01-20T09:08:47Z", + "submissionEndDate":"2021-01-26T12:11:00Z", + "track":"Development", + "type":"Challenge", + "attachments":[ + { + "challengeId":"d211b5b4-4e15-459b-8c93-97580b125ebd", + "fileSize":87, + "name":"#736081 Stored XSS + Steal auth0Jwt = Account Takeover on https___apps.topcoder.com.txt", + "id":"acf42172-cedd-486a-b25c-60be3ce6b661", + "url":"https://tc-challenge-v5-dev.s3.amazonaws.com/challenges/d211b5b4-4e15-459b-8c93-97580b125ebd/SPECIFICATION_ATTACHMENTS/G0JvpDNBSwqWPJILdPYY_-736081%20Stored%20XSS%20+%20Steal%20auth0Jwt%20=%20Account%20Takeover%20on%20https___apps.topcoder.com.txt" + }, + { + "challengeId":"d211b5b4-4e15-459b-8c93-97580b125ebd", + "fileSize":4, + "name":"test-csv.csv", + "id":"af1ff97b-4dcd-48a3-8adb-e08891c47fe5", + "url":"https://tc-challenge-v5-dev.s3.amazonaws.com/challenges/d211b5b4-4e15-459b-8c93-97580b125ebd/SPECIFICATION_ATTACHMENTS/3zO9039fRL62VpVkzWOX_test-csv.csv" + }, + { + "challengeId":"d211b5b4-4e15-459b-8c93-97580b125ebd", + "fileSize":4, + "name":"test1.txt", + "id":"73fbc7eb-fdc4-4a9f-9c3c-0b4cf05aa146", + "url":"https://tc-challenge-v5-dev.s3.amazonaws.com/challenges/d211b5b4-4e15-459b-8c93-97580b125ebd/SPECIFICATION_ATTACHMENTS/ehVoqWyTqe8UM7XzKj1g_test1.txt" + }, + { + "challengeId":"d211b5b4-4e15-459b-8c93-97580b125ebd", + "fileSize":4, + "name":"test2.txt", + "id":"f7268d14-85fa-4e4f-866e-21a275b0f8e4", + "url":"https://tc-challenge-v5-dev.s3.amazonaws.com/challenges/d211b5b4-4e15-459b-8c93-97580b125ebd/SPECIFICATION_ATTACHMENTS/SxWlh5IdRYqq2OQq60xE_test2.txt" + }, + { + "challengeId":"d211b5b4-4e15-459b-8c93-97580b125ebd", + "fileSize":4, + "name":"test4.txt", + "id":"0d567587-b3ff-4f80-a2b9-27d45188e71c", + "url":"https://tc-challenge-v5-dev.s3.amazonaws.com/challenges/d211b5b4-4e15-459b-8c93-97580b125ebd/SPECIFICATION_ATTACHMENTS/fWfB6csASOeksKX7sP8y_test4.txt" + }, + { + "challengeId":"d211b5b4-4e15-459b-8c93-97580b125ebd", + "fileSize":5, + "name":"test5.txt", + "id":"3eccbed4-4dcd-4654-92ec-0df3f6d5fc5f", + "url":"https://tc-challenge-v5-dev.s3.amazonaws.com/challenges/d211b5b4-4e15-459b-8c93-97580b125ebd/SPECIFICATION_ATTACHMENTS/mitjNlpZTUiNE8iJ2Rlf_test5.txt" + }, + { + "challengeId":"d211b5b4-4e15-459b-8c93-97580b125ebd", + "fileSize":601201, + "name":"font-awesome-4.6.3.zip", + "id":"27431017-05bb-407b-90e7-c7e7209edf76", + "url":"https://tc-challenge-v5-dev.s3.amazonaws.com/challenges/d211b5b4-4e15-459b-8c93-97580b125ebd/SPECIFICATION_ATTACHMENTS/lv2YPDWQSIuPqDdSWIjP_font-awesome-4.6.3.zip" + }, + { + "challengeId":"d211b5b4-4e15-459b-8c93-97580b125ebd", + "fileSize":601201, + "name":"font-awesome-4.6.3.zip", + "id":"1d57e865-b716-49fb-9b5d-88379e54b450", + "url":"https://tc-challenge-v5-dev.s3.amazonaws.com/challenges/d211b5b4-4e15-459b-8c93-97580b125ebd/SPECIFICATION_ATTACHMENTS/I24izdNTQNm2erHGJWId_font-awesome-4.6.3.zip" + } + ], + "prizeSets":[ + { + "prizes":[ + { + "type":"USD", + "value":1 + } + ], + "description":"Challenge Prizes", + "type":"placement" + }, + { + "prizes":[ + { + "type":"USD", + "value":"0" + } + ], + "type":"copilot" + } + ], + "overview":{ + "totalPrizes":1 + }, + "tags":[ + "Google" + ], + "legacyId":30058111, + "metadata":[ + + ], + "events":[ + + ], + "task":{ + "isAssigned":false, + "isTask":false, + "memberId":null + }, + "currentPhase":{ + "duration":732898, + "scheduledEndDate":"2021-01-28T20:42:00Z", + "actualEndDate":"2021-01-21T16:57:00Z", + "isOpen":true, + "name":"Submission", + "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", + "actualStartDate":"2021-01-20T09:08:47Z", + "description":"Submission Phase", + "id":"22b85c63-d931-4f44-8a8e-86be5b420d03", + "scheduledStartDate":"2021-01-20T09:08:47Z" + } + }, + { + "id":"a7dcbef6-daa9-49bb-90fe-5a33337bb608", + "matchScore": "0.77", + "created":"2021-01-18T17:47:54.633Z", + "createdBy":"TonyJ", + "updated":"2021-01-18T18:46:34Z", + "updatedBy":"TonyJ", + "descriptionFormat":"markdown", + "legacy":{ + "reviewType":"INTERNAL", + "confidentialityType":"public", + "isTask":false, + "subTrack":"CODE", + "directProjectId":24283, + "track":"DEVELOP", + "forumId":0, + "reviewScorecardId":30001610 + }, + "phases":[ + { + "duration":1200, + "scheduledEndDate":"2021-01-18T18:44:02Z", + "actualEndDate":"2021-01-18T18:44:02Z", + "isOpen":false, + "name":"Registration", + "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", + "actualStartDate":"2021-01-18T18:08:49Z", + "id":"f6ca9901-fb17-460d-9dd0-d7e4cf635c00", + "scheduledStartDate":"2021-01-18T18:08:49Z" + }, + { + "duration":1200, + "scheduledEndDate":"2021-01-18T18:44:12Z", + "actualEndDate":"2021-01-18T18:44:12Z", + "isOpen":false, + "name":"Submission", + "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", + "actualStartDate":"2021-01-18T18:21:01Z", + "id":"2e3ecdb6-b6b3-4b0f-9184-52095afcf459", + "scheduledStartDate":"2021-01-18T18:21:01Z" + }, + { + "duration":172800, + "scheduledEndDate":"2021-01-20T18:44:00Z", + "actualEndDate":"2021-01-18T18:51:00Z", + "isOpen":false, + "name":"Review", + "phaseId":"aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b", + "actualStartDate":"2021-01-18T18:51:00Z", + "id":"7aef43a9-56b3-408e-a222-7e2ecb519c2f", + "scheduledStartDate":"2021-01-18T18:44:12Z" + }, + { + "duration":86400, + "scheduledEndDate":"2021-01-21T18:44:00Z", + "actualEndDate":"2021-01-18T18:51:00Z", + "isOpen":false, + "name":"Appeals", + "phaseId":"1c24cfb3-5b0a-4dbd-b6bd-4b0dff5349c6", + "actualStartDate":"2021-01-18T18:51:00Z", + "id":"77e0b632-4783-4c2d-9053-5086f3d9d6db", + "scheduledStartDate":"2021-01-20T18:44:00Z" + }, + { + "duration":43200, + "scheduledEndDate":"2021-01-22T06:44:00Z", + "actualEndDate":"2021-01-18T18:51:00Z", + "isOpen":false, + "name":"Appeals Response", + "phaseId":"797a6af7-cd3f-4436-9fca-9679f773bee9", + "actualStartDate":"2021-01-18T18:51:00Z", + "id":"07023fcf-58e2-429d-b99e-89c0cdbd8b70", + "scheduledStartDate":"2021-01-21T18:44:00Z" + }, + { + "duration":86400, + "scheduledEndDate":"2021-01-19T18:48:00Z", + "actualEndDate":"2021-01-18T18:51:00Z", + "isOpen":true, + "name":"Post-Mortem", + "phaseId":"f308bdb4-d3da-43d8-942b-134dfbaf5c45", + "actualStartDate":"2021-01-18T18:48:48Z", + "id":"531c24e4-f5bf-42e1-9281-5c6ae365de1e", + "scheduledStartDate":"2021-01-18T18:48:48Z" + } + ], + "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":"Recommended Challenge #1", + "description":"My name is Andy Dumont. ### Reference: https://dev.azure.com/TheGreyLake/TCXTest/_workitems/edit/51", + "prizeSets":[ + { + "prizes":[ + { + "type":"USD", + "value":100 + } + ], + "description":"Challenge Prizes", + "type":"placement" + }, + { + "prizes":[ + { + "type":"USD", + "value":"0" + } + ], + "type":"copilot" + } + ], + "startDate":"2021-01-18T18:08:49Z", + "timelineTemplateId":"7ebf1c69-f62f-4d3a-bdfb-fe9ddb56861c", + "projectId":16804, + "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", + "groups":[ + + ], + "endDate":"2021-01-19T18:48:00Z", + "overview":{ + "totalPrizes":100 + }, + "numOfSubmissions":1, + "numOfRegistrants":1, + "currentPhaseNames":[ + "Post-Mortem" + ], + "registrationStartDate":"2021-01-18T18:08:49Z", + "registrationEndDate":"2021-01-18T18:44:02Z", + "submissionStartDate":"2021-01-18T18:21:01Z", + "submissionEndDate":"2021-01-18T18:44:12Z", + "track":"Development", + "type":"Challenge", + "legacyId":30058097, + "metadata":[ + + ], + "events":[ + + ], + "task":{ + "isAssigned":false, + "isTask":false, + "memberId":null + } + }, + { + "id":"dc30e82a-6bbf-46a9-92c5-693a8227a5d8", + "matchScore": "0", + "created":"2021-01-18T17:34:16.130Z", + "createdBy":"TonyJ", + "updated":"2021-01-25T06:04:14Z", + "updatedBy":"AutoPilot", + "descriptionFormat":"markdown", + "legacy":{ + "reviewType":"INTERNAL", + "confidentialityType":"public", + "isTask":false, + "subTrack":"CODE", + "directProjectId":24283, + "track":"DEVELOP", + "forumId":0, + "reviewScorecardId":30001610 + }, + "phases":[ + { + "duration":561600, + "scheduledEndDate":"2021-01-25T06:04:13Z", + "actualEndDate":"2021-01-25T06:04:13Z", + "isOpen":false, + "name":"Registration", + "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", + "actualStartDate":"2021-01-18T17:41:57Z", + "id":"ff7d78e2-f9ac-497d-acda-736b02ad843a", + "scheduledStartDate":"2021-01-18T17:41:57Z" + }, + { + "duration":561300, + "scheduledEndDate":"2021-01-25T06:04:14Z", + "actualEndDate":"2021-01-25T06:04:14Z", + "isOpen":false, + "name":"Submission", + "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", + "actualStartDate":"2021-01-18T18:03:49Z", + "id":"e32895e5-92a2-4200-9efb-30443dc68c00", + "scheduledStartDate":"2021-01-18T18:03:49Z" + }, + { + "duration":172800, + "scheduledEndDate":"2021-01-27T06:04:00Z", + "actualEndDate":"2021-01-25T06:11:00Z", + "isOpen":false, + "name":"Review", + "phaseId":"aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b", + "actualStartDate":"2021-01-25T06:11:00Z", + "id":"f01ee546-4dc4-413f-879c-1f6b3166f433", + "scheduledStartDate":"2021-01-25T06:04:14Z" + }, + { + "duration":86400, + "scheduledEndDate":"2021-01-28T06:04:00Z", + "actualEndDate":"2021-01-25T06:11:00Z", + "isOpen":false, + "name":"Appeals", + "phaseId":"1c24cfb3-5b0a-4dbd-b6bd-4b0dff5349c6", + "actualStartDate":"2021-01-25T06:11:00Z", + "id":"9c46d22d-ea59-40e5-85d7-4867575d85c2", + "scheduledStartDate":"2021-01-27T06:04:00Z" + }, + { + "duration":43200, + "scheduledEndDate":"2021-01-28T18:04:00Z", + "actualEndDate":"2021-01-25T06:11:00Z", + "isOpen":false, + "name":"Appeals Response", + "phaseId":"797a6af7-cd3f-4436-9fca-9679f773bee9", + "actualStartDate":"2021-01-25T06:11:00Z", + "id":"328d776f-bb63-4b46-8e3a-f2bfcfdab620", + "scheduledStartDate":"2021-01-28T06:04:00Z" + }, + { + "duration":86400, + "scheduledEndDate":"2021-01-26T06:08:00Z", + "actualEndDate":"2021-01-25T06:11:00Z", + "isOpen":true, + "name":"Post-Mortem", + "phaseId":"f308bdb4-d3da-43d8-942b-134dfbaf5c45", + "actualStartDate":"2021-01-25T06:08:54Z", + "id":"8ff7d661-26bd-4ac9-8ecd-60d101f390e5", + "scheduledStartDate":"2021-01-25T06:08:54Z" + } + ], + "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":"Recommended Challenge #2s", + "description":"Buggy Bugs Bunny Description ### Reference: https://dev.azure.com/TheGreyLake/TCXTest/_workitems/edit/49", + "prizeSets":[ + { + "prizes":[ + { + "type":"USD", + "value":1000 + } + ], + "description":"Challenge Prizes", + "type":"placement" + }, + { + "prizes":[ + { + "type":"USD", + "value":"0" + } + ], + "type":"copilot" + } + ], + "startDate":"2021-01-18T17:41:57Z", + "timelineTemplateId":"7ebf1c69-f62f-4d3a-bdfb-fe9ddb56861c", + "projectId":null, + "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", + "groups":[ + + ], + "endDate":"2021-01-26T06:08:00Z", + "overview":{ + "totalPrizes":1000 + }, + "numOfSubmissions":1, + "numOfRegistrants":2, + "currentPhaseNames":[ + "Post-Mortem" + ], + "registrationStartDate":"2021-01-18T17:41:57Z", + "registrationEndDate":"2021-01-25T06:04:13Z", + "submissionStartDate":"2021-01-18T18:03:49Z", + "submissionEndDate":"2021-01-25T06:04:14Z", + "track":"Development", + "type":"Challenge", + "legacyId":30058094, + "metadata":[ + + ], + "events":[ + + ], + "task":{ + "isAssigned":false, + "isTask":false, + "memberId":null + } + }, + { + "id":"cf7772c5-1ac2-4449-b0f2-12b51573f4f3", + "matchScore": "-0.89", + "created":"2021-01-18T13:35:54.716Z", + "createdBy":"TonyJ", + "updated":"2021-01-18T16:54:51Z", + "updatedBy":"TonyJ", + "descriptionFormat":"markdown", + "legacy":{ + "reviewType":"INTERNAL", + "confidentialityType":"public", + "isTask":false, + "subTrack":"CODE", + "directProjectId":24283, + "track":"DEVELOP", + "forumId":0, + "reviewScorecardId":30001610 + }, + "phases":[ + { + "duration":2473, + "scheduledEndDate":"2021-01-18T16:50:47Z", + "actualEndDate":"2021-01-18T16:50:47Z", + "isOpen":false, + "name":"Registration", + "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", + "actualStartDate":"2021-01-18T16:03:46Z", + "id":"e4be3e88-900b-4b5c-8d2e-1d1edc7daeed", + "scheduledStartDate":"2021-01-18T16:03:46Z" + }, + { + "duration":1860, + "scheduledEndDate":"2021-01-18T16:54:52Z", + "actualEndDate":"2021-01-18T16:54:52Z", + "isOpen":false, + "name":"Submission", + "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", + "actualStartDate":"2021-01-18T16:23:46Z", + "id":"4d8a1704-3c0e-4dde-9d19-efc08e5112d6", + "scheduledStartDate":"2021-01-18T16:23:46Z" + }, + { + "duration":172800, + "scheduledEndDate":"2021-01-20T16:54:00Z", + "actualEndDate":"2021-01-18T17:01:00Z", + "isOpen":false, + "name":"Review", + "phaseId":"aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b", + "actualStartDate":"2021-01-18T17:01:00Z", + "id":"addaface-fed2-480b-b7ea-376f645c8c16", + "scheduledStartDate":"2021-01-18T16:54:52Z" + }, + { + "duration":86400, + "scheduledEndDate":"2021-01-21T16:54:00Z", + "actualEndDate":"2021-01-18T17:01:00Z", + "isOpen":false, + "name":"Appeals", + "phaseId":"1c24cfb3-5b0a-4dbd-b6bd-4b0dff5349c6", + "actualStartDate":"2021-01-18T17:01:00Z", + "id":"2a1a2b24-5f1d-4865-bf50-8a68d7df1944", + "scheduledStartDate":"2021-01-20T16:54:00Z" + }, + { + "duration":43200, + "scheduledEndDate":"2021-01-22T04:54:00Z", + "actualEndDate":"2021-01-18T17:01:00Z", + "isOpen":false, + "name":"Appeals Response", + "phaseId":"797a6af7-cd3f-4436-9fca-9679f773bee9", + "actualStartDate":"2021-01-18T17:01:00Z", + "id":"c488b203-86ff-4f61-8f81-8d30bfcdfc84", + "scheduledStartDate":"2021-01-21T16:54:00Z" + }, + { + "duration":86400, + "scheduledEndDate":"2021-01-19T16:58:00Z", + "actualEndDate":"2021-01-18T17:01:00Z", + "isOpen":true, + "name":"Post-Mortem", + "phaseId":"f308bdb4-d3da-43d8-942b-134dfbaf5c45", + "actualStartDate":"2021-01-18T16:58:49Z", + "id":"6b22db65-d77f-42a4-bcbf-a9a9037bcbe2", + "scheduledStartDate":"2021-01-18T16:58: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":"Recommended Challenge #3", + "description":"Epic Task Desc ### Reference: https://dev.azure.com/TheGreyLake/TCXTest/_workitems/edit/48", + "prizeSets":[ + { + "prizes":[ + { + "type":"USD", + "value":100 + } + ], + "description":"Challenge Prizes", + "type":"placement" + }, + { + "prizes":[ + { + "type":"USD", + "value":"0" + } + ], + "type":"copilot" + } + ], + "startDate":"2021-01-18T16:03:46Z", + "timelineTemplateId":"7ebf1c69-f62f-4d3a-bdfb-fe9ddb56861c", + "projectId":16804, + "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", + "groups":[ + + ], + "endDate":"2021-01-19T16:58:00Z", + "overview":{ + "totalPrizes":100 + }, + "numOfSubmissions":1, + "numOfRegistrants":1, + "currentPhaseNames":[ + "Post-Mortem" + ], + "registrationStartDate":"2021-01-18T16:03:46Z", + "registrationEndDate":"2021-01-18T16:50:47Z", + "submissionStartDate":"2021-01-18T16:23:46Z", + "submissionEndDate":"2021-01-18T16:54:52Z", + "track":"Development", + "type":"Challenge", + "legacyId":30058093, + "metadata":[ + + ], + "events":[ + + ], + "task":{ + "isAssigned":false, + "isTask":false, + "memberId":null + }, + "currentPhase":{ + "duration":864000, + "scheduledEndDate":"2021-02-07T16:03:46.000Z", + "actualEndDate":"2021-02-07T16:03:46.000Z", + "isOpen":true, + "name":"Submission", + "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", + "actualStartDate":"2021-01-28T16:03:46.000Z", + "description":"Submission Phase", + "id":"2db3d4b1-5039-4e11-b0ad-f417345e1986", + "predecessor":"2dbb6468-b3ec-4ae3-b89f-13059ddc3f28", + "scheduledStartDate":"2021-01-28T16:03:46.000Z" + } + }, + { + "id":"530dad18-79b3-4d5c-b59c-634a6b8c7240", + "matchScore": "0.11", + "created":"2021-01-16T11:09:11.403Z", + "createdBy":"TCConnCopilot", + "updated":"2021-01-26T11:34:19Z", + "updatedBy":"AutoPilot", + "typeId":"e06b074d-43c2-4e7e-9cd3-c43e13d51b40", + "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", + "timelineTemplateId":"53a307ce-b4b3-4d6f-b9a1-3741a58f77e6", + "legacy":{ + "confidentialityType":"public", + "reviewType":"INTERNAL", + "isTask":true, + "subTrack":"FIRST_2_FINISH", + "directProjectId":23678, + "track":"DEVELOP", + "forumId":0, + "reviewScorecardId":30001600 + }, + "task":{ + "isTask":true, + "isAssigned":false, + "memberId":null + }, + "descriptionFormat":"markdown", + "description":"

teste_description

", + "name":"Recommended Challenge #4", + "tags":[ + "Node.js", + "Groovy" + ], + "prizeSets":[ + { + "prizes":[ + { + "type":"USD", + "value":1000 + } + ], + "description":"Challenge Prizes", + "type":"placement" + }, + { + "prizes":[ + { + "type":"USD", + "value":"500" + } + ], + "type":"copilot" + } + ], + "status":"Active", + "projectId":16640, + "startDate":"2021-01-16T11:09:10Z", + "groups":[ + + ], + "phases":[ + { + "duration":864289, + "scheduledEndDate":"2021-01-26T11:13:00Z", + "actualEndDate":"2021-01-26T11:37:00Z", + "isOpen":false, + "name":"Registration", + "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", + "actualStartDate":"2021-01-26T11:37:00Z", + "id":"6b4c50b1-f4e3-4400-a7b8-1e1081d18512", + "scheduledStartDate":"2021-01-16T11:09:10Z" + }, + { + "duration":86400, + "scheduledEndDate":"2021-01-17T11:28:00Z", + "actualEndDate":"2021-01-26T11:37:00Z", + "isOpen":false, + "name":"Iterative Review", + "phaseId":"003a4b14-de5d-43fc-9e35-835dbeb6af1f", + "actualStartDate":"2021-01-26T11:37:00Z", + "id":"3068a545-e7a8-453f-9090-dd9c3e99437b", + "scheduledStartDate":"2021-01-16T11:28:49Z" + }, + { + "duration":864000, + "scheduledEndDate":"2021-01-26T11:34:20Z", + "actualEndDate":"2021-01-26T11:34:20Z", + "isOpen":false, + "name":"Submission", + "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", + "actualStartDate":"2021-01-16T11:28:49Z", + "id":"2d93afee-fa12-486d-8992-cc36f11cbe3c", + "scheduledStartDate":"2021-01-16T11:28:49Z" + } + ], + "terms":[ + { + "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" + } + ], + "endDate":"2021-01-26T11:34:20Z", + "overview":{ + "totalPrizes":1000 + }, + "numOfSubmissions":0, + "numOfRegistrants":1, + "currentPhaseNames":[ + + ], + "submissionStartDate":"2021-01-16T11:28:49Z", + "submissionEndDate":"2021-01-26T11:34:20Z", + "track":"Development", + "type":"Task", + "legacyId":30058077, + "metadata":[ + + ], + "registrationStartDate":"2021-01-26T11:37:00Z", + "registrationEndDate":"2021-01-26T11:37:00Z", + "events":[ + + ] + }, + { + "id":"0ba9c1a9-04c7-4f2b-9640-1bad08163769", + "matchScore": "-0.24", + "created":"2021-01-16T10:17:42.026Z", + "createdBy":"TonyJ", + "updated":"2021-01-26T10:48:47Z", + "updatedBy":"AutoPilot", + "status":"Active", + "projectId":16640, + "name":"Recommended Challenge #5", + "typeId":"e06b074d-43c2-4e7e-9cd3-c43e13d51b40", + "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", + "startDate":"2021-01-16T10:20:40Z", + "legacy":{ + "reviewType":"INTERNAL", + "confidentialityType":"public", + "isTask":true, + "subTrack":"FIRST_2_FINISH", + "directProjectId":23678, + "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":"sss", + "task":{ + "isTask":true, + "isAssigned":false, + "memberId":null + }, + "groups":[ + + ], + "phases":[ + { + "duration":864260, + "scheduledEndDate":"2021-01-26T10:24:00Z", + "actualEndDate":"2021-01-26T10:51:00Z", + "isOpen":false, + "name":"Registration", + "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", + "actualStartDate":"2021-01-26T10:51:00Z", + "id":"03780caa-5a6f-4c54-9486-e2707d92ee69", + "scheduledStartDate":"2021-01-16T10:20:40Z" + }, + { + "duration":86400, + "scheduledEndDate":"2021-01-17T10:43:00Z", + "actualEndDate":"2021-01-26T10:51:00Z", + "isOpen":false, + "name":"Iterative Review", + "phaseId":"003a4b14-de5d-43fc-9e35-835dbeb6af1f", + "actualStartDate":"2021-01-26T10:51:00Z", + "id":"ae10b6a4-bf76-4cee-b197-1cddbaff6e2b", + "scheduledStartDate":"2021-01-16T10:43:49Z" + }, + { + "duration":864000, + "scheduledEndDate":"2021-01-26T10:48:48Z", + "actualEndDate":"2021-01-26T10:48:48Z", + "isOpen":false, + "name":"Submission", + "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", + "actualStartDate":"2021-01-16T10:43:49Z", + "id":"ebe086d6-243e-40c0-9562-4ae816bbc1ff", + "scheduledStartDate":"2021-01-16T10:43:49Z" + } + ], + "endDate":"2021-01-26T10:48:48Z", + "numOfSubmissions":0, + "numOfRegistrants":1, + "currentPhaseNames":[ + + ], + "submissionStartDate":"2021-01-16T10:43:49Z", + "submissionEndDate":"2021-01-26T10:48:48Z", + "track":"Development", + "type":"Task", + "prizeSets":[ + { + "prizes":[ + { + "type":"USD", + "value":1 + } + ], + "description":"Challenge Prizes", + "type":"placement" + }, + { + "prizes":[ + { + "type":"USD", + "value":"0" + } + ], + "type":"copilot" + } + ], + "overview":{ + "totalPrizes":1 + }, + "tags":[ + "Heroku" + ], + "legacyId":30058076, + "metadata":[ + + ], + "registrationStartDate":"2021-01-26T10:51:00Z", + "registrationEndDate":"2021-01-26T10:51:00Z", + "events":[ + + ] + }, + { + "id":"bf299cfd-f593-4cb0-af76-cfff50a7b895", + "matchScore": "-0.09", + "created":"2021-01-15T19:15:37.593Z", + "createdBy":"TCConnCopilot", + "updated":"2021-01-25T19:43:48Z", + "updatedBy":"AutoPilot", + "typeId":"e06b074d-43c2-4e7e-9cd3-c43e13d51b40", + "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", + "timelineTemplateId":"53a307ce-b4b3-4d6f-b9a1-3741a58f77e6", + "legacy":{ + "confidentialityType":"public", + "reviewType":"INTERNAL", + "isTask":true, + "subTrack":"FIRST_2_FINISH", + "directProjectId":23678, + "track":"DEVELOP", + "forumId":0, + "reviewScorecardId":30001600 + }, + "task":{ + "isTask":true, + "isAssigned":false, + "memberId":null + }, + "descriptionFormat":"markdown", + "description":"

test_description

", + "name":"Recommended Challenge #6", + "tags":[ + "PostgreSQL", + "Node.js", + "Angular.js" + ], + "prizeSets":[ + { + "prizes":[ + { + "type":"USD", + "value":1000 + } + ], + "description":"Challenge Prizes", + "type":"placement" + }, + { + "prizes":[ + { + "type":"USD", + "value":"120" + } + ], + "type":"copilot" + } + ], + "status":"Active", + "projectId":16640, + "startDate":"2021-01-16T04:33:30Z", + "groups":[ + + ], + "phases":[ + { + "duration":864264, + "scheduledEndDate":"2021-01-26T04:37:00Z", + "actualEndDate":"2021-01-25T19:47:02Z", + "isOpen":false, + "name":"Registration", + "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", + "actualStartDate":"2021-01-25T19:47:02Z", + "id":"521d6058-2333-4d31-afbe-596c0806a076", + "scheduledStartDate":"2021-01-16T04:33:30Z" + }, + { + "duration":86400, + "scheduledEndDate":"2021-01-16T19:38:00Z", + "actualEndDate":"2021-01-25T19:47:02Z", + "isOpen":false, + "name":"Iterative Review", + "phaseId":"003a4b14-de5d-43fc-9e35-835dbeb6af1f", + "actualStartDate":"2021-01-25T19:47:02Z", + "id":"2d66aab5-7933-4cf2-b570-7cc13fd3cef4", + "scheduledStartDate":"2021-01-15T19:38:48Z" + }, + { + "duration":864000, + "scheduledEndDate":"2021-01-25T19:43:49Z", + "actualEndDate":"2021-01-25T19:43:49Z", + "isOpen":false, + "name":"Submission", + "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", + "actualStartDate":"2021-01-15T19:38:48Z", + "id":"ae0a92bd-ab53-42b2-a4e5-9d95a58b4dc6", + "scheduledStartDate":"2021-01-15T19:38:48Z" + } + ], + "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" + } + ], + "endDate":"2021-01-25T19:43:49Z", + "overview":{ + "totalPrizes":1000 + }, + "numOfSubmissions":0, + "numOfRegistrants":1, + "currentPhaseNames":[ + + ], + "submissionStartDate":"2021-01-15T19:38:48Z", + "submissionEndDate":"2021-01-25T19:43:49Z", + "track":"Development", + "type":"Task", + "legacyId":30058063, + "metadata":[ + + ], + "registrationStartDate":"2021-01-25T19:47:02Z", + "registrationEndDate":"2021-01-25T19:47:02Z", + "events":[ + + ], + "currentPhase":{ + "duration":864000, + "scheduledEndDate":"2021-01-26T04:33:30.000Z", + "actualEndDate":"2021-01-26T04:33:30.000Z", + "isOpen":true, + "name":"Submission", + "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", + "actualStartDate":"2021-01-16T04:33:30.000Z", + "description":"Submission Phase", + "id":"fb780b0b-9d4f-4fd3-85b4-dfcf7e24071f", + "scheduledStartDate":"2021-01-16T04:33:30.000Z" + } + }, + { + "id":"9bd8e6a7-b682-401e-bf7f-790daf9f6c60", + "tags": ["AWS"], + "matchScore": "0.29", + "created":"2021-01-14T17:44:25.182Z", + "createdBy":"jcori", + "updated":"2021-01-14T17:49:42Z", + "updatedBy":"tcwebservice", + "status":"Active", + "projectId":16640, + "name":"Recommended Challenge #6", + "typeId":"e06b074d-43c2-4e7e-9cd3-c43e13d51b40", + "trackId":"5fa04185-041f-49a6-bfd1-fe82533cd6c8", + "startDate":"2021-01-14T17:53:47Z", + "legacy":{ + "reviewType":"INTERNAL", + "confidentialityType":"public", + "isTask":false, + "subTrack":"WEB_DESIGNS", + "directProjectId":23678, + "track":"DESIGN", + "forumId":0, + "screeningScorecardId":30001363, + "reviewScorecardId":30001031 + }, + "descriptionFormat":"markdown", + "description":"**some** markdown here", + "timelineTemplateId":"2d0807fa-ece1-4328-a260-76f5f6b559e0", + "terms":[ + { + "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" + } + ], + "groups":[ + + ], + "phases":[ + { + "duration":489600, + "scheduledEndDate":"2021-01-20T09:53:00Z", + "actualEndDate":"2021-01-26T04:05:00Z", + "isOpen":true, + "name":"Registration", + "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", + "actualStartDate":"2021-01-14T17:53:47Z", + "id":"18d7a982-7606-463a-9f13-84bbbfc301e2", + "scheduledStartDate":"2021-01-14T17:53:47Z" + }, + { + "duration":489300, + "scheduledEndDate":"2021-01-20T09:53:00Z", + "actualEndDate":"2021-01-26T04:05:00Z", + "isOpen":true, + "name":"Checkpoint Submission", + "phaseId":"d8a2cdbe-84d1-4687-ab75-78a6a7efdcc8", + "actualStartDate":"2021-01-14T17:58:48Z", + "id":"1de0d90e-299e-41c6-86f8-9d24c98d73e4", + "scheduledStartDate":"2021-01-14T17:58:48Z" + }, + { + "duration":1742100, + "scheduledEndDate":"2021-02-03T21:53:00Z", + "actualEndDate":"2021-01-26T04:05:00Z", + "isOpen":true, + "name":"Submission", + "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", + "actualStartDate":"2021-01-14T17:58:49Z", + "id":"616e7daa-c158-4f24-a49a-8e94a88784c9", + "scheduledStartDate":"2021-01-14T17:58:49Z" + }, + { + "duration":14400, + "scheduledEndDate":"2021-01-20T13:53:00Z", + "actualEndDate":"2021-01-26T04:05:00Z", + "isOpen":false, + "name":"Checkpoint Screening", + "phaseId":"ce1afb4c-74f9-496b-9e4b-087ae73ab032", + "actualStartDate":"2021-01-26T04:05:00Z", + "id":"90574323-5911-45eb-a868-06587a3298dc", + "scheduledStartDate":"2021-01-20T09:53:00Z" + }, + { + "duration":172800, + "scheduledEndDate":"2021-01-22T13:53:00Z", + "actualEndDate":"2021-01-26T04:05:00Z", + "isOpen":false, + "name":"Checkpoint Review", + "phaseId":"84b43897-2aab-44d6-a95a-42c433657eed", + "actualStartDate":"2021-01-26T04:05:00Z", + "id":"35e1f7d4-9f5f-4c85-9060-8ea5d34814e9", + "scheduledStartDate":"2021-01-20T13:53:00Z" + }, + { + "duration":14400, + "scheduledEndDate":"2021-02-04T01:53:00Z", + "actualEndDate":"2021-01-26T04:05:00Z", + "isOpen":false, + "name":"Screening", + "phaseId":"2d7d3d85-0b29-4989-b3b4-be7f2b1d0aa6", + "actualStartDate":"2021-01-26T04:05:00Z", + "id":"77e6d984-38bf-42b1-9e0f-55dc6c237c25", + "scheduledStartDate":"2021-02-03T21:53:00Z" + }, + { + "duration":518400, + "scheduledEndDate":"2021-02-10T01:53:00Z", + "actualEndDate":"2021-01-26T04:05:00Z", + "isOpen":false, + "name":"Review", + "phaseId":"aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b", + "actualStartDate":"2021-01-26T04:05:00Z", + "id":"b00a883a-c247-42a6-8461-748ecdbb80bc", + "scheduledStartDate":"2021-02-04T01:53:00Z" + }, + { + "duration":432000, + "scheduledEndDate":"2021-02-15T01:53:00Z", + "actualEndDate":"2021-01-26T04:05:00Z", + "isOpen":false, + "name":"Approval", + "phaseId":"ad985cff-ad3e-44de-b54e-3992505ba0ae", + "actualStartDate":"2021-01-26T04:05:00Z", + "id":"cde116fd-dad2-4351-b419-e286a5ea9818", + "scheduledStartDate":"2021-02-10T01:53:00Z" + } + ], + "endDate":"2021-02-15T01:53:00Z", + "numOfSubmissions":0, + "numOfRegistrants":1, + "currentPhaseNames":[ + "Registration", + "Checkpoint Submission", + "Submission" + ], + "registrationStartDate":"2021-01-14T17:53:47Z", + "registrationEndDate":"2021-01-26T04:05:00Z", + "submissionStartDate":"2021-01-14T17:58:49Z", + "submissionEndDate":"2021-01-26T04:05:00Z", + "track":"Design", + "type":"Challenge", + "legacyId":30058027, + "metadata":[ + + ], + "prizeSets":[ + { + "prizes":[ + { + "type":"USD", + "value":"0" + } + ], + "type":"copilot" + } + ], + "numOfCheckpointSubmissions":0, + "events":[ + + ], + "overview":{ + "totalPrizes":0 + }, + "task":{ + "isAssigned":false, + "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 dcc1f108..cf4b9463 100644 --- a/src/services/challenges.js +++ b/src/services/challenges.js @@ -14,6 +14,7 @@ import { COMPETITION_TRACKS, getApiResponsePayload } from '../utils/tc'; import { getApi } from './api'; import { getService as getMembersService } from './members'; import { getService as getSubmissionsService } from './submissions'; +import mockRecommendedChallenges from './__mocks__/data/recommended-challenges.json'; export function getFilterUrl(backendFilter, frontFilter) { const ff = _.clone(frontFilter); @@ -185,6 +186,7 @@ class ChallengesService { totalCount: res.headers ? res.headers.get('x-total') : 0, meta: { allChallengesCount: res.headers ? res.headers.get('x-total') : 0, + allRecommendedChallengesCount: 0, myChallengesCount: 0, ongoingChallengesCount: 0, openChallengesCount: 0, @@ -474,12 +476,21 @@ class ChallengesService { * @return {Promise} Resolves to the array of subtrack names. */ getChallengeTypes() { + const recommended = { + id: 'e06b074d-43c2-4e7e-9cd3-c43e13d51b40', + name: 'Recommended', + description: "Available challenges that match competitor's skills", + isActive: true, + isTask: false, + abbreviation: 'REC', + }; + return this.private.apiV5.get('/challenge-types') .then(res => (res.ok ? res.json() : new Error(res.statusText))) .then(res => ( res.message ? new Error(res.message) - : res + : [...res, recommended] )); } @@ -527,6 +538,38 @@ class ChallengesService { }); } + /** + * TODO: Integrate with real API. + * Gets recommended challenges. + * @param {Object} sort + * @param {Object} filter + * @return {Promise} Resolves to the api response. + */ + async getRecommendedChallenges(sort, filter) { + let sortedChallenges = []; + const tracks = []; + if (filter.tracks.DS) tracks.push('Data Science'); + if (filter.tracks.Des) tracks.push('Design'); + if (filter.tracks.Dev) tracks.push('Development'); + if (filter.tracks.QA) tracks.push('Quality Assurance'); + if (filter.openForRegistration === 'best-match' || sort.openForRegistration === {}) { + sortedChallenges = _.sortBy(mockRecommendedChallenges, ['matchScore']); + } else { + sortedChallenges = _.sortBy(mockRecommendedChallenges, [sort.openForRegistration]); + } + + const filteredChallenges = sortedChallenges.filter(item => tracks.includes(item.track)); + const mockResponse = _.clone(this.private.tokenV3 ? filteredChallenges : []); + + const sleep = m => new Promise(r => setTimeout(r, m)); + await sleep(1000); + + return Promise.resolve({ + challenges: mockResponse, + meta: mockResponse.length, + }); + } + /** * Gets SRM matches. * @param {Object} params From 9abad2ebcd2a90fa82186be0f3c9aa3fdda88ae9 Mon Sep 17 00:00:00 2001 From: Luiz Ricardo Rodrigues Date: Wed, 27 Jan 2021 04:53:36 -0300 Subject: [PATCH 02/18] Test Release - POC Recommender Submission 2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 407a5c78..c957e4f5 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .", "test": "npm run lint && npm run jest" }, - "version": "1000.26.5", + "version": "1000.27.1", "dependencies": { "auth0-js": "^6.8.4", "config": "^3.2.0", From 6681ad318acf0c0d92268698c4d67532a385e73a Mon Sep 17 00:00:00 2001 From: nursoltan-s Date: Thu, 28 Jan 2021 18:24:51 +0800 Subject: [PATCH 03/18] 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)); From 7b24787ebaee4d961fd2b550f6bf5f95e1b666a6 Mon Sep 17 00:00:00 2001 From: nursoltan-s Date: Fri, 29 Jan 2021 12:14:24 +0800 Subject: [PATCH 04/18] fix sort by descending best score --- src/services/challenges.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/services/challenges.js b/src/services/challenges.js index ada7e4b1..cd581041 100644 --- a/src/services/challenges.js +++ b/src/services/challenges.js @@ -558,8 +558,12 @@ class ChallengesService { if (filter.tracks.Des) tracks.push('Design'); if (filter.tracks.Dev) tracks.push('Development'); if (filter.tracks.QA) tracks.push('Quality Assurance'); - if (filter.openForRegistration === 'best-match' || sort.openForRegistration === {}) { - sortedChallenges = _.sortBy(mockRecommendedChallenges, ['matchScore']); + if (sort.openForRegistration === 'bestMatch' || sort.openForRegistration === {}) { + const ascArray = _.sortBy(mockRecommendedChallenges, [ + item => Math.trunc((parseFloat(item.matchScore) + 1.0) / 2.0 * 100.0)]); + sortedChallenges = _.reverse(ascArray); + } else if (sort.openForRegistration === 'name') { + sortedChallenges = _.sortBy(mockRecommendedChallenges, ['name']); } else { sortedChallenges = _.sortBy(mockRecommendedChallenges, [sort.openForRegistration]); } From 19aa7b05255e4d4d8a8943009b6886ab9256f087 Mon Sep 17 00:00:00 2001 From: Luiz Ricardo Rodrigues Date: Fri, 29 Jan 2021 06:01:36 -0300 Subject: [PATCH 05/18] Test Release - POC Recommender Sub 2 - Final Fixes --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c957e4f5..17476c6a 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .", "test": "npm run lint && npm run jest" }, - "version": "1000.27.1", + "version": "1000.27.3", "dependencies": { "auth0-js": "^6.8.4", "config": "^3.2.0", From 0f995354fe7f0a9a2db701f5880073479eb77c5d Mon Sep 17 00:00:00 2001 From: nursoltan-s Date: Sat, 30 Jan 2021 01:52:14 +0800 Subject: [PATCH 06/18] change on json data --- .../data/recommended-challenges.json | 1480 +---------------- src/services/challenges.js | 74 +- 2 files changed, 71 insertions(+), 1483 deletions(-) diff --git a/src/services/__mocks__/data/recommended-challenges.json b/src/services/__mocks__/data/recommended-challenges.json index eb8496b9..c063290a 100644 --- a/src/services/__mocks__/data/recommended-challenges.json +++ b/src/services/__mocks__/data/recommended-challenges.json @@ -1,1450 +1,34 @@ [ - { - "id":"d211b5b4-4e15-459b-8c93-97580b125ebd", - "matchScore": "-0.28", - "created":"2021-01-19T08:25:31.283Z", - "createdBy":"max.admin", - "updated":"2021-01-22T11:06:30Z", - "updatedBy":"tcwebservice", - "status":"Active", - "projectId":16573, - "name":"Recommended Challenge #0", - "typeId":"e06b074d-43c2-4e7e-9cd3-c43e13d51b40", - "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", - "startDate":"2021-01-20T08:48:46Z", - "legacy":{ - "reviewType":"COMMUNITY", - "confidentialityType":"public", - "isTask":false, - "subTrack":"CODE", - "directProjectId":23570, - "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":"Attachments Max DEV Vikas Discussion", - "id":"f0633e93-c8fc-416e-a8e4-24690346d300", - "type":"challenge", - "url":"https://vanilla.topcoder-dev.com/categories/d211b5b4-4e15-459b-8c93-97580b125ebd" - } - ], - "description":"Testing attachments", - "groups":[ - - ], - "phases":[ - { - "duration":732897, - "scheduledEndDate":"2021-01-28T20:22:00Z", - "actualEndDate":"2021-01-26T12:11:00Z", - "isOpen":true, - "name":"Registration", - "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", - "actualStartDate":"2021-01-20T08:48:46Z", - "id":"8554ec02-3ad1-4440-ae32-8f6cd0ac7c59", - "scheduledStartDate":"2021-01-20T08:48:46Z" - }, - { - "duration":731696, - "scheduledEndDate":"2021-01-28T20:22:00Z", - "actualEndDate":"2021-01-26T12:11:00Z", - "isOpen":true, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-20T09:08:47Z", - "id":"3cd7e21c-d7c2-46d1-b5b5-d3ce6e109009", - "scheduledStartDate":"2021-01-20T09:08:47Z" - }, - { - "duration":172800, - "scheduledEndDate":"2021-01-30T20:22:00Z", - "actualEndDate":"2021-01-26T12:11:00Z", - "isOpen":false, - "name":"Review", - "phaseId":"aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b", - "actualStartDate":"2021-01-26T12:11:00Z", - "id":"06ee7711-8e98-4b5b-b9da-6253e1f3a182", - "scheduledStartDate":"2021-01-28T20:22:00Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-31T20:22:00Z", - "actualEndDate":"2021-01-26T12:11:00Z", - "isOpen":false, - "name":"Appeals", - "phaseId":"1c24cfb3-5b0a-4dbd-b6bd-4b0dff5349c6", - "actualStartDate":"2021-01-26T12:11:00Z", - "id":"d57f926a-f5b3-438c-b14f-b783e50e383b", - "scheduledStartDate":"2021-01-30T20:22:00Z" - }, - { - "duration":43200, - "scheduledEndDate":"2021-02-01T08:22:00Z", - "actualEndDate":"2021-01-26T12:11:00Z", - "isOpen":false, - "name":"Appeals Response", - "phaseId":"797a6af7-cd3f-4436-9fca-9679f773bee9", - "actualStartDate":"2021-01-26T12:11:00Z", - "id":"c8a32785-e0a2-4889-94e9-2eaa71ead531", - "scheduledStartDate":"2021-01-31T20:22:00Z" - } - ], - "endDate":"2021-02-01T08:22:00Z", - "numOfSubmissions":1, - "numOfRegistrants":2, - "currentPhaseNames":[ - "Registration", - "Submission" - ], - "registrationStartDate":"2021-01-20T08:48:46Z", - "registrationEndDate":"2021-01-26T12:11:00Z", - "submissionStartDate":"2021-01-20T09:08:47Z", - "submissionEndDate":"2021-01-26T12:11:00Z", - "track":"Development", - "type":"First2Finish", - "attachments":[ - { - "challengeId":"d211b5b4-4e15-459b-8c93-97580b125ebd", - "fileSize":87, - "name":"#736081 Stored XSS + Steal auth0Jwt = Account Takeover on https___apps.topcoder.com.txt", - "id":"acf42172-cedd-486a-b25c-60be3ce6b661", - "url":"https://tc-challenge-v5-dev.s3.amazonaws.com/challenges/d211b5b4-4e15-459b-8c93-97580b125ebd/SPECIFICATION_ATTACHMENTS/G0JvpDNBSwqWPJILdPYY_-736081%20Stored%20XSS%20+%20Steal%20auth0Jwt%20=%20Account%20Takeover%20on%20https___apps.topcoder.com.txt" - }, - { - "challengeId":"d211b5b4-4e15-459b-8c93-97580b125ebd", - "fileSize":4, - "name":"test-csv.csv", - "id":"af1ff97b-4dcd-48a3-8adb-e08891c47fe5", - "url":"https://tc-challenge-v5-dev.s3.amazonaws.com/challenges/d211b5b4-4e15-459b-8c93-97580b125ebd/SPECIFICATION_ATTACHMENTS/3zO9039fRL62VpVkzWOX_test-csv.csv" - }, - { - "challengeId":"d211b5b4-4e15-459b-8c93-97580b125ebd", - "fileSize":4, - "name":"test1.txt", - "id":"73fbc7eb-fdc4-4a9f-9c3c-0b4cf05aa146", - "url":"https://tc-challenge-v5-dev.s3.amazonaws.com/challenges/d211b5b4-4e15-459b-8c93-97580b125ebd/SPECIFICATION_ATTACHMENTS/ehVoqWyTqe8UM7XzKj1g_test1.txt" - }, - { - "challengeId":"d211b5b4-4e15-459b-8c93-97580b125ebd", - "fileSize":4, - "name":"test2.txt", - "id":"f7268d14-85fa-4e4f-866e-21a275b0f8e4", - "url":"https://tc-challenge-v5-dev.s3.amazonaws.com/challenges/d211b5b4-4e15-459b-8c93-97580b125ebd/SPECIFICATION_ATTACHMENTS/SxWlh5IdRYqq2OQq60xE_test2.txt" - }, - { - "challengeId":"d211b5b4-4e15-459b-8c93-97580b125ebd", - "fileSize":4, - "name":"test4.txt", - "id":"0d567587-b3ff-4f80-a2b9-27d45188e71c", - "url":"https://tc-challenge-v5-dev.s3.amazonaws.com/challenges/d211b5b4-4e15-459b-8c93-97580b125ebd/SPECIFICATION_ATTACHMENTS/fWfB6csASOeksKX7sP8y_test4.txt" - }, - { - "challengeId":"d211b5b4-4e15-459b-8c93-97580b125ebd", - "fileSize":5, - "name":"test5.txt", - "id":"3eccbed4-4dcd-4654-92ec-0df3f6d5fc5f", - "url":"https://tc-challenge-v5-dev.s3.amazonaws.com/challenges/d211b5b4-4e15-459b-8c93-97580b125ebd/SPECIFICATION_ATTACHMENTS/mitjNlpZTUiNE8iJ2Rlf_test5.txt" - }, - { - "challengeId":"d211b5b4-4e15-459b-8c93-97580b125ebd", - "fileSize":601201, - "name":"font-awesome-4.6.3.zip", - "id":"27431017-05bb-407b-90e7-c7e7209edf76", - "url":"https://tc-challenge-v5-dev.s3.amazonaws.com/challenges/d211b5b4-4e15-459b-8c93-97580b125ebd/SPECIFICATION_ATTACHMENTS/lv2YPDWQSIuPqDdSWIjP_font-awesome-4.6.3.zip" - }, - { - "challengeId":"d211b5b4-4e15-459b-8c93-97580b125ebd", - "fileSize":601201, - "name":"font-awesome-4.6.3.zip", - "id":"1d57e865-b716-49fb-9b5d-88379e54b450", - "url":"https://tc-challenge-v5-dev.s3.amazonaws.com/challenges/d211b5b4-4e15-459b-8c93-97580b125ebd/SPECIFICATION_ATTACHMENTS/I24izdNTQNm2erHGJWId_font-awesome-4.6.3.zip" - } - ], - "prizeSets":[ - { - "prizes":[ - { - "type":"USD", - "value":1 - } - ], - "description":"Challenge Prizes", - "type":"placement" - }, - { - "prizes":[ - { - "type":"USD", - "value":"0" - } - ], - "type":"copilot" - } - ], - "overview":{ - "totalPrizes":1 - }, - "tags":[ - "Google" - ], - "legacyId":30058111, - "metadata":[ - - ], - "events":[ - - ], - "task":{ - "isAssigned":false, - "isTask":false, - "memberId":null - }, - "currentPhase":{ - "duration":732898, - "scheduledEndDate":"2021-01-28T20:42:00Z", - "actualEndDate":"2021-01-21T16:57:00Z", - "isOpen":true, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-20T09:08:47Z", - "description":"Submission Phase", - "id":"22b85c63-d931-4f44-8a8e-86be5b420d03", - "scheduledStartDate":"2021-01-20T09:08:47Z" - } - }, - { - "id":"a7dcbef6-daa9-49bb-90fe-5a33337bb608", - "matchScore": "0.77", - "created":"2021-01-18T17:47:54.633Z", - "createdBy":"TonyJ", - "updated":"2021-01-18T18:46:34Z", - "updatedBy":"TonyJ", - "descriptionFormat":"markdown", - "legacy":{ - "reviewType":"INTERNAL", - "confidentialityType":"public", - "isTask":false, - "subTrack":"CODE", - "directProjectId":24283, - "track":"DEVELOP", - "forumId":0, - "reviewScorecardId":30001610 - }, - "phases":[ - { - "duration":1200, - "scheduledEndDate":"2021-01-18T18:44:02Z", - "actualEndDate":"2021-01-18T18:44:02Z", - "isOpen":false, - "name":"Registration", - "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", - "actualStartDate":"2021-01-18T18:08:49Z", - "id":"f6ca9901-fb17-460d-9dd0-d7e4cf635c00", - "scheduledStartDate":"2021-01-18T18:08:49Z" - }, - { - "duration":1200, - "scheduledEndDate":"2021-01-18T18:44:12Z", - "actualEndDate":"2021-01-18T18:44:12Z", - "isOpen":false, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-18T18:21:01Z", - "id":"2e3ecdb6-b6b3-4b0f-9184-52095afcf459", - "scheduledStartDate":"2021-01-18T18:21:01Z" - }, - { - "duration":172800, - "scheduledEndDate":"2021-01-20T18:44:00Z", - "actualEndDate":"2021-01-18T18:51:00Z", - "isOpen":false, - "name":"Review", - "phaseId":"aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b", - "actualStartDate":"2021-01-18T18:51:00Z", - "id":"7aef43a9-56b3-408e-a222-7e2ecb519c2f", - "scheduledStartDate":"2021-01-18T18:44:12Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-21T18:44:00Z", - "actualEndDate":"2021-01-18T18:51:00Z", - "isOpen":false, - "name":"Appeals", - "phaseId":"1c24cfb3-5b0a-4dbd-b6bd-4b0dff5349c6", - "actualStartDate":"2021-01-18T18:51:00Z", - "id":"77e0b632-4783-4c2d-9053-5086f3d9d6db", - "scheduledStartDate":"2021-01-20T18:44:00Z" - }, - { - "duration":43200, - "scheduledEndDate":"2021-01-22T06:44:00Z", - "actualEndDate":"2021-01-18T18:51:00Z", - "isOpen":false, - "name":"Appeals Response", - "phaseId":"797a6af7-cd3f-4436-9fca-9679f773bee9", - "actualStartDate":"2021-01-18T18:51:00Z", - "id":"07023fcf-58e2-429d-b99e-89c0cdbd8b70", - "scheduledStartDate":"2021-01-21T18:44:00Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-19T18:48:00Z", - "actualEndDate":"2021-01-18T18:51:00Z", - "isOpen":true, - "name":"Post-Mortem", - "phaseId":"f308bdb4-d3da-43d8-942b-134dfbaf5c45", - "actualStartDate":"2021-01-18T18:48:48Z", - "id":"531c24e4-f5bf-42e1-9281-5c6ae365de1e", - "scheduledStartDate":"2021-01-18T18:48:48Z" - } - ], - "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":"Recommended Challenge #1", - "description":"My name is Andy Dumont. ### Reference: https://dev.azure.com/TheGreyLake/TCXTest/_workitems/edit/51", - "prizeSets":[ - { - "prizes":[ - { - "type":"USD", - "value":100 - } - ], - "description":"Challenge Prizes", - "type":"placement" - }, - { - "prizes":[ - { - "type":"USD", - "value":"0" - } - ], - "type":"copilot" - } - ], - "startDate":"2021-01-18T18:08:49Z", - "timelineTemplateId":"7ebf1c69-f62f-4d3a-bdfb-fe9ddb56861c", - "projectId":16804, - "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", - "groups":[ - - ], - "endDate":"2021-01-19T18:48:00Z", - "overview":{ - "totalPrizes":100 - }, - "numOfSubmissions":1, - "numOfRegistrants":1, - "currentPhaseNames":[ - "Post-Mortem" - ], - "registrationStartDate":"2021-01-18T18:08:49Z", - "registrationEndDate":"2021-01-18T18:44:02Z", - "submissionStartDate":"2021-01-18T18:21:01Z", - "submissionEndDate":"2021-01-18T18:44:12Z", - "track":"Development", - "type":"Challenge", - "legacyId":30058097, - "metadata":[ - - ], - "events":[ - - ], - "task":{ - "isAssigned":false, - "isTask":false, - "memberId":null - } - }, - { - "id":"dc30e82a-6bbf-46a9-92c5-693a8227a5d8", - "matchScore": "0", - "created":"2021-01-18T17:34:16.130Z", - "createdBy":"TonyJ", - "updated":"2021-01-25T06:04:14Z", - "updatedBy":"AutoPilot", - "descriptionFormat":"markdown", - "legacy":{ - "reviewType":"INTERNAL", - "confidentialityType":"public", - "isTask":false, - "subTrack":"CODE", - "directProjectId":24283, - "track":"DEVELOP", - "forumId":0, - "reviewScorecardId":30001610 - }, - "phases":[ - { - "duration":561600, - "scheduledEndDate":"2021-01-25T06:04:13Z", - "actualEndDate":"2021-01-25T06:04:13Z", - "isOpen":false, - "name":"Registration", - "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", - "actualStartDate":"2021-01-18T17:41:57Z", - "id":"ff7d78e2-f9ac-497d-acda-736b02ad843a", - "scheduledStartDate":"2021-01-18T17:41:57Z" - }, - { - "duration":561300, - "scheduledEndDate":"2021-01-25T06:04:14Z", - "actualEndDate":"2021-01-25T06:04:14Z", - "isOpen":false, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-18T18:03:49Z", - "id":"e32895e5-92a2-4200-9efb-30443dc68c00", - "scheduledStartDate":"2021-01-18T18:03:49Z" - }, - { - "duration":172800, - "scheduledEndDate":"2021-01-27T06:04:00Z", - "actualEndDate":"2021-01-25T06:11:00Z", - "isOpen":false, - "name":"Review", - "phaseId":"aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b", - "actualStartDate":"2021-01-25T06:11:00Z", - "id":"f01ee546-4dc4-413f-879c-1f6b3166f433", - "scheduledStartDate":"2021-01-25T06:04:14Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-28T06:04:00Z", - "actualEndDate":"2021-01-25T06:11:00Z", - "isOpen":false, - "name":"Appeals", - "phaseId":"1c24cfb3-5b0a-4dbd-b6bd-4b0dff5349c6", - "actualStartDate":"2021-01-25T06:11:00Z", - "id":"9c46d22d-ea59-40e5-85d7-4867575d85c2", - "scheduledStartDate":"2021-01-27T06:04:00Z" - }, - { - "duration":43200, - "scheduledEndDate":"2021-01-28T18:04:00Z", - "actualEndDate":"2021-01-25T06:11:00Z", - "isOpen":false, - "name":"Appeals Response", - "phaseId":"797a6af7-cd3f-4436-9fca-9679f773bee9", - "actualStartDate":"2021-01-25T06:11:00Z", - "id":"328d776f-bb63-4b46-8e3a-f2bfcfdab620", - "scheduledStartDate":"2021-01-28T06:04:00Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-26T06:08:00Z", - "actualEndDate":"2021-01-25T06:11:00Z", - "isOpen":true, - "name":"Post-Mortem", - "phaseId":"f308bdb4-d3da-43d8-942b-134dfbaf5c45", - "actualStartDate":"2021-01-25T06:08:54Z", - "id":"8ff7d661-26bd-4ac9-8ecd-60d101f390e5", - "scheduledStartDate":"2021-01-25T06:08:54Z" - } - ], - "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":"Recommended Challenge #2s", - "description":"Buggy Bugs Bunny Description ### Reference: https://dev.azure.com/TheGreyLake/TCXTest/_workitems/edit/49", - "prizeSets":[ - { - "prizes":[ - { - "type":"USD", - "value":1000 - } - ], - "description":"Challenge Prizes", - "type":"placement" - }, - { - "prizes":[ - { - "type":"USD", - "value":"0" - } - ], - "type":"copilot" - } - ], - "startDate":"2021-01-18T17:41:57Z", - "timelineTemplateId":"7ebf1c69-f62f-4d3a-bdfb-fe9ddb56861c", - "projectId":null, - "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", - "groups":[ - - ], - "endDate":"2021-01-26T06:08:00Z", - "overview":{ - "totalPrizes":1000 - }, - "numOfSubmissions":1, - "numOfRegistrants":2, - "currentPhaseNames":[ - "Post-Mortem" - ], - "registrationStartDate":"2021-01-18T17:41:57Z", - "registrationEndDate":"2021-01-25T06:04:13Z", - "submissionStartDate":"2021-01-18T18:03:49Z", - "submissionEndDate":"2021-01-25T06:04:14Z", - "track":"Development", - "type":"Challenge", - "legacyId":30058094, - "metadata":[ - - ], - "events":[ - - ], - "task":{ - "isAssigned":false, - "isTask":false, - "memberId":null - } - }, - { - "id":"cf7772c5-1ac2-4449-b0f2-12b51573f4f3", - "matchScore": "-0.89", - "created":"2021-01-18T13:35:54.716Z", - "createdBy":"TonyJ", - "updated":"2021-01-18T16:54:51Z", - "updatedBy":"TonyJ", - "descriptionFormat":"markdown", - "legacy":{ - "reviewType":"INTERNAL", - "confidentialityType":"public", - "isTask":false, - "subTrack":"CODE", - "directProjectId":24283, - "track":"DEVELOP", - "forumId":0, - "reviewScorecardId":30001610 - }, - "phases":[ - { - "duration":2473, - "scheduledEndDate":"2021-01-18T16:50:47Z", - "actualEndDate":"2021-01-18T16:50:47Z", - "isOpen":false, - "name":"Registration", - "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", - "actualStartDate":"2021-01-18T16:03:46Z", - "id":"e4be3e88-900b-4b5c-8d2e-1d1edc7daeed", - "scheduledStartDate":"2021-01-18T16:03:46Z" - }, - { - "duration":1860, - "scheduledEndDate":"2021-01-18T16:54:52Z", - "actualEndDate":"2021-01-18T16:54:52Z", - "isOpen":false, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-18T16:23:46Z", - "id":"4d8a1704-3c0e-4dde-9d19-efc08e5112d6", - "scheduledStartDate":"2021-01-18T16:23:46Z" - }, - { - "duration":172800, - "scheduledEndDate":"2021-01-20T16:54:00Z", - "actualEndDate":"2021-01-18T17:01:00Z", - "isOpen":false, - "name":"Review", - "phaseId":"aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b", - "actualStartDate":"2021-01-18T17:01:00Z", - "id":"addaface-fed2-480b-b7ea-376f645c8c16", - "scheduledStartDate":"2021-01-18T16:54:52Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-21T16:54:00Z", - "actualEndDate":"2021-01-18T17:01:00Z", - "isOpen":false, - "name":"Appeals", - "phaseId":"1c24cfb3-5b0a-4dbd-b6bd-4b0dff5349c6", - "actualStartDate":"2021-01-18T17:01:00Z", - "id":"2a1a2b24-5f1d-4865-bf50-8a68d7df1944", - "scheduledStartDate":"2021-01-20T16:54:00Z" - }, - { - "duration":43200, - "scheduledEndDate":"2021-01-22T04:54:00Z", - "actualEndDate":"2021-01-18T17:01:00Z", - "isOpen":false, - "name":"Appeals Response", - "phaseId":"797a6af7-cd3f-4436-9fca-9679f773bee9", - "actualStartDate":"2021-01-18T17:01:00Z", - "id":"c488b203-86ff-4f61-8f81-8d30bfcdfc84", - "scheduledStartDate":"2021-01-21T16:54:00Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-19T16:58:00Z", - "actualEndDate":"2021-01-18T17:01:00Z", - "isOpen":true, - "name":"Post-Mortem", - "phaseId":"f308bdb4-d3da-43d8-942b-134dfbaf5c45", - "actualStartDate":"2021-01-18T16:58:49Z", - "id":"6b22db65-d77f-42a4-bcbf-a9a9037bcbe2", - "scheduledStartDate":"2021-01-18T16:58: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":"Recommended Challenge #3", - "description":"Epic Task Desc ### Reference: https://dev.azure.com/TheGreyLake/TCXTest/_workitems/edit/48", - "prizeSets":[ - { - "prizes":[ - { - "type":"USD", - "value":100 - } - ], - "description":"Challenge Prizes", - "type":"placement" - }, - { - "prizes":[ - { - "type":"USD", - "value":"0" - } - ], - "type":"copilot" - } - ], - "startDate":"2021-01-18T16:03:46Z", - "timelineTemplateId":"7ebf1c69-f62f-4d3a-bdfb-fe9ddb56861c", - "projectId":16804, - "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", - "groups":[ - - ], - "endDate":"2021-01-19T16:58:00Z", - "overview":{ - "totalPrizes":100 - }, - "numOfSubmissions":1, - "numOfRegistrants":1, - "currentPhaseNames":[ - "Post-Mortem" - ], - "registrationStartDate":"2021-01-18T16:03:46Z", - "registrationEndDate":"2021-01-18T16:50:47Z", - "submissionStartDate":"2021-01-18T16:23:46Z", - "submissionEndDate":"2021-01-18T16:54:52Z", - "track":"Development", - "type":"Challenge", - "legacyId":30058093, - "metadata":[ - - ], - "events":[ - - ], - "task":{ - "isAssigned":false, - "isTask":false, - "memberId":null - }, - "currentPhase":{ - "duration":864000, - "scheduledEndDate":"2021-02-07T16:03:46.000Z", - "actualEndDate":"2021-02-07T16:03:46.000Z", - "isOpen":true, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-28T16:03:46.000Z", - "description":"Submission Phase", - "id":"2db3d4b1-5039-4e11-b0ad-f417345e1986", - "predecessor":"2dbb6468-b3ec-4ae3-b89f-13059ddc3f28", - "scheduledStartDate":"2021-01-28T16:03:46.000Z" - } - }, - { - "id":"530dad18-79b3-4d5c-b59c-634a6b8c7240", - "matchScore": "0.11", - "created":"2021-01-16T11:09:11.403Z", - "createdBy":"TCConnCopilot", - "updated":"2021-01-26T11:34:19Z", - "updatedBy":"AutoPilot", - "typeId":"e06b074d-43c2-4e7e-9cd3-c43e13d51b40", - "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", - "timelineTemplateId":"53a307ce-b4b3-4d6f-b9a1-3741a58f77e6", - "legacy":{ - "confidentialityType":"public", - "reviewType":"INTERNAL", - "isTask":true, - "subTrack":"FIRST_2_FINISH", - "directProjectId":23678, - "track":"DEVELOP", - "forumId":0, - "reviewScorecardId":30001600 - }, - "task":{ - "isTask":true, - "isAssigned":false, - "memberId":null - }, - "descriptionFormat":"markdown", - "description":"

teste_description

", - "name":"Recommended Challenge #4", - "tags":[ - "Node.js", - "Groovy" - ], - "prizeSets":[ - { - "prizes":[ - { - "type":"USD", - "value":1000 - } - ], - "description":"Challenge Prizes", - "type":"placement" - }, - { - "prizes":[ - { - "type":"USD", - "value":"500" - } - ], - "type":"copilot" - } - ], - "status":"Active", - "projectId":16640, - "startDate":"2021-01-16T11:09:10Z", - "groups":[ - - ], - "phases":[ - { - "duration":864289, - "scheduledEndDate":"2021-01-26T11:13:00Z", - "actualEndDate":"2021-01-26T11:37:00Z", - "isOpen":false, - "name":"Registration", - "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", - "actualStartDate":"2021-01-26T11:37:00Z", - "id":"6b4c50b1-f4e3-4400-a7b8-1e1081d18512", - "scheduledStartDate":"2021-01-16T11:09:10Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-17T11:28:00Z", - "actualEndDate":"2021-01-26T11:37:00Z", - "isOpen":false, - "name":"Iterative Review", - "phaseId":"003a4b14-de5d-43fc-9e35-835dbeb6af1f", - "actualStartDate":"2021-01-26T11:37:00Z", - "id":"3068a545-e7a8-453f-9090-dd9c3e99437b", - "scheduledStartDate":"2021-01-16T11:28:49Z" - }, - { - "duration":864000, - "scheduledEndDate":"2021-01-26T11:34:20Z", - "actualEndDate":"2021-01-26T11:34:20Z", - "isOpen":false, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-16T11:28:49Z", - "id":"2d93afee-fa12-486d-8992-cc36f11cbe3c", - "scheduledStartDate":"2021-01-16T11:28:49Z" - } - ], - "terms":[ - { - "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" - } - ], - "endDate":"2021-01-26T11:34:20Z", - "overview":{ - "totalPrizes":1000 - }, - "numOfSubmissions":0, - "numOfRegistrants":1, - "currentPhaseNames":[ - - ], - "submissionStartDate":"2021-01-16T11:28:49Z", - "submissionEndDate":"2021-01-26T11:34:20Z", - "track":"Development", - "type":"Task", - "legacyId":30058077, - "metadata":[ - - ], - "registrationStartDate":"2021-01-26T11:37:00Z", - "registrationEndDate":"2021-01-26T11:37:00Z", - "events":[ - - ] - }, - { - "id":"0ba9c1a9-04c7-4f2b-9640-1bad08163769", - "matchScore": "-0.24", - "created":"2021-01-16T10:17:42.026Z", - "createdBy":"TonyJ", - "updated":"2021-01-26T10:48:47Z", - "updatedBy":"AutoPilot", - "status":"Active", - "projectId":16640, - "name":"Recommended Challenge #5", - "typeId":"e06b074d-43c2-4e7e-9cd3-c43e13d51b40", - "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", - "startDate":"2021-01-16T10:20:40Z", - "legacy":{ - "reviewType":"INTERNAL", - "confidentialityType":"public", - "isTask":true, - "subTrack":"FIRST_2_FINISH", - "directProjectId":23678, - "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":"sss", - "task":{ - "isTask":true, - "isAssigned":false, - "memberId":null - }, - "groups":[ - - ], - "phases":[ - { - "duration":864260, - "scheduledEndDate":"2021-01-26T10:24:00Z", - "actualEndDate":"2021-01-26T10:51:00Z", - "isOpen":false, - "name":"Registration", - "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", - "actualStartDate":"2021-01-26T10:51:00Z", - "id":"03780caa-5a6f-4c54-9486-e2707d92ee69", - "scheduledStartDate":"2021-01-16T10:20:40Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-17T10:43:00Z", - "actualEndDate":"2021-01-26T10:51:00Z", - "isOpen":false, - "name":"Iterative Review", - "phaseId":"003a4b14-de5d-43fc-9e35-835dbeb6af1f", - "actualStartDate":"2021-01-26T10:51:00Z", - "id":"ae10b6a4-bf76-4cee-b197-1cddbaff6e2b", - "scheduledStartDate":"2021-01-16T10:43:49Z" - }, - { - "duration":864000, - "scheduledEndDate":"2021-01-26T10:48:48Z", - "actualEndDate":"2021-01-26T10:48:48Z", - "isOpen":false, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-16T10:43:49Z", - "id":"ebe086d6-243e-40c0-9562-4ae816bbc1ff", - "scheduledStartDate":"2021-01-16T10:43:49Z" - } - ], - "endDate":"2021-01-26T10:48:48Z", - "numOfSubmissions":0, - "numOfRegistrants":1, - "currentPhaseNames":[ - - ], - "submissionStartDate":"2021-01-16T10:43:49Z", - "submissionEndDate":"2021-01-26T10:48:48Z", - "track":"Development", - "type":"Task", - "prizeSets":[ - { - "prizes":[ - { - "type":"USD", - "value":1 - } - ], - "description":"Challenge Prizes", - "type":"placement" - }, - { - "prizes":[ - { - "type":"USD", - "value":"0" - } - ], - "type":"copilot" - } - ], - "overview":{ - "totalPrizes":1 - }, - "tags":[ - "Heroku" - ], - "legacyId":30058076, - "metadata":[ - - ], - "registrationStartDate":"2021-01-26T10:51:00Z", - "registrationEndDate":"2021-01-26T10:51:00Z", - "events":[ - - ] - }, - { - "id":"bf299cfd-f593-4cb0-af76-cfff50a7b895", - "matchScore": "-0.09", - "created":"2021-01-15T19:15:37.593Z", - "createdBy":"TCConnCopilot", - "updated":"2021-01-25T19:43:48Z", - "updatedBy":"AutoPilot", - "typeId":"e06b074d-43c2-4e7e-9cd3-c43e13d51b40", - "trackId":"9b6fc876-f4d9-4ccb-9dfd-419247628825", - "timelineTemplateId":"53a307ce-b4b3-4d6f-b9a1-3741a58f77e6", - "legacy":{ - "confidentialityType":"public", - "reviewType":"INTERNAL", - "isTask":true, - "subTrack":"FIRST_2_FINISH", - "directProjectId":23678, - "track":"DEVELOP", - "forumId":0, - "reviewScorecardId":30001600 - }, - "task":{ - "isTask":true, - "isAssigned":false, - "memberId":null - }, - "descriptionFormat":"markdown", - "description":"

test_description

", - "name":"Recommended Challenge #6", - "tags":[ - "PostgreSQL", - "Node.js", - "Angular.js" - ], - "prizeSets":[ - { - "prizes":[ - { - "type":"USD", - "value":1000 - } - ], - "description":"Challenge Prizes", - "type":"placement" - }, - { - "prizes":[ - { - "type":"USD", - "value":"120" - } - ], - "type":"copilot" - } - ], - "status":"Active", - "projectId":16640, - "startDate":"2021-01-16T04:33:30Z", - "groups":[ - - ], - "phases":[ - { - "duration":864264, - "scheduledEndDate":"2021-01-26T04:37:00Z", - "actualEndDate":"2021-01-25T19:47:02Z", - "isOpen":false, - "name":"Registration", - "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", - "actualStartDate":"2021-01-25T19:47:02Z", - "id":"521d6058-2333-4d31-afbe-596c0806a076", - "scheduledStartDate":"2021-01-16T04:33:30Z" - }, - { - "duration":86400, - "scheduledEndDate":"2021-01-16T19:38:00Z", - "actualEndDate":"2021-01-25T19:47:02Z", - "isOpen":false, - "name":"Iterative Review", - "phaseId":"003a4b14-de5d-43fc-9e35-835dbeb6af1f", - "actualStartDate":"2021-01-25T19:47:02Z", - "id":"2d66aab5-7933-4cf2-b570-7cc13fd3cef4", - "scheduledStartDate":"2021-01-15T19:38:48Z" - }, - { - "duration":864000, - "scheduledEndDate":"2021-01-25T19:43:49Z", - "actualEndDate":"2021-01-25T19:43:49Z", - "isOpen":false, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-15T19:38:48Z", - "id":"ae0a92bd-ab53-42b2-a4e5-9d95a58b4dc6", - "scheduledStartDate":"2021-01-15T19:38:48Z" - } - ], - "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" - } - ], - "endDate":"2021-01-25T19:43:49Z", - "overview":{ - "totalPrizes":1000 - }, - "numOfSubmissions":0, - "numOfRegistrants":1, - "currentPhaseNames":[ - - ], - "submissionStartDate":"2021-01-15T19:38:48Z", - "submissionEndDate":"2021-01-25T19:43:49Z", - "track":"Development", - "type":"Task", - "legacyId":30058063, - "metadata":[ - - ], - "registrationStartDate":"2021-01-25T19:47:02Z", - "registrationEndDate":"2021-01-25T19:47:02Z", - "events":[ - - ], - "currentPhase":{ - "duration":864000, - "scheduledEndDate":"2021-01-26T04:33:30.000Z", - "actualEndDate":"2021-01-26T04:33:30.000Z", - "isOpen":true, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-16T04:33:30.000Z", - "description":"Submission Phase", - "id":"fb780b0b-9d4f-4fd3-85b4-dfcf7e24071f", - "scheduledStartDate":"2021-01-16T04:33:30.000Z" - } - }, - { - "id":"9bd8e6a7-b682-401e-bf7f-790daf9f6c60", - "tags": ["AWS"], - "matchScore": "0.29", - "created":"2021-01-14T17:44:25.182Z", - "createdBy":"jcori", - "updated":"2021-01-14T17:49:42Z", - "updatedBy":"tcwebservice", - "status":"Active", - "projectId":16640, - "name":"Recommended Challenge #6", - "typeId":"e06b074d-43c2-4e7e-9cd3-c43e13d51b40", - "trackId":"5fa04185-041f-49a6-bfd1-fe82533cd6c8", - "startDate":"2021-01-14T17:53:47Z", - "legacy":{ - "reviewType":"INTERNAL", - "confidentialityType":"public", - "isTask":false, - "subTrack":"WEB_DESIGNS", - "directProjectId":23678, - "track":"DESIGN", - "forumId":0, - "screeningScorecardId":30001363, - "reviewScorecardId":30001031 - }, - "descriptionFormat":"markdown", - "description":"**some** markdown here", - "timelineTemplateId":"2d0807fa-ece1-4328-a260-76f5f6b559e0", - "terms":[ - { - "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" - } - ], - "groups":[ - - ], - "phases":[ - { - "duration":489600, - "scheduledEndDate":"2021-01-20T09:53:00Z", - "actualEndDate":"2021-01-26T04:05:00Z", - "isOpen":true, - "name":"Registration", - "phaseId":"a93544bc-c165-4af4-b55e-18f3593b457a", - "actualStartDate":"2021-01-14T17:53:47Z", - "id":"18d7a982-7606-463a-9f13-84bbbfc301e2", - "scheduledStartDate":"2021-01-14T17:53:47Z" - }, - { - "duration":489300, - "scheduledEndDate":"2021-01-20T09:53:00Z", - "actualEndDate":"2021-01-26T04:05:00Z", - "isOpen":true, - "name":"Checkpoint Submission", - "phaseId":"d8a2cdbe-84d1-4687-ab75-78a6a7efdcc8", - "actualStartDate":"2021-01-14T17:58:48Z", - "id":"1de0d90e-299e-41c6-86f8-9d24c98d73e4", - "scheduledStartDate":"2021-01-14T17:58:48Z" - }, - { - "duration":1742100, - "scheduledEndDate":"2021-02-03T21:53:00Z", - "actualEndDate":"2021-01-26T04:05:00Z", - "isOpen":true, - "name":"Submission", - "phaseId":"6950164f-3c5e-4bdc-abc8-22aaf5a1bd49", - "actualStartDate":"2021-01-14T17:58:49Z", - "id":"616e7daa-c158-4f24-a49a-8e94a88784c9", - "scheduledStartDate":"2021-01-14T17:58:49Z" - }, - { - "duration":14400, - "scheduledEndDate":"2021-01-20T13:53:00Z", - "actualEndDate":"2021-01-26T04:05:00Z", - "isOpen":false, - "name":"Checkpoint Screening", - "phaseId":"ce1afb4c-74f9-496b-9e4b-087ae73ab032", - "actualStartDate":"2021-01-26T04:05:00Z", - "id":"90574323-5911-45eb-a868-06587a3298dc", - "scheduledStartDate":"2021-01-20T09:53:00Z" - }, - { - "duration":172800, - "scheduledEndDate":"2021-01-22T13:53:00Z", - "actualEndDate":"2021-01-26T04:05:00Z", - "isOpen":false, - "name":"Checkpoint Review", - "phaseId":"84b43897-2aab-44d6-a95a-42c433657eed", - "actualStartDate":"2021-01-26T04:05:00Z", - "id":"35e1f7d4-9f5f-4c85-9060-8ea5d34814e9", - "scheduledStartDate":"2021-01-20T13:53:00Z" - }, - { - "duration":14400, - "scheduledEndDate":"2021-02-04T01:53:00Z", - "actualEndDate":"2021-01-26T04:05:00Z", - "isOpen":false, - "name":"Screening", - "phaseId":"2d7d3d85-0b29-4989-b3b4-be7f2b1d0aa6", - "actualStartDate":"2021-01-26T04:05:00Z", - "id":"77e6d984-38bf-42b1-9e0f-55dc6c237c25", - "scheduledStartDate":"2021-02-03T21:53:00Z" - }, - { - "duration":518400, - "scheduledEndDate":"2021-02-10T01:53:00Z", - "actualEndDate":"2021-01-26T04:05:00Z", - "isOpen":false, - "name":"Review", - "phaseId":"aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b", - "actualStartDate":"2021-01-26T04:05:00Z", - "id":"b00a883a-c247-42a6-8461-748ecdbb80bc", - "scheduledStartDate":"2021-02-04T01:53:00Z" - }, - { - "duration":432000, - "scheduledEndDate":"2021-02-15T01:53:00Z", - "actualEndDate":"2021-01-26T04:05:00Z", - "isOpen":false, - "name":"Approval", - "phaseId":"ad985cff-ad3e-44de-b54e-3992505ba0ae", - "actualStartDate":"2021-01-26T04:05:00Z", - "id":"cde116fd-dad2-4351-b419-e286a5ea9818", - "scheduledStartDate":"2021-02-10T01:53:00Z" - } - ], - "endDate":"2021-02-15T01:53:00Z", - "numOfSubmissions":0, - "numOfRegistrants":1, - "currentPhaseNames":[ - "Registration", - "Checkpoint Submission", - "Submission" - ], - "registrationStartDate":"2021-01-14T17:53:47Z", - "registrationEndDate":"2021-01-26T04:05:00Z", - "submissionStartDate":"2021-01-14T17:58:49Z", - "submissionEndDate":"2021-01-26T04:05:00Z", - "track":"Design", - "type":"Challenge", - "legacyId":30058027, - "metadata":[ - - ], - "prizeSets":[ - { - "prizes":[ - { - "type":"USD", - "value":"0" - } - ], - "type":"copilot" - } - ], - "numOfCheckpointSubmissions":0, - "events":[ - - ], - "overview":{ - "totalPrizes":0 - }, - "task":{ - "isAssigned":false, - "isTask":false, - "memberId":null - } - } + { + "challengeId": "9bd8e6a7-b682-401e-bf7f-790daf9f6c60", + "matchScore": "-0.23" + }, + { + "challengeId": "d42df936-41aa-4c10-bd54-f30be8f62d47", + "matchScore": "0.76" + }, + { + "challengeId": "53383a29-80ef-4230-b48f-08a6d302f1ed", + "matchScore": "0" + }, + { + "challengeId": "e9994738-43e4-4725-8621-2eb687088c55", + "matchScore": "-1" + }, + { + "challengeId": "dd0f9e52-e0c9-4e11-8f3e-d75c786a2b65", + "matchScore": "-0.1" + }, + { + "challengeId": "a5c86414-474c-43db-97e1-6d8ad9322c6d", + "matchScore": "0.22" + }, + { + "challengeId": "45261650-418e-4b7f-aadb-edfd782cd407", + "matchScore": "0.78" + }, + { + "challengeId": "f466c20a-845a-46f6-8e91-b6152a5e6e32", + "matchScore": "-0.78" + } ] \ No newline at end of file diff --git a/src/services/challenges.js b/src/services/challenges.js index cd581041..d2db9a03 100644 --- a/src/services/challenges.js +++ b/src/services/challenges.js @@ -539,46 +539,50 @@ class ChallengesService { } /** - * TODO: Integrate with real API. - * Gets recommended challenges. - * @param {Object} sort - * @param {Object} filter + * Gets challenges. + * @param {Object} filters Optional. + * @param {Object} params Optional. * @return {Promise} Resolves to the api response. */ 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'); - if (filter.tracks.QA) tracks.push('Quality Assurance'); - if (sort.openForRegistration === 'bestMatch' || sort.openForRegistration === {}) { - const ascArray = _.sortBy(mockRecommendedChallenges, [ - item => Math.trunc((parseFloat(item.matchScore) + 1.0) / 2.0 * 100.0)]); - sortedChallenges = _.reverse(ascArray); - } else if (sort.openForRegistration === 'name') { - sortedChallenges = _.sortBy(mockRecommendedChallenges, ['name']); - } else { - sortedChallenges = _.sortBy(mockRecommendedChallenges, [sort.openForRegistration]); - } - - let filteredChallenges = sortedChallenges.filter(item => tracks.includes(item.track)); - filteredChallenges = filteredChallenges.filter(item => types.includes(item.type)); - const mockResponse = _.clone(this.private.tokenV3 ? filteredChallenges : []); + return this.private.getChallenges('/challenges/', { frontFilter: filter }) + .then((res) => { + res.challenges.forEach(item => normalizeChallenge(item)); + let sortedChallenges = []; + const challenges = res.challenges.slice(0, 8).map((item, index) => ({ + ...item, + matchScore: mockRecommendedChallenges[index].matchScore, + })); + + 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'); + if (filter.tracks.QA) tracks.push('Quality Assurance'); + if (sort.openForRegistration === 'bestMatch' || sort.openForRegistration === {}) { + const ascArray = _.sortBy(challenges, [ + item => Math.trunc((parseFloat(item.matchScore) + 1.0) / 2.0 * 100.0)]); + sortedChallenges = _.reverse(ascArray); + } else if (sort.openForRegistration === 'name') { + sortedChallenges = _.sortBy(challenges, ['name']); + } else { + sortedChallenges = _.sortBy(challenges, [sort.openForRegistration]); + } - const sleep = m => new Promise(r => setTimeout(r, m)); - await sleep(1000); + let filteredChallenges = sortedChallenges.filter(item => tracks.includes(item.track)); + filteredChallenges = filteredChallenges.filter(item => types.includes(item.type)); + const mockResponse = _.clone(this.private.tokenV3 ? filteredChallenges : []); - return Promise.resolve({ - challenges: mockResponse, - meta: mockResponse.length, - }); + return { + challenges: mockResponse, + meta: mockResponse.length, + }; + }); } /** From bfc370add5ed6606cf036cc0ad00a719bac89f3a Mon Sep 17 00:00:00 2001 From: nursoltan-s Date: Sat, 30 Jan 2021 20:22:53 +0800 Subject: [PATCH 07/18] bug fixes --- src/services/challenges.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/services/challenges.js b/src/services/challenges.js index d2db9a03..f79ec5c2 100644 --- a/src/services/challenges.js +++ b/src/services/challenges.js @@ -545,7 +545,9 @@ class ChallengesService { * @return {Promise} Resolves to the api response. */ async getRecommendedChallenges(sort, filter) { - return this.private.getChallenges('/challenges/', { frontFilter: filter }) + return this.private.getChallenges('/challenges/', { + frontFilter: { ...filter, types: ['TSK', 'CH', 'F2F'] }, + }) .then((res) => { res.challenges.forEach(item => normalizeChallenge(item)); let sortedChallenges = []; From c5a7697322771538663401e27726b5ce91422bc5 Mon Sep 17 00:00:00 2001 From: Luiz Ricardo Rodrigues Date: Sun, 31 Jan 2021 14:00:48 -0300 Subject: [PATCH 08/18] Test Release - POC Recommender Sub 2 - FF2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 17476c6a..90aa21be 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .", "test": "npm run lint && npm run jest" }, - "version": "1000.27.3", + "version": "1000.27.4", "dependencies": { "auth0-js": "^6.8.4", "config": "^3.2.0", From 9228fd3d9ffc1b283a03a4bb79c412a00fac5b85 Mon Sep 17 00:00:00 2001 From: Nursoltan Saipolda Date: Wed, 17 Feb 2021 18:18:31 +0800 Subject: [PATCH 09/18] integrate recommendation challenges with api --- .../data/recommended-challenges.json | 34 -------- src/services/challenges.js | 79 +++++++------------ 2 files changed, 28 insertions(+), 85 deletions(-) delete mode 100644 src/services/__mocks__/data/recommended-challenges.json diff --git a/src/services/__mocks__/data/recommended-challenges.json b/src/services/__mocks__/data/recommended-challenges.json deleted file mode 100644 index c063290a..00000000 --- a/src/services/__mocks__/data/recommended-challenges.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "challengeId": "9bd8e6a7-b682-401e-bf7f-790daf9f6c60", - "matchScore": "-0.23" - }, - { - "challengeId": "d42df936-41aa-4c10-bd54-f30be8f62d47", - "matchScore": "0.76" - }, - { - "challengeId": "53383a29-80ef-4230-b48f-08a6d302f1ed", - "matchScore": "0" - }, - { - "challengeId": "e9994738-43e4-4725-8621-2eb687088c55", - "matchScore": "-1" - }, - { - "challengeId": "dd0f9e52-e0c9-4e11-8f3e-d75c786a2b65", - "matchScore": "-0.1" - }, - { - "challengeId": "a5c86414-474c-43db-97e1-6d8ad9322c6d", - "matchScore": "0.22" - }, - { - "challengeId": "45261650-418e-4b7f-aadb-edfd782cd407", - "matchScore": "0.78" - }, - { - "challengeId": "f466c20a-845a-46f6-8e91-b6152a5e6e32", - "matchScore": "-0.78" - } -] \ No newline at end of file diff --git a/src/services/challenges.js b/src/services/challenges.js index f79ec5c2..e251f678 100644 --- a/src/services/challenges.js +++ b/src/services/challenges.js @@ -14,7 +14,6 @@ import { COMPETITION_TRACKS, getApiResponsePayload } from '../utils/tc'; import { getApi } from './api'; import { getService as getMembersService } from './members'; import { getService as getSubmissionsService } from './submissions'; -import mockRecommendedChallenges from './__mocks__/data/recommended-challenges.json'; export function getFilterUrl(backendFilter, frontFilter) { const ff = _.clone(frontFilter); @@ -476,21 +475,12 @@ class ChallengesService { * @return {Promise} Resolves to the array of subtrack names. */ getChallengeTypes() { - const recommended = { - id: 'e06b074d-43c2-4e7e-9cd3-c43e13d51b40', - name: 'Recommended', - description: "Available challenges that match competitor's skills", - isActive: true, - isTask: false, - abbreviation: 'REC', - }; - return this.private.apiV5.get('/challenge-types') .then(res => (res.ok ? res.json() : new Error(res.statusText))) .then(res => ( res.message ? new Error(res.message) - : [...res, recommended] + : res )); } @@ -542,49 +532,36 @@ class ChallengesService { * Gets challenges. * @param {Object} filters Optional. * @param {Object} params Optional. + * @param {String} handle user handle * @return {Promise} Resolves to the api response. */ - async getRecommendedChallenges(sort, filter) { - return this.private.getChallenges('/challenges/', { - frontFilter: { ...filter, types: ['TSK', 'CH', 'F2F'] }, - }) - .then((res) => { - res.challenges.forEach(item => normalizeChallenge(item)); - let sortedChallenges = []; - const challenges = res.challenges.slice(0, 8).map((item, index) => ({ - ...item, - matchScore: mockRecommendedChallenges[index].matchScore, - })); - - 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'); - if (filter.tracks.QA) tracks.push('Quality Assurance'); - if (sort.openForRegistration === 'bestMatch' || sort.openForRegistration === {}) { - const ascArray = _.sortBy(challenges, [ - item => Math.trunc((parseFloat(item.matchScore) + 1.0) / 2.0 * 100.0)]); - sortedChallenges = _.reverse(ascArray); - } else if (sort.openForRegistration === 'name') { - sortedChallenges = _.sortBy(challenges, ['name']); - } else { - sortedChallenges = _.sortBy(challenges, [sort.openForRegistration]); - } - - let filteredChallenges = sortedChallenges.filter(item => tracks.includes(item.track)); - filteredChallenges = filteredChallenges.filter(item => types.includes(item.type)); - const mockResponse = _.clone(this.private.tokenV3 ? filteredChallenges : []); + async getRecommendedChallenges(filter, handle) { + const query = getFilterUrl( + filter.backendFilter, + { ...filter.frontFilter, per_page: filter.frontFilter.perPage }, + ); + + let res = {}; + if (_.some(filter.frontFilter.tracks, val => val) + && !_.isEqual(filter.frontFilter.types, [])) { + const url = `/recommender-api/${handle}?${query}`; + res = await this.private.apiV5.get(url).then(checkErrorV5); + } + const challenges = res.result.filter(ch => ch.jaccard_index > 0); - return { - challenges: mockResponse, - meta: mockResponse.length, - }; - }); + const totalCount = challenges.length; + return { + challenges, + totalCount, + meta: { + allChallengesCount: challenges.length, + allRecommendedChallengesCount: 0, + myChallengesCount: 0, + ongoingChallengesCount: 0, + openChallengesCount: 0, + totalCount, + }, + }; } /** From a677ae648b9d6f2489319c2cf32fd23b0bdc4bd0 Mon Sep 17 00:00:00 2001 From: Luiz Ricardo Rodrigues Date: Thu, 18 Feb 2021 14:19:40 -0300 Subject: [PATCH 10/18] Test Release - POC Recommender Sub 2 - FF3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 90aa21be..c0c7a3cf 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .", "test": "npm run lint && npm run jest" }, - "version": "1000.27.4", + "version": "1000.27.5", "dependencies": { "auth0-js": "^6.8.4", "config": "^3.2.0", From d1936c3afee253378de18d115e9c3a4298053d7a Mon Sep 17 00:00:00 2001 From: Nursoltan Saipolda Date: Wed, 24 Feb 2021 12:14:24 +0800 Subject: [PATCH 11/18] fix recommender api pagination --- src/services/challenges.js | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/src/services/challenges.js b/src/services/challenges.js index e251f678..8a400bd8 100644 --- a/src/services/challenges.js +++ b/src/services/challenges.js @@ -15,6 +15,8 @@ import { getApi } from './api'; import { getService as getMembersService } from './members'; import { getService as getSubmissionsService } from './submissions'; +const MAX_PER_PAGE = 300; + export function getFilterUrl(backendFilter, frontFilter) { const ff = _.clone(frontFilter); // eslint-disable-next-line object-curly-newline @@ -536,25 +538,37 @@ class ChallengesService { * @return {Promise} Resolves to the api response. */ async getRecommendedChallenges(filter, handle) { - const query = getFilterUrl( + filter.frontFilter.per_page = filter.frontFilter.perPage; + delete filter.frontFilter.perPage; + + const query = getFilterUrl(filter.backendFilter, filter.frontFilter); + + const totalQuery = getFilterUrl( filter.backendFilter, - { ...filter.frontFilter, per_page: filter.frontFilter.perPage }, + { ...filter.frontFilter, page: 1, perPage: MAX_PER_PAGE }, ); let res = {}; + let totalChallengeCount = {}; if (_.some(filter.frontFilter.tracks, val => val) && !_.isEqual(filter.frontFilter.types, [])) { const url = `/recommender-api/${handle}?${query}`; res = await this.private.apiV5.get(url).then(checkErrorV5); + // Note: Recommender API is not returning X-Total response header. + // Please remove below statement with response get method. + const totalUrl = `/recommender-api/${handle}?${totalQuery}`; + totalChallengeCount = await this.private.apiV5.get(totalUrl).then(checkErrorV5); } - const challenges = res.result.filter(ch => ch.jaccard_index > 0); + const challenges = res.result ? res.result.filter(ch => ch.jaccard_index > 0) : []; + const total = totalChallengeCount.result + ? totalChallengeCount.result.filter(ch => ch.jaccard_index > 0) : []; - const totalCount = challenges.length; + const totalCount = total.length; return { challenges, totalCount, meta: { - allChallengesCount: challenges.length, + allChallengesCount: totalCount, allRecommendedChallengesCount: 0, myChallengesCount: 0, ongoingChallengesCount: 0, From aea29d916cb6548cd4700deda7be9f9e94d26f8e Mon Sep 17 00:00:00 2001 From: Nursoltan Saipolda Date: Wed, 24 Feb 2021 12:22:49 +0800 Subject: [PATCH 12/18] resolve merge conflict --- package-lock.json | 87 ++++++++++++++--------------------------------- package.json | 2 +- 2 files changed, 26 insertions(+), 63 deletions(-) diff --git a/package-lock.json b/package-lock.json index b39bd176..71c9f053 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "topcoder-react-lib", - "version": "1000.27.1", + "version": "1.1.4", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -7537,11 +7537,6 @@ "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", @@ -8195,9 +8190,9 @@ "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" }, "form-data": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.0.tgz", - "integrity": "sha512-CKMFDglpbMi6PyN+brwB9Q/GOw0eAnsrEZDgcsH5Krhz5Od/haKHAX0NmQfha2zPPz0JpWzA7GJHGSnvCRLWsg==", + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", + "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", "requires": { "asynckit": "0.4.0", "combined-stream": "1.0.8", @@ -9606,8 +9601,7 @@ "isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", - "dev": true + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" }, "isexe": { "version": "2.0.0", @@ -14802,8 +14796,7 @@ "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==", - "dev": true + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" }, "progress": { "version": "2.0.3", @@ -15266,7 +15259,6 @@ "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", @@ -18596,58 +18588,29 @@ } }, "superagent": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/superagent/-/superagent-5.3.1.tgz", - "integrity": "sha512-wjJ/MoTid2/RuGCOFtlacyGNxN9QLMgcpYLDQlWFIhhdJ93kNscFonGvrpAHSCVjRVj++DGCglocF7Aej1KHvQ==", + "version": "3.8.3", + "resolved": "https://registry.npmjs.org/superagent/-/superagent-3.8.3.tgz", + "integrity": "sha512-GLQtLMCoEIK4eDv6OGtkOoSMt3D+oq0y3dsxMuYuDvaNUvuT8eFBuLmfR0iYYzHC1e8hpzC6ZsxbuP6DIalMFA==", "requires": { "component-emitter": "1.3.0", "cookiejar": "2.1.2", - "debug": "4.1.1", - "fast-safe-stringify": "2.0.7", - "form-data": "3.0.0", + "debug": "3.2.6", + "extend": "3.0.2", + "form-data": "2.5.1", "formidable": "1.2.2", "methods": "1.1.2", - "mime": "2.5.0", + "mime": "1.6.0", "qs": "6.9.4", - "readable-stream": "3.6.0", - "semver": "7.3.4" + "readable-stream": "2.3.7" }, "dependencies": { - "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": { - "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==", + "debug": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", "requires": { - "lru-cache": "6.0.0" + "ms": "2.1.2" } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" } } }, @@ -18790,7 +18753,7 @@ "tc-core-library-js": { "version": "github:appirio-tech/tc-core-library-js#d16413db30b1eed21c0cf426e185bedb2329ddab", "requires": { - "auth0-js": "9.14.3", + "auth0-js": "9.13.2", "axios": "0.12.0", "bunyan": "1.8.12", "jsonwebtoken": "8.5.1", @@ -18802,15 +18765,15 @@ }, "dependencies": { "auth0-js": { - "version": "9.14.3", - "resolved": "https://registry.npmjs.org/auth0-js/-/auth0-js-9.14.3.tgz", - "integrity": "sha512-UO/fGv9641PUpYjz2nkPaUHzzrhNaJKupJOqt8blj1pD6wBgpZtxUSXBox6Y8md3eTBzpxeWxV+6RKzzERvr1g==", + "version": "9.13.2", + "resolved": "https://registry.npmjs.org/auth0-js/-/auth0-js-9.13.2.tgz", + "integrity": "sha512-gWlf+X3XhCT9JboYpGviflv0pHcaHFPGtkLXiebyJohHDKddiu2rZkezp9kZHEoXqxhtNqgWuuaXkcla5JtnXg==", "requires": { "base64-js": "1.3.1", "idtoken-verifier": "2.0.3", "js-cookie": "2.2.1", "qs": "6.9.4", - "superagent": "5.3.1", + "superagent": "3.8.3", "url-join": "4.0.1", "winchan": "0.2.2" } @@ -21424,4 +21387,4 @@ } } } -} +} \ No newline at end of file diff --git a/package.json b/package.json index c0c7a3cf..1b8cc0ab 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .", "test": "npm run lint && npm run jest" }, - "version": "1000.27.5", + "version": "1.1.6", "dependencies": { "auth0-js": "^6.8.4", "config": "^3.2.0", From 5669e360adcdbc24ce3430d89775b828b1072387 Mon Sep 17 00:00:00 2001 From: Luiz Ricardo Rodrigues Date: Wed, 24 Feb 2021 19:48:35 -0300 Subject: [PATCH 13/18] Test Release - POC Recommender Sub 2 - FF4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1b8cc0ab..dbef3640 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .", "test": "npm run lint && npm run jest" }, - "version": "1.1.6", + "version": "1000.27.6", "dependencies": { "auth0-js": "^6.8.4", "config": "^3.2.0", From 8ffa5d1cca07ed2950743043a42e90e88dc4c477 Mon Sep 17 00:00:00 2001 From: "Luiz R. Rodrigues" Date: Sat, 27 Feb 2021 02:05:11 -0300 Subject: [PATCH 14/18] Recommender sync with develop --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dbef3640..34bad918 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .", "test": "npm run lint && npm run jest" }, - "version": "1000.27.6", + "version": "1000.27.7", "dependencies": { "auth0-js": "^6.8.4", "config": "^3.2.0", From 5f27361c958b45f0c71ae2c3943d3b84b7d6a52f Mon Sep 17 00:00:00 2001 From: Luiz Ricardo Rodrigues Date: Mon, 1 Mar 2021 01:27:01 -0300 Subject: [PATCH 15/18] Recommender - Smoke Testing --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 34bad918..083c6096 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .", "test": "npm run lint && npm run jest" }, - "version": "1000.27.7", + "version": "1000.27.8", "dependencies": { "auth0-js": "^6.8.4", "config": "^3.2.0", From cac5a6e273ffe53664f9e2719f5b1d2c25f95dc4 Mon Sep 17 00:00:00 2001 From: Luiz Ricardo Rodrigues Date: Mon, 1 Mar 2021 01:42:31 -0300 Subject: [PATCH 16/18] Recommender - Smoke Testing develop branch --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 083c6096..f9919fb5 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .", "test": "npm run lint && npm run jest" }, - "version": "1000.27.8", + "version": "1000.27.9", "dependencies": { "auth0-js": "^6.8.4", "config": "^3.2.0", From cd48d3b6c246098c4b829a998edc85be58c8132b Mon Sep 17 00:00:00 2001 From: Luiz Ricardo Rodrigues Date: Mon, 1 Mar 2021 03:41:32 -0300 Subject: [PATCH 17/18] ci: removed dist tag --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e8eac28e..0e161844 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,7 +28,7 @@ jobs: - attach_workspace: at: . - run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc - - run: npm publish --tag test-release + - run: npm publish # dont change anything workflows: version: 2 From 355429e1eb5ec50cbf919519cfd631b9c522eb11 Mon Sep 17 00:00:00 2001 From: Luiz Ricardo Rodrigues Date: Mon, 1 Mar 2021 03:44:08 -0300 Subject: [PATCH 18/18] Release 2021/03/01 (v1.1.7) Issue; https://github.com/topcoder-platform/community-app/issues/5325 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f9919fb5..335e9970 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .", "test": "npm run lint && npm run jest" }, - "version": "1000.27.9", + "version": "1.1.7", "dependencies": { "auth0-js": "^6.8.4", "config": "^3.2.0",