COMPUTE THE MAX OF ALL THE VALUES IN THE KEYVALUE¶
Checks whether all numeric values in a key-value collection fall within a specified [min, max] range and returns a pass/fail scalar result. Use this worker to validate KPI dictionaries or parameter sets against acceptance bounds in a workflow gate.
When to use¶
Classification: process.
Tagged: bounds, keyvalue, pass_fail, range_check, scalar, validation.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Keyvalue 1 | kv1 | keyvalue | — | Key-value collection whose numeric values are evaluated against the range bounds; accepts any d3VIEW keyvalue object (see glossary link for format details). | |
| Min Value | min | scalar | 0 | Lower bound of the acceptable range (inclusive); any value in kv1 strictly below this threshold is flagged as failed — defaults to 0. | |
| Max Value | max | scalar | 1 | Upper bound of the acceptable range (inclusive); any value in kv1 strictly above this threshold is flagged as failed — defaults to 1. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| keyvalue_in_range_output_1 | keyvalue_in_range_output_1 | scalar | Scalar pass/fail indicator — returns 1 if all values in kv1 lie within [min, max], or 0 if any value falls outside the specified bounds. |
Disciplines¶
- data.dataset.transform
- data.statistics
Runnable example¶
A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=keyvalue_in_range
Auto-generated from transformation schema. Worker id: keyvalue_in_range. Schema hash: c5314c663ef6. Hand-curated docs in workerexamples/ override this page when present.