INCATools / INCATools/dead_simple_owl_design_patterns

Need QC for %s

Open
#56 0 comments 0 reactions 1 assignee Claimed by @dosumis View on GitHub
pattern_validation
Dominant language
Python
Stars
49
Forks
5
PR merge metrics
No merged PRs in 30d

Description

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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.