dead_simple_owl_design_patterns icon indicating copy to clipboard operation
dead_simple_owl_design_patterns copied to clipboard

Need QC for %s

Open matentzn opened this issue 5 years ago • 0 comments

One of the most important pain points during validation is cases when I am using % instead of %s in pattern strings strings. Example:

name:
  text: "% adenoma"
  vars:
    - v0

def:
  text: "A adenoma that involves the %."
  vars:
    - v0

This should be carefully QCed, by taking also into account the number of variables in the subsequent vars section; This could avoid mistakenly flagging up cases like like

def:
  text: "A adenoma that involves at least 90% the %s."
  vars:
    - v0

or

def:
  text: "A adenoma that involves at least 90 % the %s."
  vars:
    - v0

matentzn avatar Sep 04 '20 18:09 matentzn