Application DEfinitions
npm install @mat3ra/ade

Application DEfinitions package. Houses the definitions for:
- Application - uniquely determined by name, [version], [build]
- Executable - defined for a given application and accessible from application by name
- Flavor - defined for a given executable and accessible from executable by name
- Template - a jinja template for an application input file
The relevant data parameterizing supported entities is housed in the
Standata repository.
For usage within a JavaScript project:
``bash`
npm install @mat3ra/ade
For usage within a Python project:
`bash`
pip install mat3ra-ade
For development:
`bash`
git clone https://github.com/Exabyte-io/ade.git
This repository is an open-source work-in-progress and we welcome contributions.
We regularly deploy the latest code containing all accepted contributions online as part of the
Mat3ra.com platform, so contributors will see their code in action there.
See ESSE for additional context regarding the data schemas used here.
Useful commands for development:
bash
run linter without persistence
npm run lintrun linter and save edits
npm run lint:fixcompile the library
npm run transpilerun tests
npm run testrun tests with coverage
npm run test:coveragerun tests with coverage and check thresholds
npm run test:coverage:checkgenerate HTML coverage report
npm run test:coverage:html
`$3
`bash
run linter
python -m black src/py/mat3ra/ade/ tests/py/
python -m ruff check src/py/mat3ra/ade/ tests/py/
python -m isort src/py/mat3ra/ade/ tests/py/run tests
python -m pytest tests/py/run tests with coverage
python -m pytest tests/py/ --cov=mat3ra.ade --cov-report=html
`Development: Code/Test Coverage
This project includes comprehensive code coverage reporting with multiple viewing options:
$3
- Run npm run test:coverage:html to generate an HTML coverage report locally
- Open coverage/index.html in your browser to view the report$3
The project uses GitHub Actions to automatically generate and display coverage reports:1. PR Coverage Comments: Every pull request automatically gets a coverage report comment showing:
- Overall coverage percentages
- Coverage changes compared to the base branch
- Detailed file-by-file coverage breakdown
2. Coverage Artifacts: Coverage reports are uploaded as GitHub artifacts for each PR and commit
- Download from the Actions tab in GitHub
- Available for 30 days for main branch, 7 days for PRs
3. GitHub Pages (Optional): Coverage reports are published to GitHub Pages for easy browser viewing
- Available at:
https://exabyte-io.github.io/ade/`