DjayChucko commited on
Commit
26424db
·
verified ·
1 Parent(s): 9f71658

Manual changes saved

Browse files
Files changed (1) hide show
  1. scorecard.html +38 -9
scorecard.html CHANGED
@@ -184,14 +184,6 @@
184
  { section: 'IMPLEMENTATION PLAN', subheading: 'Section 3: The Logistics', question: 'Is there a clear, agreed-upon plan for success after signing?', answers: [ { text: 'All stakeholders have agreed to a formal, joint implementation plan', score: 9 }, { text: 'We have shared a draft implementation plan with our Champion', score: 6 }, { text: 'Implementation has been discussed but no formal plan exists', score: 3 }, { text: 'The post-sale process has not been discussed', score: 0 } ] }
185
  ];
186
 
187
- const skillMapping = {
188
- 'PAIN & METRICS': '#qualify-meddicc',
189
- 'CHAMPION & EB': '#stakeholder-mapping',
190
- 'DECISION PROCESS & CRITERIA': '#qualify-meddicc',
191
- 'COMPETITION & BLOCKERS': '#evaluation-justification',
192
- 'PAPER PROCESS': '#negotiation',
193
- 'IMPLEMENTATION PLAN': '#evaluation-justification'
194
- };
195
  const scoreMessages = { 'Closing': { 14: "Low Probability. More qualification of Why Now? and Why Us? required.", 39: "Medium Probability. More qualification Why Now? to quantify the business case.", 60: "High Probability. Focus on Why Us? loop in Product teams, set traps, kill blockers.", 101: "Commit. Be cautious. Expect last minute blockers, seek Scaleway Executive Sponsors." }, 'Early Stage': { 14: "Low Potential. More discovery needed to find a compelling business pain.", 39: "Medium Potential. Good start. Focus on building the business case and identifying a Champion.", 60: "High Potential. Strong signal. Engage more stakeholders and define success criteria for an an evaluation.", 101: "Very High Potential. Excellent qualification. Prepare to move to a formal evaluation or PoC." }, 'Evaluation / PoC': { 14: "Low Confidence. This deal is not ready for an evaluation. Re-qualify the business case.", 39: "Medium Confidence. The business case is weak. Ensure the PoC has clear, agreed-upon success metrics.", 60: "High Confidence. The PoC is well-positioned. Focus on technical validation and neutralizing blockers.", 101: "Very High Confidence. A successful evaluation should lead to a close. Start planning the paper process." } };
196
  const industryInsights = { 'FSI': 'FSI buyers prioritize compliance...', 'Healthcare': 'Healthcare focuses on HIPAA...', 'Public Sector & Education': 'Public Sector buyers value cost efficiency...', 'Retail and Ecommerce': 'Retail needs omnichannel integration...', 'Tech (SaaS)': 'SaaS companies look for developer-friendly APIs...', 'Cyber': 'Cyber security teams require advanced threat detection...', 'Media and Entertainment': 'Media firms need high-performance content delivery...', 'Manufacturing': 'Manufacturing values predictive maintenance...', 'Energy': 'The Energy sector focuses on AI for predictive analytics...', 'Logistics': 'Logistics companies prioritize real-time tracking...', 'Transport': 'Transportation firms need AI for fleet management...', 'Startups': 'Startups look for pay-as-you-go pricing...' };
197
  const summarySnippets = { 'PAIN & METRICS': 'Solidify the business case by quantifying the pain with the Economic Buyer.', 'CHAMPION & EB': 'Test your Champion and leverage them for greater access to the Economic Buyer.', 'DECISION PROCESS & CRITERIA': 'Influence the decision criteria and get the formal process in writing.', 'COMPETITION & BLOCKERS': 'Set competitive traps and proactively identify all potential deal blockers.', 'PAPER PROCESS': 'De-risk the closing stage by confirming the budget source and procurement process early.', 'IMPLEMENTATION PLAN': 'Co-create a success plan with the customer to show value beyond the signature.' };
@@ -260,7 +252,7 @@
260
  let recommendationHTML = '';
261
  if (answer.score < 5) {
262
  let advice = industrySpecificAdvice[app.state.industry]?.[answer.section] || summarySnippets[answer.section] || 'Focus on improving this area.';
263
- const link = `academy.html${skillMapping[answer.section]}`;
264
  recommendationHTML = `<div class="mt-3 pt-3 border-t border-purple-400 bg-red-800/20 p-3 rounded-b-lg -m-4 mt-4"><p class="text-sm font-medium text-red-200"><strong>Recommendation:</strong> ${advice} <a href="${link}" target="_blank" class="font-bold underline hover:text-red-100">learn more</a></p></div>`;
265
  }
266
  const scoreRatio = answer.score / 9;
@@ -273,6 +265,43 @@
273
  feather.replace();
274
  }
275
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
276
  function generateExecutiveSummary(answers, overallScore, salesStage) {
277
  let weaknesses = [], summaryHTML = '<ul class="space-y-3 text-purple-100">';
278
  const metricsMotive = answers.find(a => a.section === 'PAIN & METRICS');
 
184
  { section: 'IMPLEMENTATION PLAN', subheading: 'Section 3: The Logistics', question: 'Is there a clear, agreed-upon plan for success after signing?', answers: [ { text: 'All stakeholders have agreed to a formal, joint implementation plan', score: 9 }, { text: 'We have shared a draft implementation plan with our Champion', score: 6 }, { text: 'Implementation has been discussed but no formal plan exists', score: 3 }, { text: 'The post-sale process has not been discussed', score: 0 } ] }
185
  ];
186
 
 
 
 
 
 
 
 
 
187
  const scoreMessages = { 'Closing': { 14: "Low Probability. More qualification of Why Now? and Why Us? required.", 39: "Medium Probability. More qualification Why Now? to quantify the business case.", 60: "High Probability. Focus on Why Us? loop in Product teams, set traps, kill blockers.", 101: "Commit. Be cautious. Expect last minute blockers, seek Scaleway Executive Sponsors." }, 'Early Stage': { 14: "Low Potential. More discovery needed to find a compelling business pain.", 39: "Medium Potential. Good start. Focus on building the business case and identifying a Champion.", 60: "High Potential. Strong signal. Engage more stakeholders and define success criteria for an an evaluation.", 101: "Very High Potential. Excellent qualification. Prepare to move to a formal evaluation or PoC." }, 'Evaluation / PoC': { 14: "Low Confidence. This deal is not ready for an evaluation. Re-qualify the business case.", 39: "Medium Confidence. The business case is weak. Ensure the PoC has clear, agreed-upon success metrics.", 60: "High Confidence. The PoC is well-positioned. Focus on technical validation and neutralizing blockers.", 101: "Very High Confidence. A successful evaluation should lead to a close. Start planning the paper process." } };
188
  const industryInsights = { 'FSI': 'FSI buyers prioritize compliance...', 'Healthcare': 'Healthcare focuses on HIPAA...', 'Public Sector & Education': 'Public Sector buyers value cost efficiency...', 'Retail and Ecommerce': 'Retail needs omnichannel integration...', 'Tech (SaaS)': 'SaaS companies look for developer-friendly APIs...', 'Cyber': 'Cyber security teams require advanced threat detection...', 'Media and Entertainment': 'Media firms need high-performance content delivery...', 'Manufacturing': 'Manufacturing values predictive maintenance...', 'Energy': 'The Energy sector focuses on AI for predictive analytics...', 'Logistics': 'Logistics companies prioritize real-time tracking...', 'Transport': 'Transportation firms need AI for fleet management...', 'Startups': 'Startups look for pay-as-you-go pricing...' };
189
  const summarySnippets = { 'PAIN & METRICS': 'Solidify the business case by quantifying the pain with the Economic Buyer.', 'CHAMPION & EB': 'Test your Champion and leverage them for greater access to the Economic Buyer.', 'DECISION PROCESS & CRITERIA': 'Influence the decision criteria and get the formal process in writing.', 'COMPETITION & BLOCKERS': 'Set competitive traps and proactively identify all potential deal blockers.', 'PAPER PROCESS': 'De-risk the closing stage by confirming the budget source and procurement process early.', 'IMPLEMENTATION PLAN': 'Co-create a success plan with the customer to show value beyond the signature.' };
 
252
  let recommendationHTML = '';
253
  if (answer.score < 5) {
254
  let advice = industrySpecificAdvice[app.state.industry]?.[answer.section] || summarySnippets[answer.section] || 'Focus on improving this area.';
255
+ const link = getAcademyLink(percentage, answer.section);
256
  recommendationHTML = `<div class="mt-3 pt-3 border-t border-purple-400 bg-red-800/20 p-3 rounded-b-lg -m-4 mt-4"><p class="text-sm font-medium text-red-200"><strong>Recommendation:</strong> ${advice} <a href="${link}" target="_blank" class="font-bold underline hover:text-red-100">learn more</a></p></div>`;
257
  }
258
  const scoreRatio = answer.score / 9;
 
265
  feather.replace();
266
  }
267
 
268
+ function getAcademyLink(percentage, section) {
269
+ const lowScoreModules = {
270
+ 'PAIN & METRICS': 'academy.html#discovery-qualification',
271
+ 'CHAMPION & EB': 'academy.html#business-case',
272
+ 'DECISION PROCESS & CRITERIA': 'academy.html#qualify-meddicc',
273
+ 'COMPETITION & BLOCKERS': 'academy.html#evaluation-justification',
274
+ 'PAPER PROCESS': 'academy.html#business-case',
275
+ 'IMPLEMENTATION PLAN': 'academy.html#evaluation-justification'
276
+ };
277
+
278
+ const medScoreModules = {
279
+ 'PAIN & METRICS': 'academy.html#qualify-meddicc',
280
+ 'CHAMPION & EB': 'academy.html#stakeholder-mapping',
281
+ 'DECISION PROCESS & CRITERIA': 'academy.html#deal-progression',
282
+ 'COMPETITION & BLOCKERS': 'academy.html#meetings-demos',
283
+ 'PAPER PROCESS': 'academy.html#negotiation',
284
+ 'IMPLEMENTATION PLAN': 'academy.html#solution-architects'
285
+ };
286
+
287
+ const highScoreModules = {
288
+ 'PAIN & METRICS': 'academy.html#proposals',
289
+ 'CHAMPION & EB': 'academy.html#stakeholder-mapping',
290
+ 'DECISION PROCESS & CRITERIA': 'academy.html#negotiation',
291
+ 'COMPETITION & BLOCKERS': 'academy.html#forecasting',
292
+ 'PAPER PROCESS': 'academy.html#negotiation',
293
+ 'IMPLEMENTATION PLAN': 'academy.html#proposals'
294
+ };
295
+
296
+ if (percentage <= 30) {
297
+ return lowScoreModules[section] || 'academy.html';
298
+ } else if (percentage <= 60) {
299
+ return medScoreModules[section] || 'academy.html';
300
+ } else {
301
+ return highScoreModules[section] || 'academy.html';
302
+ }
303
+ }
304
+
305
  function generateExecutiveSummary(answers, overallScore, salesStage) {
306
  let weaknesses = [], summaryHTML = '<ul class="space-y-3 text-purple-100">';
307
  const metricsMotive = answers.find(a => a.section === 'PAIN & METRICS');