Review and Edit AI-Generated Answers
{answers.length}
Total Answers
{finalizedCount}
Finalized
{answers.length - finalizedCount}
Pending Review
{Math.round((finalizedCount / answers.length) * 100) || 0}%
Complete
{#each answers as answer, index} {@const quality = getAnswerQuality(answer)}
Question {index + 1}
{answer.question}
{quality.label}
{#if answer.citations && answer.citations.length > 0}
{answer.citations.length} citation{answer.citations.length !== 1 ? 's' : ''}
{/if}
toggleFinalized(answer.id)} />
{answer.isFinalized ? 'Finalized' : 'Draft'}
{#if editingAnswer === answer.id}
Cancel
Save Changes
{:else}
{answer.finalAnswer || answer.aiGeneratedAnswer}
toggleSuggestions(answer.id)} > AI Suggestions for Improvement
▼
{#if showSuggestions[answer.id] && suggestions}
Quality Score:
{getQualityIcon(suggestions.qualityScore)} {suggestions.qualityScore}/100
{#if suggestions.suggestions.length > 0}
💡 Improvement Suggestions
{#each suggestions.suggestions as suggestion}
{suggestion}
applySuggestion(suggestion)} title="Apply this suggestion" > Apply
{/each}
{/if} {#if suggestions.sednaEnhancements.length > 0}
🏢 SEDNA-Specific Enhancements
{#each suggestions.sednaEnhancements as enhancement}
{enhancement}
applySuggestion(enhancement)} title="Apply this enhancement" > Apply
{/each}
{/if} {#if suggestions.strengths.length > 0}
✅ Strengths Identified
{#each suggestions.strengths as strength}
{strength}
{/each}
{/if} {#if suggestions.missingElements.length > 0}
⚠️ Missing Elements
{#each suggestions.missingElements as element}
{element}
{/each}
{/if}
{/if}
{#if answer.citations && answer.citations.length > 0}
References:
{#each answer.citations as citation, citIndex}
[{citIndex + 1}] {citation}
{/each}
{/if}
startEdit(answer.id)} >
Edit Answer
{/if}
{/each}
{#if !canProceed()}
Review Required
Please review and finalize all answers before proceeding to the final step.
{/if}
Back to Questions
Proceed to Download