Skip to content
Back to skills

Scoring

ASecurity

"Build and troubleshoot REINVENT4 scoring configurations,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
developmentpythondebugging

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill scoring --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Scoring?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Scoring
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-scoring/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-scoring)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: scoring
description: "Build and troubleshoot REINVENT4 scoring configurations,
  components, transforms, aggregation, and scoring plugins."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Scoring

Use this sub-skill when a task mentions `scoring.toml`, `run_type = "scoring"`, scoring components, transforms, aggregation, `comp_*` plugin files, `@add_tag`, `QED`, `MolecularWeight`, `TanimotoSimilarity`, `TanimotoDistance`, OpenEye ROCS, Chemprop, `ExternalProcess`, or REST scoring.

## Scope

This skill covers scoring-only jobs and scoring-function design that will later be reused by staged learning. For model sampling setup, use the sibling sampling skill. For transfer-learning or staged-learning orchestration, use the learning skill and return here only for `[scoring]` or `[stage.scoring]` blocks. For SMILES preprocessing, use the data-pipeline skill.

## Start Here

1. Use `run_type = "scoring"` for a standalone scoring run and provide a `[parameters]` block with `smiles_file` and optional `output_csv`.
2. Build a `[scoring]` block with `type = "geometric_mean"` or `type = "arithmetic_mean"`, optional `parallel`, optional `use_pumas`, and one or more `[[scoring.component]]` blocks.
3. Keep each component block in this shape: `[[scoring.component]]`, `[scoring.component.ComponentName]`, then one or more `[[scoring.component.ComponentName.endpoint]]` tables with `name`, optional `weight`, optional `params.*`, and optional `transform.*`.
4. Prefer a scoring-only run on representative SMILES before using the same scoring function in RL.

## References

- `references/components-and-plugins.md`: component block shapes, common built-ins, external components, and custom plugin discovery.
- `references/transforms-and-aggregation.md`: transform choice, endpoint weights, geometric/arithmetic aggregation, filters, and penalties.
- `references/troubleshooting.md`: config parsing, plugin import, optional dependency, external service, and transform-debugging failures.

## Bundled Helpers

- `scripts/validate_scoring_config.py`: parse a TOML scoring config and summarize scoring blocks, components, endpoints, params, transforms, and likely structural issues without running scoring.
- `scripts/list_scoring_components.py`: inspect installed `reinvent_plugins.components` namespace packages and list discovered `comp_*` modules/classes without executing a scoring job.

Run each helper with `--help` first. Both helpers are read-only; they inspect installed Python packages and config files but do not launch `reinvent`, score molecules, call external services, or load model checkpoints intentionally.

## Practical Defaults

- Use `QED` without a transform because it already returns a 0-1 value.
- Use `MolecularWeight` with `double_sigmoid` for a preferred mass window such as 200-500 Da.
- Use `TanimotoSimilarity` for new configs; treat `TanimotoDistance` as a backward-compatible deprecated alias.
- Use `custom_alerts` for must-fail SMARTS filters and do not rely on its `weight` for optimization.
- Use `geometric_mean` when every objective must remain acceptable; use `arithmetic_mean` when compensation between objectives is acceptable.

Files in this skill

  • SKILL.md3.1 KB
  • references/components-and-plugins.md8.7 KB
  • references/transforms-and-aggregation.md6.3 KB
  • references/troubleshooting.md7.4 KB
  • scripts/list_scoring_components.py5.5 KB
  • scripts/validate_scoring_config.py12.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.