feat(learn): add python video challenges (#38424)
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
22afc2a0ca
commit
e776529ed0
@ -19,6 +19,8 @@ import {
|
||||
dataVis2018Id,
|
||||
apisMicroservicesId,
|
||||
infosecQaId,
|
||||
infosecId,
|
||||
qaId,
|
||||
fullStackId,
|
||||
sciCompPyId,
|
||||
dataAnalysisPyId,
|
||||
@ -107,6 +109,8 @@ function createCertTypeIds(app) {
|
||||
Challenge
|
||||
),
|
||||
[certTypes.infosecQa]: getIdsForCert$(infosecQaId, Challenge),
|
||||
[certTypes.qa]: getIdsForCert$(qaId, Challenge),
|
||||
[certTypes.infosec]: getIdsForCert$(infosecId, Challenge),
|
||||
[certTypes.fullStack]: getIdsForCert$(fullStackId, Challenge),
|
||||
[certTypes.sciCompPy]: getIdsForCert$(sciCompPyId, Challenge),
|
||||
[certTypes.dataAnalysisPy]: getIdsForCert$(dataAnalysisPyId, Challenge),
|
||||
@ -133,6 +137,8 @@ const certIds = {
|
||||
[certTypes.dataVis2018]: dataVis2018Id,
|
||||
[certTypes.apisMicroservices]: apisMicroservicesId,
|
||||
[certTypes.infosecQa]: infosecQaId,
|
||||
[certTypes.qa]: qaId,
|
||||
[certTypes.infosec]: infosecId,
|
||||
[certTypes.fullStack]: fullStackId,
|
||||
[certTypes.sciCompPy]: sciCompPyId,
|
||||
[certTypes.dataAnalysisPy]: dataAnalysisPyId,
|
||||
@ -150,6 +156,8 @@ const certText = {
|
||||
[certTypes.dataVis2018]: 'Data Visualization',
|
||||
[certTypes.apisMicroservices]: 'APIs and Microservices',
|
||||
[certTypes.infosecQa]: 'Information Security and Quality Assurance',
|
||||
[certTypes.qa]: 'Quality Assurance',
|
||||
[certTypes.infosec]: 'Information Security',
|
||||
[certTypes.sciCompPy]: 'Scientific Computing with Python',
|
||||
[certTypes.dataAnalysisPy]: 'Data Analysis with Python',
|
||||
[certTypes.machineLearningPy]: 'Machine Learning with Python'
|
||||
@ -166,6 +174,8 @@ const completionHours = {
|
||||
[certTypes.dataVis2018]: 300,
|
||||
[certTypes.apisMicroservices]: 300,
|
||||
[certTypes.infosecQa]: 300,
|
||||
[certTypes.qa]: 300,
|
||||
[certTypes.infosec]: 300,
|
||||
[certTypes.sciCompPy]: 400,
|
||||
[certTypes.dataAnalysisPy]: 400,
|
||||
[certTypes.machineLearningPy]: 400
|
||||
@ -193,6 +203,8 @@ function sendCertifiedEmail(
|
||||
isDataVisCert,
|
||||
isApisMicroservicesCert,
|
||||
isInfosecQaCert,
|
||||
isQaCert,
|
||||
isInfosecCert,
|
||||
isSciCompPyCert,
|
||||
isDataAnalysisPyCert,
|
||||
isMachineLearningPyCert
|
||||
@ -207,6 +219,8 @@ function sendCertifiedEmail(
|
||||
!isDataVisCert ||
|
||||
!isApisMicroservicesCert ||
|
||||
!isInfosecQaCert ||
|
||||
!isQaCert ||
|
||||
!isInfosecCert ||
|
||||
!isSciCompPyCert ||
|
||||
!isDataAnalysisPyCert ||
|
||||
!isMachineLearningPyCert
|
||||
@ -237,6 +251,8 @@ function getUserIsCertMap(user) {
|
||||
is2018DataVisCert = false,
|
||||
isApisMicroservicesCert = false,
|
||||
isInfosecQaCert = false,
|
||||
isQaCert = false,
|
||||
isInfosecCert = false,
|
||||
isFrontEndCert = false,
|
||||
isBackEndCert = false,
|
||||
isDataVisCert = false,
|
||||
@ -253,6 +269,8 @@ function getUserIsCertMap(user) {
|
||||
is2018DataVisCert,
|
||||
isApisMicroservicesCert,
|
||||
isInfosecQaCert,
|
||||
isQaCert,
|
||||
isInfosecCert,
|
||||
isFrontEndCert,
|
||||
isBackEndCert,
|
||||
isDataVisCert,
|
||||
@ -380,6 +398,8 @@ function createShowCert(app) {
|
||||
is2018DataVisCert: true,
|
||||
isApisMicroservicesCert: true,
|
||||
isInfosecQaCert: true,
|
||||
isQaCert: true,
|
||||
isInfosecCert: true,
|
||||
isSciCompPyCert: true,
|
||||
isDataAnalysisPyCert: true,
|
||||
isMachineLearningPyCert: true,
|
||||
|
@ -162,6 +162,8 @@ function postResetProgress(req, res, next) {
|
||||
isJsAlgoDataStructCert: false,
|
||||
isApisMicroservicesCert: false,
|
||||
isInfosecQaCert: false,
|
||||
isQaCert: false,
|
||||
isInfosecCert: false,
|
||||
is2018FullStackCert: false,
|
||||
isFrontEndCert: false,
|
||||
isBackEndCert: false,
|
||||
|
@ -8,6 +8,8 @@
|
||||
"jsAlgoDataStruct": "isJsAlgoDataStructCert",
|
||||
"apisMicroservices": "isApisMicroservicesCert",
|
||||
"infosecQa": "isInfosecQaCert",
|
||||
"qa": "isQaCert",
|
||||
"infosec": "isInfosecCert",
|
||||
"fullStack": "isFullStackCert",
|
||||
"sciCompPy": "isSciCompPyCert",
|
||||
"dataAnalysisPy": "isDataAnalysisPyCert",
|
||||
|
@ -8,6 +8,8 @@
|
||||
"dataVisCert": "Data Visualisation Certification",
|
||||
"apisMicroservicesCert": "APIs and Microservices Certification",
|
||||
"infosecQaCert": "Information Security and Quality Assurance Certification",
|
||||
"qaCert": "Quality Assurance Certification",
|
||||
"infosecCert": "Information Security Certification",
|
||||
"sciCompPyCert": "Scientific Computing with Python Certification",
|
||||
"dataAnalysisPyCert": "Data Analysis with Python Certification",
|
||||
"machineLearningPyCert": "Machine Learning with Python Certification"
|
||||
|
@ -18,6 +18,8 @@ export function completeCommitment$(user) {
|
||||
isDataVisCert,
|
||||
isApisMicroservicesCert,
|
||||
isInfosecQaCert,
|
||||
isQaCert,
|
||||
isInfosecCert,
|
||||
isSciCompPyCert,
|
||||
isDataAnalysisPyCert,
|
||||
isMachineLearningPyCert
|
||||
@ -40,6 +42,8 @@ export function completeCommitment$(user) {
|
||||
(isDataVisCert && goal === commitGoals.dataVisCert) ||
|
||||
(isApisMicroservicesCert && goal === commitGoals.apisMicroservicesCert) ||
|
||||
(isInfosecQaCert && goal === commitGoals.infosecQaCert) ||
|
||||
(isQaCert && goal === commitGoals.QaCert) ||
|
||||
(isInfosecCert && goal === commitGoals.infosecCert) ||
|
||||
(isSciCompPyCert && goal === commitGoals.sciCompPyCert) ||
|
||||
(isDataAnalysisPyCert && goal === commitGoals.dataAnalysisPyCert) ||
|
||||
(isMachineLearningPyCert && goal === commitGoals.machineLearningPyCert)
|
||||
|
@ -11,6 +11,8 @@
|
||||
"jsAlgoDataStructId": "561abd10cb81ac38a17513bc",
|
||||
"apisMicroservicesId": "561add10cb82ac38a17523bc",
|
||||
"infosecQaId": "561add10cb82ac38a17213bc",
|
||||
"qaId": "5e611829481575a52dc59c0e",
|
||||
"infosecId": "5e6021435ac9d0ecd8b94b00",
|
||||
"fullStackId": "561add10cb82ac38a17213bd",
|
||||
"sciCompPyId": "5e44431b903586ffb414c951",
|
||||
"dataAnalysisPyId": "5e46fc95ac417301a38fb934",
|
||||
|
@ -4,6 +4,8 @@ function getCompletedCertCount(user) {
|
||||
'is2018DataVisCert',
|
||||
'isFrontEndLibsCert',
|
||||
'isInfosecQaCert',
|
||||
'isQaCert',
|
||||
'isInfosecCert',
|
||||
'isJsAlgoDataStructCert',
|
||||
'isRespWebDesignCert',
|
||||
'isSciCompPyCert',
|
||||
|
@ -23,6 +23,8 @@ export const publicUserProps = [
|
||||
'isFrontEndLibsCert',
|
||||
'isHonest',
|
||||
'isInfosecQaCert',
|
||||
'isQaCert',
|
||||
'isInfosecCert',
|
||||
'isJsAlgoDataStructCert',
|
||||
'isRespWebDesignCert',
|
||||
'isSciCompPyCert',
|
||||
|
@ -13,6 +13,8 @@ const superBlockCertTypeMap = {
|
||||
'data-visualization': certTypes.dataVis2018,
|
||||
'apis-and-microservices': certTypes.apisMicroservices,
|
||||
'information-security-and-quality-assurance': certTypes.infosecQa,
|
||||
'quality-assurance': certTypes.qa,
|
||||
'information-security': certTypes.infosec,
|
||||
'full-stack': certTypes.fullStack,
|
||||
'scientific-computing-with-python': certTypes.sciCompPy,
|
||||
'data-analysis-with-python': certTypes.dataAnalysisPy,
|
||||
|
@ -143,6 +143,8 @@ function getCompletedCertCount(user) {
|
||||
'is2018DataVisCert',
|
||||
'isFrontEndLibsCert',
|
||||
'isInfosecQaCert',
|
||||
'isQaCert',
|
||||
'isInfosecCert',
|
||||
'isJsAlgoDataStructCert',
|
||||
'isRespWebDesignCert',
|
||||
'isSciCompPyCert',
|
||||
|
Reference in New Issue
Block a user