Skip to content

Commit 37abfff

Browse files
authored
Merge pull request #1433 from appirio-tech/feature/pref-tuning
added performance tuning
2 parents 4a405d3 + c313ed4 commit 37abfff

File tree

3 files changed

+16
-172
lines changed

3 files changed

+16
-172
lines changed

src/config/projectQuestions/performance_tuning.v1.0.js

Lines changed: 7 additions & 172 deletions
Original file line numberDiff line numberDiff line change
@@ -52,63 +52,12 @@ const sections = [
5252
// required: true,
5353
validations: 'isRequired,minLength:160',
5454
validationErrors: {
55-
isRequired: 'Please provide your objectives',
55+
isRequired: 'Please describe your application',
5656
minLength: 'Please enter at least 160 characters'
5757
},
58-
description: 'Brief Description of your objectives',
59-
title: 'Objectives',
58+
description: 'Brief Description of your application',
59+
title: 'Description',
6060
type: 'textbox'
61-
},
62-
63-
{
64-
icon: 'question',
65-
title: 'Do you have ground truth defined?',
66-
description: '',
67-
68-
fieldName: 'details.vision.groundtruth',
69-
type: 'radio-group',
70-
options: [
71-
{value: 'true', label: 'Yes'},
72-
{value: 'false', label: 'No'}
73-
],
74-
required: true,
75-
validationError: 'Please select one'
76-
},
77-
{
78-
icon: 'question',
79-
title: 'Describe your ground truth?',
80-
description: '(if applicable)',
81-
type: 'textbox',
82-
fieldName: 'details.vision.groundtruthDesc',
83-
required: true,
84-
validationError: 'Please tell us about your ground truth'
85-
},
86-
{
87-
icon: 'question',
88-
title: 'Describe your data set',
89-
description: '(if applicable)',
90-
type: 'textbox',
91-
fieldName: 'details.vision.dataDesc',
92-
required: true,
93-
validationError: 'Please tell us about your data set'
94-
},
95-
{
96-
icon: 'question',
97-
title: 'Approximately how large is your data set in MB, GB, TB?',
98-
description: '',
99-
type: 'textbox',
100-
fieldName: 'details.vision.datasetSize',
101-
required: true,
102-
validationError: 'Please tell us the size of your data set'
103-
},
104-
{
105-
icon: 'question',
106-
title: 'Approximately how many images are in your data set?',
107-
description: '',
108-
type: 'textbox',
109-
fieldName: 'details.vision.imageSet',
110-
required: true,
111-
validationError: 'Please tell us roughly the number of images in your set'
11261
}
11362

11463
]
@@ -117,7 +66,7 @@ const sections = [
11766
id: 'notes',
11867
fieldName: 'details.appDefinition.notes',
11968
title: 'Additional Notes',
120-
description: 'Please detail any other additional information',
69+
description: 'Please detail any other additional information, you will be able to upload files on the next screen',
12170
type: 'notes'
12271
},
12372
{
@@ -130,71 +79,8 @@ const sections = [
13079
}
13180

13281

133-
]
134-
},
135-
{
136-
id: 'optionals',
137-
required: false,
138-
title: 'Additional Questions',
139-
description: 'Please complete these optional questions.',
140-
subSections: [
141-
{
142-
id: 'additional',
143-
required: false,
144-
title: 'Additional Questions',
145-
description: '',
146-
type: 'questions',
147-
questions: [
148-
{
149-
icon: 'question',
150-
fieldName: 'details.dataURL',
151-
description: '',
152-
title: 'Please provide a URL to your data',
153-
type: 'textbox'
154-
155-
},
156-
{
157-
icon: 'question',
158-
fieldName: 'details.performanceInfo',
159-
description: '',
160-
title: 'Please describe the performance of your existing software',
161-
type: 'textbox'
16282

163-
},
164-
{
165-
icon: 'question',
166-
fieldName: 'details.externalDataUsage',
167-
description: '',
168-
title: 'Do you anticipate allowing contestants to use external data?',
169-
type: 'radio-group',
170-
options: [
171-
{value: 'Yes', label: 'Yes'},
172-
{value: 'No', label: 'No'},
173-
{value: 'Unsure', label: 'Unsure'}
174-
]
175-
},
176-
{
177-
icon: 'question',
178-
fieldName: 'details.externalDataUsage',
179-
description: '',
180-
title: 'If you have already thought of a scoring method, please indicate them here',
181-
type: 'checkbox-group',
182-
options: [
183-
{value: 'F1/Dice', label: 'F1/Dice'},
184-
{value: 'Jaccard Index', label: 'Jaccard Index'},
185-
{value: 'Harmonic Mean', label: 'Harmonic Mean'}
186-
]
187-
},
188-
{
189-
icon: 'question',
190-
fieldName: 'details.otherScoringInfo',
191-
description: '',
192-
title: 'If scoring method was other, please provide your approach',
193-
type: 'textbox'
19483

195-
}
196-
]
197-
}
19884
]
19985
}
20086

@@ -234,63 +120,12 @@ export const basicSections = [
234120
// required: true,
235121
validations: 'isRequired,minLength:160',
236122
validationErrors: {
237-
isRequired: 'Please provide your objectives',
123+
isRequired: 'Please provide a description of your application',
238124
minLength: 'Please enter at least 160 characters'
239125
},
240-
description: 'Brief Description of your objectives',
241-
title: 'Objectives',
126+
description: 'Brief Description of your application',
127+
title: 'Description',
242128
type: 'textbox'
243-
},
244-
245-
{
246-
icon: 'question',
247-
title: 'Do you have ground truth defined?',
248-
description: '',
249-
250-
fieldName: 'details.vision.groundtruth',
251-
type: 'radio-group',
252-
options: [
253-
{value: 'true', label: 'Yes'},
254-
{value: 'false', label: 'No'}
255-
],
256-
required: true,
257-
validationError: 'Please select one'
258-
},
259-
{
260-
icon: 'question',
261-
title: 'Describe your ground truth?',
262-
description: '(if applicable)',
263-
type: 'textbox',
264-
fieldName: 'details.vision.groundtruthDesc',
265-
required: true,
266-
validationError: 'Please tell us about your ground truth'
267-
},
268-
{
269-
icon: 'question',
270-
title: 'Describe your data set',
271-
description: '(if applicable)',
272-
type: 'textbox',
273-
fieldName: 'details.vision.dataDesc',
274-
required: true,
275-
validationError: 'Please tell us about your data set'
276-
},
277-
{
278-
icon: 'question',
279-
title: 'Approximately how large is your data set in MB, GB, TB?',
280-
description: '',
281-
type: 'textbox',
282-
fieldName: 'details.vision.datasetSize',
283-
required: true,
284-
validationError: 'Please tell us the size of your data set'
285-
},
286-
{
287-
icon: 'question',
288-
title: 'Approximately how many images are in your data set?',
289-
description: '',
290-
type: 'textbox',
291-
fieldName: 'details.vision.imageSet',
292-
required: true,
293-
validationError: 'Please tell us roughly the number of images in your set'
294129
}
295130

296131
]

src/config/projectSpecification/typeToSpecification.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"real_world_testing": "real_world_testing.v1.0",
1414
"mobility_testing": "mobility_testing.v1.0",
1515
"performance_testing": "performance_testing.v1.0",
16+
"performance_tuning": "performance_tuning.v1.0",
1617
"digital_accessability": "crowd_testing.v1.0",
1718
"open_source_automation": "crowd_testing.v1.0",
1819
"consulting_adivisory": "crowd_testing.v1.0",

src/config/projectWizard/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,14 @@ const products = {
203203
id: 'mobility_testing',
204204
aliases: ['mobility-testing', 'mobility_testing']
205205
},
206+
'Performance Tuning': {
207+
brief: 'TBD',
208+
details: 'Submit your JVM based application for performance tuning recommendations',
209+
icon: 'product-qa-website-performance',
210+
id: 'performance_tuning',
211+
aliases: ['performance-tuning', 'performance_tuning'],
212+
hidden: false
213+
},
206214
'Performance Testing': {
207215
brief: 'TBD',
208216
details: 'Webpage rendering effiency, Load, Stress and Endurance Test',

0 commit comments

Comments
 (0)