On this page

Score workflow

Score measures one pasted text with the detector ensemble selected by the installed CLI.

Input

The view has one multiline text editor. Empty or whitespace-only content prevents execution and surfaces the app validation sentence:

Paste the text to score.

An optional comma-separated detector field is shared with Rewrite. When non-empty it becomes the global argv pair --detectors <value>; when empty, the CLI infers providers from configured API keys.

Exact invocation

Without an explicit detector list:

skryba score -

With gptzero,sapling:

skryba --detectors gptzero,sapling score -

The pasted text is written as UTF-8 stdin and the write end is closed. The Command panel says input goes to stdin.

Successful result

Stdout must decode as:

ai_probability
detectors[]:
  detector
  ai_probability
  cached

The view displays the ensemble mean as a percentage and one row per detector with name, bounded progress bar, rounded percentage, and cached label when true.

The app does not recompute the mean or normalize provider scores. Those decisions belong to the CLI.

Failure

A nonzero exit shows CLI stderr verbatim. A zero exit with malformed JSON throws the platform JSON decoding error. Use runbook to separate spawn, CLI, and output-contract failures.

Maintained as part of the website-owned Skryba documentation corpus.