<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Gaokao Exam in English]]></title><description><![CDATA[Gaokao Exam in English]]></description><link>https://gaokaoexam.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 22:41:23 GMT</lastBuildDate><atom:link href="https://gaokaoexam.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[A release badge should be backed by an evidence record]]></title><description><![CDATA[A small directory can accidentally promise more than its data proves. If a record has a video URL and a download-looking button, a visitor may read both as…]]></description><link>https://gaokaoexam.hashnode.dev/a-release-badge-should-be-backed-by-an-evidence-record</link><guid isPermaLink="true">https://gaokaoexam.hashnode.dev/a-release-badge-should-be-backed-by-an-evidence-record</guid><dc:creator><![CDATA[Mr Zhu]]></dc:creator><pubDate>Thu, 15 Oct 2026 14:23:40 GMT</pubDate><content:encoded><![CDATA[<p>A small directory can accidentally promise more than its data proves. If a record has a video URL and a download-looking button, a visitor may read both as “this has been tested.” That interpretation survives even when the developer never meant to make the promise.</p>
<p>The useful distinction is between a creator’s release listing and an independent run of that release. One is evidence that a file is offered. The other needs a recorded build, environment and successful session. A boolean named playable loses that difference.</p>
<h2>Make the evidence determine the label</h2>
<p>In the current Merging Games catalog, the status vocabulary separates author downloads, showcases with play unverified, development projects and verified play sessions. The verified category exists as a definition; it does not mean that the directory has independently played its current listings.</p>
<p>A minimal record can start with the following illustrative structure. This is a proposed schema, not a claim that these exact field names are already deployed:</p>
<pre><code class="language-json">{
  "releaseEvidence": {
    "kind": "creator_download_listing",
    "sourceUrl": "https://example.org/project/releases",
    "checkedOn": "2026-10-08"
  },
  "playSession": null
}
</code></pre>
<p>A creator-download label can be derived from the first field. A verified-playable label should require the second field to contain a build identifier, environment and outcome. Null means no recorded play session, not a failed play session. A failed installation should be recorded separately, with its scope, rather than turn every release into a universal incompatibility claim.</p>
<h2>Keep the button consistent with the state</h2>
<p>The label is only half the interface. A showcase entry can offer “View publisher showcase.” A source-build project can offer “Read source and build requirements.” A development project can offer “Follow official development.” All three give the reader a useful next step without promising a ready-to-run package.</p>
<p>These distinctions also make maintenance easier. If an author moves a release page, the source-check record changes. If someone independently runs the release, a separate play record can be added. Neither event requires rewriting history to imply that the earlier state was stronger than it was.</p>
<h2>Check transitions as well as labels</h2>
<p>Useful checks include a record with a release and no play session, a showcase with no release, an unavailable source, and a failed session on one specific environment. Assert that the text and destination remain consistent with each case. Do not let a successful HTTP request stand in for starting a game.</p>
<p>I maintain <a href="https://merging.games/">Merging Games</a>, an English game-mashup directory with original creator links. This is a modest data-modeling problem, but it matters: the badge should explain what the record establishes, and the button should deliver exactly what it names.</p>
]]></content:encoded></item><item><title><![CDATA[The category-change bug hiding inside a tiny React picker]]></title><description><![CDATA[A random-content widget can look correct while using the wrong state. The awkward case is a select box that changes the category and draws a new item in…]]></description><link>https://gaokaoexam.hashnode.dev/the-category-change-bug-hiding-inside-a-tiny-react-picker</link><guid isPermaLink="true">https://gaokaoexam.hashnode.dev/the-category-change-bug-hiding-inside-a-tiny-react-picker</guid><dc:creator><![CDATA[Mr Zhu]]></dc:creator><pubDate>Tue, 08 Sep 2026 08:21:53 GMT</pubDate><content:encoded><![CDATA[<p>A random-content widget can look correct while using the wrong state. The awkward case is a select box that changes the category and draws a new item in the same event handler.</p>
<p>In the Break The Ice question picker, the person chooses Work, Parties, Team meetings, or Any group. The displayed question should match the selection immediately. A tiny implementation detail protects that promise: the handler passes the next category into the draw function.</p>
<p>This is a technical note from our own <a href="https://breaktheice.games/">Fun Icebreaker Questions project</a>. The same pattern applies to classroom prompt pickers, revision-card tools, and small practice generators.</p>
<h2>Why the next value deserves an argument</h2>
<p>A state setter schedules a render. It does not replace the value captured by the event handler that is already running. If a handler sets the category and then calls a function which reads the old category from that closure, the resulting question can come from the wrong pool.</p>
<p>The current component uses the shape `setCategory(nextCategory); chooseQuestion(nextCategory);`. The draw function resolves the pool from the argument. Subsequent clicks on Another question can use the category from the current render.</p>
<p>There is no need for an effect that draws whenever the category changes. Keeping the user action explicit also makes it easier to distinguish a category change from an ordinary rerender.</p>
<h2>Keep derived data derived</h2>
<p>The list of eligible questions is computed from the category and the question sections. It is not a second independently editable state value. That reduces the number of values which can disagree with each other.</p>
<p>For a small array, filtering cost is usually less interesting than correctness. The useful question is whether the selected category, the displayed count, and the random-choice pool refer to the same source data.</p>
<p>If you later add an age setting or a difficulty filter, resist copying the same selection rules into three components. A small pure function returning the eligible pool gives you one place to inspect empty-state behavior.</p>
<h2>Empty and one-item pools need different answers</h2>
<p>The current picker excludes the visible question before drawing. If that exclusion leaves no candidates, it falls back to the original pool. That makes a one-item category work rather than producing an undefined question.</p>
<p>An empty category is a separate product decision. A general-purpose generator should choose whether to show an empty message, disable the draw action, or fall back to a broader category. A silent fallback can surprise somebody who deliberately selected a narrow audience.</p>
<h2>Check the transition, not just the initial screen</h2>
<p>A useful manual test starts in Work, draws a question, changes to Parties, and reads the next output before touching the draw button again. Then copy the question and change categories once more. The copy-success label should clear because it describes the previous text.</p>
<p>These are small transitions, but they are the behavior people actually use. A page can render without errors and still break the promise of its dropdown.</p>
<p>Prepared with AI assistance from the current project source. This article describes the existing interaction and potential extensions; it does not claim those extensions are already implemented.</p>
]]></content:encoded></item><item><title><![CDATA[Recommendation APIs should report what they excluded]]></title><description><![CDATA[Why catalog, eligible, and excluded counts make an OSRS recommendation API easier to trust and debug.]]></description><link>https://gaokaoexam.hashnode.dev/recommendation-apis-should-report-what-they-excluded</link><guid isPermaLink="true">https://gaokaoexam.hashnode.dev/recommendation-apis-should-report-what-they-excluded</guid><category><![CDATA[osrs]]></category><dc:creator><![CDATA[Mr Zhu]]></dc:creator><pubDate>Mon, 17 Aug 2026 01:37:24 GMT</pubDate><content:encoded><![CDATA[<p>A recommendation response with three cards can hide two very different situations. The system may have found three options in a large qualified pool, or it may have found only three survivors after nearly every catalog entry failed a requirement. The user sees three either way. The operator should not.</p>
<p>The live OSRS Money Maker API returns <code>catalogSize</code>, <code>eligibleCount</code>, and <code>excludedCount</code> alongside the recommendations. On August 17 the catalog contained 104 reviewed methods. A Members request with 10 million GP, no Wilderness, no loaded skills, and Active effort had 12 eligible methods and 92 exclusions. Changing only the effort choice to Low effort produced 7 eligible methods and 97 exclusions.</p>
<p>An AFK-ish request with the same inputs produced zero eligible methods. That result does not prove the catalog has no AFK methods. With no Hiscores loaded, skill-gated methods are intentionally left out, while membership, effort, cash, Wilderness permission, live-price availability, and positive profit still have to pass.</p>
<p>These counts make a production problem easier to locate. If the catalog size suddenly drops, the registry or deployment may be incomplete. If the catalog stays stable but eligible count falls, a filter, price feed, or input change is the more likely cause. If eligible count looks healthy while the same three cards keep appearing, the issue is probably ranking or presentation.</p>
<p>The counts also keep an empty result honest. The API can say that it evaluated all 104 reviewed methods and found no safe match for the supplied constraints. That is stronger evidence than a generic “try again” message.</p>
<p><a href="https://osrsmoneymakers.com/">OSRS Money Maker</a> uses this split so its interface can distinguish the size of the reviewed catalog from the methods that fit one player right now. The numbers describe filtering behavior at that moment. They do not prove that a method will fill at the quoted market price.</p>
]]></content:encoded></item><item><title><![CDATA[I Tried to Put a Real Gaokao Math Paper Online]]></title><description><![CDATA[I built an English version of a real Gaokao math paper and learned why translation, private answer keys and handwritten scoring are hard.]]></description><link>https://gaokaoexam.hashnode.dev/i-tried-to-put-a-real-gaokao-math-paper-online</link><guid isPermaLink="true">https://gaokaoexam.hashnode.dev/i-tried-to-put-a-real-gaokao-math-paper-online</guid><category><![CDATA[education]]></category><dc:creator><![CDATA[Mr Zhu]]></dc:creator><pubDate>Fri, 31 Jul 2026 03:45:23 GMT</pubDate><content:encoded><![CDATA[<p>I am building a small website where people outside China can try a real Gaokao math paper in English.</p>
<p>I took the Gaokao myself. I still remember getting the first and probably easiest single-choice question in one subject wrong. After the exam I went back to the dorm. The Chinese words <code>wo cao</code>—roughly, “damn”—came straight out of my mouth, and I threw the books from my desk under the bed.</p>
<p>Years later, one small phrase brought that memory back: <code>单选题</code>.</p>
<h2>“Multiple choice” was not enough</h2>
<p>I had translated <code>单选题</code> as “multiple-choice question.” It looked normal. Then I read it again.</p>
<p>In Chinese, <code>单选</code> clearly means selecting one answer. In English, “multiple choice” tells you there are several options, but a student may still wonder whether one or several answers are allowed.</p>
<p>The label also controls the input component and the scoring rule.</p>
<p>I changed it to:</p>
<blockquote>
<p>Choose One Answer<br />Choose exactly one answer for each question.</p>
</blockquote>
<p>A small correction. Then I had to look again at how I stored every question.</p>
<h2>My first question file was too simple</h2>
<p>It was close to this:</p>
<pre><code class="language-yaml">number: 12
prompt: "..."
options:
  - A
  - B
  - C
  - D
</code></pre>
<p>Easy to display. Not very useful when I needed to answer a basic question: which Chinese line did this English sentence come from?</p>
<p>The internal record now keeps the Chinese source, corrections, the English translation, review status, source page and the scoring-model version. The browser receives a smaller object:</p>
<pre><code class="language-ts">type PublicQuestion = {
  id: string
  promptEnglish: string
  source: {
    name: string
    page: number
    status: string
  }
  translationReview: "approved" | "blocked"
  scoringStatus: "active" | "provisional"
}
</code></pre>
<p>I do not mark a translation as publishable only because the English reads smoothly. It has to be compared with the Chinese question and the review has to be recorded.</p>
<p>Most days I spend more time checking these fields than writing React. I did not expect that.</p>
<h2>I keep the answer key somewhere else</h2>
<p>A normal quiz app can put the correct answer in the same JSON object as the question and check it in the browser. Anyone can open DevTools, so I did not want to do that here.</p>
<p>The public paper file contains questions and source notes. It does not contain the answer key or hidden rubric. Objective answers are checked on the server against a separate scoring file.</p>
<p>Now some local scripts are more annoying. I have to load the public paper and private scoring data separately. Fine.</p>
<p>Submission brought another problem. When a student submits, the site freezes the answers, uploaded work, paper version and scoring version. A retry should not quietly grade a different version of the question.</p>
<p>None of this appeared in my original plan. My original plan was basically “translate it and add a timer.”</p>
<h2>Then I reached the written problems</h2>
<p>The Shanghai paper I am working with has 21 questions. The last five require written work.</p>
<p>On paper, a student writes equations, arrows, crossed-out lines and small notes wherever there is space. A large web textarea is not the same thing. A formula editor is also not how most students take the Gaokao.</p>
<p>A photo upload feels natural. It also gives me blurry images, cropped steps and handwriting that a model cannot read.</p>
<p>For now, the site treats a written score as an estimate. The uploaded image stays private. The review compares the submitted work with a versioned solution and explicit scoring points. If the image cannot be read with enough confidence, the result should be “unable to estimate.” It should not become zero.</p>
<p>I still do not know the best way to handle this.</p>
<p>OCR can recognize symbols. A multimodal model can explain a solution. I am not ready to turn those two facts into a confident score for every handwritten proof. Showing the reviewed solution and letting the student check their own work is less impressive, but sometimes it is more honest.</p>
<h2>Where the project is now</h2>
<p>The unfinished result is <a href="https://gaokaoexam.org/">GaokaoExam.org</a>. The current paper was independently digitized and translated. It is not an official English edition.</p>
<p>I started it because most people outside China only hear that the Gaokao is difficult. I wanted them to sit in front of one real question and try it.</p>
<p>The first version was supposed to be a quick project. It is online now, but I still open the written-answer page and think, no, this is not right yet.</p>
<p>I will probably change it again.</p>
]]></content:encoded></item></channel></rss>