Skip to main content

ScienceBeam Judge

ScienceBeam Judge implements a JATS/TEI conversion evaluation. It can be configured to handle other similar document types.

Installation

pip install sciencebeam-judge

CLI

Evaluation to CSV

python -m sciencebeam_judge.evaluation_pipeline \
  --target-file-list=<path to target file list> \
  [--target-file-column=<column name>] \
  --prediction-file-list=<path to prediction file list> \
  [--prediction-file-column=<column name>] \
  --output-path=<output directory> \
  [--limit=<max file pair count>] \
  [--cloud] \
  [--num_workers=<number of workers>]

The default configuration files (xml-mapping.conf, evaluation.conf, evaluation.yml) are bundled with the package and used automatically. They can be overridden with --xml-mapping, --evaluation-config, or --evaluation-yaml-config.

The output path will contain the following files:

  • results-*.csv: The detailed evaluation of every field
  • summary-*.csv: The overall evaluation
  • grobid-formatted-summary-*.txt: The summary formatted à la GROBID

Extract Fields

python -m sciencebeam_judge.extract_fields \
    --xml-file=<path to xml file> \
    --fields=<comma separated list of fields>

Configuration

XML Mapping

The xml-mapping.conf configures how fields should be extracted from the XML. The default configuration contains mapping for JATS and TEI.

Evaluation Configuration

The evaluation.conf allows further evaluation details to be configured. For example the scoring type defines how a field should be evaluated (e.g. string or list).

An additional evaluation.yml has the same function but allows for more structured configuration.

Metadata

Release files for sciencebeam-judge 0.0.26

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sciencebeam-judge 0.0.26
File Size Uploaded Provenance Actions
sciencebeam_judge-0.0.26.tar.gz 82.0 kB Without provenance Details for sciencebeam_judge-0.0.26.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sciencebeam-judge 0.0.26
File Interpreter ABI Platform Actions
sciencebeam_judge-0.0.26-py3-none-any.whl Python 3 none any Details for sciencebeam_judge-0.0.26-py3-none-any.whl

Total release size: 190.8 kB

Release files / sciencebeam_judge-0.0.26.tar.gz

Download URL sciencebeam_judge-0.0.26.tar.gz
Size 82.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1e175b532c7d6cdf280f165c29dc93956dca36c6bdccd310bcabc4d37d78e4d9
BLAKE2b-256 checksum
How to use checksums
52a74043720c79d73d9b92ab51c32925e18c6d6f11475def7a3a236b132cab97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / sciencebeam_judge-0.0.26-py3-none-any.whl

Download URL sciencebeam_judge-0.0.26-py3-none-any.whl
Size 108.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
58157ac88a1e7c09791c7ddd0fec204f6dc9c964feed4920330e9890514072dd
BLAKE2b-256 checksum
How to use checksums
0412b0fab8cbc33b240e46cfdb126716e0ceadb4fe5095830e144071bfb69d36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Security for sciencebeam-judge 0.0.26

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page