diff --git a/content/clusters/cluster-2/index.md b/content/clusters/cluster-2/index.md index f2e094aeb4b..67ec4e37d59 100644 --- a/content/clusters/cluster-2/index.md +++ b/content/clusters/cluster-2/index.md @@ -4,10 +4,10 @@ layout = "cluster" cluster_number = 2 title = "Cluster 2: Conceptual and Statistical Knowledge — FORRT Open Science Taxonomy" heading_title = "Cluster 2: Conceptual and Statistical Knowledge" -summary = "FORRT Cluster 2: Conceptual and Statistical Knowledge. Attainment of a grounding in fundamental statistics, measurement, and its implications encompassing conceptual knowledge, application, interpretation and communication of statistical analyses. There are 8 sub-clusters which aim to further par…" -description = "FORRT Cluster 2: Conceptual and Statistical Knowledge. Attainment of a grounding in fundamental statistics, measurement, and its implications encompassing conceptual knowledge, application, interpretation and communication of statistical analyses. There are 8 sub-clusters which aim to further par…" +summary = "FORRT Cluster 2: Conceptual and Statistical Knowledge. Attainment of a grounding in fundamental statistics, measurement, and its implications encompassing conceptual knowledge, application, interpretation and communication of statistical analyses. There are 7 sub-clusters which aim to further par…" +description = "FORRT Cluster 2: Conceptual and Statistical Knowledge. Attainment of a grounding in fundamental statistics, measurement, and its implications encompassing conceptual knowledge, application, interpretation and communication of statistical analyses. There are 7 sub-clusters which aim to further par…" sharing_title = "Cluster 2: Conceptual and Statistical Knowledge — FORRT Open Science Taxonomy" -sharing_description = "FORRT Cluster 2: Conceptual and Statistical Knowledge. Attainment of a grounding in fundamental statistics, measurement, and its implications encompassing conceptual knowledge, application, interpretation and communication of statistical analyses. There are 8 sub-clusters which aim to further par…" +sharing_description = "FORRT Cluster 2: Conceptual and Statistical Knowledge. Attainment of a grounding in fundamental statistics, measurement, and its implications encompassing conceptual knowledge, application, interpretation and communication of statistical analyses. There are 7 sub-clusters which aim to further par…" keywords = [ "FORRT cluster 2", "open science", "reproducible research", "Conceptual and Statistical Knowledge" ] diff --git a/data/clusters_v4.json b/data/clusters_v4.json index 39fa5e0f569..8db04840b02 100644 --- a/data/clusters_v4.json +++ b/data/clusters_v4.json @@ -782,7 +782,7 @@ { "number": 2, "name": "Conceptual and Statistical Knowledge", - "description": "Attainment of a grounding in fundamental statistics, measurement, and its implications encompassing conceptual knowledge, application, interpretation and communication of statistical analyses. There are 8 sub-clusters which aim to further parse the learning and teaching process:", + "description": "Attainment of a grounding in fundamental statistics, measurement, and its implications encompassing conceptual knowledge, application, interpretation and communication of statistical analyses. There are 7 sub-clusters which aim to further parse the learning and teaching process:", "sub_clusters": [ { "name": "Effect sizes, statistical power, simulations, & confidence intervals.", @@ -3278,16 +3278,10 @@ "doi": "", "apa": "Anon. (n.d.). Plan S rights retention strategy. Plan S. https://www.coalition-s.org/rights-retention-strategy", "auto_ref": false - } - ] - }, - { - "name": "SPARC Europe - Rights Retention Helper:", - "description": "", - "publications": [ + }, { "doi": "", - "apa": "https://sparceurope.org/what-we-do/open-access/copyright/project-retain/rights-retention-helper/", + "apa": "SPARC Europe - Rights Retention Helper: https://sparceurope.org/what-we-do/open-access/copyright/project-retain/rights-retention-helper/", "auto_ref": false }, { @@ -3302,7 +3296,7 @@ { "number": 8, "name": "Replication and meta-research", - "description": "Attainment of a grounding in 'replication research', which takes a variety of forms, each with a different purpose and contribution. Replicable science requires replication research. When teaching, students should understand the purpose and need of replications in its variety of forms and be able to conduct (and join) replication projects. There are 6 sub-clusters which aim to further parse the learning and teaching process:", + "description": "Attainment of a grounding in 'replication research', which takes a variety of forms, each with a different purpose and contribution. Replicable science requires replication research. When teaching, students should understand the purpose and need of replications in its variety of forms and be able to conduct (and join) replication projects. There are 7 sub-clusters which aim to further parse the learning and teaching process:", "sub_clusters": [ { "name": "Conducting replication studies; challenges, limitations, and comparisons with the original study", @@ -3761,7 +3755,7 @@ { "number": 9, "name": "Academic Structures and Institutions", - "description": "Attainment of a grounding in topics related to academia and academics. Students should understand how individuals, teams, institutions, and academic culture work together to promote (or hinder) openness, inclusion, diversity, equity, and transparency. Gathering perspectives on navigating scientific and academic life. Learning the challenges and rewards in the academic setting, the “hidden curriculum” in academic life. There are 17 sub-clusters which aim to further parse the learning and teaching process:", + "description": "Attainment of a grounding in topics related to academia and academics. Students should understand how individuals, teams, institutions, and academic culture work together to promote (or hinder) openness, inclusion, diversity, equity, and transparency. Gathering perspectives on navigating scientific and academic life. Learning the challenges and rewards in the academic setting, the “hidden curriculum” in academic life. There are 19 sub-clusters which aim to further parse the learning and teaching process:", "sub_clusters": [ { "name": "Accessibility", diff --git a/scripts/tests/test_clusters_data.py b/scripts/tests/test_clusters_data.py new file mode 100644 index 00000000000..5bd00f01bad --- /dev/null +++ b/scripts/tests/test_clusters_data.py @@ -0,0 +1,22 @@ +"""Check data/clusters_v4.json against what its cluster descriptions state.""" +import json +import re +import unittest +from pathlib import Path + +DATA = Path(__file__).resolve().parents[2] / "data" / "clusters_v4.json" +STATED_COUNT = re.compile(r"(?:There are|has) (\d+) sub-clusters") + + +class StatedSubClusterCounts(unittest.TestCase): + def test_descriptions_match_listed_sub_clusters(self): + clusters = json.loads(DATA.read_text(encoding="utf-8"))["clusters"] + for cluster in clusters: + stated = STATED_COUNT.search(cluster["description"]) + if stated: + with self.subTest(cluster=cluster["number"]): + self.assertEqual(int(stated.group(1)), len(cluster["sub_clusters"])) + + +if __name__ == "__main__": + unittest.main()