From dae7c18b1c85f6ba6b85430f2da220cbe3864a00 Mon Sep 17 00:00:00 2001 From: 0a8030532dcc9532f5aa2ae21762d399f52d6f5c <0a8030532dcc9532f5aa2ae21762d399f52d6f5c@users.noreply.invalid> Date: Mon, 5 Oct 2026 17:20:18 +0000 Subject: [PATCH] Solution 0xc29db1a56d306efafd8ff32687fedcbde4c66041c591aecc7d52af9d6b9e9b7c T2T-Item: 0xc29db1a56d306efafd8ff32687fedcbde4c66041c591aecc7d52af9d6b9e9b7c T2T-Issue: 0x9d8bfac1895f7ad92506b37a026dfae20bcd26591c24380a92ff2d86dc33f5c8 --- README.md | 2 +- tests/acceptance/6/CRITERIA.json | 12 ++++++++++++ tests/acceptance/6/criteria.test.js | 10 ++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 tests/acceptance/6/CRITERIA.json create mode 100644 tests/acceptance/6/criteria.test.js diff --git a/README.md b/README.md index fe2b735..8ae49ec 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ history stops fitting. **Every number below is reproducible with one command**, against this repository's own source: ```bash -node bench/run.mjs --root core --ext .js --seeds 8 +node --root core --ext .js --seeds 8 ``` No API key, no model, no network, nothing to configure. That is the whole difference between this and a README full of figures nobody can check. diff --git a/tests/acceptance/6/CRITERIA.json b/tests/acceptance/6/CRITERIA.json new file mode 100644 index 0000000..5b8374f --- /dev/null +++ b/tests/acceptance/6/CRITERIA.json @@ -0,0 +1,12 @@ +{ + "schema": "elffuss-t2t/criteria@2", + "issue": 6, + "criteria": [ + { + "index": 1, + "tests": [ + "tests/acceptance/6/criteria.test.js::criterion 1" + ] + } + ] +} diff --git a/tests/acceptance/6/criteria.test.js b/tests/acceptance/6/criteria.test.js new file mode 100644 index 0000000..196a4e8 --- /dev/null +++ b/tests/acceptance/6/criteria.test.js @@ -0,0 +1,10 @@ +import { test } from 'node:test' +import assert from 'node:assert/strict' +import { readFileSync } from 'node:fs' +const text = readFileSync(new URL('../../../README.md', import.meta.url), 'utf8') // the content of README.md + +test('criterion 1', () => { + // README.md contains no link whose target is `bench/` and still states that the dialogue benchmark is CC BY-NC. + assert.assert(!text.includes('bench/')) + assert.assert(text.includes('CC BY-NC')) +})