@citeark/agent 0.3.20
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/LICENSE +202 -0
- package/README.md +128 -0
- package/data/dataset-source-registry.v1.json +300 -0
- package/dist/arkgraph/boot.js +6 -0
- package/dist/arkgraph/index.html +1 -0
- package/dist/arkgraph/viewer.css +1 -0
- package/dist/arkgraph/viewer.en.css +1 -0
- package/dist/arkgraph/viewer.en.js +49 -0
- package/dist/arkgraph/viewer.en.js.LEGAL.txt +56 -0
- package/dist/arkgraph/viewer.js +49 -0
- package/dist/arkgraph/viewer.js.LEGAL.txt +56 -0
- package/docker/claude-code/Dockerfile +97 -0
- package/docker/claude-code/codex-pro-relay.mjs +466 -0
- package/docker/claude-code/runtime-contract-check.mjs +79 -0
- package/docs/arkgraph-reading.md +79 -0
- package/docs/configuration.md +100 -0
- package/docs/integration.md +92 -0
- package/docs/maturity-plan.md +27 -0
- package/docs/npm-release.md +44 -0
- package/docs/paper-reading.md +40 -0
- package/docs/research-plan-granularity.md +27 -0
- package/docs/terminal.md +49 -0
- package/examples/toy-evaluation/compile-task.json +27 -0
- package/examples/toy-evaluation/paper.md +5 -0
- package/examples/toy-evaluation/repository/README.md +9 -0
- package/examples/toy-evaluation/repository/checkpoint.json +4 -0
- package/examples/toy-evaluation/repository/evaluate.py +17 -0
- package/examples/toy-evaluation/task.json +81 -0
- package/package.json +59 -0
- package/prompts/compile-research.md +58 -0
- package/prompts/execute-contract.md +72 -0
- package/prompts/execute-workspace-simple.md +51 -0
- package/prompts/execute-workspace.md +34 -0
- package/prompts/prepare-reproduction.md +82 -0
- package/prompts/repair-research.md +45 -0
- package/protocol/CAP.md +129 -0
- package/protocol/LICENSE +12 -0
- package/protocol/MAPPINGS.md +72 -0
- package/protocol/README.md +38 -0
- package/protocol/conformance-v2.0-alpha.1.json +36 -0
- package/protocol/examples/arkgraph/checkpoint-evaluation.json +309 -0
- package/protocol/examples/arkgraph/fixtures.mjs +49 -0
- package/protocol/examples/arkgraph/paper-free.json +291 -0
- package/protocol/examples/arkgraph/partial-failure.json +344 -0
- package/protocol/examples/arkgraph/training-evaluation.json +443 -0
- package/protocol/profiles/agent-trace.md +16 -0
- package/protocol/profiles/computational-run.md +16 -0
- package/protocol/profiles/core.md +15 -0
- package/protocol/profiles/public-bundle.md +18 -0
- package/protocol/profiles/reproduction.md +29 -0
- package/protocol/profiles/research-compilation.md +44 -0
- package/protocol/profiles/research-plan.md +39 -0
- package/protocol/profiles/restricted-evidence.md +15 -0
- package/runtime/bootstrap-autodl-runtime.sh +314 -0
- package/runtime/create-runtime-venv.sh +41 -0
- package/runtime/install-local-cpu-runtime.sh +23 -0
- package/runtime/install-scientific-runtime.sh +153 -0
- package/runtime/mineru/parse.py +62 -0
- package/runtime/mineru/requirements.txt +4 -0
- package/runtime/requirements-baseline.txt +38 -0
- package/schemas/cap/v2/activity.schema.json +47 -0
- package/schemas/cap/v2/agent.schema.json +32 -0
- package/schemas/cap/v2/assertion.schema.json +110 -0
- package/schemas/cap/v2/descriptor.schema.json +243 -0
- package/schemas/cap/v2/entity.schema.json +64 -0
- package/schemas/cap/v2/manifest.schema.json +67 -0
- package/schemas/cap/v2/relation.schema.json +82 -0
- package/schemas/compute-catalog.schema.json +63 -0
- package/schemas/compute-decision.schema.json +27 -0
- package/schemas/execution-contract.schema.json +1024 -0
- package/schemas/research-card.schema.json +30 -0
- package/schemas/research-inventory-draft.schema.json +366 -0
- package/schemas/research.schema.json +1044 -0
- package/schemas/result.schema.json +173 -0
- package/schemas/verification-policy.schema.json +47 -0
- package/schemas/verified-conclusion.schema.json +58 -0
- package/schemas/workspace-summary.schema.json +24 -0
- package/scripts/build-arkgraph-view.mjs +12 -0
- package/scripts/check-execution-feasibility.mjs +24 -0
- package/scripts/check-syntax.mjs +15 -0
- package/scripts/deterministic-asset-preparation.py +438 -0
- package/scripts/package-cap.mjs +23 -0
- package/scripts/package-local-agent.mjs +23 -0
- package/scripts/preview-arkgraph.mjs +25 -0
- package/scripts/replay-research-compiler-candidate.mjs +134 -0
- package/scripts/review-compiler-sources.mjs +44 -0
- package/scripts/run-asset-preparation.sh +17 -0
- package/scripts/run-research-plan.mjs +98 -0
- package/scripts/validate-asset-preparation.py +290 -0
- package/scripts/verify-local-runtime.mjs +57 -0
- package/scripts/verify-npm-package.mjs +57 -0
- package/src/adapters/paper2agent.mjs +107 -0
- package/src/assets/cache.mjs +159 -0
- package/src/assets/compute.mjs +98 -0
- package/src/assets/executor.mjs +145 -0
- package/src/assets/lifecycle.mjs +213 -0
- package/src/assets/manifest.mjs +242 -0
- package/src/assets/opportunistic-preparation.mjs +81 -0
- package/src/assets/plan.mjs +411 -0
- package/src/assets/prompts.mjs +29 -0
- package/src/assets/public-asset-probe.mjs +525 -0
- package/src/assets/qualification.mjs +119 -0
- package/src/assets/readiness.mjs +130 -0
- package/src/assets/reproduction-admission.mjs +355 -0
- package/src/assets/requirements.mjs +152 -0
- package/src/assets/source-grounding.mjs +341 -0
- package/src/assets/source-policy.mjs +118 -0
- package/src/autodl/client.mjs +260 -0
- package/src/autodl/ssh.mjs +380 -0
- package/src/autodl/tools.mjs +129 -0
- package/src/cap/redaction.mjs +38 -0
- package/src/cap/v2/archive.mjs +152 -0
- package/src/cap/v2/attestation.mjs +204 -0
- package/src/cap/v2/canonical-json.mjs +114 -0
- package/src/cap/v2/compilation-artifact.mjs +240 -0
- package/src/cap/v2/core.mjs +282 -0
- package/src/cap/v2/measurement-assessment-records.mjs +23 -0
- package/src/cap/v2/pipeline-artifact.mjs +922 -0
- package/src/cap/v2/read.mjs +41 -0
- package/src/cap/v2/reassessment-artifact.mjs +383 -0
- package/src/cap/v2/research-artifact.mjs +231 -0
- package/src/cap/v2/research-map-records.mjs +46 -0
- package/src/cap/v2/research-object-records.mjs +163 -0
- package/src/cap/v2/research-records.mjs +187 -0
- package/src/cap/v2/verify.mjs +642 -0
- package/src/cli.mjs +1146 -0
- package/src/compute/autodl-pro-compiler.mjs +347 -0
- package/src/compute/autodl-pro-executor.mjs +459 -0
- package/src/compute/autodl-pro-job.mjs +843 -0
- package/src/compute/autodl-pro-network.mjs +295 -0
- package/src/compute/autodl-pro-remote.mjs +810 -0
- package/src/compute/autodl-pro-staging.mjs +117 -0
- package/src/compute/campaign.mjs +110 -0
- package/src/compute/catalog.mjs +123 -0
- package/src/compute/checkpoint-protocol.mjs +154 -0
- package/src/compute/codex-account-lock.mjs +111 -0
- package/src/compute/codex-account-session.mjs +107 -0
- package/src/compute/compiler-profile.mjs +38 -0
- package/src/compute/compiler-router.mjs +23 -0
- package/src/compute/coordinator-recovery.mjs +210 -0
- package/src/compute/executor-router.mjs +29 -0
- package/src/compute/gcp-batch-compiler.mjs +685 -0
- package/src/compute/gcp-batch-executor.mjs +1215 -0
- package/src/compute/gcp-batch-failure.mjs +92 -0
- package/src/compute/gcp-batch-job.mjs +527 -0
- package/src/compute/gcp-batch-lifecycle.mjs +81 -0
- package/src/compute/gcp-checkpoint-worker.mjs +1633 -0
- package/src/compute/local-codex-compiler.mjs +52 -0
- package/src/compute/measurement-hardware.mjs +128 -0
- package/src/compute/remote-attempt.mjs +226 -0
- package/src/compute/requirements.mjs +124 -0
- package/src/compute/research-phases.mjs +48 -0
- package/src/compute/scheduler.mjs +452 -0
- package/src/compute/shared-workloads.mjs +26 -0
- package/src/compute/stage-archive.mjs +79 -0
- package/src/contracts/campaign-contract.mjs +52 -0
- package/src/contracts/execution-contract.mjs +819 -0
- package/src/contracts/execution-mode.mjs +19 -0
- package/src/contracts/execution-timeouts.mjs +45 -0
- package/src/contracts/execution-workload.mjs +68 -0
- package/src/contracts/preflight-schema.mjs +25 -0
- package/src/contracts/public-contract.mjs +63 -0
- package/src/contracts/subject-tags.mjs +31 -0
- package/src/dashboard/data.mjs +898 -0
- package/src/dashboard/server.mjs +79 -0
- package/src/dashboard/static/dashboard.css +366 -0
- package/src/dashboard/static/dashboard.js +560 -0
- package/src/dashboard/static/index.html +85 -0
- package/src/deployment/community-policy.mjs +9 -0
- package/src/deployment/environment.mjs +112 -0
- package/src/deployment/guided.mjs +98 -0
- package/src/deployment/handoff.mjs +102 -0
- package/src/deployment/local-contract.mjs +31 -0
- package/src/deployment/local.mjs +100 -0
- package/src/deployment/prepare.mjs +46 -0
- package/src/deployment/recipe.mjs +108 -0
- package/src/deployment/supplement.mjs +51 -0
- package/src/deployment/terminal.mjs +43 -0
- package/src/diagnosis/renderer.mjs +75 -0
- package/src/diagnosis/target-failure.mjs +46 -0
- package/src/evidence/parser-registry.mjs +54 -0
- package/src/evidence/parsers/fasttext-classification.mjs +82 -0
- package/src/evidence/parsers/json-scalar.mjs +96 -0
- package/src/evidence/parsers/simcse-senteval.mjs +104 -0
- package/src/evidence/parsers/starspace-classification.mjs +78 -0
- package/src/evidence/registry.mjs +147 -0
- package/src/execution/runner-audit.mjs +473 -0
- package/src/gcp/auth.mjs +106 -0
- package/src/gcp/batch-client.mjs +120 -0
- package/src/gcp/resource-discovery.mjs +177 -0
- package/src/gcp/rest.mjs +82 -0
- package/src/gcp/secret-manager.mjs +34 -0
- package/src/gcp/signed-url.mjs +133 -0
- package/src/gcp/storage.mjs +220 -0
- package/src/graph/command.mjs +41 -0
- package/src/graph/execution.mjs +97 -0
- package/src/graph/model.mjs +37 -0
- package/src/graph/presentation.mjs +110 -0
- package/src/graph/query.mjs +159 -0
- package/src/graph/research-relations.mjs +69 -0
- package/src/graph/source-page.mjs +12 -0
- package/src/graph/source-preview.mjs +34 -0
- package/src/graph/validate.mjs +76 -0
- package/src/job.mjs +496 -0
- package/src/network/autodl-routing-proxy.mjs +462 -0
- package/src/network/egress-proxy.mjs +158 -0
- package/src/observability/event-contract.mjs +230 -0
- package/src/observability/pipeline-monitor.mjs +166 -0
- package/src/pipeline/orchestrator.mjs +1281 -0
- package/src/pipeline/recovery-error.mjs +11 -0
- package/src/pipeline/replay.mjs +304 -0
- package/src/pipeline/shared-execution.mjs +115 -0
- package/src/pipeline/stage-checkpoint.mjs +86 -0
- package/src/pipeline/stage-recovery.mjs +101 -0
- package/src/pipeline/targets.mjs +110 -0
- package/src/process.mjs +143 -0
- package/src/protocol.mjs +312 -0
- package/src/provider/codex-account.mjs +44 -0
- package/src/provider/codex-completion.mjs +49 -0
- package/src/provider/completion.mjs +292 -0
- package/src/provider/model-client.mjs +44 -0
- package/src/provider/model-route.mjs +29 -0
- package/src/provider/openrouter-readiness.mjs +189 -0
- package/src/provider/reader-bridge.mjs +35 -0
- package/src/provider/relay.mjs +263 -0
- package/src/provider/runtime-auth.mjs +40 -0
- package/src/public/cap.d.mts +90 -0
- package/src/public/cap.mjs +12 -0
- package/src/public/contracts.d.mts +2 -0
- package/src/public/host.mjs +171 -0
- package/src/public/operations.d.mts +11 -0
- package/src/public/presentation.d.mts +4 -0
- package/src/records/views.mjs +26 -0
- package/src/remote/command.mjs +178 -0
- package/src/remote/ssh.mjs +59 -0
- package/src/repository-origin.mjs +81 -0
- package/src/reproduction/evidence-feedback.mjs +96 -0
- package/src/reproduction/incomplete-initialization.mjs +25 -0
- package/src/reproduction/lifecycle.mjs +253 -0
- package/src/reproduction/plan.mjs +132 -0
- package/src/reproduction/prompts.mjs +70 -0
- package/src/reproduction/runner.mjs +188 -0
- package/src/reproduction/summary.mjs +130 -0
- package/src/reproduction/workspace-mode.mjs +7 -0
- package/src/research/automatic-admission.mjs +156 -0
- package/src/research/compiler-coverage.mjs +85 -0
- package/src/research/compiler-failure.mjs +24 -0
- package/src/research/compiler-normalization-guards.mjs +112 -0
- package/src/research/compiler-repair.mjs +3 -0
- package/src/research/compiler.mjs +853 -0
- package/src/research/continuation-selection.mjs +26 -0
- package/src/research/execution-graph-context.mjs +43 -0
- package/src/research/experiment-importance.mjs +15 -0
- package/src/research/inventory-handoff.mjs +104 -0
- package/src/research/inventory-revisions.mjs +32 -0
- package/src/research/mineru-local.mjs +73 -0
- package/src/research/paper-command.mjs +19 -0
- package/src/research/paper-markdown.mjs +180 -0
- package/src/research/paper-source-map.mjs +69 -0
- package/src/research/planning-policy.mjs +88 -0
- package/src/research/reference-materials.mjs +11 -0
- package/src/research/reproduction-scope.mjs +30 -0
- package/src/research/research-map.mjs +94 -0
- package/src/research/research-objects.mjs +88 -0
- package/src/research/source-discovery.mjs +646 -0
- package/src/research/source-observations.mjs +75 -0
- package/src/research/source-review-cli-mcp.mjs +26 -0
- package/src/research/source-review-input.mjs +209 -0
- package/src/research/source-review-local-codex.mjs +36 -0
- package/src/research/source-review-model.mjs +70 -0
- package/src/research/source-review.mjs +173 -0
- package/src/research/structure.mjs +3163 -0
- package/src/research-card/renderer.mjs +277 -0
- package/src/research-card/verified-conclusion.mjs +143 -0
- package/src/results/output-registry.mjs +183 -0
- package/src/runtime/claude-code.mjs +52 -0
- package/src/runtime/codex-capacity-retry.mjs +87 -0
- package/src/runtime/codex.mjs +64 -0
- package/src/runtime/config.mjs +157 -0
- package/src/runtime/final-output.mjs +40 -0
- package/src/runtime/index.mjs +21 -0
- package/src/runtime/local-codex.mjs +74 -0
- package/src/runtime/opencode.mjs +95 -0
- package/src/runtime/prompt.mjs +13 -0
- package/src/sandbox/docker.mjs +363 -0
- package/src/settings/command.mjs +297 -0
- package/src/settings/store.mjs +119 -0
- package/src/telemetry/pricing.mjs +68 -0
- package/src/telemetry/usage.mjs +265 -0
- package/src/terminal/events.mjs +97 -0
- package/src/terminal/input.mjs +40 -0
- package/src/terminal/plain.mjs +40 -0
- package/src/terminal/remote-stream.mjs +22 -0
- package/src/terminal/screen.mjs +214 -0
- package/src/terminal/transcript.mjs +69 -0
- package/src/util.mjs +107 -0
- package/src/verification/ai-assessor.mjs +534 -0
- package/src/verification/claim-evaluator.mjs +242 -0
- package/src/verification/evidence-context.mjs +165 -0
- package/src/verification/evidence-reader.mjs +95 -0
- package/src/verification/integrity.mjs +570 -0
- package/src/verification/tolerance.mjs +32 -0
- package/src/workloads/cpu-research-preparation.mjs +56 -0
- package/src/workloads/definition.mjs +74 -0
- package/src/workloads/phase-aware-reproduction.mjs +46 -0
- package/src/workloads/reproduction.mjs +85 -0
- package/src/workspace/command.mjs +242 -0
- package/src/workspace/control.mjs +49 -0
- package/src/workspace/entry.mjs +28 -0
- package/src/workspace/input.mjs +93 -0
- package/src/workspace/interactive.mjs +94 -0
- package/src/workspace/jobs.mjs +418 -0
- package/src/workspace/session.mjs +97 -0
- package/src/workspace/worker.mjs +137 -0
- package/ui/arkgraph/ambient-motion.mjs +10 -0
- package/ui/arkgraph/app.jsx +153 -0
- package/ui/arkgraph/boot.js +6 -0
- package/ui/arkgraph/camera-motion.mjs +20 -0
- package/ui/arkgraph/context-reveal.mjs +39 -0
- package/ui/arkgraph/details.css +3 -0
- package/ui/arkgraph/entry.jsx +28 -0
- package/ui/arkgraph/experiment-curves.mjs +17 -0
- package/ui/arkgraph/experiment-selection.mjs +15 -0
- package/ui/arkgraph/experiment-style.css +26 -0
- package/ui/arkgraph/experiment-ui.jsx +32 -0
- package/ui/arkgraph/frame.html +1 -0
- package/ui/arkgraph/graph-gestures.mjs +62 -0
- package/ui/arkgraph/label-layout.mjs +57 -0
- package/ui/arkgraph/locales/en.json +229 -0
- package/ui/arkgraph/locales/source-types.json +15 -0
- package/ui/arkgraph/localization-build.mjs +27 -0
- package/ui/arkgraph/material-build.mjs +23 -0
- package/ui/arkgraph/material-colors.mjs +39 -0
- package/ui/arkgraph/material-style.css +15 -0
- package/ui/arkgraph/open-graph.jsx +326 -0
- package/ui/arkgraph/outline.jsx +49 -0
- package/ui/arkgraph/package-lock.json +888 -0
- package/ui/arkgraph/package.json +17 -0
- package/ui/arkgraph/reading-layout.mjs +130 -0
- package/ui/arkgraph/reading-presentation.mjs +73 -0
- package/ui/arkgraph/record-detail.css +51 -0
- package/ui/arkgraph/record-details.jsx +29 -0
- package/ui/arkgraph/research-types.mjs +31 -0
- package/ui/arkgraph/selection-mark.jsx +6 -0
- package/ui/arkgraph/soft-spine.mjs +26 -0
- package/ui/arkgraph/steering-style.css +187 -0
- package/ui/arkgraph/style.css +272 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# CiteArk Agent
|
|
2
|
+
|
|
3
|
+
CiteArk Agent 是可独立使用的科研复现程序。它读取论文与代码,结合用户目标和可用算力规划实验,执行、收集证据、评估,再生成签名的 [CAP 科研快照](protocol/CAP.md)。本地使用不需要 CiteArk 账号;[CiteArk 网站](https://citeark.co)提供论文检索、托管运行、成果存储和展示。
|
|
4
|
+
|
|
5
|
+
项目处于 alpha 阶段。签名确认产物内容与签名者,科学结论由带证据的评估记录表达。
|
|
6
|
+
|
|
7
|
+
## 安装
|
|
8
|
+
|
|
9
|
+
正式 npm 包名为 `@citeark/agent`。首次发布完成后,安装或升级使用:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install -g @citeark/agent
|
|
13
|
+
citeark
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
当前版本正在准备首次 npm 发布;发布状态与维护步骤见 [npm 发布](docs/npm-release.md)。发布前可在本仓库执行 `npm run package:local`,再用 `npm install -g ./dist/cli.tgz` 安装。网站的当前安装地址为 `npm install -g https://citeark.co/cli.tgz`。安装一次后,使用 `citeark` 开始新研究或输入已有工作区路径继续研究。PowerShell 若阻止脚本,可用 `npm.cmd` 和 `citeark.cmd`。
|
|
17
|
+
|
|
18
|
+
## 开始研究
|
|
19
|
+
|
|
20
|
+
PDF 首次使用前运行 `citeark paper setup --python python3.12`,安装本机 CPU 解析环境并下载模型;也可用 `citeark paper parse --input paper.pdf --output ./paper-reading` 单独解析。无需 MinerU 官方密钥或 CiteArk 云资源,后续离线复用模型与摘要缓存。配置及平台集成边界见[论文阅读](docs/paper-reading.md)。
|
|
21
|
+
|
|
22
|
+
需要 Node.js 22 或更新版本、Git、tar。使用本机算力时还需要 Docker;远程执行支持通用 SSH 服务器,以及通过算力目录配置的 GCP Batch 和 AutoDL。用户的服务器和 CiteArk 自有服务器使用同一套 Agent。
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
# 从网站论文资料开始,也适用于尚无复现结果的论文
|
|
26
|
+
citeark start <论文短编号>
|
|
27
|
+
|
|
28
|
+
# 完全独立地读取本地论文、代码和可选的路径说明
|
|
29
|
+
citeark start --paper ./paper.pdf --repository ./code \
|
|
30
|
+
--goal '检验不同批大小下的推理性能' --guide ./REPRODUCE.md
|
|
31
|
+
|
|
32
|
+
# CAP 提供来源理解、历史证据和参考代码;重新规划本次研究
|
|
33
|
+
citeark start --cap ./previous.cap --paper ./paper.pdf
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
直接运行 `citeark` 会先询问论文、CAP、平台短编号或已有工作区。随后依次询问研究目标、算力目录和首次模型配置;后续复用已保存的非敏感设置。论文理解形成研究清单,规划阶段提出实验;你选择本次要运行的实验后才开始执行。`--plan-only` 停在计划阶段,`--experiments id1,id2` 明确选择实验,`--resume --work-dir <目录>` 恢复同一次研究。变更目标或资料时建立新工作区。
|
|
37
|
+
|
|
38
|
+
`--compute-catalog ./compute.json` 指定自己的远程或本地资源;`--compute-policy ./policy.json` 约束可用执行器、费用和资源规格。模型密钥使用 `--api-key-env MODEL_API_KEY`,不写入工作区配置。科学评估与来源审查支持所选运行器对应的 Chat Completions、Responses 或 Messages 接口;API 评估暂不可用时保留证据与无法判断状态。托管订阅配置的所有科研模型阶段统一使用所选 Codex 账号与模型;订阅故障停止并保留现场,不切换为 API。
|
|
39
|
+
|
|
40
|
+
CAP、执行说明和路径提示都是参考输入。它们不会自动确定本次实验、替代实际观测或跳过规划。确需按旧交付直接复跑时,使用显式的 `deploy <论文短编号> --replay`。
|
|
41
|
+
|
|
42
|
+
## 终端会话
|
|
43
|
+
|
|
44
|
+
交互界面使用英文。顶部显示与网站一致的五阶段;正文连续呈现 Agent 的正常发言、工具调用、命令与结果。鼠标滚轮或 PgUp/PgDn 翻阅历史,End 回到实时输出,Ctrl+O 展开完整工具结果。模型设置会复用,不在每次研究时重复询问。完整控件、输出接入与运行边界见 [Terminal workspace](docs/terminal.md)。
|
|
45
|
+
|
|
46
|
+
工作区保留 `session.events.jsonl`。`citeark view <目录>` 只读浏览会话,`--plain` 使用普通文本输出。运行中 Ctrl+C 退出界面并保存收到的记录,不取消算力任务;工作进程继续运行,用 `citeark session attach <目录>` 重新连接。暂停、取消和资源清理结果由会话管理命令提供。
|
|
47
|
+
|
|
48
|
+
## 模型、远程服务器与后台会话
|
|
49
|
+
|
|
50
|
+
使用 `citeark model add` 保存模型及密钥环境变量名,`citeark compute add` 保存本机、SSH 服务器或算力目录。交互入口的 `/model`、`/compute` 切换默认配置。每项研究保存所用模型和算力目录快照,后续修改默认配置不会改变已有研究。
|
|
51
|
+
|
|
52
|
+
完整配置命令、服务器部署、后台控制及恢复限制见 [配置与服务器指南](docs/configuration.md)。通用 SSH 使用服务器自己的模型配置;CiteArk 托管平台使用同一个科研引擎,账号、队列和计费仍属于网站。
|
|
53
|
+
|
|
54
|
+
## 工作区与成果
|
|
55
|
+
|
|
56
|
+
`workspace.json` 保存当前阶段、来源、算力配置位置和选择;论文理解与规划位于 `planning/`,执行、计划修订、原始证据与检查点位于 `execution/`。执行过程中继续允许依据来源和证据修订方法。已生成的 CAP 保持不可变,新计划与结果生成新的产物并关联来源。
|
|
57
|
+
|
|
58
|
+
完成后终端列出所有 CAP 路径。签名使用本机的 Ed25519 私钥,默认位于 `~/.citeark/signing-key.pem`。可用 `--signing-key` 指定自己的密钥。
|
|
59
|
+
|
|
60
|
+
上传完全可选,支持独立计划和结果,无需平台已有运行:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
export CITEARK_API_KEY='<平台写入密钥>'
|
|
64
|
+
citeark publish --plan ./plan.cap --cap ./result.cap
|
|
65
|
+
# 关联论文并明确公开
|
|
66
|
+
citeark publish --plan ./plan.cap --cap ./result.cap \
|
|
67
|
+
--repository-id '<论文ID>' --visibility public
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
不指定论文时默认仅上传者可读;`--visibility public` 明确公开。社区成果保留上传者、签名者和自身计划,不覆盖平台评估。接口与发布规则见[集成边界](docs/integration.md)。
|
|
71
|
+
|
|
72
|
+
## 开发与验证
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
npm ci
|
|
76
|
+
npm run check
|
|
77
|
+
npm test
|
|
78
|
+
npm run package:local
|
|
79
|
+
npm run test:package
|
|
80
|
+
# 无模型、无实验的输入准备检查
|
|
81
|
+
node src/cli.mjs start --paper examples/toy-evaluation/paper.md \
|
|
82
|
+
--work-dir /tmp/citeark-example --dry-run
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
`npm link` 后可直接使用 `citeark`。完整选项见 `citeark --help`;低层的 `compile`、`pipeline`、`cap` 和只读 `dashboard` 命令继续可用。
|
|
86
|
+
|
|
87
|
+
| 路径 | 职责 |
|
|
88
|
+
| --- | --- |
|
|
89
|
+
| `src/workspace/` | 独立研究入口、资料接收、实验选择和恢复 |
|
|
90
|
+
| `src/research/`、`src/pipeline/` | 来源理解、规划和科研流水线 |
|
|
91
|
+
| `src/reproduction/`、`src/compute/` | 自主执行、本机及远程算力 |
|
|
92
|
+
| `src/verification/`、`src/evidence/` | 原始证据解析与独立评估 |
|
|
93
|
+
| `src/cap/v2/`、`protocol/`、`schemas/` | CAP 生成、验证和开放规范 |
|
|
94
|
+
| `src/deployment/` | 显式历史复跑和可选平台上传 |
|
|
95
|
+
| `src/public/` | 宿主集成接口与轻量 CAP 接口 |
|
|
96
|
+
|
|
97
|
+
打包生成 `cli.tgz`、手动安装包 `citeark-agent.tgz` 和轻量协议包 `cap.tgz`。网站固定提交与包摘要;GitHub Actions 检查源码、Linux/macOS/Windows 命令行和本机 CPU 环境。网站专用队列、租约、收费策略、页面生成及服务镜像构建在 CiteArk 仓库维护。
|
|
98
|
+
|
|
99
|
+
## 许可
|
|
100
|
+
|
|
101
|
+
代码采用 [Apache License 2.0](LICENSE)。CAP 规范、模式和一致性向量采用 [CC0 1.0](protocol/LICENSE)。引用的论文、数据、模型与代码沿用原有许可。npm 安装包按明确文件清单发布;GitHub 仓库可见性单独管理。
|
|
102
|
+
|
|
103
|
+
## ArkGraph 与 CAP 2
|
|
104
|
+
|
|
105
|
+
当前协议是 CAP `2.0.0-alpha.2`,使用 Entity、Activity、Assertion、Agent、Relation 五类科研对象;旧 CAP 不再接收。论文可选,关系与端点版本独立验证,签名仍是分离式证明。协议规范及四类合成样例见 [CAP](protocol/CAP.md)。
|
|
106
|
+
|
|
107
|
+
`citeark graph --cap result.cap --operation subgraph` 可在本地读取科研图;`--query query.json` 支持精确对象、路线、比较和来源追踪。平台查询使用 `--server https://citeark.co`,凭据从 `CITEARK_API_KEY` 读取。多个本地 CAP 用逗号分隔。范围之外的依赖保持未知,不由摘要推断实验独立性。
|
|
108
|
+
|
|
109
|
+
### 细化研究对象
|
|
110
|
+
|
|
111
|
+
`researchObjects` 为数据集、具体划分、模型架构、检查点、代码、方法和来源观测集合保留稳定身份及来源。主张表达可以独立支持或质疑的科学命题,不按表格单元格、指标列或曲线点机械拆分。矩阵、表格和曲线族可以是一个观测集合;每条数值仍保留独立测量身份、条件、单位和来源,通过 `observationId` 关联集合。机制解释单列为 `hypotheses`,不能冒充已验证结论,也不自动成为复现目标。
|
|
112
|
+
|
|
113
|
+
规划按科研方法阶段和结果集合组织:检查点、种子、数据集、模型层等完整参数维度保留在批次规格中,不提前展开为每个组合的步骤或未来产物。计算条目按可复用的完整批次计价;只有不同实验选择确实需要部分共享时,才拆成共享子集和不重叠余集,并完整计入所有成员。执行阶段再记录实际成员、产出和证据。
|
|
114
|
+
|
|
115
|
+
实验的 `steps` 描述共享的训练、评估等步骤,`inputIds` / `outputIds` 连接对象;未执行的产出只保留待生成规格。步骤只关联显式 `claimIds`,省略时不继承实验包的全部主张;共享准备工作仍保留输入、产出和依赖。论文声明、实际观测和逐项科学判断保持区别。详见 [规划粒度与批次复用](docs/research-plan-granularity.md)和 [CAP 对象与步骤语义](protocol/CAP.md#research-object-granularity-alpha2)。
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
## 规划前的 GCP 资源发现
|
|
119
|
+
|
|
120
|
+
宿主可以通过 `@citeark/agent/host` 的 `discoverGcpResources` 读取项目可见的全部机型、加速器、区域与全局配额,以及官方标准供应价格。请求只包含列表、读取和 IAM 权限探测,不创建计算资源。快照记录时间、有效期、摘要与各来源状态;分页失败、权限不足或未知显存不会伪装成零值或已验证的资源。平台规格和剩余配额均不保证即时容量。
|
|
121
|
+
|
|
122
|
+
`gcpDiscoverySummary` 为规划器生成完整机型家族与加速器概览;详细规格保存在原快照。`discoveredGcpPrice` 只合成已明确匹配地区、供应模式、CPU、内存和 GPU 的官方 SKU;缺价或匹配歧义返回未知。宿主在自己的地区、预算与运行时约束内生成可执行目录,并将同一份目录用于规划、调度和费用预留。独立库不管理宿主 IAM 或放宽科研契约。
|
|
123
|
+
|
|
124
|
+
规划提示要求将 CPU、内存、显存最低需求与依据单独说明,区分来源事实、推导和待探测假设;不能把库存机型的规格直接写成科研最低需求。设备性能测量仍遵守原论文的硬件绑定。
|
|
125
|
+
|
|
126
|
+
## ArkGraph 预览(开发中)
|
|
127
|
+
|
|
128
|
+
来源清单可以生成完整科研对象图与阅读主线;实验计划直接绑定图中的来源对象和目标。`npm run build:arkgraph` 构建通用预览,`npm run preview:arkgraph -- plan.cap ./preview paper.pdf` 从真实签名产物生成本地页面。当前仍在真实论文验收阶段,尚未替换网站生产界面;语义、集成状态与验证范围见 [ArkGraph 研究概览](docs/arkgraph-reading.md)。
|
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0",
|
|
3
|
+
"registryId": "citeark-dataset-source-registry-v1",
|
|
4
|
+
"observedAt": "2026-08-29T01:27:54Z",
|
|
5
|
+
"purpose": "Candidate download transports and identity checks for scientific datasets whose historical URLs may be unavailable.",
|
|
6
|
+
"policy": {
|
|
7
|
+
"candidateOnly": true,
|
|
8
|
+
"requireRuntimeAcquisitionManifest": true,
|
|
9
|
+
"requireRuntimeDigestVerification": true,
|
|
10
|
+
"equivalenceRule": "A catalog entry is a candidate transport, not proof that it is scientifically equivalent to the declared input.",
|
|
11
|
+
"confidenceLevels": {
|
|
12
|
+
"primary-content-bridge": "A still-reachable primary archive and the candidate archive have identical extracted scientific members.",
|
|
13
|
+
"catalog-plus-structural-validation": "The candidate matches a pinned framework catalog entry, archive checksums, schema, split sizes, label sets, and member digests, but no direct primary-content bridge was available.",
|
|
14
|
+
"primary-catalog-plus-runtime-digest": "The primary resource catalog publishes the archive and checksum. Runtime must repeat the checksum, compute SHA-256, and verify the exact scientific member count and format before use."
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"catalogs": [
|
|
18
|
+
{
|
|
19
|
+
"id": "fastai1-datasets",
|
|
20
|
+
"name": "fastai v1 dataset catalog",
|
|
21
|
+
"repository": "https://github.com/fastai/fastai1",
|
|
22
|
+
"commit": "15bc02c61673400178fbdaf3417485755c299561",
|
|
23
|
+
"path": "fastai/datasets.py",
|
|
24
|
+
"sourceUrl": "https://raw.githubusercontent.com/fastai/fastai1/15bc02c61673400178fbdaf3417485755c299561/fastai/datasets.py",
|
|
25
|
+
"checksumSemantics": "The catalog tuple is the archive byte size followed by the MD5 digest of the first MiB."
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "openslr",
|
|
29
|
+
"name": "Open Speech and Language Resources",
|
|
30
|
+
"sourceUrl": "https://www.openslr.org/resources.php",
|
|
31
|
+
"checksumSemantics": "Each resource page publishes complete-archive MD5 checksums. Runtime must also compute SHA-256 and validate the extracted scientific members."
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"datasets": [
|
|
35
|
+
{
|
|
36
|
+
"id": "ag_news",
|
|
37
|
+
"aliases": ["AG News", "ag_news_csv"],
|
|
38
|
+
"identity": {
|
|
39
|
+
"version": "3",
|
|
40
|
+
"fields": ["class_index", "title", "description"],
|
|
41
|
+
"labels": ["1", "2", "3", "4"],
|
|
42
|
+
"splits": {"train": 120000, "test": 7600}
|
|
43
|
+
},
|
|
44
|
+
"candidateTransport": {
|
|
45
|
+
"catalogId": "fastai1-datasets",
|
|
46
|
+
"catalogKey": "AG_NEWS",
|
|
47
|
+
"url": "https://s3.amazonaws.com/fast-ai-nlp/ag_news_csv.tgz",
|
|
48
|
+
"archiveBytes": 11784419,
|
|
49
|
+
"catalogPrefixMiBMd5": "b86f328f4dbd072486591cb7a5644dcd",
|
|
50
|
+
"archiveSha256": "9a8c300eabb45750237fcc669f61cb8a3448f3ef6f6098e1ce340e444f6872be",
|
|
51
|
+
"members": {
|
|
52
|
+
"train.csv": {"bytes": 29470338, "rows": 120000, "sha256": "76a0a2d2f92b286371fe4d4044640910a04a803fdd2538e0f3f29a5c6f6b672e"},
|
|
53
|
+
"test.csv": {"bytes": 1857427, "rows": 7600, "sha256": "521465c2428ed7f02f8d6db6ffdd4b5447c1c701962353eb2c40d548c3c85699"}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"confidence": "primary-content-bridge",
|
|
57
|
+
"bridgeEvidence": {
|
|
58
|
+
"primaryUrl": "https://drive.google.com/uc?export=download&id=0Bz8a_Dbh9QhbUDNpeUdjb0wxRms",
|
|
59
|
+
"primaryArchiveSha256": "4e2fc37d369e6e317a8b62d0d2f11d379f8c3dde60c07c35a46b069a246498ad",
|
|
60
|
+
"note": "The archives were repacked, but train.csv, test.csv, readme.txt, and classes.txt are byte-identical after extraction.",
|
|
61
|
+
"memberSha256": {
|
|
62
|
+
"train.csv": "76a0a2d2f92b286371fe4d4044640910a04a803fdd2538e0f3f29a5c6f6b672e",
|
|
63
|
+
"test.csv": "521465c2428ed7f02f8d6db6ffdd4b5447c1c701962353eb2c40d548c3c85699",
|
|
64
|
+
"readme.txt": "779c2e6bbf93dd810d9c7b318006daef7a4bfc34062002461d251dc10fb9f58c",
|
|
65
|
+
"classes.txt": "612dbfa932f07a6ed837295a7d5746ce7412e7bb4bc32ba919fdb3cda3a1b9b5"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "sogou_news",
|
|
71
|
+
"aliases": ["Sogou News", "sogou_news_csv"],
|
|
72
|
+
"identity": {
|
|
73
|
+
"version": "3",
|
|
74
|
+
"fields": ["class_index", "title", "content"],
|
|
75
|
+
"labels": ["1", "2", "3", "4", "5"],
|
|
76
|
+
"splits": {"train": 450000, "test": 60000}
|
|
77
|
+
},
|
|
78
|
+
"candidateTransport": {
|
|
79
|
+
"catalogId": "fastai1-datasets",
|
|
80
|
+
"catalogKey": "SOGOU_NEWS",
|
|
81
|
+
"url": "https://s3.amazonaws.com/fast-ai-nlp/sogou_news_csv.tgz",
|
|
82
|
+
"archiveBytes": 384269937,
|
|
83
|
+
"catalogPrefixMiBMd5": "950f1366d33be52f5b944f8a8b680902",
|
|
84
|
+
"archiveSha256": "6b77fc935561d339b82aa552d7e31ea59eff492a494920579b3ce70604efb5c2",
|
|
85
|
+
"members": {
|
|
86
|
+
"train.csv": {"bytes": 1256996576, "rows": 450000, "sha256": "19400f8e4578c0dbfb336ed5160aa6b993c49a40462f11b9a69d27b260dca3ce"},
|
|
87
|
+
"test.csv": {"bytes": 168524375, "rows": 60000, "sha256": "8cb8e6e207928601459b23ac79aa0de4a58d7b2a969b4c2ae3f82dc0e271cf9d"}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"confidence": "catalog-plus-structural-validation"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "dbpedia",
|
|
94
|
+
"aliases": ["DBPedia", "DBpedia", "dbpedia_csv"],
|
|
95
|
+
"identity": {
|
|
96
|
+
"version": "2",
|
|
97
|
+
"fields": ["class_index", "title", "content"],
|
|
98
|
+
"labels": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14"],
|
|
99
|
+
"splits": {"train": 560000, "test": 70000}
|
|
100
|
+
},
|
|
101
|
+
"candidateTransport": {
|
|
102
|
+
"catalogId": "fastai1-datasets",
|
|
103
|
+
"catalogKey": "DBPEDIA",
|
|
104
|
+
"url": "https://s3.amazonaws.com/fast-ai-nlp/dbpedia_csv.tgz",
|
|
105
|
+
"archiveBytes": 68341743,
|
|
106
|
+
"catalogPrefixMiBMd5": "239c7837b9e79db34486f3de6a00e38e",
|
|
107
|
+
"archiveSha256": "42db5221ddedddb673a4cabcc5f3a7d869714c878bcfe4ba94b29d14aa38e417",
|
|
108
|
+
"members": {
|
|
109
|
+
"train.csv": {"bytes": 174148970, "rows": 560000, "sha256": "3fea0c8c6ae73d0911f9cf37ec68606d169c4edd9214c6443b035649a3fb38ce"},
|
|
110
|
+
"test.csv": {"bytes": 21775285, "rows": 70000, "sha256": "3d7b5fc00870e3446e322479af553629f55e313dd3b4249c08b68132d1230804"}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"confidence": "catalog-plus-structural-validation"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"id": "yelp_review_polarity",
|
|
117
|
+
"aliases": ["Yelp Review Polarity", "yelp_review_polarity_csv"],
|
|
118
|
+
"identity": {
|
|
119
|
+
"version": "1",
|
|
120
|
+
"fields": ["class_index", "review_text"],
|
|
121
|
+
"labels": ["1", "2"],
|
|
122
|
+
"splits": {"train": 560000, "test": 38000}
|
|
123
|
+
},
|
|
124
|
+
"candidateTransport": {
|
|
125
|
+
"catalogId": "fastai1-datasets",
|
|
126
|
+
"catalogKey": "YELP_REVIEWS_POLARITY",
|
|
127
|
+
"url": "https://s3.amazonaws.com/fast-ai-nlp/yelp_review_polarity_csv.tgz",
|
|
128
|
+
"archiveBytes": 166373201,
|
|
129
|
+
"catalogPrefixMiBMd5": "48c8451c1ad30472334d856b5d294807",
|
|
130
|
+
"archiveSha256": "528f22e286cad085948acbc3bea7e58188416546b0e364d0ae4ca0ce666abe35",
|
|
131
|
+
"members": {
|
|
132
|
+
"train.csv": {"bytes": 410758837, "rows": 560000, "sha256": "d9eec04a8dd4bdbf1e66c02e6faaee580a5c3c37ce14f1b67d48f397dfcc88bc"},
|
|
133
|
+
"test.csv": {"bytes": 27772097, "rows": 38000, "sha256": "a88e001a30bfa4c996cab473e9c9afd0fcfb01e94bef3c52002a167c2bff0b51"}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"confidence": "catalog-plus-structural-validation"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"id": "yelp_review_full",
|
|
140
|
+
"aliases": ["Yelp Review Full", "yelp_review_full_csv"],
|
|
141
|
+
"identity": {
|
|
142
|
+
"version": "1",
|
|
143
|
+
"fields": ["class_index", "review_text"],
|
|
144
|
+
"labels": ["1", "2", "3", "4", "5"],
|
|
145
|
+
"splits": {"train": 650000, "test": 50000}
|
|
146
|
+
},
|
|
147
|
+
"candidateTransport": {
|
|
148
|
+
"catalogId": "fastai1-datasets",
|
|
149
|
+
"catalogKey": "YELP_REVIEWS",
|
|
150
|
+
"url": "https://s3.amazonaws.com/fast-ai-nlp/yelp_review_full_csv.tgz",
|
|
151
|
+
"archiveBytes": 196146755,
|
|
152
|
+
"catalogPrefixMiBMd5": "1efd84215ea3e30d90e4c33764b889db",
|
|
153
|
+
"archiveSha256": "56006b0a17a370f1e366504b1f2c3e3754e4a3dda17d3e718a885c552869a559",
|
|
154
|
+
"members": {
|
|
155
|
+
"train.csv": {"bytes": 480951174, "rows": 650000, "sha256": "f9147e1f0ac66a2bc561c8b717b023d484eea474188b74ae5d2710062a227270"},
|
|
156
|
+
"test.csv": {"bytes": 37051348, "rows": 50000, "sha256": "9676cbe482467fad25a07bacb2ac8b4910f03bab20f00455eb99525036be2894"}
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"confidence": "catalog-plus-structural-validation"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"id": "yahoo_answers",
|
|
163
|
+
"aliases": ["Yahoo Answers", "Yahoo! Answers", "yahoo_answers_csv"],
|
|
164
|
+
"identity": {
|
|
165
|
+
"version": "2",
|
|
166
|
+
"fields": ["class_index", "question_title", "question_content", "best_answer"],
|
|
167
|
+
"labels": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"],
|
|
168
|
+
"splits": {"train": 1400000, "test": 60000}
|
|
169
|
+
},
|
|
170
|
+
"candidateTransport": {
|
|
171
|
+
"catalogId": "fastai1-datasets",
|
|
172
|
+
"catalogKey": "YAHOO_ANSWERS",
|
|
173
|
+
"url": "https://s3.amazonaws.com/fast-ai-nlp/yahoo_answers_csv.tgz",
|
|
174
|
+
"archiveBytes": 319476345,
|
|
175
|
+
"catalogPrefixMiBMd5": "0632a0d236ef3a529c0fa4429b339f68",
|
|
176
|
+
"archiveSha256": "2d4277855faf8b35259009425fa8f7fe1888b5644b47165508942d000f4c96ae",
|
|
177
|
+
"members": {
|
|
178
|
+
"train.csv": {"bytes": 745966378, "rows": 1400000, "sha256": "763d20fa20349ac923cc8f6c04a369dfaf795a0954e5227a86ec672d59461c5b"},
|
|
179
|
+
"test.csv": {"bytes": 32040847, "rows": 60000, "sha256": "17e3b145efde81a4cb6c5b3cab2e58bbc2dd195bc5a1bdcaff22ea283adc4304"}
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"confidence": "catalog-plus-structural-validation"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"id": "amazon_review_full",
|
|
186
|
+
"aliases": ["Amazon Review Full", "amazon_review_full_csv"],
|
|
187
|
+
"identity": {
|
|
188
|
+
"version": "3",
|
|
189
|
+
"fields": ["class_index", "review_title", "review_text"],
|
|
190
|
+
"labels": ["1", "2", "3", "4", "5"],
|
|
191
|
+
"splits": {"train": 3000000, "test": 650000}
|
|
192
|
+
},
|
|
193
|
+
"candidateTransport": {
|
|
194
|
+
"catalogId": "fastai1-datasets",
|
|
195
|
+
"catalogKey": "AMAZON_REVIEWS",
|
|
196
|
+
"url": "https://s3.amazonaws.com/fast-ai-nlp/amazon_review_full_csv.tgz",
|
|
197
|
+
"archiveBytes": 643695014,
|
|
198
|
+
"catalogPrefixMiBMd5": "4a1196cf0adaea22f4bc3f592cddde90",
|
|
199
|
+
"archiveSha256": "4af62eeee139d0142e0747340b68646d23483d9475c33ea0641ee9175b423443",
|
|
200
|
+
"members": {
|
|
201
|
+
"train.csv": {"bytes": 1348342434, "rows": 3000000, "sha256": "16017c5a392e5fcda67c251b692d5711038e2e49375de1c9351e81e73210232f"},
|
|
202
|
+
"test.csv": {"bytes": 292412008, "rows": 650000, "sha256": "76016eefd4b35ed534a3163bc8bcfc2a01ae8f4a19ea801fad7d132bac1ac28e"}
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"confidence": "catalog-plus-structural-validation"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"id": "amazon_review_polarity",
|
|
209
|
+
"aliases": ["Amazon Review Polarity", "amazon_review_polarity_csv"],
|
|
210
|
+
"identity": {
|
|
211
|
+
"version": "3",
|
|
212
|
+
"fields": ["class_index", "review_title", "review_text"],
|
|
213
|
+
"labels": ["1", "2"],
|
|
214
|
+
"splits": {"train": 3600000, "test": 400000}
|
|
215
|
+
},
|
|
216
|
+
"candidateTransport": {
|
|
217
|
+
"catalogId": "fastai1-datasets",
|
|
218
|
+
"catalogKey": "AMAZON_REVIEWS_POLARITY",
|
|
219
|
+
"url": "https://s3.amazonaws.com/fast-ai-nlp/amazon_review_polarity_csv.tgz",
|
|
220
|
+
"archiveBytes": 688339454,
|
|
221
|
+
"catalogPrefixMiBMd5": "676f7e5208ec343c8274b4bb085bc938",
|
|
222
|
+
"archiveSha256": "d2a3ee7a214497a5d1b8eaed7c8d7ba2737de00ada3b0ec46243983efa100361",
|
|
223
|
+
"members": {
|
|
224
|
+
"train.csv": {"bytes": 1585200224, "rows": 3600000, "sha256": "46ab0cfd4de8da74fd7b8f3ab72bdd2163ade4c11db057b22c5f39ab58be7ccf"},
|
|
225
|
+
"test.csv": {"bytes": 176046679, "rows": 400000, "sha256": "6ac6d882446c84adf0d3ce02ac7798e7932cb0a440ca683195e303d59c3f065e"}
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"confidence": "catalog-plus-structural-validation"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"id": "librispeech_test_clean",
|
|
232
|
+
"aliases": ["LibriSpeech test-clean", "LibriSpeech test clean", "librispeech/test-clean"],
|
|
233
|
+
"identity": {
|
|
234
|
+
"version": "SLR12",
|
|
235
|
+
"modality": "speech",
|
|
236
|
+
"sampleRateHz": 16000,
|
|
237
|
+
"fields": ["audio", "transcript", "speaker_id", "chapter_id", "utterance_id"],
|
|
238
|
+
"splits": {"test-clean": 2620},
|
|
239
|
+
"license": "CC BY 4.0"
|
|
240
|
+
},
|
|
241
|
+
"candidateTransport": {
|
|
242
|
+
"catalogId": "openslr",
|
|
243
|
+
"catalogKey": "SLR12/test-clean.tar.gz",
|
|
244
|
+
"resourcePage": "https://www.openslr.org/12",
|
|
245
|
+
"url": "https://www.openslr.org/resources/12/test-clean.tar.gz",
|
|
246
|
+
"mirrors": [
|
|
247
|
+
"https://openslr.trmal.net/resources/12/test-clean.tar.gz",
|
|
248
|
+
"https://openslr.elda.org/resources/12/test-clean.tar.gz",
|
|
249
|
+
"https://openslr.magicdatatech.com/resources/12/test-clean.tar.gz"
|
|
250
|
+
],
|
|
251
|
+
"archiveBytes": 346663984,
|
|
252
|
+
"archiveMd5": "32fa31d27d2e1cad72775fee3f4849a9",
|
|
253
|
+
"checksumUrl": "https://www.openslr.org/resources/12/md5sum.txt",
|
|
254
|
+
"archiveFormat": "tar.gz",
|
|
255
|
+
"memberValidation": {
|
|
256
|
+
"audioExtension": ".flac",
|
|
257
|
+
"audioFiles": 2620,
|
|
258
|
+
"transcriptSuffix": ".trans.txt",
|
|
259
|
+
"requiredTopLevelDirectory": "LibriSpeech/test-clean",
|
|
260
|
+
"requiredChecks": ["all audio decodes", "all utterance ids are unique", "every audio member has one transcript record", "every decoded sample rate is 16000 Hz"]
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"confidence": "primary-catalog-plus-runtime-digest"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"id": "libritts_r_test_clean",
|
|
267
|
+
"aliases": ["LibriTTS-R test", "LibriTTS-R test-clean", "LibriTTS-R test clean", "libritts_r/test_clean"],
|
|
268
|
+
"identity": {
|
|
269
|
+
"version": "SLR141",
|
|
270
|
+
"modality": "speech",
|
|
271
|
+
"sampleRateHz": 24000,
|
|
272
|
+
"fields": ["audio", "original_text", "normalized_text", "speaker_id", "chapter_id", "utterance_id"],
|
|
273
|
+
"splits": {"test-clean": 4837},
|
|
274
|
+
"license": "CC BY 4.0",
|
|
275
|
+
"lineage": "LibriTTS-R contains the same constituent samples as LibriTTS with restored audio quality."
|
|
276
|
+
},
|
|
277
|
+
"candidateTransport": {
|
|
278
|
+
"catalogId": "openslr",
|
|
279
|
+
"catalogKey": "SLR141/test_clean.tar.gz",
|
|
280
|
+
"resourcePage": "https://www.openslr.org/141",
|
|
281
|
+
"url": "https://www.openslr.org/resources/141/test_clean.tar.gz",
|
|
282
|
+
"mirrors": [
|
|
283
|
+
"https://openslr.trmal.net/resources/141/test_clean.tar.gz",
|
|
284
|
+
"https://openslr.elda.org/resources/141/test_clean.tar.gz",
|
|
285
|
+
"https://openslr.magicdatatech.com/resources/141/test_clean.tar.gz"
|
|
286
|
+
],
|
|
287
|
+
"archiveBytes": 1294768623,
|
|
288
|
+
"archiveMd5": "4d373d453eb96c0691e598061bbafab7",
|
|
289
|
+
"checksumUrl": "https://www.openslr.org/resources/141/md5sum.txt",
|
|
290
|
+
"archiveFormat": "tar.gz",
|
|
291
|
+
"memberValidation": {
|
|
292
|
+
"audioExtension": ".wav",
|
|
293
|
+
"audioFiles": 4837,
|
|
294
|
+
"requiredChecks": ["all audio decodes", "all utterance ids are unique", "every audio member has its paired text metadata", "every decoded sample rate is 24000 Hz"]
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
"confidence": "primary-catalog-plus-runtime-digest"
|
|
298
|
+
}
|
|
299
|
+
]
|
|
300
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
(() => {
|
|
2
|
+
const english=!new URL(location.href).searchParams.get('locale')?.startsWith('zh');
|
|
3
|
+
document.documentElement.lang=english?'en':'zh-CN';
|
|
4
|
+
const style=document.createElement('link');style.rel='stylesheet';style.href=english?'viewer.en.css':'viewer.css';document.head.append(style);
|
|
5
|
+
const script=document.createElement('script');script.src=english?'viewer.en.js':'viewer.js';document.body.append(script);
|
|
6
|
+
})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<!doctype html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>ArkGraph</title></head><body><div id="root"></div><script src="boot.js"></script></body></html>
|