From 4cb704e5edf741899848d3f5943874513d2a708b Mon Sep 17 00:00:00 2001 From: sujato Date: Mon, 28 Mar 2022 19:19:18 +1100 Subject: [PATCH] add unused_references.json --- README.md | 2 ++ unused_references.json | 57 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 unused_references.json diff --git a/README.md b/README.md index 9754e80ef..733e47cd7 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/unused_references.json b/unused_references.json new file mode 100644 index 000000000..8882c4460 --- /dev/null +++ b/unused_references.json @@ -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" + ] +} \ No newline at end of file