Skip to content

Commit

Permalink
add unused_references.json
Browse files Browse the repository at this point in the history
  • Loading branch information
sujato committed Mar 28, 2022
1 parent 6a8bf2a commit 4cb704e
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,5 @@ List of available scripts (unless otherwise noted, all scripts run in Scope 1):
There are several false positives generated by `sutta-processor`. These have been listed in the file `false_positives.yaml`, which is required by `sutta-processor` to run without raising errors for those false positives.

**Note**: `ghost_suttas.json` has been added. This is a list of suttas that only exist by number, without any actual text. Currently they raise the exception `File with the key: 'sn48.137-146' is missing in the root or reference directory.`. They can be added to `false_positives.yaml`.

Also `unused_references.json` has been added. Currently these raise the exception ` Verses from Yuttadhammo which have not been used `. These are references that are either omitted from our files or not scanned because they are unusual. Typically they fall into headings, or they are extra material at the beginning or end of files. Sometimes they are in fact present in our files, but they fall into a zeroth level, which is not checked by default (because we handle headings differently than ms.) Anyway they are all fine and can be added to `false_positives.yaml`.
57 changes: 57 additions & 0 deletions unused_references.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"unused_references": [
"ms10M_1",
"ms11M_1",
"ms12S1_1",
"ms12S2_1",
"ms13S3_1",
"ms13S4_1",
"ms13S4_1272",
"ms13S4_1298",
"ms14S5_1",
"ms15A1_1",
"ms15A2_1",
"ms15A3_1",
"ms15A4_1",
"ms15A4_705",
"ms16A5_1",
"ms16A6_1",
"ms16A7_1",
"ms17A10_1",
"ms17A11_1",
"ms17A8_1",
"ms17A9_1",
"ms18Dh_1",
"ms18It_1",
"ms18Sn_1",
"ms18Ud_1",
"ms19Th1_1",
"ms19Th2_1",
"ms1V_1",
"ms1V_774",
"ms1V_1802",
"ms1V_1861",
"ms25Cn_1",
"ms26Ps_1",
"ms27Ne_1",
"ms29Dhs_1",
"ms29Dhs_714",
"ms2V_1",
"ms2V_2",
"ms2V_1599",
"ms2V_1682",
"ms2V_2099",
"ms2V_2203",
"ms2V_2424",
"ms2V_2565",
"ms2V_3528",
"ms2V_3562",
"ms32Kv_1",
"ms3V_1",
"ms6D_1",
"ms7D_1",
"ms8D_1",
"ms8D_396",
"ms9M_1"
]
}

0 comments on commit 4cb704e

Please sign in to comment.