@btusbefw/dkg-experiment-ledger 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DEMO.md +1 -1
- package/README.md +3 -3
- package/package.json +1 -1
package/DEMO.md
CHANGED
|
@@ -6,6 +6,6 @@ The walkthrough runs `scripts/demo-session.mjs` against a real DKG 10.0.16 node.
|
|
|
6
6
|
|
|
7
7
|
The example's deterministic held-out mean squared errors are approximately 0.7939276 (degree one) and 0.00495805 (degree three). These are measurements on the included synthetic example, not a claim of real-world model improvement. The dataset, source, parameters, and record digests are preserved.
|
|
8
8
|
|
|
9
|
-
The node is isolated with no external peers and a mock chain. The recording proves local API functionality and sealed sharing, not public replication, mainnet publication, or payment. The
|
|
9
|
+
The node is isolated with no external peers and a mock chain. The recording proves local API functionality and sealed sharing, not public replication, mainnet publication, or payment. The recording is available in the [public source repository](https://github.com/btusbefw/dkg-experiment-ledger/blob/main/demo/walkthrough.cast), alongside its readable transcript.
|
|
10
10
|
|
|
11
11
|
To reproduce: configure a local registered-agent token and an existing test Project, run `node examples/autoresearch.mjs --offline`, then run `node scripts/demo-session.mjs`. Use a fresh disposable Project if you want the first writes shown as new records rather than idempotent replays. Do not use a production project for this demo: the script deliberately performs SHARE.
|
package/README.md
CHANGED
|
@@ -18,9 +18,9 @@ node bin/cli.mjs list
|
|
|
18
18
|
|
|
19
19
|
The offline demo really fits degree-one and degree-three regressions to deterministic synthetic training data and measures held-out mean squared error. Running without `--offline` writes both results to DKG and compares records retrieved from the node. The generated records contain source and dataset SHA-256 fingerprints; `demo-output/receipt.json` records the verified result. This deliberately small numerical example demonstrates the integration, not a claim about general machine-learning performance.
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
Install the public package with `npm install --global @btusbefw/dkg-experiment-ledger`.
|
|
22
22
|
|
|
23
|
-
After
|
|
23
|
+
After installing the package, `dkg-experiments` replaces `node bin/cli.mjs`. `DKG_API_URL` and `DKG_AUTH_TOKEN` are accepted aliases for registry-provided configuration. Token files may contain DKG's comment header. No token value is printed. HTTPS remote nodes require explicit `DKG_ALLOW_REMOTE=1`; otherwise only loopback destinations are allowed.
|
|
24
24
|
|
|
25
25
|
## Record contract
|
|
26
26
|
|
|
@@ -72,4 +72,4 @@ DKG_TEST_LOCAL=1 npm run test:integration
|
|
|
72
72
|
|
|
73
73
|
The real-node suite proves round-trip storage, duplicate detection, project isolation, bad-token denial, comparison, and authorized sealed sharing. `LAB.md` describes the test node and its limitations. See `DESIGN.md`, `SECURITY.md`, and `DEMO.md` for the bounty review materials.
|
|
74
74
|
|
|
75
|
-
Maintainer
|
|
75
|
+
Maintainer: [btusbefw](https://github.com/btusbefw). Report reproducible problems through the [issue tracker](https://github.com/btusbefw/dkg-experiment-ledger/issues).
|