1350 files changed
+197
-941995
No files matched your search
@@ -67,7 +67,7 @@ function report(x) {
|
||||
const out = [];
|
||||
out.push('# Translation coverage', '',
|
||||
'<!-- Written by tests/sync-coverage.test.mjs. Do not edit; rerun `npm test` to refresh. -->', '',
|
||||
`Each translator in \`src/sync/\` is run over every exercise with pseudo (${ex}), every program in \`tests/corpus/\` (${all.length - ex - fx}), and ${fx} one-construct fixtures (\`tests/helpers/sync-programs.mjs\`). ${all.length - ok.length} of the ${all.length} have pseudo that does not read, by design (they teach the notation's error messages), and are left out below. That leaves **${ok.length} programs**.`, '',
|
||||
`Each translator in \`src/sync/\` is run over every exercise with pseudo (${ex}), every program in \`library/pseudo/programs/\` (${all.length - ex - fx}), and ${fx} one-construct fixtures (\`tests/helpers/sync-programs.mjs\`). ${all.length - ok.length} of the ${all.length} have pseudo that does not read, by design (they teach the notation's error messages), and are left out below. That leaves **${ok.length} programs**.`, '',
|
||||
'| From pseudo to | Says it completely | Says it with a gap or a checker error | Cannot say it |', '| --- | ---: | ---: | ---: |',
|
||||
`| Mojo | ${rows.mojo.full} | ${new Set(rows.mojo.gaps.map((g) => g[0])).size + rows.mojo.checker} | ${rows.mojo.no.length} |`,
|
||||
`| lingo | ${rows.lingo.full} | 0 | ${ok.length - rows.lingo.full} |`,
|
||||
|
||||
Reference in new issue
Block a user