ComfyUI Node
PSN Quality Gate
Pass the value through when score meets the threshold, otherwise output the fallback. Also reports pass/fail and why.
PSN Quality Gate
- value
- fallback
- passed
- result
- reason
◄score0.000►
◄threshold0.500►
◄mode▾►
CategoryParametric/Flow
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| score | FLOAT | 0.000-1000000000–1000000000 | Score. From -1e+09 to 1e+09. Default 0.0. |
| threshold | FLOAT | 0.500-1000000000–1000000000 | The cut-off value. From -1e+09 to 1e+09. Default 0.5. |
| mode | COMBO | Mode. One of 6 choices. | |
| valueopt | * | Value. | |
| fallbackopt | * | Fallback. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| passed | BOOLEAN | — |
| result | * | — |
| reason | STRING | — |