Nodes/comfyui-arkennemasis/arkennemasis QC Verdict (pass/fail + corrected prompt)
ComfyUI Node

arkennemasis QC Verdict (pass/fail + corrected prompt)

Parse the critic's answer. On a fail it hands back a REWRITTEN prompt aimed at the specific defect — retrying with the identical prompt mostly reproduces the identical failure.

By Hishamahmer·Created about a month ago·Updated 9 days ago· 5
arkennemasis QC Verdict (pass/fail + corrected prompt)
    • passed
    • corrected_prompt
    • diagnosis
    • report
    • confidence
    critic_json{}
    original_prompt
    cell_json
    min_confidence0.00
    enabledtrue
    strict_jsonfalse
    Categoryarkennemasis/Variation

    Inputs (6)

    NameTypeDefaultDescription
    critic_jsonoptSTRING{}The critic's answer. LAZY: when `enabled` is off this input is never requested, so the vision model upstream of it is never called at all.
    original_promptoptSTRINGReturned unchanged when the critic passes it, or when it fails without offering a rewrite — so this output is always safe to feed straight back to the generator.
    cell_jsonoptSTRING
    min_confidenceoptFLOAT0.000–1Treat a fail below this confidence as a pass. 0 trusts the critic completely. Raise it only after you have seen it reject images you would have accepted.
    enabledoptBOOLEANtrueOff: skip the critic and pass. It is the most expensive stage here - one vision call per cell, 80-110s each - so this is the single biggest speed and cost saving available.
    strict_jsonoptBOOLEANfalseOn: unparseable output raises. Off: it is treated as a pass with a warning, so one malformed answer cannot block a long run.

    Outputs (5)

    NameTypeDescription
    passedBOOLEAN
    corrected_promptSTRING
    diagnosisSTRING
    reportSTRING
    confidenceFLOAT