point rows with place, per-kind hours, game-fit field, credit tiers, stricter checks
Browse filesFiles changed (4)
- app.js+129-78
- data.json+348-103
- index.html+19-7
- style.css+27-2
17 unmodified lines1819202122232425262728293031323334353637383940414243444546474849501 unmodified line525354555657585960616263641 unmodified line6667686970717213 unmodified lines868788899091929394959697989910010110210310410510610710810911011111211312 unmodified lines1261271281291301311321331343 unmodified lines1381391401411421431 unmodified line14514614714814915015115215311 unmodified lines1651661671681691701711721731741751761771781791801811821831841851861871881891904 unmodified lines1951961971981992002012022032042 unmodified lines2072082092102112122132142152162172182192207 unmodified lines22822923023123223323423523623723823924024124224324424524624724824910 unmodified lines2602612622632642652662672682 unmodified lines2712722732742752762772782792804 unmodified lines28528628728828929029129229329429529629729817 unmodified linesdrop: ["Click to choose files, or drop them here", "点击选择文件,或拖到这里"],drop_sub: ["png · jpg · webp · mp4 · webm · mov · txt · md", "png · jpg · webp · mp4 · webm · mov · txt · md"],sec_ref: ["Reference", "素材"], sec_task: ["Task", "题目"], sec_you: ["Credit", "署名"],h_len: ["line {i}: {a}–{b} words needed", "第 {i} 行:需要 {a}–{b} 个字"],h_where: ["line {i}: add where the reference shows it, e.g. (img 2)", "第 {i} 行:请注明素材里的位置,比如(图 2)"],h_negative: ["line {i}: write what must be there, not what must be absent", "第 {i} 行:请写“要有什么”,不要写“不能有什么”"],h_vague: ["line {i}: name something that can be seen or tried", "第 {i} 行:请写看得到、试得出的具体内容"],h_need: ["at least {m}", "至少 {m} 条"], ex_ref: ["Reference", "素材"], ex_game: ["Target game", "目标游戏"],ex_idea: ["What should the AI build?", "想让 AI 做成什么"], ex_edit: ["Follow-up edit", "后续修改"],};let D, lang = "en", OA = null, screenState = null, verdictShown = false, files = [], exTab = 0;const li = () => D.langs.indexOf(lang);const fmt = (s, kw = {}) => s.replace(/\{(\w+)(?::\.(\d)f)?\}/g, (_, k, p) => p != null ? Number(kw[k]).toFixed(+p) : kw[k] ?? "");const t = (k, kw) => fmt((D.text[k] || LOCAL[k])[li()], kw), msg = (k, kw) => fmt(D.msg[k][li()], kw);const rich = s => esc(s).replace(/\*\*(.+?)\*\*/g, "<b>$1</b>").replace(/`(.+?)`/g, "<code>$1</code>").replace(/^### (.*)$/m, "<h3>$1</h3>").replace(/\n\n/g, "<br>");// ---------------------------------------------------------------- checks (mirror of validator.py)const CJK = /[㐀-鿿]/g;const units = s => (s.match(CJK) || []).length + (s.replace(CJK, " ").match(/\p{L}+|\d+/gu) || []).length;const WHERE = /\d{1,2}:\d{2}|图\s*\d|第\s*\d+\s*[段张页章幕]|\b(imgs?|images?|photos?|pictures?|figs?|paras?|paragraphs?|ch|chapters?|pages?|pp?)\.?\s*\d|段落|开头|结尾|\b(opening|ending|first|last) (scene|shot|line|paragraph|image)/i;const RANGE = /^\s*(\d{1,2}:)?\d{1,2}:\d{2}(\.\d+)?\s*[-–~到至]\s*(\d{1,2}:)?\d{1,2}:\d{2}(\.\d+)?\s*$/;const NEGATIVE = /^\s*(no\b|not\b|never\b|don'?t\b|must not\b|should not\b|without\b|不能|不要|不可|不许|没有|禁止)/i;const VAGUE = /\b(awesome|beautiful|realistic|faithful|accurate|high[- ]quality|looks? like the (video|image|reference|original))\b|好看|好玩|逼真|还原度高|高质量|精美|酷炫|和(原片|视频|图片|素材)一样/i;const ext = n => (n.match(/\.[^.]+$/) || [""])[0].toLowerCase();const kind = n => D.ext.image.includes(ext(n)) ? "image" : D.ext.video.includes(ext(n)) ? "video" : D.ext.text.includes(ext(n)) ? "text" : "";const lines = s => (s || "").split("\n").map(x => x.replace(/^\s*(?:[-*•·]|\d+[.、))])\s*/, "").trim()).filter(Boolean);const norm = p => p.replace(/[((][^()()]*[))]/g, " ").replace(/[^\p{L}\p{N}]+/gu, " ").trim().toLowerCase();const clipSeconds = r => { const sec = x => x.trim().split(":").reduce((a, b) => a * 60 + parseFloat(b), 0); const [a, b] = r.trim().split(/\s*[-–~到至]\s*/); return Math.round(sec(b) - sec(a)); };const shorten = p => units(p) <= 12 ? p : p.split(/\s+/).slice(0, 10).join(" ").slice(0, 40) + "…";const pointIssue = p => { const L = D.limits.point, n = units(p); return n < L[0] || n > L[1] ? "len" : !WHERE.test(p) ? "where" : NEGATIVE.test(p) ? "negative" : VAGUE.test(p) ? "vague" : ""; };function knownGames(genres) {const ids = [];1 unmodified lineif (genres.includes("other")) for (const id of D.game_ids) if (!ids.includes(id)) ids.push(id);return ids;}function screen(genres, hours, modding) {const games = knownGames(genres);if (!games.length) return {ok: false, message: msg("need_genre")};if (!hours) return {ok: false, message: msg("need_hours_answer")};if (!modding) return {ok: false, message: msg("need_modding_answer")};if (hours === "lt10" && !D.makers.includes(modding)) return {ok: false, message: msg("too_new")};return {ok: true, games};}const videoSeconds = f => new Promise(res => { const v = document.createElement("video"); v.preload = "metadata";v.onloadedmetadata = () => { URL.revokeObjectURL(v.src); res(v.duration); }; v.onerror = () => res(NaN); v.src = URL.createObjectURL(f); });1 unmodified lineasync function check(v) {const errors = [], warnings = [], M = D.max, L = D.limits, MB = 1e6;if (!screenState) return {errors: [msg("screen_first")]};const points = Object.fromEntries(D.dims.map(d => [d.id, lines(v[d.id])]));if (!D.game_track[v.game]) errors.push(msg("game")); else if (!screenState.games.includes(v.game)) errors.push(msg("game_not_known"));if (!v.category) errors.push(msg("category"));if (!v.license) errors.push(msg("license"));13 unmodified linesif (v.license === "third_party") { if (files.length) errors.push(msg("third_files")); if (!v.link) errors.push(msg("third_link")); }if (["public_domain", "cc"].includes(v.license) && !v.source) errors.push(msg("source"));if (v.link && !files.length && !v.time_range) warnings.push(msg("w_range_link"));if (v.time_range && RANGE.test(v.time_range)) { const n = clipSeconds(v.time_range); if (n < c0 || n > c1) errors.push(msg("clip_len", {a: c0, b: c1, x: v.time_range, n})); }else if (hasVideo) for (const f of files.filter(f => kind(f.name) === "video")) { // a whole uploaded video is the referenceconst n = Math.round(await videoSeconds(f));if (n > c1) errors.push(msg("clip_len", {a: c0, b: c1, x: f.name, n})); else if (!(n >= c0)) warnings.push(msg("w_range_video"));}if (kinds.length && kinds.every(k => k === "image") && !v.link && files.length < L.images) errors.push(msg("few_images", {m: L.images, n: files.length}));for (const f of files) if (kind(f.name) === "text" && f.size <= M.text) { const n = units(await f.text()); if (n < L.text_units) errors.push(msg("short_text", {x: f.name, n, m: L.text_units})); }const n = units(v.idea);if (n < L.idea[0] || n > L.idea[1]) errors.push(msg("idea_len", {a: L.idea[0], b: L.idea[1], n}));let enough = true;for (const d of D.dims) { const k = points[d.id].length, name = d.label[li()];if (k < d.min) { errors.push(msg("dim_min", {d: name, m: d.min, n: k})); enough = false; }if (k > L.points_per_dim) errors.push(msg("dim_max", {d: name, m: L.points_per_dim, n: k})); }const flat = D.dims.flatMap(d => points[d.id]);if (enough && flat.length < L.points_total) errors.push(msg("points_total", {m: L.points_total, n: flat.length}));const norms = flat.map(norm), q = list => list.map(p => `“${shorten(p)}”`).join(" / ");for (const [key, bad] of [["point_len", flat.filter(p => units(p) < L.point[0] || units(p) > L.point[1])], ["point_where", flat.filter(p => !WHERE.test(p))],["point_negative", flat.filter(p => NEGATIVE.test(p))], ["point_vague", flat.filter(p => VAGUE.test(p))],["point_dup", [...new Set(flat.filter(p => norms.filter(x => x === norm(p)).length > 1))].sort()]])if (bad.length) errors.push(msg(key, {a: L.point[0], b: L.point[1], x: q(bad)}));if (v.edit && (units(v.edit) < L.edit[0] || units(v.edit) > L.edit[1])) errors.push(msg("edit_len", {a: L.edit[0], b: L.edit[1], n: units(v.edit)}));const visibility = v.license === "third_party" ? "private" : "public";if (visibility === "private") warnings.push(msg("w_private"));12 unmodified linesconst radio = name => ($(`input[name=${name}]:checked`) || {}).value || "";const boxes = name => $$(`input[name=${name}]:checked`).map(x => x.value);const val = id => $("#" + id).value.trim();const form = () => ({game: $("#game").value, category: radio("category"), link: val("link"), time_range: val("time_range"),license: radio("license"), source: val("source"), idea: val("idea"), content: $("#content").value, function: $("#function").value,visual: $("#visual").value, edit: val("edit"), nickname: val("nickname"), email: val("email"), ack: $("#ack").checked, consent: $("#consent").checked});// ---------------------------------------------------------------- renderingfunction options(el, name, type, key) { // radio / checkbox group that keeps its answers across languages3 unmodified linesreturn `<label class="opt"><input type="${type}" name="${name}" value="${id}"${keep.includes(id) ? " checked" : ""}><span>${esc(a)}${b ? ` <em>→ ${esc(b)}</em>` : ""}</span></label>`;}).join("");}function fillGames(preferred) {const sel = $("#game"), cur = preferred || sel.value, ids = screenState ? screenState.games : [];const label = Object.fromEntries(D.choices.games[lang].map(([l, id]) => [id, l]));1 unmodified linesel.value = ids.includes(cur) ? cur : ids[0] || "";}function showVerdict() {const g = boxes("genres"), s = screen(g, radio("hours"), radio("modding"));$("#verdict").innerHTML = s.ok ? rich(g.includes("other") ? t("v_ok_other") : t("v_ok", {games: s.games.map(x => D.game_short[lang][x]).join(", ")})): `${rich(t("v_no"))}${esc(s.message)}`;$("#verdict").className = "verdict " + (s.ok ? "ok" : "wait"); return s;}function renderFiles() {11 unmodified linesconst media = e.images.length ? `<div class="gallery">${e.images.map(([src, cap]) => `<a href="${src}" target="_blank" rel="noopener"><img src="${src}" alt="${esc(cap)}" loading="lazy"><span>${esc(cap.replace("img", lang === "zh" ? "图" : "img"))}</span></a>`).join("")}</div>`: e.video ? `<video src="${e.video}" controls preload="metadata"></video>`: `<figure class="quote"><figcaption>${t("ex_excerpt")}</figcaption>${e.quote.map(p => `<p>${esc(p)}</p>`).join("")}</figure>`;const dims = D.dims.map(d => `<div class="dim ${d.id}"><h4>${esc(d.label[i])}</h4><ul>${e.points[d.id].map(p => `<li>${esc(p[i])}</li>`).join("")}</ul></div>`).join("");$("#ex_body").innerHTML = `<div class="ex_media">${media}<p class="ex_ref"><b>${t("ex_ref")}</b> ${esc(e.reference[i])}</p>${e.credit ? `<p class="credit">${esc(e.credit)}</p>` : ""}</div>` +`<div class="ex_text"><div class="chips"><span>${esc(e.game[i])}</span><span>${esc(e.category[i])}</span></div>` +`<h4>${t("ex_idea")}</h4><p>${esc(e.idea[i])}</p><h4>${t("sum_points")}</h4><div class="dims">${dims}</div>` +`<h4>${t("ex_edit")}</h4><p>${esc(e.edit[i])}</p><p class="result">${esc(e.result[i])}</p></div>`;}function counters() {const L = D.limits, n = units($("#idea").value), c = $("#idea_n");c.textContent = `${n} / ${L.idea[0]}–${L.idea[1]} ${t("words")}`; c.className = "count " + (!n ? "" : n >= L.idea[0] && n <= L.idea[1] ? "good" : "bad");const e = units($("#edit").value), ce = $("#edit_n");ce.textContent = e ? `${e} / ${L.edit[0]}–${L.edit[1]} ${t("words")}` : ""; ce.className = "count " + (e >= L.edit[0] && e <= L.edit[1] ? "good" : "bad");let total = 0;for (const d of D.dims) {const ps = lines($("#" + d.id).value), el = $(`#${d.id}_n`); total += ps.length;let hint = ""; ps.some((p, k) => { const x = pointIssue(p); if (x) hint = t("h_" + x, {i: k + 1, a: L.point[0], b: L.point[1]}); return x; });const ok = ps.length >= d.min && ps.length <= L.points_per_dim && !hint;el.innerHTML = `<b>${ps.length}</b> ${t("points_unit")} · ${t("h_need", {m: d.min})}${hint ? ` · <span>${esc(hint)}</span>` : ""}`;el.className = "count " + (!ps.length ? "" : ok ? "good" : "bad");}const tt = $("#pts_n"); tt.textContent = `${total} / ≥ ${L.points_total}`; tt.className = "pill " + (total >= L.points_total ? "good" : "");}function render() {document.documentElement.lang = lang === "zh" ? "zh-CN" : "en"; document.title = t("title");4 unmodified linesrenderExample();for (const el of $$("[data-t]")) el.textContent = t(el.dataset.t);for (const el of $$("[data-ph]")) el.placeholder = t(el.dataset.ph);options($("#genres"), "genres", "checkbox", "genres"); options($("#hours"), "hours", "radio", "hours");options($("#modding"), "modding", "radio", "modding"); options($("#category"), "category", "radio", "categories");options($("#license"), "license", "radio", "licenses");fillGames(); $("#notes").innerHTML = D.notes[lang]; renderAuth(); counters();if (verdictShown) showVerdict();$("#result").innerHTML = ""; $("#result").className = ""; stale();}2 unmodified lines// ---------------------------------------------------------------- actionsfunction doScreen() {const s = showVerdict(); verdictShown = true;if (s.ok) {screenState = {genres: boxes("genres"), genre_other: val("genre_other").slice(0, 200), hours: radio("hours"), modding: radio("modding"),profile: val("profile").slice(0, 300), games: s.games};fillGames();} else screenState = null;const was = $("#form").hidden; $("#form").hidden = !s.ok;if (s.ok && was) $("#s2").scrollIntoView({behavior: "smooth", block: "start"});}async function doCheck() {const v = form(), r = await check(v), box = $("#result");if (r.errors.length) { box.className = "bad"; box.innerHTML = `<h3>${t("problems").replace(/^#+ /, "")}</h3><ul>${r.errors.map(e => `<li>${esc(e)}</li>`).join("")}</ul>`; stale(); return null; }7 unmodified lines$("#submit").disabled = false; return {v, r};}async function makeId(v, points) {const parts = [v.email, v.game, v.idea, v.link, ...D.dims.flatMap(d => points[d.id]), ...files.map(f => f.name + ":" + f.size)];const h = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(parts.join("\0")));const hex = [...new Uint8Array(h)].map(b => b.toString(16).padStart(2, "0")).join("").slice(0, 6);return `C-${v.game}-${new Date().toISOString().slice(0, 10).replace(/-/g, "")}-${hex}`;}async function doSubmit() {const c = await doCheck(); if (!c) return; // the form may have changed since the check: check againconst box = $("#result");if (!OA) { box.className = "bad"; box.innerHTML = `<h3>${t("need_signin")}</h3>`; $("#auth").scrollIntoView({behavior: "smooth", block: "center"}); return; }const {v, r} = c, id = await makeId(v, r.points);const stored = files.map((f, i) => `refs/${id}/${String(i + 1).padStart(2, "0")}${ext(f.name)}`);const record = {submission_id: id, submitted_at: new Date().toISOString().replace(/\.\d+Z$/, "Z"), status: "pending_review", language: lang,contributor: {nickname: v.nickname, email: v.email, hf_user: OA.userInfo.preferred_username || "", genres: screenState.genres,genre_other: screenState.genre_other, hours: screenState.hours, modding: screenState.modding, profile: screenState.profile},target_game: v.game, track: D.game_track[v.game], category: v.category, modality: r.modality, visibility: r.visibility,idea: v.idea, points: r.points, edit_request: v.edit,reference: {files: files.map((f, i) => ({path: stored[i], name: f.name})), link: v.link, time_range: v.time_range, license: v.license, source: v.source}};$("#submit").disabled = true; box.className = ""; box.innerHTML = `<h3>${t("sending")}</h3>`;try {10 unmodified lines}// ---------------------------------------------------------------- draft kept across the sign-in redirect (files cannot be kept)const TEXT_FIELDS = ["genre_other", "profile", "link", "time_range", "source", "idea", "content", "function", "visual", "edit", "nickname", "email"];function saveDraft() {const d = {lang, genres: boxes("genres"), hours: radio("hours"), modding: radio("modding"), shown: !$("#form").hidden, game: $("#game").value,category: radio("category"), license: radio("license"), ack: $("#ack").checked, consent: $("#consent").checked};for (const k of TEXT_FIELDS) d[k] = $("#" + k).value;try { sessionStorage.setItem("ga-submit-draft", JSON.stringify(d)); } catch (e) {}2 unmodified lineslet d; try { d = JSON.parse(sessionStorage.getItem("ga-submit-draft") || "null"); } catch (e) {}if (!d) return;lang = d.lang || lang; render();for (const g of d.genres || []) { const x = $(`input[name=genres][value=${g}]`); if (x) x.checked = true; }for (const k of ["hours", "modding", "category", "license"]) { const x = d[k] && $(`input[name=${k}][value=${d[k]}]`); if (x) x.checked = true; }for (const k of TEXT_FIELDS) $("#" + k).value = d[k] || "";$("#ack").checked = !!d.ack; $("#consent").checked = !!d.consent; counters();if (d.shown) { doScreen(); fillGames(d.game); }}async function auth() {4 unmodified linesasync function main() {D = await (await fetch("data.json")).json();await auth(); render(); loadDraft();$$("#lang button").forEach(b => b.onclick = () => { lang = b.dataset.lang; render(); });$("#continue").onclick = doScreen; $("#check").onclick = doCheck; $("#submit").onclick = doSubmit;$("#genres").addEventListener("change", () => { // the target-game list follows the ticked kinds at onceif (!screenState) return;const s = screen(boxes("genres"), radio("hours"), radio("modding"));if (s.ok) { screenState = {...screenState, genres: boxes("genres"), games: s.games}; fillGames(); showVerdict(); }});const add = list => { for (const f of list) if (!files.some(x => x.name === f.name && x.size === f.size)) files.push(f); renderFiles(); stale(); };$("#file").onchange = e => { add(e.target.files); e.target.value = ""; };const drop = $("#drop");17 unmodified lines1819202122232425262728293031323334353637383940414243444546474849505152531 unmodified line55565758596061626364656667681 unmodified line7071727374757613 unmodified lines9091929394959697989910010110210310410510610710810911011111211311411511611711811912012112 unmodified lines1341351361371381391401411421431441453 unmodified lines1491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851 unmodified line18718818919019119219319419519611 unmodified lines2082092102112122132142152162172182192202212222232242252262272282294 unmodified lines2342352362372382392402412422432442 unmodified lines2472482492502512522532542552562572582592602612627 unmodified lines27027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030110 unmodified lines3123133143153163173183193202 unmodified lines3233243253263273283293303313323334 unmodified lines33833934034134234334434534634734834917 unmodified linesdrop: ["Click to choose files, or drop them here", "点击选择文件,或拖到这里"],drop_sub: ["png · jpg · webp · mp4 · webm · mov · txt · md", "png · jpg · webp · mp4 · webm · mov · txt · md"],sec_ref: ["Reference", "素材"], sec_task: ["Task", "题目"], sec_you: ["Credit", "署名"],h_len: ["{a}–{b} {u}", "{a}–{b} {u}"], h_where: ["add where the reference shows it", "请填素材里的位置"],h_negative: ["write what must be there, not what must be absent", "请写“要有什么”,不要写“不能有什么”"],h_vague: ["name something that can be seen or tried", "请写看得到、试得出的具体内容"],ex_ref: ["Reference", "素材"], ex_fit: ["Why this game fits", "为什么适合这款游戏"],ex_idea: ["What should the AI build?", "想让 AI 做成什么"], ex_edit: ["Follow-up edit", "后续修改"], hours_ph: ["Hours played…", "玩了多久……"],};let D, lang = "en", OA = null, screenState = null, verdictShown = false, files = [], exTab = 0;const li = () => D.langs.indexOf(lang);const fmt = (s, kw = {}) => s.replace(/\{(\w+)(?::\.(\d)f)?\}/g, (_, k, p) => p != null ? Number(kw[k]).toFixed(+p) : kw[k] ?? "");const t = (k, kw) => fmt((D.text[k] || LOCAL[k])[li()], {u: D.unit[lang], ...kw}), msg = (k, kw) => fmt(D.msg[k][li()], {u: D.unit[lang], ...kw});const rich = s => esc(s).replace(/\*\*(.+?)\*\*/g, "<b>$1</b>").replace(/`(.+?)`/g, "<code>$1</code>").replace(/^### (.*)$/m, "<h3>$1</h3>").replace(/\n\n/g, "<br>");// ---------------------------------------------------------------- checks (mirror of validator.py)const CJK = /[㐀-鿿]/g, WORD = /\p{L}+|\d+/gu;const cjkN = s => (s.match(CJK) || []).length, wordN = s => (s.replace(CJK, " ").match(WORD) || []).length;const size = s => lang === "zh" ? cjkN(s) + Math.floor((3 * wordN(s) + 1) / 2) : wordN(s) + Math.floor((2 * cjkN(s) + 2) / 3);const lim = k => D.limits[k].map(x => Math.floor(x * D.scale[lang]));const WHERE = /\d{1,2}:\d{2}|图\s*\d|第\s*\d+\s*[段张页章幕]|\b(imgs?|images?|photos?|pictures?|figs?|paras?|paragraphs?|ch|chapters?|pages?|pp?)\.?\s*\d|段落|开头|结尾|\b(opening|ending|first|last) (scene|shot|line|paragraph|image)/i;const RANGE = /^\s*(\d{1,2}:)?\d{1,2}:\d{2}(\.\d+)?\s*[-–~到至]\s*(\d{1,2}:)?\d{1,2}:\d{2}(\.\d+)?\s*$/;const NEGATIVE = /^\s*(no\b|not\b|never\b|don'?t\b|must not\b|should not\b|without\b|不能|不要|不可|不许|没有|禁止)/i;const VAGUE = /\b(awesome|beautiful|realistic|faithful|accurate|high[- ]quality|looks? like the (video|image|reference|original))\b|好看|好玩|逼真|还原度高|高质量|精美|酷炫|和(原片|视频|图片|素材)一样/i;const ext = n => (n.match(/\.[^.]+$/) || [""])[0].toLowerCase();const kind = n => D.ext.image.includes(ext(n)) ? "image" : D.ext.video.includes(ext(n)) ? "video" : D.ext.text.includes(ext(n)) ? "text" : "";const norm = p => p.replace(/[((][^()()]*[))]/g, " ").replace(/[^\p{L}\p{N}]+/gu, " ").trim().toLowerCase();const seconds = x => x.trim().split(":").reduce((a, b) => a * 60 + parseFloat(b), 0);const clipBounds = r => r.trim().split(/\s*[-–~到至]\s*/).map(seconds);const lowEffort = s => { const tk = [...(s.match(CJK) || []), ...(s.replace(CJK, " ").match(WORD) || [])].map(x => x.toLowerCase());return /(.)\1{4,}/u.test(s) || (tk.length >= 10 && new Set(tk).size / tk.length < 0.34); };const quote = xs => xs.map(x => `“${x.length <= 44 ? x : x.slice(0, 42) + "…"}”`).join(" / ");const pointIssue = p => { const [a, b] = lim("point"), n = size(p.text); return n < a || n > b ? "len" : NEGATIVE.test(p.text) ? "negative" : VAGUE.test(p.text) ? "vague" : !WHERE.test(p.where) ? "where" : ""; };function knownGames(genres) {const ids = [];1 unmodified lineif (genres.includes("other")) for (const id of D.game_ids) if (!ids.includes(id)) ids.push(id);return ids;}function screen(genres, modding) { // genres: {kind: hours band}const kinds = Object.keys(genres);if (!kinds.length) return {ok: false, message: msg("need_genre")};if (kinds.some(g => !genres[g])) return {ok: false, message: msg("need_hours_answer")};if (!modding) return {ok: false, message: msg("need_modding_answer")};const ok = kinds.filter(g => genres[g] !== "lt10" || D.makers.includes(modding));if (!ok.length) return {ok: false, message: msg("too_new")};return {ok: true, games: knownGames(ok), skipped: kinds.filter(g => !ok.includes(g))};}const videoSeconds = f => new Promise(res => { const v = document.createElement("video"); v.preload = "metadata";v.onloadedmetadata = () => { URL.revokeObjectURL(v.src); res(v.duration); }; v.onerror = () => res(NaN); v.src = URL.createObjectURL(f); });1 unmodified lineasync function check(v) {const errors = [], warnings = [], M = D.max, L = D.limits, MB = 1e6;if (!screenState) return {errors: [msg("screen_first")]};const points = v.points;if (!D.game_track[v.game]) errors.push(msg("game")); else if (!screenState.games.includes(v.game)) errors.push(msg("game_not_known"));if (!v.category) errors.push(msg("category"));if (!v.license) errors.push(msg("license"));13 unmodified linesif (v.license === "third_party") { if (files.length) errors.push(msg("third_files")); if (!v.link) errors.push(msg("third_link")); }if (["public_domain", "cc"].includes(v.license) && !v.source) errors.push(msg("source"));if (v.link && !files.length && !v.time_range) warnings.push(msg("w_range_link"));let clip = null;if (v.time_range && RANGE.test(v.time_range)) { clip = clipBounds(v.time_range); const n = Math.round(clip[1] - clip[0]); if (n < c0 || n > c1) errors.push(msg("clip_len", {a: c0, b: c1, x: v.time_range, n})); }else if (hasVideo) for (const f of files.filter(f => kind(f.name) === "video")) { // a whole uploaded video is the referenceconst n = Math.round(await videoSeconds(f));if (n > c1) errors.push(msg("clip_len", {a: c0, b: c1, x: f.name, n})); else if (!(n >= c0)) warnings.push(msg("w_range_video"));}if (kinds.length && kinds.every(k => k === "image") && !v.link && files.length < L.images) errors.push(msg("few_images", {m: L.images, n: files.length}));const tm = Math.floor(L.text_units * D.scale[lang]);for (const f of files) if (kind(f.name) === "text" && f.size <= M.text) { const n = size(await f.text()); if (n < tm) errors.push(msg("short_text", {x: f.name, n, m: tm})); }const length = (key, text, label) => { const [a, b] = lim(key), n = size(text); if (n < a || n > b) errors.push(msg(label, {a, b, n})); };length("idea", v.idea, "idea_len"); length("fit", v.fit, "fit_len"); if (v.edit) length("edit", v.edit, "edit_len");for (const d of D.dims) { const k = points[d.id].length, name = d.label[li()];if (k < d.min) errors.push(msg("dim_min", {d: name, m: d.min, n: k}));if (k > L.points_per_dim) errors.push(msg("dim_max", {d: name, m: L.points_per_dim, n: k})); }const flat = D.dims.flatMap(d => points[d.id]), texts = flat.map(p => p.text), norms = texts.map(norm), [a, b] = lim("point"), all = [v.idea, v.fit, v.edit, ...texts].filter(Boolean);for (const [key, bad] of [["point_len", texts.filter(x => size(x) < a || size(x) > b)], ["point_where", flat.filter(p => !WHERE.test(p.where)).map(p => p.text || "…")],["point_negative", texts.filter(x => NEGATIVE.test(x))], ["point_vague", texts.filter(x => VAGUE.test(x))],["point_dup", [...new Set(texts.filter(x => x && norms.filter(y => y === norm(x)).length > 1))].sort()],["low_effort", all.filter(lowEffort)], ["copied", all.filter(x => D.copied.includes(norm(x)))]])if (bad.length) errors.push(msg(key, {a, b, x: quote(bad)}));const nImg = kinds.filter(k => k === "image").length;if (nImg && !v.link) { const cited = flat.flatMap(p => [...p.where.matchAll(/(?:imgs?|images?|photos?|pictures?|图)\.?\s*(\d+)/gi)].map(m => +m[1]));if (cited.length && Math.max(...cited) > nImg) errors.push(msg("where_img", {n: Math.max(...cited), m: nImg})); }if (clip) for (const p of flat) { const out = (p.where.match(/\d{1,2}:\d{2}(?::\d{2})?/g) || []).filter(x => !((clip[0] - 1 <= seconds(x) && seconds(x) <= clip[1] + 1) || seconds(x) <= clip[1] - clip[0] + 1));if (out.length) { errors.push(msg("where_time", {x: out[0], r: v.time_range})); break; } }const visibility = v.license === "third_party" ? "private" : "public";if (visibility === "private") warnings.push(msg("w_private"));12 unmodified linesconst radio = name => ($(`input[name=${name}]:checked`) || {}).value || "";const boxes = name => $$(`input[name=${name}]:checked`).map(x => x.value);const val = id => $("#" + id).value.trim();const genreHours = () => Object.fromEntries(boxes("genres").map(g => [g, ($(`#hours select[data-g=${g}]`) || {}).value || ""]));const readPoints = (keepEmpty = false) => Object.fromEntries(D.dims.map(d => [d.id, $$(`#${d.id}_rows .point`).map(r => ({text: $("textarea", r).value.trim(), where: $("input", r).value.trim()})).filter(p => keepEmpty || p.text || p.where)]));const form = () => ({game: $("#game").value, category: radio("category"), link: val("link"), time_range: val("time_range"), license: radio("license"),source: val("source"), fit: val("fit"), idea: val("idea"), points: readPoints(), edit: val("edit"), nickname: val("nickname"), email: val("email"),ack: $("#ack").checked, consent: $("#consent").checked});// ---------------------------------------------------------------- renderingfunction options(el, name, type, key) { // radio / checkbox group that keeps its answers across languages3 unmodified linesreturn `<label class="opt"><input type="${type}" name="${name}" value="${id}"${keep.includes(id) ? " checked" : ""}><span>${esc(a)}${b ? ` <em>→ ${esc(b)}</em>` : ""}</span></label>`;}).join("");}function renderHours(preset) { // one hours question per ticked kindconst keep = preset || genreHours(), label = Object.fromEntries(D.choices.genres[lang].map(([l, id]) => [id, l.split(" → ")[0]]));const kinds = boxes("genres");$("#hours").innerHTML = kinds.length ? kinds.map(g => `<label class="hrow"><span>${esc(label[g])}</span><select data-g="${g}" aria-label="${esc(label[g])}">` +`<option value="">${t("hours_ph")}</option>${D.choices.hours[lang].map(([l, id]) => `<option value="${id}"${keep[g] === id ? " selected" : ""}>${esc(l)}</option>`).join("")}</select></label>`).join(""): `<p class="info">${t("q_hours_none")}</p>`;}function pointRow(d, p = {text: "", where: ""}) {const row = document.createElement("div"); row.className = "point";row.innerHTML = `<span class="pn"></span><div class="pbody"><textarea rows="2"></textarea>` +`<div class="pwhere"><input type="text"><button type="button" class="x">×</button></div><div class="count"></div></div>`;$("textarea", row).value = p.text; $("input", row).value = p.where;$(".x", row).onclick = () => { row.remove(); labelRows(); counters(); stale(); };return row;}function labelRows() {for (const d of D.dims) {const rows = $$(`#${d.id}_rows .point`);rows.forEach((r, i) => { $(".pn", r).textContent = i + 1; const ta = $("textarea", r), inp = $("input", r);ta.placeholder = i === 0 ? t(d.id + "_ph") : ""; ta.setAttribute("aria-label", `${d.label[li()]} · ${t("p_n", {i: i + 1})}`);inp.placeholder = t("p_where_ph"); inp.setAttribute("aria-label", t("p_where")); $(".x", r).setAttribute("aria-label", t("p_remove")); $(".x", r).title = t("p_remove");$(".x", r).hidden = rows.length <= d.min; });$(`#${d.id}_add`).hidden = rows.length >= D.limits.points_per_dim;}}function setPoints(points) {for (const d of D.dims) { const box = $(`#${d.id}_rows`); box.innerHTML = "";const ps = [...(points?.[d.id] || [])]; while (ps.length < d.min) ps.push({text: "", where: ""});ps.forEach(p => box.appendChild(pointRow(d, p))); }labelRows();}function fillGames(preferred) {const sel = $("#game"), cur = preferred || sel.value, ids = screenState ? screenState.games : [];const label = Object.fromEntries(D.choices.games[lang].map(([l, id]) => [id, l]));1 unmodified linesel.value = ids.includes(cur) ? cur : ids[0] || "";}function showVerdict() {const g = genreHours(), s = screen(g, radio("modding")), label = Object.fromEntries(D.choices.genres[lang].map(([l, id]) => [id, l.split(" → ")[0]]));$("#verdict").innerHTML = !s.ok ? `${rich(t("v_no"))}${esc(s.message)}`: rich(("other" in g && !s.skipped.includes("other") ? t("v_ok_other") : t("v_ok", {games: s.games.map(x => D.game_short[lang][x]).join(", ")})) +(s.skipped.length ? t("v_skipped", {kinds: s.skipped.map(k => label[k]).join(", ")}) : ""));$("#verdict").className = "verdict " + (s.ok ? "ok" : "wait"); return s;}function renderFiles() {11 unmodified linesconst media = e.images.length ? `<div class="gallery">${e.images.map(([src, cap]) => `<a href="${src}" target="_blank" rel="noopener"><img src="${src}" alt="${esc(cap)}" loading="lazy"><span>${esc(cap.replace("img", lang === "zh" ? "图" : "img"))}</span></a>`).join("")}</div>`: e.video ? `<video src="${e.video}" controls preload="metadata"></video>`: `<figure class="quote"><figcaption>${t("ex_excerpt")}</figcaption>${e.quote.map(p => `<p>${esc(p)}</p>`).join("")}</figure>`;const dims = D.dims.map(d => `<div class="dim ${d.id}"><h4>${esc(d.label[i])}</h4><ol>${e.points[d.id].map(p => `<li>${esc(p[i])}<span class="where">${esc(p[2 + i])}</span></li>`).join("")}</ol></div>`).join("");$("#ex_body").innerHTML = `<div class="ex_media">${media}<p class="ex_ref"><b>${t("ex_ref")}</b> ${esc(e.reference[i])}</p>${e.credit ? `<p class="credit">${esc(e.credit)}</p>` : ""}` +`<h4>${t("ex_fit")}</h4><p>${esc(e.fit[i])}</p><h4>${t("ex_idea")}</h4><p>${esc(e.idea[i])}</p><h4>${t("ex_edit")}</h4><p>${esc(e.edit[i])}</p></div>` +`<div class="ex_text"><div class="chips"><span>${esc(e.game[i])}</span><span>${esc(e.category[i])}</span></div>` +`<h4>${t("sum_points")}</h4><div class="dims">${dims}</div><p class="result">${esc(e.result[i])}</p></div>`;}function counters() {for (const k of ["idea", "fit", "edit"]) { const [a, b] = lim(k), n = size($("#" + k).value), c = $(`#${k}_n`);c.textContent = n || k !== "edit" ? `${n} / ${a}–${b} ${D.unit[lang]}` : ""; c.className = "count " + (!n ? "" : n >= a && n <= b ? "good" : "bad"); }const [a, b] = lim("point"); let total = 0;for (const d of D.dims) for (const r of $$(`#${d.id}_rows .point`)) {const p = {text: $("textarea", r).value.trim(), where: $("input", r).value.trim()}, c = $(".count", r), n = size(p.text), issue = p.text ? pointIssue(p) : "";if (p.text && !issue) total++;c.textContent = !p.text ? "" : `${n} ${D.unit[lang]}` + (issue ? ` · ${t("h_" + issue, {a, b})}` : " ✓"); c.className = "count " + (!p.text ? "" : issue ? "bad" : "good");}const need = D.dims.reduce((s, d) => s + d.min, 0), tt = $("#pts_n"); tt.textContent = `${total} ✓`; tt.className = "pill " + (total >= need ? "good" : "");}function render() {document.documentElement.lang = lang === "zh" ? "zh-CN" : "en"; document.title = t("title");4 unmodified linesrenderExample();for (const el of $$("[data-t]")) el.textContent = t(el.dataset.t);for (const el of $$("[data-ph]")) el.placeholder = t(el.dataset.ph);$("#tier3").hidden = !D.has_author_tier;options($("#genres"), "genres", "checkbox", "genres"); renderHours();options($("#modding"), "modding", "radio", "modding"); options($("#category"), "category", "radio", "categories");options($("#license"), "license", "radio", "licenses");fillGames(); labelRows(); $("#notes").innerHTML = D.notes[lang]; renderAuth(); counters();if (verdictShown) showVerdict();$("#result").innerHTML = ""; $("#result").className = ""; stale();}2 unmodified lines// ---------------------------------------------------------------- actionsfunction doScreen() {const s = showVerdict(); verdictShown = true;screenState = s.ok ? {genres: genreHours(), genre_other: val("genre_other").slice(0, 200), modding: radio("modding"), profile: val("profile").slice(0, 300), games: s.games} : null;if (s.ok) fillGames();const was = $("#form").hidden; $("#form").hidden = !s.ok;if (s.ok && was) $("#s2").scrollIntoView({behavior: "smooth", block: "start"});}function resync() { // the kinds or hours changed after the form was opened: the target-game list follows at onceif (!screenState) return;const s = screen(genreHours(), radio("modding"));if (s.ok) { screenState = {...screenState, genres: genreHours(), modding: radio("modding"), games: s.games}; fillGames(); showVerdict(); }}async function doCheck() {const v = form(), r = await check(v), box = $("#result");if (r.errors.length) { box.className = "bad"; box.innerHTML = `<h3>${t("problems").replace(/^#+ /, "")}</h3><ul>${r.errors.map(e => `<li>${esc(e)}</li>`).join("")}</ul>`; stale(); return null; }7 unmodified lines$("#submit").disabled = false; return {v, r};}async function makeId(v, points) {const parts = [v.email, v.game, v.idea, v.link, ...D.dims.flatMap(d => points[d.id].map(p => p.text)), ...files.map(f => f.name + ":" + f.size)];const h = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(parts.join("\0")));const hex = [...new Uint8Array(h)].map(b => b.toString(16).padStart(2, "0")).join("").slice(0, 6);return `C-${v.game}-${new Date().toISOString().slice(0, 10).replace(/-/g, "")}-${hex}`;}async function openProposals(user) { // pull requests of this account that are still under review; review_prs.py enforces the same captry {const r = await fetch(`https://huggingface.co/api/${REPO.type}s/${REPO.name}/discussions?type=pull_request&status=open&author=${encodeURIComponent(user)}`,{headers: {Authorization: `Bearer ${OA.accessToken}`}});if (!r.ok) return 0;return ((await r.json()).discussions || []).filter(d => d.isPullRequest && d.status === "open" && (d.author || {}).name === user).length;} catch (e) { return 0; }}async function doSubmit() {const c = await doCheck(); if (!c) return; // the form may have changed since the check: check againconst box = $("#result");if (!OA) { box.className = "bad"; box.innerHTML = `<h3>${t("need_signin")}</h3>`; $("#auth").scrollIntoView({behavior: "smooth", block: "center"}); return; }const user = OA.userInfo.preferred_username || "", open = await openProposals(user);if (open >= D.limits.open_proposals) { box.className = "bad"; box.innerHTML = `<h3>${t("too_many", {n: open})}</h3>`; return; }const {v, r} = c, id = await makeId(v, r.points);const stored = files.map((f, i) => `refs/${id}/${String(i + 1).padStart(2, "0")}${ext(f.name)}`);const record = {submission_id: id, submitted_at: new Date().toISOString().replace(/\.\d+Z$/, "Z"), status: "pending_review", language: lang,contributor: {nickname: v.nickname, email: v.email, hf_user: user, genres: screenState.genres, genre_other: screenState.genre_other,modding: screenState.modding, profile: screenState.profile},target_game: v.game, track: D.game_track[v.game], category: v.category, modality: r.modality, visibility: r.visibility,why_this_game: v.fit, idea: v.idea, points: r.points, edit_request: v.edit,reference: {files: files.map((f, i) => ({path: stored[i], name: f.name})), link: v.link, time_range: v.time_range, license: v.license, source: v.source}};$("#submit").disabled = true; box.className = ""; box.innerHTML = `<h3>${t("sending")}</h3>`;try {10 unmodified lines}// ---------------------------------------------------------------- draft kept across the sign-in redirect (files cannot be kept)const TEXT_FIELDS = ["genre_other", "profile", "link", "time_range", "source", "fit", "idea", "edit", "nickname", "email"];function saveDraft() {const d = {lang, genres: genreHours(), modding: radio("modding"), shown: !$("#form").hidden, game: $("#game").value, points: readPoints(true),category: radio("category"), license: radio("license"), ack: $("#ack").checked, consent: $("#consent").checked};for (const k of TEXT_FIELDS) d[k] = $("#" + k).value;try { sessionStorage.setItem("ga-submit-draft", JSON.stringify(d)); } catch (e) {}2 unmodified lineslet d; try { d = JSON.parse(sessionStorage.getItem("ga-submit-draft") || "null"); } catch (e) {}if (!d) return;lang = d.lang || lang; render();for (const g of Object.keys(d.genres || {})) { const x = $(`input[name=genres][value=${g}]`); if (x) x.checked = true; }renderHours(d.genres || {});for (const k of ["modding", "category", "license"]) { const x = d[k] && $(`input[name=${k}][value=${d[k]}]`); if (x) x.checked = true; }for (const k of TEXT_FIELDS) $("#" + k).value = d[k] || "";setPoints(d.points); $("#ack").checked = !!d.ack; $("#consent").checked = !!d.consent; counters();if (d.shown) { doScreen(); fillGames(d.game); }}async function auth() {4 unmodified linesasync function main() {D = await (await fetch("data.json")).json();await auth(); setPoints(); render(); loadDraft();$$("#lang button").forEach(b => b.onclick = () => { lang = b.dataset.lang; render(); });$("#continue").onclick = doScreen; $("#check").onclick = doCheck; $("#submit").onclick = doSubmit;$("#genres").addEventListener("change", () => { renderHours(); resync(); });$("#hours").addEventListener("change", resync); $("#modding").addEventListener("change", resync);for (const d of D.dims) $(`#${d.id}_add`).onclick = () => { const row = pointRow(d); $(`#${d.id}_rows`).appendChild(row); labelRows(); $("textarea", row).focus(); stale(); };const add = list => { for (const f of list) if (!files.some(x => x.name === f.name && x.size === f.size)) files.push(f); renderFiles(); stale(); };$("#file").onchange = e => { add(e.target.files); e.target.value = ""; };const drop = $("#drop");
108 unmodified lines10911011111211311411511611711811912011 unmodified lines13213313413513613722 unmodified lines16016116216316416531 unmodified lines1971981992002012022032044 unmodified lines209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260102 unmodified lines36336436536636736836937028 unmodified lines3994004014024034044054063 unmodified lines4104114124134144154164174184194204214224234244254268 unmodified lines4354364374384394404414424 unmodified lines447448449450451452453454603 unmodified lines10581059106010611062106310641 unmodified line10661067106810691070107110723 unmodified lines107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110020 unmodified lines1121112211231124112511261127112814 unmodified lines1143114411451146114711483 unmodified lines11521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119943 unmodified lines1243124412451246124712483 unmodified lines12521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129918 unmodified lines1318131913201321132213233 unmodified lines13271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370108 unmodified lines"素材文本节选"],"q_hours": ["For the kind you know best: about how many hours have you played in total?","其中你最熟的那一类,总共大约玩了多少小时?"],"q_hours_info": ["A rough figure is fine. Steam shows your hours on each game's library page.","大概的数字就行。Steam 库里每款游戏都显示游玩时间。"],"q_modding": ["Your experience with mods for games like these (pick the highest that applies)",11 unmodified lines"Continue","继续"],"v_ok": ["**Great, thank you!** The form is below. You can target: {games}.","**太好了,谢谢你!** 表单在下面。你可以选的目标游戏:{games}。"22 unmodified lines"The AI builds inside this game.","AI 要在这款游戏里把东西做出来。"],"category": ["What does the task transfer from the reference? *","这道题主要从素材里还原什么? *"31 unmodified lines"想让 AI 在游戏里做成什么? *"],"idea_info": ["30–400 words. Say what the player does, not only what is there.","30–400 个字。写出玩家能做什么,不要只写有什么东西。"],"idea_ph": ["e.g. Turn the mine-cart system in these photos into a Terraria mod. The player pushes carts along the rails, loads them with ore underground and hauls the ore out through the mine entrance to the surface.",4 unmodified lines"评分点 *"],"pts_info": ["These become the task's scoring rubric, so they decide how the AI's work is judged. One point per line, most important first. Each point: one thing a reviewer can see or try, 6–40 words, ending with where the reference shows it, e.g. (img 2), (0:35), (paragraph 3). At least 5 points in total.","它们会变成这道题的评分标准,决定 AI 的成品怎么打分。每行一条,最重要的放前面。每条只写一件审核者看得到、试得出的事,6–40 个字,结尾注明素材里哪里能看到,比如(图 2)、(0:35)、(第 3 段)。合计至少 5 条。"],"content": ["Content: what must exist in the game","内容:游戏里必须有什么"],"content_info": ["Objects, characters, places, rules and how they relate. At least 2.","物体、角色、地点、规则,以及它们之间的关系。至少 2 条。"],"content_ph": ["The track is a network: several lines join or cross (img 2, img 6)\nCarts carry mined material, and loaded and empty carts both appear (img 2, img 3)","轨道是几条线交汇成的网络(图 2、图 6)\n矿车装的是采出的矿石,空车和满车都出现(图 2、图 3)"],"function": ["Function: what must work when played","���能:玩起来必须怎样"],"function_info": ["What the player can do and how the game responds. At least 1.","玩家能做什么、游戏怎么回应。至少 1 条。"],"function_ph": ["The player pushes a cart and it moves along the rails (img 6)\nA loaded cart can be hauled from underground out to the surface (img 1, img 2)","玩家推动矿车,矿车沿轨道移动(图 6)\n满载的矿车能从井下一路运到地面(图 1、图 2)"],"visual": ["Visual: what it must look like","视觉:看起来必须怎样"],"visual_info": ["Looks that make the reference recognisable. At least 1.","让人一眼认出素材的外观。至少 1 条。"],"visual_ph": ["Loaded and empty carts are told apart at a glance (img 3, img 4)","空车和满车一眼就能分清(图 3、图 4)"],"edit": ["A follow-up edit (optional)","一处后续修改(可选)"],"edit_info": ["Once it is built, one change you would ask for, 6–60 words. It becomes an editing task.","做好之后,你还想改的一处,6–60 个字。它会变成一道编辑题。"],"edit_ph": ["e.g. Turn the grass at the mine entrance into snow and ice.",102 unmodified lines"请至少选一类游戏。列表里没有的话,选“其他”并写一下是哪类。"],"need_hours_answer": ["One more thing: about how long have you played?","还差一题:大约玩了多久?"],"need_modding_answer": ["One more thing: the question about mods.",28 unmodified lines"请选这道题主要还原什么(地方、规则或故事)。"],"idea_len": ["“What should the AI build” needs {a}–{b} words; it has {n}.","“想让 AI 做成什么”请写 {a}–{b} 个字,现在是 {n} 个字。"],"dim_min": ["{d} points: at least {m} needed, you have {n}.",3 unmodified lines"{d} points: at most {m}, you have {n}. Keep the ones that define the reference.","{d}类评分点:最多 {m} 条,现在是 {n} 条。请留下最有决定性的。"],"points_total": ["At least {m} scoring points in total are needed; you have {n}.","评分点合计至少 {m} 条,现在是 {n} 条。"],"point_len": ["Each scoring point needs {a}–{b} words. Please rewrite: {x}","每条评分点请写 {a}–{b} 个字。请改写:{x}"],"point_where": ["Say where in the reference each point is seen (img 2, 0:35, paragraph 3). Missing in: {x}","每条评分点请注明素材里哪里能看到(图 2、0:35、第 3 段)。这些还没有注明:{x}"],"point_negative": ["Write what must be there, not what must be absent. Please rewrite: {x}",8 unmodified lines"有重复的评分点:{x}"],"edit_len": ["The follow-up edit needs {a}–{b} words describing one change; it has {n}.","“后续修改”请用 {a}–{b} 个字写清一处改动,现在是 {n} 个字。"],"clip_len": ["The part of the video to use should be {a}–{b} seconds long; {x} is {n} seconds.",4 unmodified lines"图片素材至少需要同一主题的 {m} 张(常见是 3–6 张),现在是 {n} 张。"],"short_text": ["The text reference {x} has {n} words; a passage of at least {m} is needed to build a task from.","文本素材 {x} 只有 {n} 个字;至少需要 {m} 个字的一段,才够出一道题。"],"license": ["Choose where the reference comes from.",603 unmodified lines},{"id": "function","min": 1,"label": ["Function","功能"1 unmodified line},{"id": "visual","min": 1,"label": ["Visual","视觉"3 unmodified lines"limits": {"idea": [30,400],"point": [6,40],"points_per_dim": 6,"points_total": 5,"edit": [6,60],"clip_seconds": [10,120],"images": 3,"text_units": 300},"ext": {"image": [".jpeg",20 unmodified lines},"links": [],"notes": {"en": "<h2>Guidelines</h2>\n<h3>What a task is</h3>\n<p>A reference, a target game and a request. The agent must turn the reference into something <strong>playable</strong> in the game, not a look-alike. Each task is scored on about 12 points of three kinds: what is there (content), whether it works when played (function) and how it looks (visual). You propose the points; maintainers turn each into a graded rubric item (full, partial, none) and may add or merge some.</p>\n<h3>Reference</h3>\n<table>\n<thead>\n<tr>\n<th>Type</th>\n<th>Typical in the benchmark</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Video</td>\n<td>one continuous clip, 30–60 s</td>\n</tr>\n<tr>\n<td>Images</td>\n<td>3–6 images of one subject</td>\n</tr>\n<tr>\n<td>Text</td>\n<td>one chapter or passage</td>\n</tr>\n<tr>\n<td>Mixed</td>\n<td>a clip plus images or a text that adds what the clip does not show</td>\n</tr>\n</tbody>\n</table>\n<ul>\n<li>Your own, public-domain or CC material: upload it.</li>\n<li>Someone else's copyrighted work: link and time range only. The task stays private.</li>\n</ul>\n<h3>Scoring points</h3>\n<p>They become the rubric. Each point must be:</p>\n<ul>\n<li><strong>Seen in the reference.</strong> End it with where: (img 2), (0:35), (paragraph 3).</li>\n<li><strong>Checkable.</strong> One thing a reviewer can see or try, not a judgement like “realistic”.</li>\n<li><strong>Defining.</strong> If the reference is still recognisable without it, leave it out.</li>\n<li><strong>Positive.</strong> What must be there, not what must be absent. No camera angles or exact numbers.</li>\n</ul>\n<table>\n<thead>\n<tr>\n<th>Good</th>\n<th>Not usable</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>The track is a network: several lines join or cross (img 2, img 6)</td>\n<td>The track looks realistic</td>\n</tr>\n<tr>\n<td>The player pushes a cart and it moves along the rails (img 6)</td>\n<td>No flying carts</td>\n</tr>\n</tbody>\n</table>\n<h3>Writing standards</h3>\n<table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>What to build</td>\n<td>30–400 words</td>\n</tr>\n<tr>\n<td>Scoring points</td>\n<td>content ≥ 2, function ≥ 1, visual ≥ 1; ≥ 5 in total; ≤ 6 each</td>\n</tr>\n<tr>\n<td>Each point</td>\n<td>6–40 words, with its place in the reference</td>\n</tr>\n<tr>\n<td>Follow-up edit</td>\n<td>one change, 6–60 words</td>\n</tr>\n<tr>\n<td>Reference</td>\n<td>video part 10–120 s · images ≥ 3 · text ≥ 300 words</td>\n</tr>\n</tbody>\n</table>\n<h3>Not accepted</h3>\n<p>Unclear source · reskins with nothing to play · gore, sexual or hateful content · real people's private information · game files, cracks or online cheats.</p>\n<h3>Review and credit</h3>\n<ul>\n<li>Maintainers review every proposal and email you the result. They may ask for one revision.</li>\n<li>An accepted proposal becomes a full task: we write the instruction and the scoring rubric. Your name goes on the contributor list and in the paper's acknowledgements. A proposal counts once it is accepted.</li>\n</ul>\n","zh": "<h2>填写说明</h2>\n<h3>一道题是什么</h3>\n<p>一份素材、一款目标游戏、一个要求。AI 要把素材做成游戏里<strong>能玩</strong>的内容,只是看起来像不算。每道题按大约 12 个评分点打分,分三类:内容有没有(内容)、玩起来对不对(功能)、看起来像不像(视觉)。评分点由你来提;维护者把每一条写成分档的评分项(满分、部分、不得分),也可能补充或合并。</p>\n<h3>素材</h3>\n<table>\n<thead>\n<tr>\n<th>类型</th>\n<th>题库里的常见规格</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>视频</td>\n<td>一段连续画面,30–60 秒</td>\n</tr>\n<tr>\n<td>图片</td>\n<td>同一主题的 3–6 张</td>\n</tr>\n<tr>\n<td>文本</td>\n<td>一章或一段完整的文字</td>\n</tr>\n<tr>\n<td>混合</td>\n<td>一段视频,加上补充视频里看不到的内容的图片或文字</td>\n</tr>\n</tbody>\n</table>\n<ul>\n<li>自己的作品、公共领域或 CC 授权的素材:直接上传。</li>\n<li>别人的版权作品:只贴链接和时间段。这类题目不公开。</li>\n</ul>\n<h3>评分点</h3>\n<p>它们会变成评分标准。每一条都要:</p>\n<ul>\n<li><strong>在素材里看得到。</strong> 结尾注明在哪:(图 2)、(0:35)、(第 3 段)。</li>\n<li><strong>可以检查。</strong> 只写一件审核者看得到、试得出的事,不写“逼真”这类评价。</li>\n<li><strong>有决定性。</strong> 去掉它素材还认得出来,就不用写。</li>\n<li><strong>写“要有什么”。</strong> 不写“不能有什么”,也不写镜头角度和精确数值。</li>\n</ul>\n<table>\n<thead>\n<tr>\n<th>好的写法</th>\n<th>不能用</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>轨道是几条线交汇成的网络(图 2、图 6)</td>\n<td>轨道看起来很逼真</td>\n</tr>\n<tr>\n<td>玩家推动矿车,矿车沿轨道移动(图 6)</td>\n<td>矿车不能飞起来</td>\n</tr>\n</tbody>\n</table>\n<h3>填写标准</h3>\n<table>\n<thead>\n<tr>\n<th>项目</th>\n<th>要求</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>想做成什么</td>\n<td>30–400 个字</td>\n</tr>\n<tr>\n<td>评分点</td>\n<td>内容 ≥ 2、功能 ≥ 1、视觉 ≥ 1;合计 ≥ 5;每类 ≤ 6</td>\n</tr>\n<tr>\n<td>每条评分点</td>\n<td>6–40 个字,并注明素材里的位置</td>\n</tr>\n<tr>\n<td>后续修改</td>\n<td>一处改动,6–60 个字</td>\n</tr>\n<tr>\n<td>素材</td>\n<td>视频片段 10–120 秒 · 图片 ≥ 3 张 · 文本 ≥ 300 个字</td>\n</tr>\n</tbody>\n</table>\n<h3>这些不收</h3>\n<p>来源说不清 · 只换皮、没有可玩内容 · 血腥、色情、仇恨内容 · 真人隐私 · 游戏原文件、破解、联机作弊。</p>\n<h3>审核与署名</h3>\n<ul>\n<li>维护者审核每一份提交,结果发到你的邮箱。可能请你改一轮。</li>\n<li>被收录的想法会做成正式题目:指令和评分标准由我们来写。你的昵称进贡献者名单和论文致谢。收录了才算数。</li>\n</ul>\n"},"review_days": "","examples": [14 unmodified lines"Mechanics & Behavior","玩法与机制"],"idea": ["Turn the mine-cart system in these photos into a Terraria mod. The player pushes carts along the rails, loads them with ore underground and hauls the ore out through the mine entrance to the surface.","把这几张照片里的矿车系统做成泰拉瑞亚的 mod。玩家沿轨道推动矿车,在井下装上矿石,再经过矿洞出口把矿运到地面。"3 unmodified lines"让满载的矿车有沉重感:起步更慢,最高速度也比空车低。"],"result": ["Became a task with 9 rubric items (3 content, 4 function, 2 visual) and 3 editing tasks.","最后做成了一道 9 个评分项的题(内容 3、功能 4、视觉 2),外加 3 道编辑题。"],"id": "images","credit": "Photos, Wikimedia Commons: 1 Flocci Nivis (CC BY 4.0); 2 Ronald Werner (CC BY-SA 4.0); 3 Mining Museum for the Basque Country, Gallarta (CC BY-SA 4.0); 4 Fernost (public domain); 5 Timothy Titus (CC BY-SA 4.0); 6 unknown author, 1920s (public domain).","points": {"content": [["The track is a network: several lines join or cross (img 2, img 6)","轨道是几条线交汇成的网络(图 2、图 6)"],["Carts carry mined material, and loaded and empty carts both appear (img 2, img 3)","矿车装的是采出的矿石,空车和满车都出现(图 2、图 3)"],["The track runs from the tunnels out through an entrance to the surface (img 1)","轨道从巷道经过一个出口通到地面(图 1)"]],"function": [["The player pushes a cart and it moves along the rails (img 6)","玩家推动矿车,矿车沿轨道移动(图 6)"],["Carts stay on the rails and cannot travel where there is no track (img 1, img 5)","矿车只能在轨道上走,没有轨道的地方去不了(图 1、图 5)"],["A loaded cart can be hauled from underground out to the surface (img 1, img 2)","满载的矿车能从井下一路运到地面(图 1、图 2)"]],"visual": [["The tunnels look like a mine: rough rock walls around the track (img 2, img 4)","巷道看起来像矿井:轨道两侧是粗糙的岩壁(图 2、图 4)"],["Loaded and empty carts are told apart at a glance (img 3, img 4)","空车和满车一眼就能分清(图 3、图 4)"]]},43 unmodified lines"Narrative & Event","剧情与事件"],"idea": ["Turn the story in this clip into a playable story. A girl is chased by shadow creatures and a stranger with magic leads her away over the rooftops. Then a menacing woman curses her in the hat shop, and she plays on as an old woman.","把这段视频里的故事做成可以玩的剧情。女孩被影子怪追赶,一个会魔法的陌生人带她从屋顶上方离开;之后一个气势逼人的女人在帽子店里对她下咒,她从此以老太太的样子继续游戏。"3 unmodified lines"她在镜子里看到自己变老之后,让帽子店变得阴冷昏暗:蜡烛熄灭,黑烟不散,高大的镜子裂开。"],"result": ["Became a task with 12 rubric items (5 content, 4 function, 3 visual) and 3 editing tasks.","最后做成了一道 12 个评分项的题(内容 5、功能 4、视觉 3),外加 3 道编辑题。"],"id": "video","credit": "","points": {"content": [["The cast is there: the girl, a stranger with magic, shadow-creature pursuers and a huge menacing woman (0:02–0:07, 0:17)","角色齐全:女孩、会魔法的陌生人、追赶她的影子怪、一个高大逼人的女人(0:02–0:07、0:17)"],["The hat-shop curse: the woman appears in the shop and the girl is turned into an old woman (0:15–0:20)","帽子店的诅咒:那个女人出现在店里,女孩被变成老太太(0:15–0:20)"],["The events come in the clip's order: first the rescue, then the curse (0:02–0:23)","事件顺序和视频一致:先获救,再中咒(0:02–0:23)"]],"function": [["The shadow creatures come after the player while the stranger leads her away (0:02–0:07)","影子怪追着玩家,陌生人带着她离开(0:02–0:07)"],["The escape crosses the town through the air and ends with the stranger leaving (0:07–0:13)","两人从空中穿过小镇逃脱,最后陌生人离开(0:07–0:13)"],["After the curse the player character stays old for the rest of the game (0:15–0:20)","中咒之后,玩家角色在之后的游戏里一直是老人(0:15–0:20)"]],"visual": [["The escape is shown high above the rooftops and the busy street (0:08–0:12)","逃脱的画面在屋顶和热闹街道的高处(0:08–0:12)"],["In a dim shop full of hats, a mirror shows her aged face (0:15–0:20)","在摆满帽子的昏暗店里,镜子照出她变老的脸(0:15–0:20)"]]},18 unmodified lines"Scene & World","场景与世界"],"idea": ["Rebuild the underground sea of these chapters as a place to explore. The player walks along the shore from the waterfalls to the mushroom forest, the forest of ancient plants and a small harbour, under a sky of cloud.","把这两章里的地下海做成一个可以探索的地方。玩家沿着海岸,从瀑布走到蘑菇森林、远古植物森林和一个小港湾,头顶是一片云的天空。"3 unmodified lines"让巨型蘑菇有弹性:落到菌盖上会把我高高弹起,可以从一个菌盖跳到另一个。"],"result": ["Became a task with 11 rubric items (6 content, 2 function, 3 visual) and 3 editing tasks.","最后做成了一道 11 个评分项的题(内容 6、功能 2、视觉 3),外加 3 道编辑题。"],"id": "text","credit": "","points": {"content": [["A sea fills a closed cavern, with a sandy shore between the water and a wall of cliffs (ch. 33, paragraph 4)","一片海充满封闭的洞穴,水面和悬崖之间有一条沙滩(第 33 章第 4 段)"],["A forest of mushrooms as tall as trees stands on the shore (ch. 33, paragraphs 26–29)","海岸上有一片像树一样高的蘑菇森林(第 33 章第 26–29 段)"],["Along the shore the landmarks come in the text's order: waterfalls, mushroom forest, ancient plants, harbour (ch. 33, paragraphs 21–48)","沿海岸的地标顺序和原文一致:瀑布、蘑菇森林、远古植物、港湾(第 33 章第 21–48 段)"]],"function": [["The shore is one walkable route that takes the player to every landmark (ch. 33, paragraphs 20–48)","海岸是一条走得通的路线,能把玩家带到每个地标(第 33 章第 20–48 段)"],["The sea has a tide: the water line moves up the sand over time (ch. 34, paragraphs 3–11)","海有潮汐:水位线会随时间沿沙滩上涨(第 34 章第 3–11 段)"]],"visual": [["The sky is a ceiling of cloud lit by an even, cool white light (ch. 33, paragraphs 6–7)","天空是一层云顶,被均匀、偏冷的白光照亮(第 33 章第 6–7 段)"],["The mushrooms look like giant umbrellas: broad caps on thick stems (ch. 33, paragraphs 26–29)","蘑菇像巨大的伞:粗壮的菌柄上顶着宽大的菌盖(第 33 章第 26–29 段)"]]},108 unmodified lines10911011111211311411511611711811912012112212312411 unmodified lines13613713813914014114214314414522 unmodified lines16816917017117217317417517617717817918018118218318418531 unmodified lines2172182192202212222232244 unmodified lines229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336102 unmodified lines43944044144244344444544628 unmodified lines4754764774784794804814824834844854864874884894904914924934944954964974984995005015023 unmodified lines5065075085095105115125135145155165175188 unmodified lines5275285295305315325335344 unmodified lines539540541542543544545546603 unmodified lines11501151115211531154115511561 unmodified line11581159116011611162116311643 unmodified lines11681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127520 unmodified lines1296129712981299130013011302130314 unmodified lines13181319132013211322132313241325132613273 unmodified lines133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140043 unmodified lines14441445144614471448144914501451145214533 unmodified lines145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151418 unmodified lines15331534153515361537153815391540154115423 unmodified lines1546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615108 unmodified lines"素材文本节选"],"q_hours": ["About how many hours have you played each kind you ticked?","勾选的每一类,你大约各玩了多少小时?"],"q_hours_info": ["A rough figure is fine; Steam shows your hours on each game's library page. A task can target a kind you have played for 10 hours or more.","大概的数字就行,Steam 库里每款游戏都显示游玩时间。玩过 10 小时以上的类型才能出题。"],"q_hours_none": ["Tick a kind above first.","请先在上面勾选类型。"],"q_modding": ["Your experience with mods for games like these (pick the highest that applies)",11 unmodified lines"Continue","继续"],"v_skipped": [" Left out for now (under 10 hours): {kinds}.","暂时没有列入(不到 10 小时):{kinds}。"],"v_ok": ["**Great, thank you!** The form is below. You can target: {games}.","**太好了,谢谢你!** 表单在下面。你可以选的目标游戏:{games}。"22 unmodified lines"The AI builds inside this game.","AI 要在这款游戏里把东西做出来。"],"fit": ["Why does this game fit? *","为什么适合这款游戏? *"],"fit_info": ["10–100 words. Name what the game already has that the task builds on. This also tells us you know the game.","15–150 个字。写出这款游戏已有的、这道题可以利用的东西。这也让我们知道你熟悉这款游戏。"],"fit_ph": ["e.g. Terraria is a side-on mining game that already has minecart tracks, ore and tunnels, so the cart network can be built on its own systems.","比如:泰拉瑞亚是横版挖矿游戏,本身就有矿车轨道、矿石和坑道,矿车网络可以直接建立在它已有的系统上。"],"category": ["What does the task transfer from the reference? *","这道题主要从素材里还原什么? *"31 unmodified lines"想让 AI 在游戏里做成什么? *"],"idea_info": ["30–300 words. Say what the player does, not only what is there.","45–450 个字。写出玩家能做什么,不要只写有什么东西。"],"idea_ph": ["e.g. Turn the mine-cart system in these photos into a Terraria mod. The player pushes carts along the rails, loads them with ore underground and hauls the ore out through the mine entrance to the surface.",4 unmodified lines"评分点 *"],"pts_info": ["These become the task's scoring rubric: they decide how the AI's work is judged. Write each point as one full sentence (8–50 words) about one thing a reviewer can see or try, and say where the reference shows it. Most important first.","它们会变成这道题的评分标准,决定 AI 的成品怎么打分。每条写成一句完整的话(12–75 个字),只说一件审核者看得到、试得出的事,并填上素材里哪里能看到。最重要的放前面。"],"content": ["Content: what must exist in the game","内容:游戏里必须有什么"],"content_info": ["Objects, characters, places, rules and how they relate. 2–6 points.","物体、角色、地点、规则,以及它们之间的关系。2–6 条。"],"content_ph": ["The track is a network, not one line: several lines join or cross","轨道是一个网络,而不是一条线:多条线路汇合或交叉"],"function": ["Function: what must work when played","���能:玩起来必须怎样"],"function_info": ["What the player can do and how the game responds. 2–6 points.","玩家能做什么、游戏怎么回应。2–6 条。"],"function_ph": ["The player moves the carts: by their own action the player makes a cart move along the track","玩家移动矿车:玩家通过自己的操作使矿车沿轨道移动"],"visual": ["Visual: what it must look like","视觉:看起来必须怎样"],"visual_info": ["Looks that make the reference recognisable. 2–6 points.","让人一眼认出素材的外观。2–6 条。"],"visual_ph": ["A cart's load state is readable: loaded and empty carts are told apart at a glance","矿车的装载状态可读:装载的矿车和空矿车一眼就能区分"],"p_where": ["Where in the reference","素材里的位置"],"p_where_ph": ["img 2 · 0:35–0:40 · paragraph 3","图 2 · 0:35–0:40 · 第 3 段"],"p_add": ["Add a point","添加一条"],"p_remove": ["Remove this point","删除这一条"],"p_n": ["Point {i}","第 {i} 条"],"credit_title": ["Credit","署名与致谢"],"credit_1": ["Every accepted task","每道被收录的题"],"credit_1_sub": ["Your name on the contributor list","昵称进入贡献者名单"],"credit_2": ["6 or more accepted","累计收录 6 道以上"],"credit_2_sub": ["Named in the paper's acknowledgements","写入论文致谢"],"credit_3": ["? or more accepted","累计收录 ? 道以上"],"credit_3_sub": ["Listed in the paper's Contributors author group","列入论文作者的 Contributors 组"],"credit_note": ["Only accepted tasks count, so one careful proposal is worth more than several quick ones. You can have up to 3 proposals under review at a time.","只有被收录的题才计数,所以认真写一道比随手交几道更有用。每人同时最多有 3 份提交在审核中。"],"too_many": ["You already have {n} proposals under review (the limit is 3). Please wait for a result before sending another.","你已经有 {n} 份提交在审核中(上限 3 份)。请等有了结果再提交新的。"],"edit": ["A follow-up edit (optional)","一处后续修改(可选)"],"edit_info": ["Once it is built, one change you would ask for, 10–80 words. It becomes an editing task.","做好之后,你还想改的一处,15–120 个字。它会变成一道编辑题。"],"edit_ph": ["e.g. Turn the grass at the mine entrance into snow and ice.",102 unmodified lines"请至少选一类游戏。列表里没有的话,选“其他”并写一下是哪类。"],"need_hours_answer": ["One more thing: about how long have you played each kind you ticked?","还差一步:勾选的每一类大约玩了多久?"],"need_modding_answer": ["One more thing: the question about mods.",28 unmodified lines"请选这道题主要还原什么(地方、规则或故事)。"],"idea_len": ["“What should the AI build” needs {a}–{b} {u}; it has {n}.","“想让 AI 做成什么”请写 {a}–{b} {u},现在是 {n} {u}。"],"fit_len": ["“Why this game fits” needs {a}–{b} {u}; it has {n}.","“为什么适合这款游戏”请写 {a}–{b} {u},现在是 {n} {u}。"],"low_effort": ["This does not read as a real description (repeated or random text): {x}","这段不像是认真写的内容(重复或乱打的文字):{x}"],"copied": ["This is copied from the examples on the page. Please write your own: {x}","这是页面样例里的原文,请写你自己的内容:{x}"],"where_img": ["A point refers to image {n}, but only {m} image(s) are uploaded.","有评分点引用了图 {n},但只上传了 {m} 张图。"],"where_time": ["A point refers to {x}, which is outside the part of the video you chose ({r}).","有评分点引用了 {x},不在你选的视频片段({r})之内。"],"dim_min": ["{d} points: at least {m} needed, you have {n}.",3 unmodified lines"{d} points: at most {m}, you have {n}. Keep the ones that define the reference.","{d}类评分点:最多 {m} 条,现在是 {n} 条。请留下最有决定性的。"],"point_len": ["Each scoring point needs one full sentence of {a}–{b} {u}. Please rewrite: {x}","每条评分点请写成一句完整的话,{a}–{b} {u}。请改写:{x}"],"point_where": ["Each point needs its place in the reference, e.g. “img 2”, “0:35–0:40”, “paragraph 3”. Missing or unclear for: {x}","每条评分点都要填素材里的位置,比如“图 2”“0:35–0:40”“第 3 段”。这些没有填或看不出位置:{x}"],"point_negative": ["Write what must be there, not what must be absent. Please rewrite: {x}",8 unmodified lines"有重复的评分点:{x}"],"edit_len": ["The follow-up edit needs {a}–{b} {u} describing one change; it has {n}.","“后续修改”请用 {a}–{b} {u}写清一处改动,现在是 {n} {u}。"],"clip_len": ["The part of the video to use should be {a}–{b} seconds long; {x} is {n} seconds.",4 unmodified lines"图片素材至少需要同一主题的 {m} 张(常见是 3–6 张),现在是 {n} 张。"],"short_text": ["The text reference {x} has {n} {u}; a passage of at least {m} is needed to build a task from.","文本素材 {x} 只有 {n} {u};至少需要 {m} {u}的一段,才够出一道题。"],"license": ["Choose where the reference comes from.",603 unmodified lines},{"id": "function","min": 2,"label": ["Function","功能"1 unmodified line},{"id": "visual","min": 2,"label": ["Visual","视觉"3 unmodified lines"limits": {"idea": [30,300],"fit": [10,100],"point": [8,50],"points_per_dim": 6,"edit": [10,80],"clip_seconds": [10,120],"images": 3,"text_units": 300,"open_proposals": 3},"scale": {"en": 1,"zh": 1.5},"unit": {"en": "words","zh": "个字"},"copied": ["a cart s load state is readable loaded and empty carts are told apart at a glance","a forest of giant mushrooms as tall as trees stands on the shore","a loaded cart keeps its load while it moves along the track","after she sees her aged face in the mirror turn the hat shop cold and dark candles out black smoke in the air the tall mirror cracked","along one shore the landmarks are placed in this order the waterfalls and streams then the mushroom forest at the turn of a promontory then the forest of ancient plants and the harbour at the far end","at the far end of the bay a small harbour of calm water lies between cliffs sheltered from the wind and open to the sea","carts run on the track they are guided by it and cannot travel where there is no track","escape from a threat in play the shadow pursuers act on the player character and the stranger companion stays with the player and leads them away","hauling route a loaded cart can be brought along the track from the underground workings out through the entrance to the surface","make loaded carts feel heavy slower to start and a lower top speed than empty ones","make the giant mushrooms bouncy landing on a cap throws me high into the air so i can hop from cap to cap","mirror reveal in a dim cluttered shop full of hats the player character faces a mirror and the reflection shows an aged face set apart as a reveal","rebuild the underground sea of these chapters as a place to explore the player walks along the shore from the waterfalls to the mushroom forest the forest of ancient plants and a small harbour under a sky of cloud","terraria is a side on mining game that already has minecart tracks ore and tunnels so the cart network and the hauling can be built on its own systems","terraria s side on underground world already has caves water glowing mushroom areas and a background sky so an underground sea with a route along its shore fits it naturally","the ancient forest looks primeval giant plants of fern like and club moss like forms clearly unlike both ordinary trees and the mushrooms","the cavern s sky a ceiling of clouds instead of an open sky lit by an even diffuse cool white light that is not sunlight","the curse as a lasting change in play the aging is triggered by the encounter with the menacing visitor in the shop and the player character stays aged in all play that follows","the game contains mine carts that hold a load of mined material and both loaded and empty carts occur","the game contains the hat shop curse in a hat shop the menacing woman appears to the heroine and the heroine is changed by a spell into an old woman who is clearly still the heroine","the game contains the story s main cast as distinct characters of their kind the heroine a stranger with magic powers faceless shadow creature pursuers and a huge menacing woman","the game s story keeps the reference s order of key events the rescue from the pursuers then the hat shop curse then the aged heroine out in the open hills beyond the town","the magical escape the pair shown in the air high above the town s rooftops and the busy street","the mine layout an underground tunnel or gallery with the track along its floor and an entrance through which that track runs out to the surface","the mushroom forest looks like a forest of giant umbrellas broad caps on thick stems standing close together","the player moves the carts by their own action the player makes a cart move along the track","the sea has a tide over time the water line visibly moves up the sand of the shore","the shore is a continuous walkable route between the sea and the cliffs that takes the player to each landmark","the track is a network not one line several lines join or cross","the underground play space looks like a mine a rough rock tunnel or gallery around the track","turn the mine cart system in these photos into a terraria mod the player pushes carts along the rails loads them with ore underground and hauls the ore out through the mine entrance to the surface","turn the story in this clip into a playable story a girl is chased by shadow creatures and a stranger with magic leads her away over the rooftops then a menacing woman curses her in the hat shop and she plays on as an old woman","tuxemon has towns characters to talk to and scripted events on a tile map which is enough for a chase a shop scene and a lasting change to the player character","tuxemon 有城镇 可以对话的角色和格子地图上的脚本事件 足够做出追逐 店内场景 以及玩家角色的持久变化","waterfalls run down piled rock beside the shore and feed streams that flow into the sea","在游玩中逃离威胁 影子追捕者会对玩家角色产生作用 而陌生人同伴留在玩家身边并带领玩家离开","地下游玩空间看起来像矿井 轨道周围是粗糙的岩石隧道或坑道","她在镜子里看到自己变老之后 让帽子店变得阴冷昏暗 蜡烛熄灭 黑烟不散 高大的镜子裂开","把这两章里的地下海做成一个可以探索的地方 玩家沿着海岸 从瀑布走到蘑菇森林 远古植物森林和一个小港湾 头顶是一片云的天空","把这几张照片里的矿车系统做成泰拉瑞亚的 mod 玩家沿轨道推动矿车 在井下装上矿石 再经过矿洞出口把矿运到地面","把这段视频里的故事做成可以玩的剧情 女孩被影子怪追赶 一个会魔法的陌生人带她从屋顶上方离开 之后一个气势逼人的女人在帽子店里对她下咒 她从此以老太太的样子继续游戏","沿同一侧海岸 地标按以下顺序排列 瀑布和溪流 然后是岬角转弯处的蘑菇森林 接着是远古植物森林 最后在尽头是港湾","泰拉瑞亚是横版挖矿游戏 本身就有矿车轨道 矿石和坑道 矿车网络和运矿都可以直接建立在它已有的系统上","泰拉瑞亚的横版地下世界本来就有洞穴 水体 发光蘑菇地带和背景天空 做一片带沿岸路线的地下海很自然","洞穴的天空 是一层云顶而不是开阔的天空 由均匀 漫射 冷白色的非阳光光线照亮","海岸上矗立着一片像树一样高的巨型蘑菇森林","海岸是海与悬崖之间一条连续可行走的路线 玩家可以沿它到达每个地标","海有潮汐 随着时间推移 水线明显沿着海岸的沙滩向上移动","海湾尽头 悬崖之间有一个水面平静的小港湾 背风遮蔽 并向大海敞开","游戏中包含帽子店的诅咒 在一家帽子��里 令人生畏的女人出现在女主角面前 女主角被一道咒语变成了老太太 且这位老太太明显仍是女主角","游戏中包含故事的主要角色 且他们各自是有区别的角色类型 女主角 一位拥有魔法力量的陌生人 没有面孔的影子生物追捕者 以及一个体型庞大 令人生畏的女人","游戏中有装载采掘物料的矿车 且既有装载的矿车 也有空矿车","游戏的故事保持了参考中关键事件的顺序 先是从追捕者手中获救 然后是帽子店的诅咒 接着是衰老的女主角身处城镇之外开阔的山丘上","瀑布从海岸旁堆叠的岩石上流下 汇入溪流 溪流注入海中","玩家移动矿车 玩家通过自己的操作使矿车沿轨道移动","矿井布局 有一条地下隧道或坑道 轨道沿其底部铺设 并有一个入口 该轨道经此通向地面","矿车在轨道上运行 受轨道引导 无法行驶到没有轨道的地方","矿车的装载状态可读 装载的矿车和空矿车一眼就能区分","蘑菇森林看起来像一片巨伞之林 粗茎上的宽大菌盖紧密排列","装载的矿车沿轨道移动时保持其货物","让巨型蘑菇有弹性 落到菌盖上会把我高高弹起 可以从一个菌盖跳到另一个","让满载的矿车有沉重感 起步更慢 最高速度也比空车低","诅咒作为游玩中的持久改变 衰老由在商店中与令人生畏的来访者的遭遇触发 并且玩家角色在之后的所有游玩中都保持衰老状态","轨道是一个网络 而不是一条线 多条线路汇合或交叉","运输路线 装载的矿车可以沿轨道从地下作业区经入口运到地面","远古森林看起来原始古老 有蕨类状和石松状的巨型植物 明显既不同于普通树木 也不同于蘑菇","镜子揭示 在一间昏暗 杂乱 堆满帽子的商店里 玩家角色面对一面镜子 镜中倒影显示出一张衰老的面容 并被作为一个揭示时刻单独凸显出来","魔法逃脱 两人被呈现在空中 高高位于城镇的屋顶和熙攘的街道之上"],"has_author_tier": false,"ext": {"image": [".jpeg",20 unmodified lines},"links": [],"notes": {"en": "<h2>Guidelines</h2>\n<h3>What a task is</h3>\n<p>A reference, a target game and a request. The agent must turn the reference into something <strong>playable</strong> in the game, not a look-alike. Each task is scored on about 12 points of three kinds: what is there (content), whether it works when played (function) and how it looks (visual). You propose the points; maintainers turn each into a graded rubric item (full, partial, none) and may add or merge some.</p>\n<h3>Reference</h3>\n<table>\n<thead>\n<tr>\n<th>Type</th>\n<th>Typical in the benchmark</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Video</td>\n<td>one continuous clip, 30–60 s</td>\n</tr>\n<tr>\n<td>Images</td>\n<td>3–6 images of one subject</td>\n</tr>\n<tr>\n<td>Text</td>\n<td>one chapter or passage</td>\n</tr>\n<tr>\n<td>Mixed</td>\n<td>a clip plus images or a text that adds what the clip does not show</td>\n</tr>\n</tbody>\n</table>\n<ul>\n<li>Your own, public-domain or CC material: upload it.</li>\n<li>Someone else's copyrighted work: link and time range only. The task stays private.</li>\n</ul>\n<h3>Scoring points</h3>\n<p>They become the rubric. Each point must be:</p>\n<ul>\n<li><strong>A full sentence about one thing.</strong> “The track is a network: several lines join or cross.”</li>\n<li><strong>Seen in the reference.</strong> Fill in where: img 2, 0:35–0:40, paragraph 3.</li>\n<li><strong>Checkable.</strong> Something a reviewer can see or try, not a judgement like “realistic”.</li>\n<li><strong>Defining.</strong> If the reference is still recognisable without it, leave it out.</li>\n<li><strong>Positive.</strong> What must be there, not what must be absent. No camera angles or exact numbers.</li>\n</ul>\n<table>\n<thead>\n<tr>\n<th>Good</th>\n<th>Not usable</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>The track is a network, not one line: several lines join or cross</td>\n<td>The track looks realistic</td>\n</tr>\n<tr>\n<td>The player moves the carts: by their own action the player makes a cart move along the track</td>\n<td>No flying carts</td>\n</tr>\n</tbody>\n</table>\n<h3>Writing standards</h3>\n<table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Why this game fits</td>\n<td>10–100 words</td>\n</tr>\n<tr>\n<td>What to build</td>\n<td>30–300 words</td>\n</tr>\n<tr>\n<td>Scoring points</td>\n<td>2–6 each for content, function and visual</td>\n</tr>\n<tr>\n<td>Each point</td>\n<td>one sentence, 8–50 words, plus its place in the reference</td>\n</tr>\n<tr>\n<td>Follow-up edit</td>\n<td>one change, 10–80 words</td>\n</tr>\n<tr>\n<td>Reference</td>\n<td>video part 10–120 s · images ≥ 3 · text ≥ 300 words</td>\n</tr>\n</tbody>\n</table>\n<p>These figures come from the benchmark's 172 tasks: every task has at least 2 rubric items of each kind, and an item is typically 12–46 words.</p>\n<h3>Not accepted</h3>\n<p>Unclear source · reskins with nothing to play · gore, sexual or hateful content · real people's private information · game files, cracks or online cheats.</p>\n<h3>Review and credit</h3>\n<ul>\n<li>Maintainers review every proposal and email you the result. They may ask for one revision.</li>\n<li>An accepted proposal becomes a full task: we write the instruction and turn your points into graded rubric items.</li>\n<li>Every accepted task: your name on the contributor list. 6 or more: named in the paper's acknowledgements.</li>\n<li>Up to 3 proposals under review at a time. Duplicates and low-effort text are declined.</li>\n</ul>\n","zh": "<h2>填写说明</h2>\n<h3>一道题是什么</h3>\n<p>一份素材、一款目标游戏、一个要求。AI 要把素材做成游戏里<strong>能玩</strong>的内容,只是看起来像不算。每道题按大约 12 个评分点打分,分三类:内容有没有(内容)、玩起来对不对(功能)、看起来像不像(视觉)。评分点由你来提;维护者把每一条写成分档的评分项(满分、部分、不得分),也可能补充或合并。</p>\n<h3>素材</h3>\n<table>\n<thead>\n<tr>\n<th>类型</th>\n<th>题库里的常见规格</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>视频</td>\n<td>一段连续画面,30–60 秒</td>\n</tr>\n<tr>\n<td>图片</td>\n<td>同一主题的 3–6 张</td>\n</tr>\n<tr>\n<td>文本</td>\n<td>一章或一段完整的文字</td>\n</tr>\n<tr>\n<td>混合</td>\n<td>一段视频,加上补充视频里看不到的内容的图片或文字</td>\n</tr>\n</tbody>\n</table>\n<ul>\n<li>自己的作品、公共领域或 CC 授权的素材:直接上传。</li>\n<li>别人的版权作品:只贴链接和时间段。这类题目不公开。</li>\n</ul>\n<h3>评分点</h3>\n<p>它们会变成评分标准。每一条都要:</p>\n<ul>\n<li><strong>是一句完整的话,只说一件事。</strong> “轨道是一个网络:多条线路汇合或交叉。”</li>\n<li><strong>在素材里看得到。</strong> 填上位置:图 2、0:35–0:40、第 3 段。</li>\n<li><strong>可以检查。</strong> 写审核者看得到、试得出的内容,不写“逼真”这类评价。</li>\n<li><strong>有决定性。</strong> 去掉它素材还认得出来,就不用写。</li>\n<li><strong>写“要有什么”。</strong> 不写“不能有什么”,也不写镜头角度和精确数值。</li>\n</ul>\n<table>\n<thead>\n<tr>\n<th>好的写法</th>\n<th>不能用</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>轨道是一个网络,而不是一条线:多条线路汇合或交叉</td>\n<td>轨道看起来很逼真</td>\n</tr>\n<tr>\n<td>玩家移动矿车:玩家通过自己的操作使矿车沿轨道移动</td>\n<td>矿车不能飞起来</td>\n</tr>\n</tbody>\n</table>\n<h3>填写标准</h3>\n<table>\n<thead>\n<tr>\n<th>项目</th>\n<th>要求</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>为什么适合这款游戏</td>\n<td>15–150 个字</td>\n</tr>\n<tr>\n<td>想做成什么</td>\n<td>45–450 个字</td>\n</tr>\n<tr>\n<td>评分点</td>\n<td>内容、功能、视觉各 2–6 条</td>\n</tr>\n<tr>\n<td>每条评分点</td>\n<td>一句话,12–75 个字,并填素材里的位置</td>\n</tr>\n<tr>\n<td>后续修改</td>\n<td>一处改动,15–120 个字</td>\n</tr>\n<tr>\n<td>素材</td>\n<td>视频片段 10–120 秒 · 图片 ≥ 3 张 · 文本 ≥ 450 个字</td>\n</tr>\n</tbody>\n</table>\n<p>这些数字来自题库的 172 道题:每道题每一类至少有 2 个评分项,一个评分项通常是 20–70 个字。</p>\n<h3>这些不收</h3>\n<p>来源说不清 · 只换皮、没有可玩内容 · 血腥、色情、仇恨内容 · 真人隐私 · 游戏原文件、破解、联机作弊。</p>\n<h3>审核与署名</h3>\n<ul>\n<li>维护者审核每一份提交,结果发到你的邮箱。可能请你改一轮。</li>\n<li>被收录的想法会做成正式题目:指令由我们来写,你的评分点由我们写成分档的评分项。</li>\n<li>每收录一道:昵称进入贡献者名单。累计 6 道以上:写入论文致谢。</li>\n<li>每人同时最多 3 份在审核中。重复提交和敷衍的内容会被拒绝。</li>\n</ul>\n"},"review_days": "","examples": [14 unmodified lines"Mechanics & Behavior","玩法与机制"],"fit": ["Terraria is a side-on mining game that already has minecart tracks, ore and tunnels, so the cart network and the hauling can be built on its own systems.","泰拉瑞亚是横版挖矿游戏,本身就有矿车轨道、矿石和坑道,矿车网络和运矿都可以直接建立在它已有的系统上。"],"idea": ["Turn the mine-cart system in these photos into a Terraria mod. The player pushes carts along the rails, loads them with ore underground and hauls the ore out through the mine entrance to the surface.","把这几张照片里的矿车系统做成泰拉瑞亚的 mod。玩家沿轨道推动矿车,在井下装上矿石,再经过矿洞出口把矿运到地面。"3 unmodified lines"让满载的矿车有沉重感:起步更慢,最高速度也比空车低。"],"result": ["All 9 items of the final rubric are shown; maintainers added the graded anchors (full, partial, none) and 3 editing tasks.","这里是最终评分标准的全部 9 项;维护者为每项补上了分档锚点(满分、部分、不得分),并出了 3 道编辑题。"],"id": "images","credit": "Photos, Wikimedia Commons: 1 Flocci Nivis (CC BY 4.0); 2 Ronald Werner (CC BY-SA 4.0); 3 Mining Museum for the Basque Country, Gallarta (CC BY-SA 4.0); 4 Fernost (public domain); 5 Timothy Titus (CC BY-SA 4.0); 6 unknown author, 1920s (public domain).","points": {"content": [["The game contains mine carts that hold a load of mined material, and both loaded and empty carts occur","游戏中有装载采掘物料的矿车,且既有装载的矿车,也有空矿车","img 2; img 3; img 4","图 2;图 3;图 4"],["The track is a network, not one line: several lines join or cross","轨道是一个网络,而不是一条线:多条线路汇合或交叉","img 2; img 6","图 2;图 6"],["The mine layout: an underground tunnel or gallery with the track along its floor, and an entrance through which that track runs out to the surface","矿井布局:有一条地下隧道或坑道,轨道沿其底部铺设,并有一个入口,该轨道经此通向地面","img 1; img 2; img 4","图 1;图 2;图 4"]],"function": [["Carts run on the track: they are guided by it and cannot travel where there is no track","矿车在轨道上运行:受轨道引导,无法行驶到没有轨道的地方","img 1; img 2; img 5","图 1;图 2;图 5"],["The player moves the carts: by their own action the player makes a cart move along the track","玩家移动矿车:玩家通过自己的操作使矿车沿轨道移动","img 6","图 6"],["A loaded cart keeps its load while it moves along the track","装载的矿车沿轨道移动时保持其货物","img 2; img 3; img 4","图 2;图 3;图 4"],["Hauling route: a loaded cart can be brought along the track from the underground workings out through the entrance to the surface","运输路线:装载的矿车可以沿轨道从地下作业区经入口运到地面","img 1; img 2","图 1;图 2"]],"visual": [["The underground play space looks like a mine: a rough rock tunnel or gallery around the track","地下游玩空间看起来像矿井:轨道周围是粗糙的岩石隧道或坑道","img 2; img 4","图 2;图 4"],["A cart's load state is readable: loaded and empty carts are told apart at a glance","矿车的装载状态可读:装载的矿车和空矿车一眼就能区分","img 2; img 3; img 4","图 2;图 3;图 4"]]},43 unmodified lines"Narrative & Event","剧情与事件"],"fit": ["Tuxemon has towns, characters to talk to and scripted events on a tile map, which is enough for a chase, a shop scene and a lasting change to the player character.","Tuxemon 有城镇、可以对话的角色和格子地图上的脚本事件,足够做出追逐、店内场景,以及玩家角色的持久变化。"],"idea": ["Turn the story in this clip into a playable story. A girl is chased by shadow creatures and a stranger with magic leads her away over the rooftops. Then a menacing woman curses her in the hat shop, and she plays on as an old woman.","把这段视频里的故事做成可以玩的剧情。女孩被影子怪追赶,一个会魔法的陌生人带她从屋顶上方离开;之后一个气势逼人的女人在帽子店里对她下咒,她从此以老太太的样子继续游戏。"3 unmodified lines"她在镜子里看到自己变老之后,让帽子店变得阴冷昏暗:蜡烛熄灭,黑烟不散,高大的镜子裂开。"],"result": ["7 of the 12 items of the final rubric are shown; maintainers added the graded anchors and 3 editing tasks.","这里是最终评分标准 12 项中的 7 项;维护者补上了分档锚点,并出了 3 道编辑题。"],"id": "video","credit": "","points": {"content": [["The game contains the story's main cast as distinct characters of their kind: the heroine (a young girl), a stranger with magic powers, faceless shadow-creature pursuers, and a huge menacing woman","游戏中包含故事的主要角色,且他们各自是有区别的角色类型:女主角(一个年轻女孩)、一位拥有魔法力量的陌生人、没有面孔的影子生物追捕者,以及一个体型庞大、令人生畏的女人","0:02–0:07; 0:16–0:17","0:02–0:07;0:16–0:17"],["The game contains the hat-shop curse: in a hat shop the menacing woman appears to the heroine, and the heroine is changed by a spell into an old woman who is clearly still the heroine","游戏中包含帽子店的诅咒:在一家帽子店里,令人生畏的女人出现在女主角面前,女主角被一道咒语变成了老太太,且这位老太太明显仍是女主角","0:14–0:20","0:14–0:20"],["The game's story keeps the reference's order of key events: the rescue from the pursuers, then the hat-shop curse, then the aged heroine out in the open hills beyond the town","游戏的故事保持了参考中关键事件的顺序:先是从追捕者手中获救,然后是帽子店的诅咒,接着是衰老的女主角身处城镇之外开阔的山丘上","0:02–0:22","0:02–0:22"]],"function": [["Escape from a threat in play: the shadow pursuers act on the player character (they advance, block or force the pace) and the stranger companion stays with the player and leads them away","在游玩中逃离威胁:影子追捕者会对玩家角色产生作用(他们逼近、拦阻���迫使玩家加快节奏),而陌生人同伴留在玩家身边并带领玩家离开","0:02–0:07","0:02–0:07"],["The curse as a lasting change in play: the aging is triggered by the encounter with the menacing visitor in the shop, and the player character stays aged in all play that follows","诅咒作为游玩中的持久改变:衰老由在商店中与令人生畏的来访者的遭遇触发,并且玩家角色在之后的所有游玩中都保持衰老状态","0:14–0:20","0:14–0:20"]],"visual": [["The magical escape: the pair shown in the air, high above the town's rooftops and the busy street","魔法逃脱:两人被呈现在空中,高高位于城镇的屋顶和熙攘的街道之上","0:07–0:11","0:07–0:11"],["Mirror reveal: in a dim, cluttered shop full of hats, the player character faces a mirror and the reflection shows an aged face, set apart as a reveal","镜子揭示:在一间昏暗、杂乱、堆满帽子的商店里,玩家角色面对一面镜子,镜中倒影显示出一张衰老的面容,并被作为一个揭示时刻单独凸显出来","0:14–0:16; 0:18–0:20","0:14–0:16;0:18–0:20"]]},18 unmodified lines"Scene & World","场景与世界"],"fit": ["Terraria's side-on underground world already has caves, water, glowing mushroom areas and a background sky, so an underground sea with a route along its shore fits it naturally.","泰拉瑞亚的横版地下世界本来就有洞穴、水体、发光蘑菇地带和背景天空,做一片带沿岸路线的地下海很自然。"],"idea": ["Rebuild the underground sea of these chapters as a place to explore. The player walks along the shore from the waterfalls to the mushroom forest, the forest of ancient plants and a small harbour, under a sky of cloud.","把这两章里的地下海做成一个可以探索的地方。玩家沿着海岸,从瀑布走到蘑菇森林、远古植物森林和一个小港湾,头顶是一片云的天空。"3 unmodified lines"让巨型蘑菇有弹性:落到菌盖上会把我高高弹起,可以从一个菌盖跳到另一个。"],"result": ["9 of the 11 items of the final rubric are shown; maintainers added the graded anchors and 3 editing tasks.","这里是最终评分标准 11 项中的 9 项;维护者补上了分档锚点,并出了 3 道编辑题。"],"id": "text","credit": "","points": {"content": [["Waterfalls run down piled rock beside the shore and feed streams that flow into the sea","瀑布从海岸旁堆叠的岩石上流下,汇入溪流,溪流注入海中","ch. 33, paragraphs 21–22","第 33 章第 21–22 段"],["A forest of giant mushrooms as tall as trees stands on the shore","海岸上矗立着一片像树一样高的巨型蘑菇森林","ch. 33, paragraphs 26–30","第 33 章第 26–30 段"],["At the far end of the bay a small harbour of calm water lies between cliffs, sheltered from the wind and open to the sea","海湾尽头,悬崖之间有一个水面平静的小港湾,背风遮蔽,并向大海敞开","ch. 33, paragraph 48; ch. 34, paragraph 47","第 33 章第 48 段;第 34 章第 47 段"],["Along one shore the landmarks are placed in this order: the waterfalls and streams, then the mushroom forest at the turn of a promontory, then the forest of ancient plants, and the harbour at the far end","沿同一侧海岸,地标按以下顺序排列:瀑布和溪流,然后是岬角转弯处的蘑菇森林,接着是远古植物森林,最后在尽头是港湾","ch. 33, paragraphs 21–22; ch. 33, paragraph 26; ch. 33, paragraph 31","第 33 章第 21–22 段;第 33 章第 26 段;第 33 章第 31 段"]],"function": [["The shore is a continuous walkable route between the sea and the cliffs that takes the player to each landmark","海岸是海与悬崖之间一条连续可行走的路线,玩家可以沿它到达每个地标","ch. 33, paragraphs 20–21; ch. 33, paragraph 26; ch. 33, paragraph 31","第 33 章第 20–21 段;第 33 章第 26 段;第 33 章第 31 段"],["The sea has a tide: over time the water line visibly moves up the sand of the shore","海有潮汐:随着时间推移,水线明显沿着海岸的沙滩向上移动","ch. 34, paragraphs 3–8; ch. 34, paragraph 11","第 34 章第 3–8 段;第 34 章第 11 段"]],"visual": [["The cavern's sky: a ceiling of clouds instead of an open sky, lit by an even, diffuse, cool white light that is not sunlight","洞穴的天空:是一层云顶而不是开阔的天空,由均匀、漫射、冷白色的非阳光光线照亮","ch. 33, paragraphs 6–7; ch. 33, paragraph 12","第 33 章第 6–7 段;第 33 章第 12 段"],["The mushroom forest looks like a forest of giant umbrellas: broad caps on thick stems standing close together","蘑菇森林看起来像一片巨伞之林:粗茎上的宽大菌盖紧密排列","ch. 33, paragraph 26; ch. 33, paragraph 29","第 33 章第 26 段;第 33 章第 29 段"],["The ancient forest looks primeval: giant plants of fern-like and club-moss-like forms, clearly unlike both ordinary trees and the mushrooms","远古森林看起来原始古老:有蕨类状和石松状的巨型植物,明显既不同于普通树木,也不同于蘑菇","ch. 33, paragraphs 31–32","第 33 章第 31–32 段"]]},
33 unmodified lines3435363738394041424344454623 unmodified lines7071727374752 unmodified lines78798081828384858687888933 unmodified lines<div id="ex_body"></div></section><div class="step"><span class="num">1</span><div><h2 data-t="s1"></h2><p data-t="s1_sub"></p></div></div><section class="panel"><fieldset><legend data-t="q_genres"></legend><p class="info" data-t="q_genres_info"></p><div class="opts" id="genres"></div></fieldset><label class="q" for="genre_other" data-t="q_other"></label><input id="genre_other" type="text" maxlength="200" data-ph="q_other_ph"><div class="two gap"><fieldset><legend data-t="q_hours"></legend><p class="info" data-t="q_hours_info"></p><div class="opts" id="hours"></div></fieldset><fieldset><legend data-t="q_modding"></legend><div class="opts col" id="modding"></div></fieldset></div><label class="q" for="profile" data-t="q_profile"></label>23 unmodified lines<section class="panel"><h3 class="sec" data-t="sec_task"></h3><label class="q" for="game" data-t="game"></label><p class="info" data-t="game_info"></p><select id="game"></select><fieldset><legend data-t="category"></legend><div class="opts col" id="category"></div></fieldset><label class="q" for="idea" data-t="idea"></label><p class="info" data-t="idea_info"></p><textarea id="idea" rows="4" data-ph="idea_ph"></textarea><div id="idea_n" class="count"></div>2 unmodified lines<section class="panel"><h3 class="sec"><span data-t="pts"></span><span id="pts_n" class="pill"></span></h3><p class="info" data-t="pts_info"></p><div class="dimbox content"><label class="q" for="content" data-t="content"></label><p class="info" data-t="content_info"></p><textarea id="content" rows="4" data-ph="content_ph"></textarea><div id="content_n" class="count"></div></div><div class="dimbox function"><label class="q" for="function" data-t="function"></label><p class="info" data-t="function_info"></p><textarea id="function" rows="3" data-ph="function_ph"></textarea><div id="function_n" class="count"></div></div><div class="dimbox visual"><label class="q" for="visual" data-t="visual"></label><p class="info" data-t="visual_info"></p><textarea id="visual" rows="3" data-ph="visual_ph"></textarea><div id="visual_n" class="count"></div></div><label class="q" for="edit" data-t="edit"></label><p class="info" data-t="edit_info"></p><input id="edit" type="text" data-ph="edit_ph"><div id="edit_n" class="count"></div></section>33 unmodified lines343536373839404142434445464748495051525354555623 unmodified lines80818283848586872 unmodified lines9091929394959697989910010133 unmodified lines<div id="ex_body"></div></section><section class="panel credit"><h2 data-t="credit_title"></h2><ul class="tiers"><li><b data-t="credit_1"></b><span data-t="credit_1_sub"></span></li><li><b data-t="credit_2"></b><span data-t="credit_2_sub"></span></li><li id="tier3"><b data-t="credit_3"></b><span data-t="credit_3_sub"></span></li></ul><p class="info" data-t="credit_note"></p></section><div class="step"><span class="num">1</span><div><h2 data-t="s1"></h2><p data-t="s1_sub"></p></div></div><section class="panel"><fieldset><legend data-t="q_genres"></legend><p class="info" data-t="q_genres_info"></p><div class="opts" id="genres"></div></fieldset><label class="q" for="genre_other" data-t="q_other"></label><input id="genre_other" type="text" maxlength="200" data-ph="q_other_ph"><div class="two gap"><fieldset><legend data-t="q_hours"></legend><p class="info" data-t="q_hours_info"></p><div id="hours"></div></fieldset><fieldset><legend data-t="q_modding"></legend><div class="opts col" id="modding"></div></fieldset></div><label class="q" for="profile" data-t="q_profile"></label>23 unmodified lines<section class="panel"><h3 class="sec" data-t="sec_task"></h3><label class="q" for="game" data-t="game"></label><p class="info" data-t="game_info"></p><select id="game"></select><label class="q" for="fit" data-t="fit"></label><p class="info" data-t="fit_info"></p><textarea id="fit" rows="2" data-ph="fit_ph"></textarea><div id="fit_n" class="count"></div><fieldset><legend data-t="category"></legend><div class="opts col" id="category"></div></fieldset><label class="q" for="idea" data-t="idea"></label><p class="info" data-t="idea_info"></p><textarea id="idea" rows="4" data-ph="idea_ph"></textarea><div id="idea_n" class="count"></div>2 unmodified lines<section class="panel"><h3 class="sec"><span data-t="pts"></span><span id="pts_n" class="pill"></span></h3><p class="info" data-t="pts_info"></p><fieldset class="dimbox content"><legend data-t="content"></legend><p class="info" data-t="content_info"></p><div id="content_rows" class="rows"></div><button type="button" id="content_add" class="add"><span aria-hidden="true">+</span> <span data-t="p_add"></span></button></fieldset><fieldset class="dimbox function"><legend data-t="function"></legend><p class="info" data-t="function_info"></p><div id="function_rows" class="rows"></div><button type="button" id="function_add" class="add"><span aria-hidden="true">+</span> <span data-t="p_add"></span></button></fieldset><fieldset class="dimbox visual"><legend data-t="visual"></legend><p class="info" data-t="visual_info"></p><div id="visual_rows" class="rows"></div><button type="button" id="visual_add" class="add"><span aria-hidden="true">+</span> <span data-t="p_add"></span></button></fieldset><label class="q" for="edit" data-t="edit"></label><p class="info" data-t="edit_info"></p><input id="edit" type="text" data-ph="edit_ph"><div id="edit_n" class="count"></div></section>
50 unmodified lines51525354555679 unmodified lines1361371381391401413 unmodified lines14514614714814915015115250 unmodified linesmain { padding-bottom: 40px; }.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 16px 0; box-shadow: var(--shadow); min-width: 0; }.examples { margin-top: -28px; position: relative; }.panel_head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }.panel_head h2 { font-size: 1.12rem; }.tabs { display: flex; padding: 3px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }79 unmodified lines#result h3 { font-size: 1.02rem; margin-bottom: 6px; } #result.good h3 { color: var(--good); } #result.bad h3 { color: var(--bad); }#result ul { margin: 4px 0; padding-left: 1.2rem; font-size: .94rem; } #result li { margin: 3px 0; } #result code { font-size: .92em; padding: 1px 5px; border-radius: 5px; background: var(--panel); }/* guidelines */.notes { position: sticky; top: 72px; max-height: calc(100vh - 88px); overflow: auto; margin: 16px 0; padding: 20px 22px; border-radius: var(--radius);background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .9rem; overflow-wrap: anywhere; }3 unmodified lines.notes th { text-align: left; font-weight: 600; color: var(--sub); border-bottom: 1px solid var(--line); padding: 4px 8px 4px 0; }.notes td { border-bottom: 1px solid var(--line); padding: 5px 8px 5px 0; vertical-align: top; }.notes td:first-child, .notes th:first-child { white-space: nowrap; overflow-wrap: normal; }.notes h3:nth-of-type(3) + p + ul + table td:first-child { white-space: normal; }.notes h3:nth-of-type(3) + p + ul + table td:last-child { color: var(--bad); }footer { padding: 8px 20px 40px; color: var(--sub); font-size: .85rem; text-align: center; }@media (max-width: 900px) {50 unmodified lines5152535455565779 unmodified lines1371381391401411421431441451461471481491501511521531541551561571581591601611621631641651663 unmodified lines17017117217317417517617750 unmodified linesmain { padding-bottom: 40px; }.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 16px 0; box-shadow: var(--shadow); min-width: 0; }.examples { margin-top: -28px; position: relative; }.ex_text h4:first-of-type { margin-top: 14px; }.panel_head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }.panel_head h2 { font-size: 1.12rem; }.tabs { display: flex; padding: 3px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }79 unmodified lines#result h3 { font-size: 1.02rem; margin-bottom: 6px; } #result.good h3 { color: var(--good); } #result.bad h3 { color: var(--bad); }#result ul { margin: 4px 0; padding-left: 1.2rem; font-size: .94rem; } #result li { margin: 3px 0; } #result code { font-size: .92em; padding: 1px 5px; border-radius: 5px; background: var(--panel); }/* credit */.credit h2 { font-size: 1.12rem; margin-bottom: 12px; }.tiers { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; padding: 0; margin: 0 0 12px; }.tiers li { padding: 12px 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }.tiers b { display: block; } .tiers span { font-size: .9rem; color: var(--sub); }.credit .info { margin: 0; }/* hours per kind, point rows */.hrow { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-size: .94rem; }.hrow span { flex: 1; min-width: 0; } .hrow select { width: auto; min-width: 150px; flex: none; padding: 7px 10px; }.dimbox legend { color: var(--c); margin-top: 0; }.point { display: flex; gap: 10px; margin: 10px 0; }.pn { flex: none; width: 24px; height: 24px; margin-top: 9px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 700;color: var(--c); border: 1.5px solid var(--c); }.pbody { flex: 1; min-width: 0; }.pwhere { display: flex; gap: 8px; margin-top: 6px; } .pwhere input { font-size: .9rem; padding: 7px 10px; }.x { flex: none; border: 1px solid var(--line); background: var(--field); color: var(--sub); border-radius: 8px; width: 36px; cursor: pointer; font-size: 1.1rem; line-height: 1; }.x:hover { color: var(--bad); border-color: var(--bad); }.add { border: 1px dashed var(--c); background: none; color: var(--c); padding: 7px 14px; border-radius: 9px; cursor: pointer; font: inherit; font-size: .9rem; font-weight: 600; margin-left: 34px; }.add:hover { background: color-mix(in srgb, var(--c) 10%, transparent); }.dim ol { margin: 2px 0 0; padding-left: 1.3rem; font-size: .93rem; } .dim li { margin: 4px 0; }.where { display: inline-block; margin-left: 8px; font-size: .76rem; padding: 0 7px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); color: var(--sub); white-space: nowrap; }.ex_media h4 { margin: 16px 0 4px; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--sub); } .ex_media p { font-size: .94rem; }/* guidelines */.notes { position: sticky; top: 72px; max-height: calc(100vh - 88px); overflow: auto; margin: 16px 0; padding: 20px 22px; border-radius: var(--radius);background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .9rem; overflow-wrap: anywhere; }3 unmodified lines.notes th { text-align: left; font-weight: 600; color: var(--sub); border-bottom: 1px solid var(--line); padding: 4px 8px 4px 0; }.notes td { border-bottom: 1px solid var(--line); padding: 5px 8px 5px 0; vertical-align: top; }.notes td:first-child, .notes th:first-child { white-space: nowrap; overflow-wrap: normal; }.notes h3:nth-of-type(3) ~ table:first-of-type td:first-child, .notes table:nth-of-type(2) td:first-child { white-space: normal; }.notes table:nth-of-type(2) td:last-child { color: var(--bad); }footer { padding: 8px 20px 40px; color: var(--sub); font-size: .85rem; text-align: center; }@media (max-width: 900px) {
app.js+129-78
data.json+348-103
index.html+19-7
style.css+27-2