" id="cb8"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="va">generate_synthetic_infotreatment</span> <span class="op">&lt;-</span> <span class="kw">function</span><span class="op">(</span><span class="va">conversation</span>, <span class="va">treated</span><span class="op">)</span> <span class="op">{</span></span>
<span>  </span>
<span>  <span class="co"># Extract key initial answers (gender, birth year, familiarity with AI)</span></span>
<span>  <span class="va">answers_o