Skip to content

Add BenchLineage ELN example - #152

Merged
NicolasCARPi merged 1 commit into
TheELNConsortium:masterfrom
CAOShurong:codex/add-benchlineage-example
Aug 11, 2026
Merged

NicolasCARPi merged 1 commit into
TheELNConsortium:masterfrom
CAOShurong:codex/add-benchlineage-example

Conversation

@CAOShurong

Copy link
Copy Markdown
Contributor

Summary

I maintain BenchLineage. This PR adds a released .eln example generated by BenchLineage 0.3.0, plus the repository's generated metadata view and a short concept mapping.

The example is deliberately transparent:

  • every person, instrument, serial number, certificate, and measurement is synthetic
  • it demonstrates the exchange mapping, not a real experiment
  • it does not claim import success in any third-party ELN product

Reproduce

pipx run --spec benchlineage==0.3.0 benchlineage demo benchlineage-demo --seed 20260804
pipx run --spec benchlineage==0.3.0 benchlineage export-eln benchlineage-demo --output benchlineage-0.3.0-demo.eln
pipx run --spec benchlineage==0.3.0 benchlineage verify-eln benchlineage-0.3.0-demo.eln

The public PyPI package reproduced the committed archive byte-for-byte. SHA-256:

0201a2da271a5843e6d14e25aca45646301b67254f1f15d274f44d46ff5cf432

Validation

The new archive passed all four checks in this repository:

  • PyPI rocrate
  • ELN metadata parameters
  • JSON Schema
  • roc-validator

The local pytest run completed with 5 tests passed on Python 3.13. The Windows checkout had to sparsely exclude the pre-existing colon-named examples/datalab/demo:IBPDKL.eln; the Linux PR workflow remains the full-tree validation.

@NicolasCARPi NicolasCARPi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@NicolasCARPi

Copy link
Copy Markdown
Contributor

Great project!

@NicolasCARPi
NicolasCARPi merged commit bbe685f into TheELNConsortium:master Aug 11, 2026
1 check passed
NicolasCARPi added a commit that referenced this pull request Sep 21, 2026
* master:
  readme: add ELNPack and ELN metadata viewer (#162)
  Align validation flow: unified runChecks, logo, and tests
  Add a web .eln checker that reuses the test suite checks
  Validate .eln single root folder (#156)
  Clarify child Dataset relationships (#155)
  Validate array-valued node types (#154)
  spec: clarify type and genre fields (#153)
  Add BenchLineage ELN example (#152)
  chore: update SciLog as supporting import (#151)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants