diff --git a/report-app/src/app/pages/report-viewer/report-viewer.html b/report-app/src/app/pages/report-viewer/report-viewer.html index 4b9d318..274842c 100644 --- a/report-app/src/app/pages/report-viewer/report-viewer.html +++ b/report-app/src/app/pages/report-viewer/report-viewer.html @@ -173,17 +173,25 @@

Repair System Prompt

@if (report.details.summary.aiSummary !== undefined) { - - - @defer (on interaction(aiAssistButton)) { - - } + + + Gemini Logo + AI Summary + +
+
+ } + + + + @defer (on interaction(aiAssistButton)) { + } @if (missingDeps().length > 0) { @@ -274,9 +282,7 @@

Generated applications

} @if (hasBuildFailureDuringA11yRepair(result)) { - Build failed after a11y repair + Build failed after a11y repair } @@ -343,13 +349,7 @@
[class.warn]="totalPercent < 90 && totalPercent >= 80" [class.error]="totalPercent < 80" > - {{ result.score.totalPoints }} / {{ result.score.maxOverallPoints }} points ({{ - totalPercent - - - - - + {{ result.score.totalPoints }} / {{ result.score.maxOverallPoints }} points ({{totalPercent }}%) diff --git a/runner/reporting/report-ai-summary.ts b/runner/reporting/report-ai-summary.ts index 323db82..7905d71 100644 --- a/runner/reporting/report-ai-summary.ts +++ b/runner/reporting/report-ai-summary.ts @@ -11,11 +11,10 @@ export async function summarizeReportWithAI( llm, `Strictly follow the instructions here. -- You are an expert in LLM-based code generation evaluation and quality assessments. - You will receive a report of an evaluation tool that describes LLM-generated code quality. Summarize/categorize the report. - Quote exact build failures, or assessment checks when possible. - Try to keep the summary short. e.g. cut off app names to reduce output length. -- Return aesthetically pleasing Markdown for the report. You can use inline styles for colors. +- Do not add an overview of scores unless necessary to illustrate common failures or low-hanging fruit. **Your primary goals (two)**: - Make it easy to understand what common failures are,