fix(script): Use manual sample starting size

For the time being, until I fix the flowchart completely, reverted to
using a manual sample size in the beginning.
This commit is contained in:
Marty Oehme 2024-01-09 18:12:52 +01:00
parent 62e98c684e
commit aa355098b8
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -434,9 +434,10 @@ and the sources will be added to the sample to undergo the same screening proces
#| output: asis #| output: asis
FULL_RAW_SAMPLE_NOTHING_REMOVED = 2396 FULL_RAW_SAMPLE_NOTHING_REMOVED = 2396
FULL_SAMPLE_DUPLICATES_REMOVED = 2381
nr_database_query_raw = len(bib_sample_raw_db.entries) nr_database_query_raw = len(bib_sample_raw_db.entries)
nr_out_duplicates = FULL_RAW_SAMPLE_NOTHING_REMOVED - len(bib_sample.entries) nr_out_duplicates = FULL_RAW_SAMPLE_NOTHING_REMOVED - FULL_SAMPLE_DUPLICATES_REMOVED
nr_other_sources = (len(bib_sample.entries) + nr_out_duplicates) - nr_database_query_raw nr_other_sources = (FULL_SAMPLE_DUPLICATES_REMOVED + nr_out_duplicates) - nr_database_query_raw
all_keywords = [entry["keywords"] for entry in bib_sample.entries if "keywords" in entry.fields_dict.keys()] all_keywords = [entry["keywords"] for entry in bib_sample.entries if "keywords" in entry.fields_dict.keys()]
nr_out_superseded = len([1 for kw in all_keywords if "out::superseded" in kw]) nr_out_superseded = len([1 for kw in all_keywords if "out::superseded" in kw])