<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Pam</title>
    <description>The latest articles on DEV Community by Pam (@pam9).</description>
    <link>https://dev.to/pam9</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4285279%2F53bc2033-b8a7-4db5-8eb8-388be796a255.png</url>
      <title>DEV Community: Pam</title>
      <link>https://dev.to/pam9</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pam9"/>
    <language>en</language>
    <item>
      <title>How I Stopped LLMs From Lying to Users (Building an AI Exam Simulator)</title>
      <dc:creator>Pam</dc:creator>
      <pubDate>Sat, 05 Dec 2026 18:27:20 +0000</pubDate>
      <link>https://dev.to/pam9/how-i-stopped-llms-from-lying-to-users-building-an-ai-exam-simulator-40no</link>
      <guid>https://dev.to/pam9/how-i-stopped-llms-from-lying-to-users-building-an-ai-exam-simulator-40no</guid>
      <description>&lt;p&gt;If you ask a frontier LLM to grade a mediocre essay, it will almost always tell the user they did a great job.&lt;/p&gt;

&lt;p&gt;That politeness is fine for a general chatbot. It is completely broken if you are building a product meant to help people actually improve their writing and pass a high-stakes exam like IELTS.&lt;/p&gt;

&lt;p&gt;While building Lexi9.com —an IELTS Writing exam simulator designed to help test-takers practice under real test conditions and actively push their scores higher—I ran into two hard problems that don't show up in standard AI tutorials: sycophantic grading and unit economics on free tiers.&lt;/p&gt;

&lt;p&gt;Here is how I solved both.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The LLM Sycophancy Problem
Out of the box, LLMs are RLHF-trained to be encouraging. If you pass a Band 6.0 essay to a standard prompt like "Grade this IELTS essay strictly from 1 to 9 and give feedback," the model will routinely hand out a 7.0 or 7.5.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;For a student paying $250+ to sit the real exam, a flattering AI is worse than no AI at all—it gives them false confidence right before test day.&lt;/p&gt;

&lt;p&gt;Three prompt and pipeline changes fixed this:&lt;/p&gt;

&lt;p&gt;Decouple error extraction from scoring. Never ask the model to output a score first. If it commits to 7.0 in the first token, it will rationalize that score for the rest of the response. Instead, force a structured JSON schema where the model must first list specific ceiling-capping flaws (e.g., under-developed body paragraphs, mechanical linkers, collocation errors) and only compute the four official rubric scores after the evidence is on the table.&lt;/p&gt;

&lt;p&gt;Anchor the rubric to negative constraints, not positive adjectives. Words like "good vocabulary" or "clear structure" are too vague for an LLM. Define hard ceilings instead (e.g., "If a body paragraph lists multiple ideas without developing one with a concrete explanation, cap Task Response at 6.0").&lt;/p&gt;

&lt;p&gt;Separate evaluation from coaching. Getting a brutal 6.0 doesn't help someone improve unless they can see how to fix their own habits. The second pass takes the user's exact weak sentences and shows side-by-side rewrites targeting their specific band-limiting patterns—so the simulator actually trains their writing instead of just handing out a number.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Why I Shipped Paid-Only (No Free Tier, No Subscriptions)
Every SaaS playbook says "launch freemium with a $19/month subscription." For an exam-prep simulator running heavy multi-pass LLM inference, that model breaks fast:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Freemium attracts tourists, not test-takers. Free AI tools get hammered by bots, prompt-injectors, and casual users burning API tokens with zero intent to convert.&lt;/p&gt;

&lt;p&gt;Subscriptions feel predatory for exam prep. Nobody wants to study for IELTS forever. Students study for 2 to 8 weeks, take the exam, and leave. Locking them into a recurring monthly charge they'll forget to cancel creates instant distrust and chargebacks.&lt;/p&gt;

&lt;p&gt;Instead, I went paid-only with one-time passes (7-day crunch, 30-day pass, and a 90-day pass that includes a free 30-day gift pass for a study partner) backed by a quiet daily fair-use cap so API costs stay predictable.&lt;/p&gt;

&lt;p&gt;The tradeoff is obvious: cold traffic converts harder when users can't click "Try for Free" immediately. That forces you to make the landing page proof—real graded breakdowns, UI clarity, and transparent exam simulation—do the heavy lifting before asking for a card.&lt;/p&gt;

&lt;p&gt;What I’m Testing Next&lt;br&gt;
Right now the core simulator and writing improvement workflow are live at lexi9.com, and the next technical challenge is building programmatic, high-signal sample breakdowns (comparing Band 6.0 vs. Band 8.5 responses to real exam prompts) without tripping search engines' scaled-content filters.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>indiehacker</category>
      <category>saas</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
