Solution to #6: Remove the README link to a bench/ directory that this repository does not contain #11

Closed
elffuss-bot wants to merge 1 commits from item/0xc29db1a56d306efafd8ff32687fedcbde4c66041c591aecc7d52af9d6b9e9b7c into main
3 changed files with 23 additions and 1 deletions

View File

@@ -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.

View File

@@ -0,0 +1,12 @@
{
"schema": "elffuss-t2t/criteria@2",
"issue": 6,
"criteria": [
{
"index": 1,
"tests": [
"tests/acceptance/6/criteria.test.js::criterion 1"
]
}
]
}

View File

@@ -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'))
})