Implement diversity score computation to measure breadth and variety of hypotheses, analyses, and knowledge contributions across SciDEX domains.
(none listed)
(none listed)
Prior work: compute_diversity_score() and update_all_diversity_scores() already exist in
gap_pipeline.py (committed under other task IDs). The knowledge_gaps.diversity_score column
is populated and the CLI flag --compute-diversity works.
Changes made (this attempt):
should_reopen_gap(): Added low-diversity criterion.diversity_score <= 1 that already have analyses are flagged for re-opening/gap/{gap_id}): Added "Mechanistic Families" metric