marcotcr / checklist

Beyond Accuracy: Behavioral Testing of NLP models with CheckList
MIT License
2.01k stars 204 forks source link

question about prediction rendering #37

Closed tsinggggg closed 4 years ago

tsinggggg commented 4 years ago

Should the old prediction be on the left side of the arrow?

code

          predTag = <Tag style={{verticalAlign: "middle"}}>
                Pred: <span className="example-token rewrite-remove">{newobj.pred}{confStr}</span>
                {replaceArrow}
                <span className="example-token rewrite-add">{oldobj.pred}{confStrOld}</span>
            </Tag>
tsinggggg commented 4 years ago

sorry, seems a duplicated issue of #34

tongshuangwu commented 4 years ago

Nice catch! Fixed in 8a0f05c743d0bfd3b6f85d8c449544e0dd5b5e31.