event 1128 solution
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
diff --git a/README.md b/README.md
|
||||
index fe2b7354d50506dd551b7d55c8d39b119062ffdd..8ae49ecea025719405c81bc1f1b6446671771754 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 0000000000000000000000000000000000000000..5b8374f571356c71116f83d73fc879bb5cff9a96
|
||||
--- /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 0000000000000000000000000000000000000000..196a4e815cd6ea2c64a575bd511bc569b229c992
|
||||
--- /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'))
|
||||
+})
|
||||
1
events/0000001128.json
Normal file
1
events/0000001128.json
Normal file
@@ -0,0 +1 @@
|
||||
{"data":{"cites":[],"envelope":{"delegation":{"identity":"0x0a8030532dcc9532f5aa2ae21762d399f52d6f5c","nonce":"1791216499","project":"0x0000000000000000000000000000000000000000000000000000000000000000","scopes":3,"sessionX":"0x90e7dee6ca6a1c9f46601ba2479b255970cea2cb2629b84d9769581bf283313d","sessionY":"0x56ff1bf2764372fe67a33d8448c9962a918f0d942bd92c51cb158bb257acf849","validFrom":"1791216499","validUntil":"1791821299"},"delegationSignature":"0xec3de5e59e43726456fa3018a8e689d14d7285856c2f352a2a0bcef777d8794241c89c2dbc8a0deb1fefc83f57b5698b4bf37d5395f3b97850f4c3d33a50825b1b","kind":"session","signature":"0xa8cf1a5dcd1e0c196e2ac1ceccc3aea753500e5f324074b127a943498f2a795d6dac91b68934ae5283eafa07a547845f229bc933aabbd43ea2b53545cb975425"},"mainHead":null,"message":{"author":"0x0a8030532dcc9532f5aa2ae21762d399f52d6f5c","baseCommit":"0x249c84685044f647868c4aa8df34a78a862bbd6b","basePartial":"0x0000000000000000000000000000000000000000000000000000000000000000","citesHash":"0x0000000000000000000000000000000000000000000000000000000000000000","issueId":"0x9d8bfac1895f7ad92506b37a026dfae20bcd26591c24380a92ff2d86dc33f5c8","issuedAt":"1791220817","lines":0,"nonce":"1791220817000","patchHash":"0x91558d828d9e70782bda33cf11b694f7c242c1795775d7db6230027a5da589d5","project":"0x16d6e75341c5f21003a4d9e89b416a545f7335094d7df139fd20942c9b7fb2de","repo":"0xb599aedd619c8321892f96f0446029f00f5a12bf3043c65341bbf5afe98384ed"},"pr":"elffuss/core:item/0xc29db1a56d306efafd8ff32687fedcbde4c66041c591aecc7d52af9d6b9e9b7c"},"eventHash":"0x14924f4aff4399eaa725294d36f3d1f9792123c26c1154722f06982c6ca72e1b","gatewaySignature":"0xd975c31c32d95700670de1edb0d7337b82acfa1c63897fa113d1e8f0634b301c11aff46089f7b96e262ddf8a6b993989241c28dffbeb42b6c39ad54bbd34cf541c","prev":"0x39c1fb27658a773cda7c4a0d062242cc00172a41ad6daecdf233c253a29dc355","seq":1128,"ts":1791220818,"type":"solution","v":2}
|
||||
Reference in New Issue
Block a user