feat: add scientific data and code hosting module#31
Open
grantf04 wants to merge 1 commit into
Open
Conversation
Author
|
@algora-pbc /claim #14 |
Author
|
/claim #14 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@algora-pbc /claim #14
Closes #14
What this adds
Adds a self-contained
scientific-data-code-hosting/module for structured artifact storage, metadata-aware previews, upload versioning/diffing, JSON-LD/DataCite/schema.org metadata, FAIR compliance, tags, executable environments, sandboxed runs, compute triggers, JSON APIs, tests, and a reviewer dashboard.Requirement mapping
buildStorageManifest, covering datasets, metadata, code, notebooks, figures, models, and raw output organization.versionsanddiffDatasetVersions.buildMetadataBundlewith JSON-LD/schema.org and DataCite DOI metadata.runExecutableEnvironmentand dashboard trigger metadata for manual and cron runs.src/server.jspluspublic/static UI.test/hosting-core.test.js.How to verify in under 5 minutes
Open
http://localhost:4133and verify the dashboard shows artifact previews, FAIR metadata, dataset version diff, and sandbox execution.Optional API smoke checks:
curl -s http://localhost:4133/api/dashboard curl -s http://localhost:4133/api/storage/manifest curl -s "http://localhost:4133/api/execute?environment=env-python"Validation
Commands run:
npm test- 4 tests passingcurl -s http://localhost:4133/api/dashboard- returns 6 artifacts, FAIR findabletrue, and execution statuspassedcurl -s "http://localhost:4133/api/execute?environment=env-python"- returnspassed, networkdisabled, and reproducibility score96curl -i -s http://localhost:4133/package.json- returns 404 without crashing the serverhttp://127.0.0.1:4133/: storage engine, metadata/FAIR, versioning, and executable environment panels render with 0 console errorsffprobeverified the committed demo video is 1280x760 and 8 seconds longDemo
scientific-data-code-hosting/docs/demo-script.mdScope
This PR is intentionally self-contained under
scientific-data-code-hosting/and avoids unrelated root-level changes except adding the module link to the root README.