Brain Performance Baseline

Select a difficulty level, complete the baseline, and compare your results with clear target benchmarks.

Choose level
0%

Choose Difficulty Level

Basic uses the current setup. Intermediate and Advanced increase the challenge. Custom lets the trainer control the settings.

Target Benchmarks

Defaults are loaded automatically. Trainers can edit these before starting.

"); htmlParts.push(""); return htmlParts.join(""); } function downloadReportPdf() { var reportHtml = getPrintableReportHtml(); if (!reportHtml) { alert("The report is not ready yet. Please complete the baseline first."); return; } var printWindow = window.open("", "_blank"); if (!printWindow) { alert("Please allow pop-ups to export the PDF."); return; } printWindow.document.open(); printWindow.document.write(reportHtml); printWindow.document.close(); window.setTimeout(function () { try { printWindow.focus(); printWindow.print(); } catch (error) { console.error("PDF print failed", error); alert("PDF export could not start. Please use your browser print option."); } }, 500); } function sendReportEmail() { var email = prompt("Enter the email address where you want to send the report:"); if (!email) return; var isValid = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(email); if (!isValid) { alert("Please enter a valid email address."); return; } var subject = encodeURIComponent("Your Brain Performance Baseline Report"); var body = encodeURIComponent(getReportPlainText() + "\\n\\nNote: This static version prepares an email draft. Please attach the PDF after using Download as PDF, or connect a backend email service for automatic sending."); window.location.href = "mailto:" + encodeURIComponent(email) + "?subject=" + subject + "&body=" + body; alert("Your email draft is ready. Please press Send in your email app."); } function downloadJSON() { var blob = new Blob([JSON.stringify(appData, null, 2)], { type: "application/json" }); var url = URL.createObjectURL(blob); var a = document.createElement("a"); a.href = url; a.download = "brain-performance-baseline-report.json"; a.click(); URL.revokeObjectURL(url); } function escapeCSV(value) { var text = String(value !== null && value !== void 0 ? value : ""); if (/[",\n]/.test(text)) return '"' + text.replace(/"/g, '""') + '"'; return text; } function downloadCSV() { var rows = [["Metric", "User Score", "Target", "Gap", "Status", "Section"]]; appData.comparisons.forEach(function (c) { return rows.push([c.name, c.displayActual, c.displayTarget, c.gapText, c.status, c.section]); }); var csv = rows.map(function (row) { return row.map(escapeCSV).join(","); }).join("\n"); var blob = new Blob([csv], { type: "text/csv" }); var url = URL.createObjectURL(blob); var a = document.createElement("a"); a.href = url; a.download = "brain-performance-baseline-report.csv"; a.click(); URL.revokeObjectURL(url); } function resetBaseline() { if (!confirm("Reset and clear current responses?")) return; safeRemoveStorage("bpb_current_baseline_data"); location.reload(); }