aabroukh's picture
Add files using upload-large-folder tool
b136cbe verified
Raw History Blame Contribute Delete
2.7 kB
function InstructionsPage({ modality, onReady }) {
const isAudio = modality === 'audio';
return (
<div
style={{
minHeight: '100vh',
display: 'flex',
flexDirection: 'column',
gap: '1.5rem',
padding: '2rem',
maxWidth: '800px',
margin: '0 auto',
}}
>
<h2 style={{ margin: 0 }}>Task Instructions</h2>
<div style={{ display: 'flex', flexDirection: 'column', gap: '1rem', fontSize: '1.1rem' }}>
<p>
In this study, you will evaluate AI-generated responses to user queries. You will be presented with pairs of responses and asked to rate them.
</p>
<p>
<strong>What you'll do:</strong>
</p>
<ul>
<li>You will see a user query, and sometimes conversation history leading up to it</li>
<li>For each query, you'll evaluate two AI-generated responses (labeled A and B)</li>
<li>The responses will be presented as {isAudio ? 'audio' : 'text'}</li>
<li>Rate each response using the sliders provided</li>
<li>You must adjust each slider prior to submitting</li>
{isAudio && (
<li> You will be able to scrub the audio once a full listen is completed</li>
)}
</ul>
<p>
<strong>Rating criteria:</strong>
</p>
<ul>
<li><strong>Response Rating:</strong> Rate the overall quality of the response (what is said) to the user's query</li>
{isAudio && (
<li><strong>Audio Quality Rating:</strong> Rate the quality of the audio itself (sound quality, how it's said, etc.)</li>
)}
</ul>
<p>
<strong>Important notes:</strong>
</p>
<ul>
<li>Please complete the task in a quiet environment</li>
{isAudio && (
<li>Ensure your audio is working properly before starting</li>
)}
<li>The study will take approximately {isAudio ? '1 hour' : '15-20 minutes'} to complete</li>
<li>Please give your honest assessment of each response</li>
<li>There are no right or wrong answers—we're interested in your genuine opinion</li>
</ul>
</div>
<button
onClick={onReady}
style={{
marginTop: '2rem',
padding: '0.75rem 2rem',
fontSize: '1.1rem',
alignSelf: 'center',
cursor: 'pointer',
backgroundColor: '#007bff',
color: 'white',
border: 'none',
borderRadius: '5px',
}}
>
I'm Ready to Start
</button>
</div>
);
}
export default InstructionsPage;