From b2f828a3325601ece39415dad500010470eeb907 Mon Sep 17 00:00:00 2001 From: Yibei Chen Date: Mon, 6 Jan 2025 14:56:45 -0500 Subject: [PATCH 1/8] automatically update activity table --- .github/workflows/update-activity-table.yml | 38 +++++++++ README.md | 11 +++ resources/embedded/activities_table.md | 95 +++++++++++++++++++++ scripts/update_activities_table.py | 94 ++++++++++++++++++++ 4 files changed, 238 insertions(+) create mode 100644 .github/workflows/update-activity-table.yml create mode 100644 resources/embedded/activities_table.md create mode 100755 scripts/update_activities_table.py diff --git a/.github/workflows/update-activity-table.yml b/.github/workflows/update-activity-table.yml new file mode 100644 index 000000000..67def5b1b --- /dev/null +++ b/.github/workflows/update-activity-table.yml @@ -0,0 +1,38 @@ +name: Update Activities Table + +on: + push: + paths: + - 'activities/*/' # Trigger when a new directory is added in activities + workflow_dispatch: # Allow manual trigger + +jobs: + update-activities: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Set up Python + uses: actions/setup-python@v3 + with: + python-version: '3.11' + + - name: Create directories if they don't exist + run: | + mkdir -p scripts + mkdir -p resources/embedded + + - name: Update Activities Table + run: | + python scripts/update_activities_table.py + + - name: Commit changes + run: | + git config --local user.email "github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" + git add resources/embedded/activities_table.md + git diff --quiet && git diff --staged --quiet || (git commit -m "Update activities table [skip ci]" && git push) + +permissions: + contents: write \ No newline at end of file diff --git a/README.md b/README.md index b809584c3..ecccc15db 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,17 @@ You can read more about the ReproSchema [here](https://repronim.org/reproschema) [A slide deck about ReproSchema](https://docs.google.com/presentation/d/1H4C_cBU9BE9EYFNyK8YBLQObzvq9iDztLWrqRIQTmgc/edit) +## Available Activities + +
+Click to expand/collapse the activities list + +
+{% include_relative resources/embedded/activities_table.md %} +
+ +
+ ## How you can contribute 1. Add new assessments not available in the library. diff --git a/resources/embedded/activities_table.md b/resources/embedded/activities_table.md new file mode 100644 index 000000000..00058e40c --- /dev/null +++ b/resources/embedded/activities_table.md @@ -0,0 +1,95 @@ + +*Last updated: 2025-01-06 19:55:24 UTC* + +| Activity | Description | +|----------|-------------| +| [ACE](activities/ACE) | Mobile cognitive control assessment battery containing standard tests that assess different aspects of cognitive control (attention, working memory, and goal management), modified by incorporating adaptive algorithms, immersive graphics, video tutorials, motivating feedback, and a user-friendly interface. | +| [ARI_P](activities/ARI_P) | The Affective Reactivity Index- Self Report is a concise scale for the dimensional assessment of irritability. | +| [ASSQ](activities/ASSQ) | The ASSQ is a 27-item checklist for completion by lay informants when assessing symptoms characteristic of Asperger's Syndrome or high-functioning autism spectrum disorders. | +| [BADS](activities/BADS) | BADS assessment schema | +| [BFI-2-XS](activities/BFI-2-XS) | BFI-2-XS | +| [Brief_PHQ](activities/Brief_PHQ) | PHQ-9 assessment schema | +| [CIS_P](activities/CIS_P) | The CIS is a 13 item parent report scale that assesses global functioning in domains of interpersonal relations, psychopathology, school performance, use of leisure time; monitors progress after 6 mo of treatment. | +| [CIS_SR](activities/CIS_SR) | The CIS is a 13 item self report scale that assesses global functioning in domains of interpersonal relations, psychopathology, school performance, use of leisure time; monitors progress after 6 mo of treatment. | +| [CIT](activities/CIT) | CIT schema | +| [CageAid](activities/CageAid) | schema describing cage aid assessment | +| [DAS](activities/DAS) | Daily Affect Scale schema | +| [DSM-5_A](activities/DSM-5_A) | DSM-5_A | +| [DSM-5_Y](activities/DSM-5_Y) | DSM-5_Y | +| [EPDS](activities/EPDS) | EPDS assessment schema | +| [GAD7](activities/GAD7) | GAD7 assessment schema | +| [GQ-6](activities/GQ-6) | GQ-6 | +| [IAT](activities/IAT) | The Internet Addiction Test (IAT) is a 20-item scale that measures characteristics and behaviors associated with compulsive use of the Internet that include compulsivity, escapism, and dependency. Questions also assess problems related to addictive use in personal, occupational, and social functioning. | +| [ICU_P](activities/ICU_P) | The Inventory of Callous-Unemotional Traits is a copyright protected 24-item questionnaire designed to provide a comprehensive assessment of callous and unemotional traits. These traits have proven to be important for designating a distinct subgroup group of antisocial and aggressive youth | +| [ICU_SR](activities/ICU_SR) | The Inventory of Callous-Unemotional Traits (ICUT) is a copyright protected 24-item questionnaire designed to provide a comprehensive assessment of callous and unemotional traits. These traits have proven to be important for designating a distinct subgroup group of antisocial and aggressive youth. The ICUT has three subscales: Callousness, Uncaring, and Unemotional | +| [LAS](activities/LAS) | Lyubomirsky Affect Scale schema | +| [MAAS](activities/MAAS) | Self Compassion schema | +| [MEIM](activities/MEIM) | An assessment to measure cultural affiliation | +| [MFQ_P](activities/MFQ_P) | The MFQ consists of a series of descriptive phrases regarding how the subject has been feeling or acting recently. Codings reflect whether the phrase was descriptive of the subject most of the time, sometimes, or not at all in the past two weeks. | +| [MFQ_SR](activities/MFQ_SR) | The MFQ consists of a series of descriptive phrases regarding how the subject has been feeling or acting recently. Codings reflect whether the phrase was descriptive of the subject most of the time, sometimes, or not at all in the past two weeks. | +| [MiscellaneousQuestions](activities/MiscellaneousQuestions) | schema for other questions for voice study | +| [MoodDisorderQuestionnaire](activities/MoodDisorderQuestionnaire) | MoodDisorderQuestionnaire | +| [NDA](activities/NDA) | schema describing terms needed to generate NDA guid | +| [PC-PTSD-5](activities/PC-PTSD-5) | PC-PTSD-5 assessment schema | +| [PCIAT](activities/PCIAT) | This 20-item questionnaire measures mild, moderate, and severe levels of Internet Addiction. The Parent-Child Internet Addiction Test will help you determine if you may be dealing with Internet Addiction in your home. | +| [PEIS](activities/PEIS) | PEIS assessment schema | +| [PHQ](activities/PHQ) | PHQ-8 assessment schema | +| [PHQ-4](activities/PHQ-4) | PHQ-4 | +| [PHQ-8](activities/PHQ-8) | PHQ-8 | +| [PHQ-9](activities/PHQ-9) | PHQ-9 | +| [PHQ-9a](activities/PHQ-9a) | PHQ-9a | +| [PHQ-SADS](activities/PHQ-SADS) | PHQ-SADS | +| [PHQ_15](activities/PHQ_15) | PHQ_15 | +| [PHQalcohol](activities/PHQalcohol) | PHQ Q10 schema | +| [PHQeating](activities/PHQeating) | PHQ eating disorder schema | +| [PROMISGlobalHealth](activities/PROMISGlobalHealth) | brief survey to assess the general health | +| [PSC-17](activities/PSC-17) | PSC-17 assessment schema | +| [PSC-17-Y](activities/PSC-17-Y) | PSC-17-Y assessment schema | +| [ProdromalQuestionnaireBriefVersion](activities/ProdromalQuestionnaireBriefVersion) | ProdromalQuestionnaireBriefVersion | +| [RCADS-25-C](activities/RCADS-25-C) | RCADS-25-C | +| [RCADS-25-Y](activities/RCADS-25-Y) | RCADS-25-Y | +| [SCQ](activities/SCQ) | The SCQ consists of forty yes-or-no questions, which a parent can complete in around ten minutes. It provides valuable information on a child’s body movements, use of language or gestures, and style of interacting. Usually, the SCQ is used as a screening instrument to help identify which children may have an autism spectrum disorder. It is not meant to provide a detailed diagnosis, but to indicate whether a child needs a more careful and in-depth evaluation. | +| [SCS](activities/SCS) | SelfCompassionScale schema | +| [SCS-SF](activities/SCS-SF) | Self Compassion schema | +| [SFI](activities/SFI) | SFI schema | +| [SITBI](activities/SITBI) | SITBI | +| [SRIS-SF](activities/SRIS-SF) | SRIS-SF assessment schema | +| [SWED](activities/SWED) | SWED assessment schema | +| [TEQ](activities/TEQ) | Self Compassion schema | +| [ThankYou](activities/ThankYou) | ThankYou page schema | +| [TokenActivity](activities/TokenActivity) | TokenActivity assessment schema | +| [VoiceConsent](activities/VoiceConsent) | Consent for voice study | +| [VoiceTask](activities/VoiceTask) | VoiceTask | +| [WHODAS12](activities/WHODAS12) | WHODAS12 assessment schema | +| [WHODAS36_P](activities/WHODAS36_P) | WHODAS36_P | +| [WHODAS36_S](activities/WHODAS36_S) | WHODAS36_S | +| [abcd_ant01](activities/abcd_ant01) | ABCD Youth Anthropometrics Modified From PhenX (ANT) | +| [abcd_asrs01](activities/abcd_asrs01) | ABCD Parent Adult Self Report Scores Aseba (ASR) | +| [abcd_betnet02](activities/abcd_betnet02) | ABCD rsfMRI Gordon Network Correlations | +| [abcd_bisbas01](activities/abcd_bisbas01) | ABCD Youth Behavioral Inhibition/Behavioral Approach System Scales Modified from PhenX (BIS/BAS) | +| [abcd_bpm01](activities/abcd_bpm01) | ABCD Youth Brief Problem Monitor | +| [abcd_bpmt01](activities/abcd_bpmt01) | ABCD Brief Problem Monitor-Teacher Form For Ages 6-18 (BPMT) | +| [abcd_cbcl01](activities/abcd_cbcl01) | ABCD Parent Child Behavior Checklist Raw Scores Aseba (CBCL) | +| [abcd_cbcls01](activities/abcd_cbcls01) | ABCD Parent Child Behavior Checklist Scores Aseba (CBCL) | +| [abcd_crpf01](activities/abcd_crpf01) | ABCD Parent Community Risk and Protective Factors (CRPF) | +| [abcd_fes01](activities/abcd_fes01) | ABCD Youth Family Environment Scale-Family Conflict Subscale Modified from PhenX (FES) | +| [abcd_hers01](activities/abcd_hers01) | ABCD Youth Hair Sample | +| [abcd_hsss01](activities/abcd_hsss01) | ABCD Hormone Saliva Salimetric Scores | +| [abcd_ip01](activities/abcd_ip01) | ABCD Irma Substudy Parent | +| [abcd_isc01](activities/abcd_isc01) | ABCD Irma Substudy Child | +| [abcd_ksad01](activities/abcd_ksad01) | ABCD Parent Diagnostic Interview for DSM-5 Full (KSADS-5) | +| [abcd_ksad501](activities/abcd_ksad501) | ABCD Youth Diagnostic Interview for DSM-5 5 (KSADS-5) | +| [abcd_lpds01](activities/abcd_lpds01) | ABCD Longitudinal Parent Demographics Survey | +| [abcd_lpksad01](activities/abcd_lpksad01) | ABCD Longitudinal Parent Diagnostic Interview for DSM-5 Background Items Full (KSAD) | +| [abcd_lpmh01](activities/abcd_lpmh01) | ABCD Longitudinal Parent Medical History Questionnaire | +| [abcd_lpohstbi01](activities/abcd_lpohstbi01) | ABCD Longitudinal Parent Ohio State Traumatic Brain Injury Screen-Short Modified (OTBI) | +| [abcd_lpsaiq01](activities/abcd_lpsaiq01) | ABCD Longitudinal Parent Sports and Activities Involvement Questionnaire (SAIQ) | +| [abcd_lssmh01](activities/abcd_lssmh01) | ABCD Longitudinal Summary Scores Medical History | +| [abcd_lsssa01](activities/abcd_lsssa01) | ABCD Longitudinal Summary Scores Sports Activity | +| [abcd_lsstbi01](activities/abcd_lsstbi01) | ABCD Longitudinal Summary Scores Traumatic Brain Injury | +| [abcd_lt01](activities/abcd_lt01) | ABCD Longitudinal Tracking | +| [abcd_medhxss01](activities/abcd_medhxss01) | ABCD Summary Scores Medical History | +| [abcd_nda](activities/abcd_nda) | schema describing terms needed to generate NDA guid for ABCD study | +| [demographics_and_background_information_v1](activities/demographics_and_background_information_v1) | demographics_and_background_information_v1 | +| [dsm_5_parent_guardian_rated_level_1_crosscutting_s](activities/dsm_5_parent_guardian_rated_level_1_crosscutting_s) | dsm_5_parent_guardian_rated_level_1_crosscutting_s | +| [hbn_asr](activities/hbn_asr) | HBN Adult Self Report (ASR) | \ No newline at end of file diff --git a/scripts/update_activities_table.py b/scripts/update_activities_table.py new file mode 100755 index 000000000..b89dcc37d --- /dev/null +++ b/scripts/update_activities_table.py @@ -0,0 +1,94 @@ +#!/usr/bin/env python3 +import json +from datetime import datetime, UTC +from pathlib import Path + +def get_repo_root(): + """Get the root directory of the repository.""" + return Path(__file__).parent.parent + +def get_activity_description(activity_dir): + """Extract the description from the activity's schema file. + Priority order: description["en"] > prefLabel["en"] > activity name + """ + try: + schema_path = activity_dir / f"{activity_dir.name}_schema" + + if schema_path.exists(): + with open(schema_path, 'r', encoding='utf-8') as f: + schema = json.load(f) + # Add schema validation + if isinstance(schema, dict): + if isinstance(schema.get('description'), dict) and schema['description'].get('en'): + return schema['description']['en'] + if isinstance(schema.get('prefLabel'), dict) and schema['prefLabel'].get('en'): + return schema['prefLabel']['en'] + return activity_dir.name + + return activity_dir.name + except Exception as e: + print(f"Warning: Could not read schema for {activity_dir.name}: {str(e)}") + return activity_dir.name + +def get_activities_with_descriptions(): + """Get list of activities and their descriptions from the activities directory.""" + repo_root = get_repo_root() + activities_dir = repo_root / "activities" + + if not activities_dir.exists(): + raise FileNotFoundError(f"Directory {activities_dir} not found") + + # Get all directories and their descriptions + activities = [] + for activity_dir in sorted(activities_dir.iterdir()): + if activity_dir.is_dir(): + description = get_activity_description(activity_dir) + activities.append({ + 'name': activity_dir.name, + 'description': description + }) + + return activities + +def create_markdown_table(activities): + """Create a markdown table with activity links and descriptions.""" + content = [ + f"*Last updated: {datetime.now(UTC).strftime('%Y-%m-%d %H:%M:%S')} UTC*\n", + "| *Activity* | *Description* |", + "|----------|-------------|" + ] + + for activity in activities: + activity_link = f"[{activity['name']}](activities/{activity['name']})" + # Escape pipe characters in description + safe_description = activity['description'].replace('|', '\\|') + content.append(f"| {activity_link} | {safe_description} |") + + return "\n".join(content) + +def write_activities_file(table_content): + """Write the activities table to a separate markdown file.""" + repo_root = get_repo_root() + output_dir = repo_root / "resources" / "embedded" + output_file = "activities_table.md" + + # Create directory if it doesn't exist + output_dir.mkdir(parents=True, exist_ok=True) + + # Write the content to the file + with open(output_dir / output_file, "w", encoding='utf-8') as f: + f.write(table_content) + +def main(): + try: + activities = get_activities_with_descriptions() + table = create_markdown_table(activities) + write_activities_file(table) + print("Activities table has been successfully updated.") + except Exception as e: + print(f"Error: {str(e)}") + return 1 + return 0 + +if __name__ == "__main__": + exit(main()) \ No newline at end of file From fbc2435ce05ff50d18aa82707cb1dda696404602 Mon Sep 17 00:00:00 2001 From: Yibei Chen Date: Mon, 6 Jan 2025 15:13:07 -0500 Subject: [PATCH 2/8] revise the table updating approach --- .github/workflows/update-activity-table.yml | 16 ++-- README.md | 4 +- resources/embedded/activities_table.md | 95 --------------------- scripts/update_activities_table.py | 52 ++++++++--- 4 files changed, 49 insertions(+), 118 deletions(-) delete mode 100644 resources/embedded/activities_table.md diff --git a/.github/workflows/update-activity-table.yml b/.github/workflows/update-activity-table.yml index 67def5b1b..03bebe52f 100644 --- a/.github/workflows/update-activity-table.yml +++ b/.github/workflows/update-activity-table.yml @@ -9,6 +9,9 @@ on: jobs: update-activities: runs-on: ubuntu-latest + strategy: + matrix: + python-version: ['3.9', '3.10', '3.11'] steps: - name: Checkout repository uses: actions/checkout@v3 @@ -16,14 +19,9 @@ jobs: - name: Set up Python uses: actions/setup-python@v3 with: - python-version: '3.11' + python-version: ${{ matrix.python-version }} - - name: Create directories if they don't exist - run: | - mkdir -p scripts - mkdir -p resources/embedded - - - name: Update Activities Table + - name: Update README with Activities Table run: | python scripts/update_activities_table.py @@ -31,8 +29,8 @@ jobs: run: | git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" - git add resources/embedded/activities_table.md - git diff --quiet && git diff --staged --quiet || (git commit -m "Update activities table [skip ci]" && git push) + git add README.md + git diff --quiet && git diff --staged --quiet || (git commit -m "Update activities table in README [skip ci]" && git push) permissions: contents: write \ No newline at end of file diff --git a/README.md b/README.md index ecccc15db..14a819be1 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,7 @@ You can read more about the ReproSchema [here](https://repronim.org/reproschema)
Click to expand/collapse the activities list -
-{% include_relative resources/embedded/activities_table.md %} -
+
diff --git a/resources/embedded/activities_table.md b/resources/embedded/activities_table.md deleted file mode 100644 index 00058e40c..000000000 --- a/resources/embedded/activities_table.md +++ /dev/null @@ -1,95 +0,0 @@ - -*Last updated: 2025-01-06 19:55:24 UTC* - -| Activity | Description | -|----------|-------------| -| [ACE](activities/ACE) | Mobile cognitive control assessment battery containing standard tests that assess different aspects of cognitive control (attention, working memory, and goal management), modified by incorporating adaptive algorithms, immersive graphics, video tutorials, motivating feedback, and a user-friendly interface. | -| [ARI_P](activities/ARI_P) | The Affective Reactivity Index- Self Report is a concise scale for the dimensional assessment of irritability. | -| [ASSQ](activities/ASSQ) | The ASSQ is a 27-item checklist for completion by lay informants when assessing symptoms characteristic of Asperger's Syndrome or high-functioning autism spectrum disorders. | -| [BADS](activities/BADS) | BADS assessment schema | -| [BFI-2-XS](activities/BFI-2-XS) | BFI-2-XS | -| [Brief_PHQ](activities/Brief_PHQ) | PHQ-9 assessment schema | -| [CIS_P](activities/CIS_P) | The CIS is a 13 item parent report scale that assesses global functioning in domains of interpersonal relations, psychopathology, school performance, use of leisure time; monitors progress after 6 mo of treatment. | -| [CIS_SR](activities/CIS_SR) | The CIS is a 13 item self report scale that assesses global functioning in domains of interpersonal relations, psychopathology, school performance, use of leisure time; monitors progress after 6 mo of treatment. | -| [CIT](activities/CIT) | CIT schema | -| [CageAid](activities/CageAid) | schema describing cage aid assessment | -| [DAS](activities/DAS) | Daily Affect Scale schema | -| [DSM-5_A](activities/DSM-5_A) | DSM-5_A | -| [DSM-5_Y](activities/DSM-5_Y) | DSM-5_Y | -| [EPDS](activities/EPDS) | EPDS assessment schema | -| [GAD7](activities/GAD7) | GAD7 assessment schema | -| [GQ-6](activities/GQ-6) | GQ-6 | -| [IAT](activities/IAT) | The Internet Addiction Test (IAT) is a 20-item scale that measures characteristics and behaviors associated with compulsive use of the Internet that include compulsivity, escapism, and dependency. Questions also assess problems related to addictive use in personal, occupational, and social functioning. | -| [ICU_P](activities/ICU_P) | The Inventory of Callous-Unemotional Traits is a copyright protected 24-item questionnaire designed to provide a comprehensive assessment of callous and unemotional traits. These traits have proven to be important for designating a distinct subgroup group of antisocial and aggressive youth | -| [ICU_SR](activities/ICU_SR) | The Inventory of Callous-Unemotional Traits (ICUT) is a copyright protected 24-item questionnaire designed to provide a comprehensive assessment of callous and unemotional traits. These traits have proven to be important for designating a distinct subgroup group of antisocial and aggressive youth. The ICUT has three subscales: Callousness, Uncaring, and Unemotional | -| [LAS](activities/LAS) | Lyubomirsky Affect Scale schema | -| [MAAS](activities/MAAS) | Self Compassion schema | -| [MEIM](activities/MEIM) | An assessment to measure cultural affiliation | -| [MFQ_P](activities/MFQ_P) | The MFQ consists of a series of descriptive phrases regarding how the subject has been feeling or acting recently. Codings reflect whether the phrase was descriptive of the subject most of the time, sometimes, or not at all in the past two weeks. | -| [MFQ_SR](activities/MFQ_SR) | The MFQ consists of a series of descriptive phrases regarding how the subject has been feeling or acting recently. Codings reflect whether the phrase was descriptive of the subject most of the time, sometimes, or not at all in the past two weeks. | -| [MiscellaneousQuestions](activities/MiscellaneousQuestions) | schema for other questions for voice study | -| [MoodDisorderQuestionnaire](activities/MoodDisorderQuestionnaire) | MoodDisorderQuestionnaire | -| [NDA](activities/NDA) | schema describing terms needed to generate NDA guid | -| [PC-PTSD-5](activities/PC-PTSD-5) | PC-PTSD-5 assessment schema | -| [PCIAT](activities/PCIAT) | This 20-item questionnaire measures mild, moderate, and severe levels of Internet Addiction. The Parent-Child Internet Addiction Test will help you determine if you may be dealing with Internet Addiction in your home. | -| [PEIS](activities/PEIS) | PEIS assessment schema | -| [PHQ](activities/PHQ) | PHQ-8 assessment schema | -| [PHQ-4](activities/PHQ-4) | PHQ-4 | -| [PHQ-8](activities/PHQ-8) | PHQ-8 | -| [PHQ-9](activities/PHQ-9) | PHQ-9 | -| [PHQ-9a](activities/PHQ-9a) | PHQ-9a | -| [PHQ-SADS](activities/PHQ-SADS) | PHQ-SADS | -| [PHQ_15](activities/PHQ_15) | PHQ_15 | -| [PHQalcohol](activities/PHQalcohol) | PHQ Q10 schema | -| [PHQeating](activities/PHQeating) | PHQ eating disorder schema | -| [PROMISGlobalHealth](activities/PROMISGlobalHealth) | brief survey to assess the general health | -| [PSC-17](activities/PSC-17) | PSC-17 assessment schema | -| [PSC-17-Y](activities/PSC-17-Y) | PSC-17-Y assessment schema | -| [ProdromalQuestionnaireBriefVersion](activities/ProdromalQuestionnaireBriefVersion) | ProdromalQuestionnaireBriefVersion | -| [RCADS-25-C](activities/RCADS-25-C) | RCADS-25-C | -| [RCADS-25-Y](activities/RCADS-25-Y) | RCADS-25-Y | -| [SCQ](activities/SCQ) | The SCQ consists of forty yes-or-no questions, which a parent can complete in around ten minutes. It provides valuable information on a child’s body movements, use of language or gestures, and style of interacting. Usually, the SCQ is used as a screening instrument to help identify which children may have an autism spectrum disorder. It is not meant to provide a detailed diagnosis, but to indicate whether a child needs a more careful and in-depth evaluation. | -| [SCS](activities/SCS) | SelfCompassionScale schema | -| [SCS-SF](activities/SCS-SF) | Self Compassion schema | -| [SFI](activities/SFI) | SFI schema | -| [SITBI](activities/SITBI) | SITBI | -| [SRIS-SF](activities/SRIS-SF) | SRIS-SF assessment schema | -| [SWED](activities/SWED) | SWED assessment schema | -| [TEQ](activities/TEQ) | Self Compassion schema | -| [ThankYou](activities/ThankYou) | ThankYou page schema | -| [TokenActivity](activities/TokenActivity) | TokenActivity assessment schema | -| [VoiceConsent](activities/VoiceConsent) | Consent for voice study | -| [VoiceTask](activities/VoiceTask) | VoiceTask | -| [WHODAS12](activities/WHODAS12) | WHODAS12 assessment schema | -| [WHODAS36_P](activities/WHODAS36_P) | WHODAS36_P | -| [WHODAS36_S](activities/WHODAS36_S) | WHODAS36_S | -| [abcd_ant01](activities/abcd_ant01) | ABCD Youth Anthropometrics Modified From PhenX (ANT) | -| [abcd_asrs01](activities/abcd_asrs01) | ABCD Parent Adult Self Report Scores Aseba (ASR) | -| [abcd_betnet02](activities/abcd_betnet02) | ABCD rsfMRI Gordon Network Correlations | -| [abcd_bisbas01](activities/abcd_bisbas01) | ABCD Youth Behavioral Inhibition/Behavioral Approach System Scales Modified from PhenX (BIS/BAS) | -| [abcd_bpm01](activities/abcd_bpm01) | ABCD Youth Brief Problem Monitor | -| [abcd_bpmt01](activities/abcd_bpmt01) | ABCD Brief Problem Monitor-Teacher Form For Ages 6-18 (BPMT) | -| [abcd_cbcl01](activities/abcd_cbcl01) | ABCD Parent Child Behavior Checklist Raw Scores Aseba (CBCL) | -| [abcd_cbcls01](activities/abcd_cbcls01) | ABCD Parent Child Behavior Checklist Scores Aseba (CBCL) | -| [abcd_crpf01](activities/abcd_crpf01) | ABCD Parent Community Risk and Protective Factors (CRPF) | -| [abcd_fes01](activities/abcd_fes01) | ABCD Youth Family Environment Scale-Family Conflict Subscale Modified from PhenX (FES) | -| [abcd_hers01](activities/abcd_hers01) | ABCD Youth Hair Sample | -| [abcd_hsss01](activities/abcd_hsss01) | ABCD Hormone Saliva Salimetric Scores | -| [abcd_ip01](activities/abcd_ip01) | ABCD Irma Substudy Parent | -| [abcd_isc01](activities/abcd_isc01) | ABCD Irma Substudy Child | -| [abcd_ksad01](activities/abcd_ksad01) | ABCD Parent Diagnostic Interview for DSM-5 Full (KSADS-5) | -| [abcd_ksad501](activities/abcd_ksad501) | ABCD Youth Diagnostic Interview for DSM-5 5 (KSADS-5) | -| [abcd_lpds01](activities/abcd_lpds01) | ABCD Longitudinal Parent Demographics Survey | -| [abcd_lpksad01](activities/abcd_lpksad01) | ABCD Longitudinal Parent Diagnostic Interview for DSM-5 Background Items Full (KSAD) | -| [abcd_lpmh01](activities/abcd_lpmh01) | ABCD Longitudinal Parent Medical History Questionnaire | -| [abcd_lpohstbi01](activities/abcd_lpohstbi01) | ABCD Longitudinal Parent Ohio State Traumatic Brain Injury Screen-Short Modified (OTBI) | -| [abcd_lpsaiq01](activities/abcd_lpsaiq01) | ABCD Longitudinal Parent Sports and Activities Involvement Questionnaire (SAIQ) | -| [abcd_lssmh01](activities/abcd_lssmh01) | ABCD Longitudinal Summary Scores Medical History | -| [abcd_lsssa01](activities/abcd_lsssa01) | ABCD Longitudinal Summary Scores Sports Activity | -| [abcd_lsstbi01](activities/abcd_lsstbi01) | ABCD Longitudinal Summary Scores Traumatic Brain Injury | -| [abcd_lt01](activities/abcd_lt01) | ABCD Longitudinal Tracking | -| [abcd_medhxss01](activities/abcd_medhxss01) | ABCD Summary Scores Medical History | -| [abcd_nda](activities/abcd_nda) | schema describing terms needed to generate NDA guid for ABCD study | -| [demographics_and_background_information_v1](activities/demographics_and_background_information_v1) | demographics_and_background_information_v1 | -| [dsm_5_parent_guardian_rated_level_1_crosscutting_s](activities/dsm_5_parent_guardian_rated_level_1_crosscutting_s) | dsm_5_parent_guardian_rated_level_1_crosscutting_s | -| [hbn_asr](activities/hbn_asr) | HBN Adult Self Report (ASR) | \ No newline at end of file diff --git a/scripts/update_activities_table.py b/scripts/update_activities_table.py index b89dcc37d..4694ce591 100755 --- a/scripts/update_activities_table.py +++ b/scripts/update_activities_table.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 import json +import re from datetime import datetime, UTC from pathlib import Path @@ -66,25 +67,54 @@ def create_markdown_table(activities): return "\n".join(content) -def write_activities_file(table_content): - """Write the activities table to a separate markdown file.""" +def update_readme(table_content): + """Update the README.md file with the new table inside the details tag.""" repo_root = get_repo_root() - output_dir = repo_root / "resources" / "embedded" - output_file = "activities_table.md" + readme_path = repo_root / "README.md" - # Create directory if it doesn't exist - output_dir.mkdir(parents=True, exist_ok=True) + if not readme_path.exists(): + raise FileNotFoundError("README.md not found") - # Write the content to the file - with open(output_dir / output_file, "w", encoding='utf-8') as f: - f.write(table_content) + with open(readme_path, 'r', encoding='utf-8') as f: + content = f.read() + + # Define the section pattern + section_pattern = r'(## Available Activities\s*\n\s*
\s*\n\s*.*?\s*\n).*?(\s*
)' + + # Create the new section content + new_section = f"\n{table_content}\n" + + if '## Available Activities' not in content: + # If section doesn't exist, add it at the end + section_to_add = f""" +## Available Activities + +
+Click to expand/collapse the activities list + +{table_content} + +
+""" + content = content.rstrip() + "\n" + section_to_add + "\n" + else: + # Replace the existing section content + content = re.sub( + section_pattern, + f"\\1{new_section}\\2", + content, + flags=re.DOTALL + ) + + with open(readme_path, 'w', encoding='utf-8') as f: + f.write(content) def main(): try: activities = get_activities_with_descriptions() table = create_markdown_table(activities) - write_activities_file(table) - print("Activities table has been successfully updated.") + update_readme(table) + print("README.md has been successfully updated with the activities table.") except Exception as e: print(f"Error: {str(e)}") return 1 From 0619caa885198f07534f3696bd817c755ceb5bc9 Mon Sep 17 00:00:00 2001 From: Yibei Chen Date: Mon, 6 Jan 2025 15:15:52 -0500 Subject: [PATCH 3/8] update table --- README.md | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 98 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 14a819be1..8593601b0 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,104 @@ You can read more about the ReproSchema [here](https://repronim.org/reproschema)
Click to expand/collapse the activities list - + + +*Last updated: 2025-01-06 20:14:32 UTC* + +| *Activity* | *Description* | +|----------|-------------| +| [ACE](activities/ACE) | Mobile cognitive control assessment battery containing standard tests that assess different aspects of cognitive control (attention, working memory, and goal management), modified by incorporating adaptive algorithms, immersive graphics, video tutorials, motivating feedback, and a user-friendly interface. | +| [ARI_P](activities/ARI_P) | The Affective Reactivity Index- Self Report is a concise scale for the dimensional assessment of irritability. | +| [ASSQ](activities/ASSQ) | The ASSQ is a 27-item checklist for completion by lay informants when assessing symptoms characteristic of Asperger's Syndrome or high-functioning autism spectrum disorders. | +| [BADS](activities/BADS) | BADS assessment schema | +| [BFI-2-XS](activities/BFI-2-XS) | BFI-2-XS | +| [Brief_PHQ](activities/Brief_PHQ) | PHQ-9 assessment schema | +| [CIS_P](activities/CIS_P) | The CIS is a 13 item parent report scale that assesses global functioning in domains of interpersonal relations, psychopathology, school performance, use of leisure time; monitors progress after 6 mo of treatment. | +| [CIS_SR](activities/CIS_SR) | The CIS is a 13 item self report scale that assesses global functioning in domains of interpersonal relations, psychopathology, school performance, use of leisure time; monitors progress after 6 mo of treatment. | +| [CIT](activities/CIT) | CIT schema | +| [CageAid](activities/CageAid) | schema describing cage aid assessment | +| [DAS](activities/DAS) | Daily Affect Scale schema | +| [DSM-5_A](activities/DSM-5_A) | DSM-5_A | +| [DSM-5_Y](activities/DSM-5_Y) | DSM-5_Y | +| [EPDS](activities/EPDS) | EPDS assessment schema | +| [GAD7](activities/GAD7) | GAD7 assessment schema | +| [GQ-6](activities/GQ-6) | GQ-6 | +| [IAT](activities/IAT) | The Internet Addiction Test (IAT) is a 20-item scale that measures characteristics and behaviors associated with compulsive use of the Internet that include compulsivity, escapism, and dependency. Questions also assess problems related to addictive use in personal, occupational, and social functioning. | +| [ICU_P](activities/ICU_P) | The Inventory of Callous-Unemotional Traits is a copyright protected 24-item questionnaire designed to provide a comprehensive assessment of callous and unemotional traits. These traits have proven to be important for designating a distinct subgroup group of antisocial and aggressive youth | +| [ICU_SR](activities/ICU_SR) | The Inventory of Callous-Unemotional Traits (ICUT) is a copyright protected 24-item questionnaire designed to provide a comprehensive assessment of callous and unemotional traits. These traits have proven to be important for designating a distinct subgroup group of antisocial and aggressive youth. The ICUT has three subscales: Callousness, Uncaring, and Unemotional | +| [LAS](activities/LAS) | Lyubomirsky Affect Scale schema | +| [MAAS](activities/MAAS) | Self Compassion schema | +| [MEIM](activities/MEIM) | An assessment to measure cultural affiliation | +| [MFQ_P](activities/MFQ_P) | The MFQ consists of a series of descriptive phrases regarding how the subject has been feeling or acting recently. Codings reflect whether the phrase was descriptive of the subject most of the time, sometimes, or not at all in the past two weeks. | +| [MFQ_SR](activities/MFQ_SR) | The MFQ consists of a series of descriptive phrases regarding how the subject has been feeling or acting recently. Codings reflect whether the phrase was descriptive of the subject most of the time, sometimes, or not at all in the past two weeks. | +| [MiscellaneousQuestions](activities/MiscellaneousQuestions) | schema for other questions for voice study | +| [MoodDisorderQuestionnaire](activities/MoodDisorderQuestionnaire) | MoodDisorderQuestionnaire | +| [NDA](activities/NDA) | schema describing terms needed to generate NDA guid | +| [PC-PTSD-5](activities/PC-PTSD-5) | PC-PTSD-5 assessment schema | +| [PCIAT](activities/PCIAT) | This 20-item questionnaire measures mild, moderate, and severe levels of Internet Addiction. The Parent-Child Internet Addiction Test will help you determine if you may be dealing with Internet Addiction in your home. | +| [PEIS](activities/PEIS) | PEIS assessment schema | +| [PHQ](activities/PHQ) | PHQ-8 assessment schema | +| [PHQ-4](activities/PHQ-4) | PHQ-4 | +| [PHQ-8](activities/PHQ-8) | PHQ-8 | +| [PHQ-9](activities/PHQ-9) | PHQ-9 | +| [PHQ-9a](activities/PHQ-9a) | PHQ-9a | +| [PHQ-SADS](activities/PHQ-SADS) | PHQ-SADS | +| [PHQ_15](activities/PHQ_15) | PHQ_15 | +| [PHQalcohol](activities/PHQalcohol) | PHQ Q10 schema | +| [PHQeating](activities/PHQeating) | PHQ eating disorder schema | +| [PROMISGlobalHealth](activities/PROMISGlobalHealth) | brief survey to assess the general health | +| [PSC-17](activities/PSC-17) | PSC-17 assessment schema | +| [PSC-17-Y](activities/PSC-17-Y) | PSC-17-Y assessment schema | +| [ProdromalQuestionnaireBriefVersion](activities/ProdromalQuestionnaireBriefVersion) | ProdromalQuestionnaireBriefVersion | +| [RCADS-25-C](activities/RCADS-25-C) | RCADS-25-C | +| [RCADS-25-Y](activities/RCADS-25-Y) | RCADS-25-Y | +| [SCQ](activities/SCQ) | The SCQ consists of forty yes-or-no questions, which a parent can complete in around ten minutes. It provides valuable information on a child’s body movements, use of language or gestures, and style of interacting. Usually, the SCQ is used as a screening instrument to help identify which children may have an autism spectrum disorder. It is not meant to provide a detailed diagnosis, but to indicate whether a child needs a more careful and in-depth evaluation. | +| [SCS](activities/SCS) | SelfCompassionScale schema | +| [SCS-SF](activities/SCS-SF) | Self Compassion schema | +| [SFI](activities/SFI) | SFI schema | +| [SITBI](activities/SITBI) | SITBI | +| [SRIS-SF](activities/SRIS-SF) | SRIS-SF assessment schema | +| [SWED](activities/SWED) | SWED assessment schema | +| [TEQ](activities/TEQ) | Self Compassion schema | +| [ThankYou](activities/ThankYou) | ThankYou page schema | +| [TokenActivity](activities/TokenActivity) | TokenActivity assessment schema | +| [VoiceConsent](activities/VoiceConsent) | Consent for voice study | +| [VoiceTask](activities/VoiceTask) | VoiceTask | +| [WHODAS12](activities/WHODAS12) | WHODAS12 assessment schema | +| [WHODAS36_P](activities/WHODAS36_P) | WHODAS36_P | +| [WHODAS36_S](activities/WHODAS36_S) | WHODAS36_S | +| [abcd_ant01](activities/abcd_ant01) | ABCD Youth Anthropometrics Modified From PhenX (ANT) | +| [abcd_asrs01](activities/abcd_asrs01) | ABCD Parent Adult Self Report Scores Aseba (ASR) | +| [abcd_betnet02](activities/abcd_betnet02) | ABCD rsfMRI Gordon Network Correlations | +| [abcd_bisbas01](activities/abcd_bisbas01) | ABCD Youth Behavioral Inhibition/Behavioral Approach System Scales Modified from PhenX (BIS/BAS) | +| [abcd_bpm01](activities/abcd_bpm01) | ABCD Youth Brief Problem Monitor | +| [abcd_bpmt01](activities/abcd_bpmt01) | ABCD Brief Problem Monitor-Teacher Form For Ages 6-18 (BPMT) | +| [abcd_cbcl01](activities/abcd_cbcl01) | ABCD Parent Child Behavior Checklist Raw Scores Aseba (CBCL) | +| [abcd_cbcls01](activities/abcd_cbcls01) | ABCD Parent Child Behavior Checklist Scores Aseba (CBCL) | +| [abcd_crpf01](activities/abcd_crpf01) | ABCD Parent Community Risk and Protective Factors (CRPF) | +| [abcd_fes01](activities/abcd_fes01) | ABCD Youth Family Environment Scale-Family Conflict Subscale Modified from PhenX (FES) | +| [abcd_hers01](activities/abcd_hers01) | ABCD Youth Hair Sample | +| [abcd_hsss01](activities/abcd_hsss01) | ABCD Hormone Saliva Salimetric Scores | +| [abcd_ip01](activities/abcd_ip01) | ABCD Irma Substudy Parent | +| [abcd_isc01](activities/abcd_isc01) | ABCD Irma Substudy Child | +| [abcd_ksad01](activities/abcd_ksad01) | ABCD Parent Diagnostic Interview for DSM-5 Full (KSADS-5) | +| [abcd_ksad501](activities/abcd_ksad501) | ABCD Youth Diagnostic Interview for DSM-5 5 (KSADS-5) | +| [abcd_lpds01](activities/abcd_lpds01) | ABCD Longitudinal Parent Demographics Survey | +| [abcd_lpksad01](activities/abcd_lpksad01) | ABCD Longitudinal Parent Diagnostic Interview for DSM-5 Background Items Full (KSAD) | +| [abcd_lpmh01](activities/abcd_lpmh01) | ABCD Longitudinal Parent Medical History Questionnaire | +| [abcd_lpohstbi01](activities/abcd_lpohstbi01) | ABCD Longitudinal Parent Ohio State Traumatic Brain Injury Screen-Short Modified (OTBI) | +| [abcd_lpsaiq01](activities/abcd_lpsaiq01) | ABCD Longitudinal Parent Sports and Activities Involvement Questionnaire (SAIQ) | +| [abcd_lssmh01](activities/abcd_lssmh01) | ABCD Longitudinal Summary Scores Medical History | +| [abcd_lsssa01](activities/abcd_lsssa01) | ABCD Longitudinal Summary Scores Sports Activity | +| [abcd_lsstbi01](activities/abcd_lsstbi01) | ABCD Longitudinal Summary Scores Traumatic Brain Injury | +| [abcd_lt01](activities/abcd_lt01) | ABCD Longitudinal Tracking | +| [abcd_medhxss01](activities/abcd_medhxss01) | ABCD Summary Scores Medical History | +| [abcd_nda](activities/abcd_nda) | schema describing terms needed to generate NDA guid for ABCD study | +| [demographics_and_background_information_v1](activities/demographics_and_background_information_v1) | demographics_and_background_information_v1 | +| [dsm_5_parent_guardian_rated_level_1_crosscutting_s](activities/dsm_5_parent_guardian_rated_level_1_crosscutting_s) | dsm_5_parent_guardian_rated_level_1_crosscutting_s | +| [hbn_asr](activities/hbn_asr) | HBN Adult Self Report (ASR) | + +
From 34c71a0111cb3139dff19aba88856cc0d8d64037 Mon Sep 17 00:00:00 2001 From: Yibei Chen Date: Mon, 6 Jan 2025 16:07:38 -0500 Subject: [PATCH 4/8] update table remove summary --- README.md | 18 +----------------- scripts/update_activities_table.py | 16 +++++----------- 2 files changed, 6 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index 8593601b0..6dd82149b 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,7 @@ You can read more about the ReproSchema [here](https://repronim.org/reproschema) ## Available Activities -
-Click to expand/collapse the activities list - - - -*Last updated: 2025-01-06 20:14:32 UTC* +*Last updated: 2025-01-06 21:06:51 UTC* | *Activity* | *Description* | |----------|-------------| @@ -110,17 +105,6 @@ You can read more about the ReproSchema [here](https://repronim.org/reproschema) | [dsm_5_parent_guardian_rated_level_1_crosscutting_s](activities/dsm_5_parent_guardian_rated_level_1_crosscutting_s) | dsm_5_parent_guardian_rated_level_1_crosscutting_s | | [hbn_asr](activities/hbn_asr) | HBN Adult Self Report (ASR) | - - -
- -## How you can contribute - -1. Add new assessments not available in the library. -2. Fix existing assessments, especially adding/updating licensing information - and references. -3. Add multilingual support to the assessments. - ## License All documentation is licensed CC-BY. diff --git a/scripts/update_activities_table.py b/scripts/update_activities_table.py index 4694ce591..0c9973829 100755 --- a/scripts/update_activities_table.py +++ b/scripts/update_activities_table.py @@ -68,7 +68,7 @@ def create_markdown_table(activities): return "\n".join(content) def update_readme(table_content): - """Update the README.md file with the new table inside the details tag.""" + """Update the README.md file with the new table.""" repo_root = get_repo_root() readme_path = repo_root / "README.md" @@ -78,30 +78,24 @@ def update_readme(table_content): with open(readme_path, 'r', encoding='utf-8') as f: content = f.read() - # Define the section pattern - section_pattern = r'(## Available Activities\s*\n\s*
\s*\n\s*.*?\s*\n).*?(\s*
)' + # Define the section pattern (without details/summary tags) + section_pattern = r'(## Available Activities\s*\n).*?(?=\n##|\Z)' # Create the new section content - new_section = f"\n{table_content}\n" + new_section = f"\\1\n{table_content}\n" if '## Available Activities' not in content: # If section doesn't exist, add it at the end section_to_add = f""" ## Available Activities - -
-Click to expand/collapse the activities list - {table_content} - -
""" content = content.rstrip() + "\n" + section_to_add + "\n" else: # Replace the existing section content content = re.sub( section_pattern, - f"\\1{new_section}\\2", + new_section, content, flags=re.DOTALL ) From 62309477ef97e01018a440a012e0296708233fe3 Mon Sep 17 00:00:00 2001 From: Yibei Chen Date: Mon, 6 Jan 2025 16:26:04 -0500 Subject: [PATCH 5/8] add items --- README.md | 188 +++++++++++++++-------------- scripts/update_activities_table.py | 9 +- 2 files changed, 100 insertions(+), 97 deletions(-) diff --git a/README.md b/README.md index 6dd82149b..6a7f78bba 100644 --- a/README.md +++ b/README.md @@ -10,100 +10,102 @@ You can read more about the ReproSchema [here](https://repronim.org/reproschema) ## Available Activities -*Last updated: 2025-01-06 21:06:51 UTC* -| *Activity* | *Description* | -|----------|-------------| -| [ACE](activities/ACE) | Mobile cognitive control assessment battery containing standard tests that assess different aspects of cognitive control (attention, working memory, and goal management), modified by incorporating adaptive algorithms, immersive graphics, video tutorials, motivating feedback, and a user-friendly interface. | -| [ARI_P](activities/ARI_P) | The Affective Reactivity Index- Self Report is a concise scale for the dimensional assessment of irritability. | -| [ASSQ](activities/ASSQ) | The ASSQ is a 27-item checklist for completion by lay informants when assessing symptoms characteristic of Asperger's Syndrome or high-functioning autism spectrum disorders. | -| [BADS](activities/BADS) | BADS assessment schema | -| [BFI-2-XS](activities/BFI-2-XS) | BFI-2-XS | -| [Brief_PHQ](activities/Brief_PHQ) | PHQ-9 assessment schema | -| [CIS_P](activities/CIS_P) | The CIS is a 13 item parent report scale that assesses global functioning in domains of interpersonal relations, psychopathology, school performance, use of leisure time; monitors progress after 6 mo of treatment. | -| [CIS_SR](activities/CIS_SR) | The CIS is a 13 item self report scale that assesses global functioning in domains of interpersonal relations, psychopathology, school performance, use of leisure time; monitors progress after 6 mo of treatment. | -| [CIT](activities/CIT) | CIT schema | -| [CageAid](activities/CageAid) | schema describing cage aid assessment | -| [DAS](activities/DAS) | Daily Affect Scale schema | -| [DSM-5_A](activities/DSM-5_A) | DSM-5_A | -| [DSM-5_Y](activities/DSM-5_Y) | DSM-5_Y | -| [EPDS](activities/EPDS) | EPDS assessment schema | -| [GAD7](activities/GAD7) | GAD7 assessment schema | -| [GQ-6](activities/GQ-6) | GQ-6 | -| [IAT](activities/IAT) | The Internet Addiction Test (IAT) is a 20-item scale that measures characteristics and behaviors associated with compulsive use of the Internet that include compulsivity, escapism, and dependency. Questions also assess problems related to addictive use in personal, occupational, and social functioning. | -| [ICU_P](activities/ICU_P) | The Inventory of Callous-Unemotional Traits is a copyright protected 24-item questionnaire designed to provide a comprehensive assessment of callous and unemotional traits. These traits have proven to be important for designating a distinct subgroup group of antisocial and aggressive youth | -| [ICU_SR](activities/ICU_SR) | The Inventory of Callous-Unemotional Traits (ICUT) is a copyright protected 24-item questionnaire designed to provide a comprehensive assessment of callous and unemotional traits. These traits have proven to be important for designating a distinct subgroup group of antisocial and aggressive youth. The ICUT has three subscales: Callousness, Uncaring, and Unemotional | -| [LAS](activities/LAS) | Lyubomirsky Affect Scale schema | -| [MAAS](activities/MAAS) | Self Compassion schema | -| [MEIM](activities/MEIM) | An assessment to measure cultural affiliation | -| [MFQ_P](activities/MFQ_P) | The MFQ consists of a series of descriptive phrases regarding how the subject has been feeling or acting recently. Codings reflect whether the phrase was descriptive of the subject most of the time, sometimes, or not at all in the past two weeks. | -| [MFQ_SR](activities/MFQ_SR) | The MFQ consists of a series of descriptive phrases regarding how the subject has been feeling or acting recently. Codings reflect whether the phrase was descriptive of the subject most of the time, sometimes, or not at all in the past two weeks. | -| [MiscellaneousQuestions](activities/MiscellaneousQuestions) | schema for other questions for voice study | -| [MoodDisorderQuestionnaire](activities/MoodDisorderQuestionnaire) | MoodDisorderQuestionnaire | -| [NDA](activities/NDA) | schema describing terms needed to generate NDA guid | -| [PC-PTSD-5](activities/PC-PTSD-5) | PC-PTSD-5 assessment schema | -| [PCIAT](activities/PCIAT) | This 20-item questionnaire measures mild, moderate, and severe levels of Internet Addiction. The Parent-Child Internet Addiction Test will help you determine if you may be dealing with Internet Addiction in your home. | -| [PEIS](activities/PEIS) | PEIS assessment schema | -| [PHQ](activities/PHQ) | PHQ-8 assessment schema | -| [PHQ-4](activities/PHQ-4) | PHQ-4 | -| [PHQ-8](activities/PHQ-8) | PHQ-8 | -| [PHQ-9](activities/PHQ-9) | PHQ-9 | -| [PHQ-9a](activities/PHQ-9a) | PHQ-9a | -| [PHQ-SADS](activities/PHQ-SADS) | PHQ-SADS | -| [PHQ_15](activities/PHQ_15) | PHQ_15 | -| [PHQalcohol](activities/PHQalcohol) | PHQ Q10 schema | -| [PHQeating](activities/PHQeating) | PHQ eating disorder schema | -| [PROMISGlobalHealth](activities/PROMISGlobalHealth) | brief survey to assess the general health | -| [PSC-17](activities/PSC-17) | PSC-17 assessment schema | -| [PSC-17-Y](activities/PSC-17-Y) | PSC-17-Y assessment schema | -| [ProdromalQuestionnaireBriefVersion](activities/ProdromalQuestionnaireBriefVersion) | ProdromalQuestionnaireBriefVersion | -| [RCADS-25-C](activities/RCADS-25-C) | RCADS-25-C | -| [RCADS-25-Y](activities/RCADS-25-Y) | RCADS-25-Y | -| [SCQ](activities/SCQ) | The SCQ consists of forty yes-or-no questions, which a parent can complete in around ten minutes. It provides valuable information on a child’s body movements, use of language or gestures, and style of interacting. Usually, the SCQ is used as a screening instrument to help identify which children may have an autism spectrum disorder. It is not meant to provide a detailed diagnosis, but to indicate whether a child needs a more careful and in-depth evaluation. | -| [SCS](activities/SCS) | SelfCompassionScale schema | -| [SCS-SF](activities/SCS-SF) | Self Compassion schema | -| [SFI](activities/SFI) | SFI schema | -| [SITBI](activities/SITBI) | SITBI | -| [SRIS-SF](activities/SRIS-SF) | SRIS-SF assessment schema | -| [SWED](activities/SWED) | SWED assessment schema | -| [TEQ](activities/TEQ) | Self Compassion schema | -| [ThankYou](activities/ThankYou) | ThankYou page schema | -| [TokenActivity](activities/TokenActivity) | TokenActivity assessment schema | -| [VoiceConsent](activities/VoiceConsent) | Consent for voice study | -| [VoiceTask](activities/VoiceTask) | VoiceTask | -| [WHODAS12](activities/WHODAS12) | WHODAS12 assessment schema | -| [WHODAS36_P](activities/WHODAS36_P) | WHODAS36_P | -| [WHODAS36_S](activities/WHODAS36_S) | WHODAS36_S | -| [abcd_ant01](activities/abcd_ant01) | ABCD Youth Anthropometrics Modified From PhenX (ANT) | -| [abcd_asrs01](activities/abcd_asrs01) | ABCD Parent Adult Self Report Scores Aseba (ASR) | -| [abcd_betnet02](activities/abcd_betnet02) | ABCD rsfMRI Gordon Network Correlations | -| [abcd_bisbas01](activities/abcd_bisbas01) | ABCD Youth Behavioral Inhibition/Behavioral Approach System Scales Modified from PhenX (BIS/BAS) | -| [abcd_bpm01](activities/abcd_bpm01) | ABCD Youth Brief Problem Monitor | -| [abcd_bpmt01](activities/abcd_bpmt01) | ABCD Brief Problem Monitor-Teacher Form For Ages 6-18 (BPMT) | -| [abcd_cbcl01](activities/abcd_cbcl01) | ABCD Parent Child Behavior Checklist Raw Scores Aseba (CBCL) | -| [abcd_cbcls01](activities/abcd_cbcls01) | ABCD Parent Child Behavior Checklist Scores Aseba (CBCL) | -| [abcd_crpf01](activities/abcd_crpf01) | ABCD Parent Community Risk and Protective Factors (CRPF) | -| [abcd_fes01](activities/abcd_fes01) | ABCD Youth Family Environment Scale-Family Conflict Subscale Modified from PhenX (FES) | -| [abcd_hers01](activities/abcd_hers01) | ABCD Youth Hair Sample | -| [abcd_hsss01](activities/abcd_hsss01) | ABCD Hormone Saliva Salimetric Scores | -| [abcd_ip01](activities/abcd_ip01) | ABCD Irma Substudy Parent | -| [abcd_isc01](activities/abcd_isc01) | ABCD Irma Substudy Child | -| [abcd_ksad01](activities/abcd_ksad01) | ABCD Parent Diagnostic Interview for DSM-5 Full (KSADS-5) | -| [abcd_ksad501](activities/abcd_ksad501) | ABCD Youth Diagnostic Interview for DSM-5 5 (KSADS-5) | -| [abcd_lpds01](activities/abcd_lpds01) | ABCD Longitudinal Parent Demographics Survey | -| [abcd_lpksad01](activities/abcd_lpksad01) | ABCD Longitudinal Parent Diagnostic Interview for DSM-5 Background Items Full (KSAD) | -| [abcd_lpmh01](activities/abcd_lpmh01) | ABCD Longitudinal Parent Medical History Questionnaire | -| [abcd_lpohstbi01](activities/abcd_lpohstbi01) | ABCD Longitudinal Parent Ohio State Traumatic Brain Injury Screen-Short Modified (OTBI) | -| [abcd_lpsaiq01](activities/abcd_lpsaiq01) | ABCD Longitudinal Parent Sports and Activities Involvement Questionnaire (SAIQ) | -| [abcd_lssmh01](activities/abcd_lssmh01) | ABCD Longitudinal Summary Scores Medical History | -| [abcd_lsssa01](activities/abcd_lsssa01) | ABCD Longitudinal Summary Scores Sports Activity | -| [abcd_lsstbi01](activities/abcd_lsstbi01) | ABCD Longitudinal Summary Scores Traumatic Brain Injury | -| [abcd_lt01](activities/abcd_lt01) | ABCD Longitudinal Tracking | -| [abcd_medhxss01](activities/abcd_medhxss01) | ABCD Summary Scores Medical History | -| [abcd_nda](activities/abcd_nda) | schema describing terms needed to generate NDA guid for ABCD study | -| [demographics_and_background_information_v1](activities/demographics_and_background_information_v1) | demographics_and_background_information_v1 | -| [dsm_5_parent_guardian_rated_level_1_crosscutting_s](activities/dsm_5_parent_guardian_rated_level_1_crosscutting_s) | dsm_5_parent_guardian_rated_level_1_crosscutting_s | -| [hbn_asr](activities/hbn_asr) | HBN Adult Self Report (ASR) | + +*Last updated: 2025-01-06 21:25:25 UTC* + +| *ID* | *Activity* | *Description* | +|------|-----------|---------------| +| 1 | [ACE](activities/ACE) | Mobile cognitive control assessment battery containing standard tests that assess different aspects of cognitive control (attention, working memory, and goal management), modified by incorporating adaptive algorithms, immersive graphics, video tutorials, motivating feedback, and a user-friendly interface. | +| 2 | [ARI_P](activities/ARI_P) | The Affective Reactivity Index- Self Report is a concise scale for the dimensional assessment of irritability. | +| 3 | [ASSQ](activities/ASSQ) | The ASSQ is a 27-item checklist for completion by lay informants when assessing symptoms characteristic of Asperger's Syndrome or high-functioning autism spectrum disorders. | +| 4 | [BADS](activities/BADS) | BADS assessment schema | +| 5 | [BFI-2-XS](activities/BFI-2-XS) | BFI-2-XS | +| 6 | [Brief_PHQ](activities/Brief_PHQ) | PHQ-9 assessment schema | +| 7 | [CIS_P](activities/CIS_P) | The CIS is a 13 item parent report scale that assesses global functioning in domains of interpersonal relations, psychopathology, school performance, use of leisure time; monitors progress after 6 mo of treatment. | +| 8 | [CIS_SR](activities/CIS_SR) | The CIS is a 13 item self report scale that assesses global functioning in domains of interpersonal relations, psychopathology, school performance, use of leisure time; monitors progress after 6 mo of treatment. | +| 9 | [CIT](activities/CIT) | CIT schema | +| 10 | [CageAid](activities/CageAid) | schema describing cage aid assessment | +| 11 | [DAS](activities/DAS) | Daily Affect Scale schema | +| 12 | [DSM-5_A](activities/DSM-5_A) | DSM-5_A | +| 13 | [DSM-5_Y](activities/DSM-5_Y) | DSM-5_Y | +| 14 | [EPDS](activities/EPDS) | EPDS assessment schema | +| 15 | [GAD7](activities/GAD7) | GAD7 assessment schema | +| 16 | [GQ-6](activities/GQ-6) | GQ-6 | +| 17 | [IAT](activities/IAT) | The Internet Addiction Test (IAT) is a 20-item scale that measures characteristics and behaviors associated with compulsive use of the Internet that include compulsivity, escapism, and dependency. Questions also assess problems related to addictive use in personal, occupational, and social functioning. | +| 18 | [ICU_P](activities/ICU_P) | The Inventory of Callous-Unemotional Traits is a copyright protected 24-item questionnaire designed to provide a comprehensive assessment of callous and unemotional traits. These traits have proven to be important for designating a distinct subgroup group of antisocial and aggressive youth | +| 19 | [ICU_SR](activities/ICU_SR) | The Inventory of Callous-Unemotional Traits (ICUT) is a copyright protected 24-item questionnaire designed to provide a comprehensive assessment of callous and unemotional traits. These traits have proven to be important for designating a distinct subgroup group of antisocial and aggressive youth. The ICUT has three subscales: Callousness, Uncaring, and Unemotional | +| 20 | [LAS](activities/LAS) | Lyubomirsky Affect Scale schema | +| 21 | [MAAS](activities/MAAS) | Self Compassion schema | +| 22 | [MEIM](activities/MEIM) | An assessment to measure cultural affiliation | +| 23 | [MFQ_P](activities/MFQ_P) | The MFQ consists of a series of descriptive phrases regarding how the subject has been feeling or acting recently. Codings reflect whether the phrase was descriptive of the subject most of the time, sometimes, or not at all in the past two weeks. | +| 24 | [MFQ_SR](activities/MFQ_SR) | The MFQ consists of a series of descriptive phrases regarding how the subject has been feeling or acting recently. Codings reflect whether the phrase was descriptive of the subject most of the time, sometimes, or not at all in the past two weeks. | +| 25 | [MiscellaneousQuestions](activities/MiscellaneousQuestions) | schema for other questions for voice study | +| 26 | [MoodDisorderQuestionnaire](activities/MoodDisorderQuestionnaire) | MoodDisorderQuestionnaire | +| 27 | [NDA](activities/NDA) | schema describing terms needed to generate NDA guid | +| 28 | [PC-PTSD-5](activities/PC-PTSD-5) | PC-PTSD-5 assessment schema | +| 29 | [PCIAT](activities/PCIAT) | This 20-item questionnaire measures mild, moderate, and severe levels of Internet Addiction. The Parent-Child Internet Addiction Test will help you determine if you may be dealing with Internet Addiction in your home. | +| 30 | [PEIS](activities/PEIS) | PEIS assessment schema | +| 31 | [PHQ](activities/PHQ) | PHQ-8 assessment schema | +| 32 | [PHQ-4](activities/PHQ-4) | PHQ-4 | +| 33 | [PHQ-8](activities/PHQ-8) | PHQ-8 | +| 34 | [PHQ-9](activities/PHQ-9) | PHQ-9 | +| 35 | [PHQ-9a](activities/PHQ-9a) | PHQ-9a | +| 36 | [PHQ-SADS](activities/PHQ-SADS) | PHQ-SADS | +| 37 | [PHQ_15](activities/PHQ_15) | PHQ_15 | +| 38 | [PHQalcohol](activities/PHQalcohol) | PHQ Q10 schema | +| 39 | [PHQeating](activities/PHQeating) | PHQ eating disorder schema | +| 40 | [PROMISGlobalHealth](activities/PROMISGlobalHealth) | brief survey to assess the general health | +| 41 | [PSC-17](activities/PSC-17) | PSC-17 assessment schema | +| 42 | [PSC-17-Y](activities/PSC-17-Y) | PSC-17-Y assessment schema | +| 43 | [ProdromalQuestionnaireBriefVersion](activities/ProdromalQuestionnaireBriefVersion) | ProdromalQuestionnaireBriefVersion | +| 44 | [RCADS-25-C](activities/RCADS-25-C) | RCADS-25-C | +| 45 | [RCADS-25-Y](activities/RCADS-25-Y) | RCADS-25-Y | +| 46 | [SCQ](activities/SCQ) | The SCQ consists of forty yes-or-no questions, which a parent can complete in around ten minutes. It provides valuable information on a child’s body movements, use of language or gestures, and style of interacting. Usually, the SCQ is used as a screening instrument to help identify which children may have an autism spectrum disorder. It is not meant to provide a detailed diagnosis, but to indicate whether a child needs a more careful and in-depth evaluation. | +| 47 | [SCS](activities/SCS) | SelfCompassionScale schema | +| 48 | [SCS-SF](activities/SCS-SF) | Self Compassion schema | +| 49 | [SFI](activities/SFI) | SFI schema | +| 50 | [SITBI](activities/SITBI) | SITBI | +| 51 | [SRIS-SF](activities/SRIS-SF) | SRIS-SF assessment schema | +| 52 | [SWED](activities/SWED) | SWED assessment schema | +| 53 | [TEQ](activities/TEQ) | Self Compassion schema | +| 54 | [ThankYou](activities/ThankYou) | ThankYou page schema | +| 55 | [TokenActivity](activities/TokenActivity) | TokenActivity assessment schema | +| 56 | [VoiceConsent](activities/VoiceConsent) | Consent for voice study | +| 57 | [VoiceTask](activities/VoiceTask) | VoiceTask | +| 58 | [WHODAS12](activities/WHODAS12) | WHODAS12 assessment schema | +| 59 | [WHODAS36_P](activities/WHODAS36_P) | WHODAS36_P | +| 60 | [WHODAS36_S](activities/WHODAS36_S) | WHODAS36_S | +| 61 | [abcd_ant01](activities/abcd_ant01) | ABCD Youth Anthropometrics Modified From PhenX (ANT) | +| 62 | [abcd_asrs01](activities/abcd_asrs01) | ABCD Parent Adult Self Report Scores Aseba (ASR) | +| 63 | [abcd_betnet02](activities/abcd_betnet02) | ABCD rsfMRI Gordon Network Correlations | +| 64 | [abcd_bisbas01](activities/abcd_bisbas01) | ABCD Youth Behavioral Inhibition/Behavioral Approach System Scales Modified from PhenX (BIS/BAS) | +| 65 | [abcd_bpm01](activities/abcd_bpm01) | ABCD Youth Brief Problem Monitor | +| 66 | [abcd_bpmt01](activities/abcd_bpmt01) | ABCD Brief Problem Monitor-Teacher Form For Ages 6-18 (BPMT) | +| 67 | [abcd_cbcl01](activities/abcd_cbcl01) | ABCD Parent Child Behavior Checklist Raw Scores Aseba (CBCL) | +| 68 | [abcd_cbcls01](activities/abcd_cbcls01) | ABCD Parent Child Behavior Checklist Scores Aseba (CBCL) | +| 69 | [abcd_crpf01](activities/abcd_crpf01) | ABCD Parent Community Risk and Protective Factors (CRPF) | +| 70 | [abcd_fes01](activities/abcd_fes01) | ABCD Youth Family Environment Scale-Family Conflict Subscale Modified from PhenX (FES) | +| 71 | [abcd_hers01](activities/abcd_hers01) | ABCD Youth Hair Sample | +| 72 | [abcd_hsss01](activities/abcd_hsss01) | ABCD Hormone Saliva Salimetric Scores | +| 73 | [abcd_ip01](activities/abcd_ip01) | ABCD Irma Substudy Parent | +| 74 | [abcd_isc01](activities/abcd_isc01) | ABCD Irma Substudy Child | +| 75 | [abcd_ksad01](activities/abcd_ksad01) | ABCD Parent Diagnostic Interview for DSM-5 Full (KSADS-5) | +| 76 | [abcd_ksad501](activities/abcd_ksad501) | ABCD Youth Diagnostic Interview for DSM-5 5 (KSADS-5) | +| 77 | [abcd_lpds01](activities/abcd_lpds01) | ABCD Longitudinal Parent Demographics Survey | +| 78 | [abcd_lpksad01](activities/abcd_lpksad01) | ABCD Longitudinal Parent Diagnostic Interview for DSM-5 Background Items Full (KSAD) | +| 79 | [abcd_lpmh01](activities/abcd_lpmh01) | ABCD Longitudinal Parent Medical History Questionnaire | +| 80 | [abcd_lpohstbi01](activities/abcd_lpohstbi01) | ABCD Longitudinal Parent Ohio State Traumatic Brain Injury Screen-Short Modified (OTBI) | +| 81 | [abcd_lpsaiq01](activities/abcd_lpsaiq01) | ABCD Longitudinal Parent Sports and Activities Involvement Questionnaire (SAIQ) | +| 82 | [abcd_lssmh01](activities/abcd_lssmh01) | ABCD Longitudinal Summary Scores Medical History | +| 83 | [abcd_lsssa01](activities/abcd_lsssa01) | ABCD Longitudinal Summary Scores Sports Activity | +| 84 | [abcd_lsstbi01](activities/abcd_lsstbi01) | ABCD Longitudinal Summary Scores Traumatic Brain Injury | +| 85 | [abcd_lt01](activities/abcd_lt01) | ABCD Longitudinal Tracking | +| 86 | [abcd_medhxss01](activities/abcd_medhxss01) | ABCD Summary Scores Medical History | +| 87 | [abcd_nda](activities/abcd_nda) | schema describing terms needed to generate NDA guid for ABCD study | +| 88 | [demographics_and_background_information_v1](activities/demographics_and_background_information_v1) | demographics_and_background_information_v1 | +| 89 | [dsm_5_parent_guardian_rated_level_1_crosscutting_s](activities/dsm_5_parent_guardian_rated_level_1_crosscutting_s) | dsm_5_parent_guardian_rated_level_1_crosscutting_s | +| 90 | [hbn_asr](activities/hbn_asr) | HBN Adult Self Report (ASR) | ## License All documentation is licensed CC-BY. diff --git a/scripts/update_activities_table.py b/scripts/update_activities_table.py index 0c9973829..5302be222 100755 --- a/scripts/update_activities_table.py +++ b/scripts/update_activities_table.py @@ -41,10 +41,11 @@ def get_activities_with_descriptions(): # Get all directories and their descriptions activities = [] - for activity_dir in sorted(activities_dir.iterdir()): + for idx, activity_dir in enumerate(sorted(activities_dir.iterdir()), 1): if activity_dir.is_dir(): description = get_activity_description(activity_dir) activities.append({ + 'id': str(idx), 'name': activity_dir.name, 'description': description }) @@ -55,15 +56,15 @@ def create_markdown_table(activities): """Create a markdown table with activity links and descriptions.""" content = [ f"*Last updated: {datetime.now(UTC).strftime('%Y-%m-%d %H:%M:%S')} UTC*\n", - "| *Activity* | *Description* |", - "|----------|-------------|" + "| *ID* | *Activity* | *Description* |", + "|------|-----------|---------------|" ] for activity in activities: activity_link = f"[{activity['name']}](activities/{activity['name']})" # Escape pipe characters in description safe_description = activity['description'].replace('|', '\\|') - content.append(f"| {activity_link} | {safe_description} |") + content.append(f"| {activity['id']} | {activity_link} | {safe_description} |") return "\n".join(content) From 0fe148a171f068e836197c08094e629a5f8d7ece Mon Sep 17 00:00:00 2001 From: Yibei Chen Date: Mon, 6 Jan 2025 16:39:09 -0500 Subject: [PATCH 6/8] add item counts --- README.md | 188 +++++++++++++++-------------- scripts/update_activities_table.py | 26 ++-- 2 files changed, 113 insertions(+), 101 deletions(-) diff --git a/README.md b/README.md index 6a7f78bba..8f19da58c 100644 --- a/README.md +++ b/README.md @@ -12,100 +12,102 @@ You can read more about the ReproSchema [here](https://repronim.org/reproschema) -*Last updated: 2025-01-06 21:25:25 UTC* -| *ID* | *Activity* | *Description* | -|------|-----------|---------------| -| 1 | [ACE](activities/ACE) | Mobile cognitive control assessment battery containing standard tests that assess different aspects of cognitive control (attention, working memory, and goal management), modified by incorporating adaptive algorithms, immersive graphics, video tutorials, motivating feedback, and a user-friendly interface. | -| 2 | [ARI_P](activities/ARI_P) | The Affective Reactivity Index- Self Report is a concise scale for the dimensional assessment of irritability. | -| 3 | [ASSQ](activities/ASSQ) | The ASSQ is a 27-item checklist for completion by lay informants when assessing symptoms characteristic of Asperger's Syndrome or high-functioning autism spectrum disorders. | -| 4 | [BADS](activities/BADS) | BADS assessment schema | -| 5 | [BFI-2-XS](activities/BFI-2-XS) | BFI-2-XS | -| 6 | [Brief_PHQ](activities/Brief_PHQ) | PHQ-9 assessment schema | -| 7 | [CIS_P](activities/CIS_P) | The CIS is a 13 item parent report scale that assesses global functioning in domains of interpersonal relations, psychopathology, school performance, use of leisure time; monitors progress after 6 mo of treatment. | -| 8 | [CIS_SR](activities/CIS_SR) | The CIS is a 13 item self report scale that assesses global functioning in domains of interpersonal relations, psychopathology, school performance, use of leisure time; monitors progress after 6 mo of treatment. | -| 9 | [CIT](activities/CIT) | CIT schema | -| 10 | [CageAid](activities/CageAid) | schema describing cage aid assessment | -| 11 | [DAS](activities/DAS) | Daily Affect Scale schema | -| 12 | [DSM-5_A](activities/DSM-5_A) | DSM-5_A | -| 13 | [DSM-5_Y](activities/DSM-5_Y) | DSM-5_Y | -| 14 | [EPDS](activities/EPDS) | EPDS assessment schema | -| 15 | [GAD7](activities/GAD7) | GAD7 assessment schema | -| 16 | [GQ-6](activities/GQ-6) | GQ-6 | -| 17 | [IAT](activities/IAT) | The Internet Addiction Test (IAT) is a 20-item scale that measures characteristics and behaviors associated with compulsive use of the Internet that include compulsivity, escapism, and dependency. Questions also assess problems related to addictive use in personal, occupational, and social functioning. | -| 18 | [ICU_P](activities/ICU_P) | The Inventory of Callous-Unemotional Traits is a copyright protected 24-item questionnaire designed to provide a comprehensive assessment of callous and unemotional traits. These traits have proven to be important for designating a distinct subgroup group of antisocial and aggressive youth | -| 19 | [ICU_SR](activities/ICU_SR) | The Inventory of Callous-Unemotional Traits (ICUT) is a copyright protected 24-item questionnaire designed to provide a comprehensive assessment of callous and unemotional traits. These traits have proven to be important for designating a distinct subgroup group of antisocial and aggressive youth. The ICUT has three subscales: Callousness, Uncaring, and Unemotional | -| 20 | [LAS](activities/LAS) | Lyubomirsky Affect Scale schema | -| 21 | [MAAS](activities/MAAS) | Self Compassion schema | -| 22 | [MEIM](activities/MEIM) | An assessment to measure cultural affiliation | -| 23 | [MFQ_P](activities/MFQ_P) | The MFQ consists of a series of descriptive phrases regarding how the subject has been feeling or acting recently. Codings reflect whether the phrase was descriptive of the subject most of the time, sometimes, or not at all in the past two weeks. | -| 24 | [MFQ_SR](activities/MFQ_SR) | The MFQ consists of a series of descriptive phrases regarding how the subject has been feeling or acting recently. Codings reflect whether the phrase was descriptive of the subject most of the time, sometimes, or not at all in the past two weeks. | -| 25 | [MiscellaneousQuestions](activities/MiscellaneousQuestions) | schema for other questions for voice study | -| 26 | [MoodDisorderQuestionnaire](activities/MoodDisorderQuestionnaire) | MoodDisorderQuestionnaire | -| 27 | [NDA](activities/NDA) | schema describing terms needed to generate NDA guid | -| 28 | [PC-PTSD-5](activities/PC-PTSD-5) | PC-PTSD-5 assessment schema | -| 29 | [PCIAT](activities/PCIAT) | This 20-item questionnaire measures mild, moderate, and severe levels of Internet Addiction. The Parent-Child Internet Addiction Test will help you determine if you may be dealing with Internet Addiction in your home. | -| 30 | [PEIS](activities/PEIS) | PEIS assessment schema | -| 31 | [PHQ](activities/PHQ) | PHQ-8 assessment schema | -| 32 | [PHQ-4](activities/PHQ-4) | PHQ-4 | -| 33 | [PHQ-8](activities/PHQ-8) | PHQ-8 | -| 34 | [PHQ-9](activities/PHQ-9) | PHQ-9 | -| 35 | [PHQ-9a](activities/PHQ-9a) | PHQ-9a | -| 36 | [PHQ-SADS](activities/PHQ-SADS) | PHQ-SADS | -| 37 | [PHQ_15](activities/PHQ_15) | PHQ_15 | -| 38 | [PHQalcohol](activities/PHQalcohol) | PHQ Q10 schema | -| 39 | [PHQeating](activities/PHQeating) | PHQ eating disorder schema | -| 40 | [PROMISGlobalHealth](activities/PROMISGlobalHealth) | brief survey to assess the general health | -| 41 | [PSC-17](activities/PSC-17) | PSC-17 assessment schema | -| 42 | [PSC-17-Y](activities/PSC-17-Y) | PSC-17-Y assessment schema | -| 43 | [ProdromalQuestionnaireBriefVersion](activities/ProdromalQuestionnaireBriefVersion) | ProdromalQuestionnaireBriefVersion | -| 44 | [RCADS-25-C](activities/RCADS-25-C) | RCADS-25-C | -| 45 | [RCADS-25-Y](activities/RCADS-25-Y) | RCADS-25-Y | -| 46 | [SCQ](activities/SCQ) | The SCQ consists of forty yes-or-no questions, which a parent can complete in around ten minutes. It provides valuable information on a child’s body movements, use of language or gestures, and style of interacting. Usually, the SCQ is used as a screening instrument to help identify which children may have an autism spectrum disorder. It is not meant to provide a detailed diagnosis, but to indicate whether a child needs a more careful and in-depth evaluation. | -| 47 | [SCS](activities/SCS) | SelfCompassionScale schema | -| 48 | [SCS-SF](activities/SCS-SF) | Self Compassion schema | -| 49 | [SFI](activities/SFI) | SFI schema | -| 50 | [SITBI](activities/SITBI) | SITBI | -| 51 | [SRIS-SF](activities/SRIS-SF) | SRIS-SF assessment schema | -| 52 | [SWED](activities/SWED) | SWED assessment schema | -| 53 | [TEQ](activities/TEQ) | Self Compassion schema | -| 54 | [ThankYou](activities/ThankYou) | ThankYou page schema | -| 55 | [TokenActivity](activities/TokenActivity) | TokenActivity assessment schema | -| 56 | [VoiceConsent](activities/VoiceConsent) | Consent for voice study | -| 57 | [VoiceTask](activities/VoiceTask) | VoiceTask | -| 58 | [WHODAS12](activities/WHODAS12) | WHODAS12 assessment schema | -| 59 | [WHODAS36_P](activities/WHODAS36_P) | WHODAS36_P | -| 60 | [WHODAS36_S](activities/WHODAS36_S) | WHODAS36_S | -| 61 | [abcd_ant01](activities/abcd_ant01) | ABCD Youth Anthropometrics Modified From PhenX (ANT) | -| 62 | [abcd_asrs01](activities/abcd_asrs01) | ABCD Parent Adult Self Report Scores Aseba (ASR) | -| 63 | [abcd_betnet02](activities/abcd_betnet02) | ABCD rsfMRI Gordon Network Correlations | -| 64 | [abcd_bisbas01](activities/abcd_bisbas01) | ABCD Youth Behavioral Inhibition/Behavioral Approach System Scales Modified from PhenX (BIS/BAS) | -| 65 | [abcd_bpm01](activities/abcd_bpm01) | ABCD Youth Brief Problem Monitor | -| 66 | [abcd_bpmt01](activities/abcd_bpmt01) | ABCD Brief Problem Monitor-Teacher Form For Ages 6-18 (BPMT) | -| 67 | [abcd_cbcl01](activities/abcd_cbcl01) | ABCD Parent Child Behavior Checklist Raw Scores Aseba (CBCL) | -| 68 | [abcd_cbcls01](activities/abcd_cbcls01) | ABCD Parent Child Behavior Checklist Scores Aseba (CBCL) | -| 69 | [abcd_crpf01](activities/abcd_crpf01) | ABCD Parent Community Risk and Protective Factors (CRPF) | -| 70 | [abcd_fes01](activities/abcd_fes01) | ABCD Youth Family Environment Scale-Family Conflict Subscale Modified from PhenX (FES) | -| 71 | [abcd_hers01](activities/abcd_hers01) | ABCD Youth Hair Sample | -| 72 | [abcd_hsss01](activities/abcd_hsss01) | ABCD Hormone Saliva Salimetric Scores | -| 73 | [abcd_ip01](activities/abcd_ip01) | ABCD Irma Substudy Parent | -| 74 | [abcd_isc01](activities/abcd_isc01) | ABCD Irma Substudy Child | -| 75 | [abcd_ksad01](activities/abcd_ksad01) | ABCD Parent Diagnostic Interview for DSM-5 Full (KSADS-5) | -| 76 | [abcd_ksad501](activities/abcd_ksad501) | ABCD Youth Diagnostic Interview for DSM-5 5 (KSADS-5) | -| 77 | [abcd_lpds01](activities/abcd_lpds01) | ABCD Longitudinal Parent Demographics Survey | -| 78 | [abcd_lpksad01](activities/abcd_lpksad01) | ABCD Longitudinal Parent Diagnostic Interview for DSM-5 Background Items Full (KSAD) | -| 79 | [abcd_lpmh01](activities/abcd_lpmh01) | ABCD Longitudinal Parent Medical History Questionnaire | -| 80 | [abcd_lpohstbi01](activities/abcd_lpohstbi01) | ABCD Longitudinal Parent Ohio State Traumatic Brain Injury Screen-Short Modified (OTBI) | -| 81 | [abcd_lpsaiq01](activities/abcd_lpsaiq01) | ABCD Longitudinal Parent Sports and Activities Involvement Questionnaire (SAIQ) | -| 82 | [abcd_lssmh01](activities/abcd_lssmh01) | ABCD Longitudinal Summary Scores Medical History | -| 83 | [abcd_lsssa01](activities/abcd_lsssa01) | ABCD Longitudinal Summary Scores Sports Activity | -| 84 | [abcd_lsstbi01](activities/abcd_lsstbi01) | ABCD Longitudinal Summary Scores Traumatic Brain Injury | -| 85 | [abcd_lt01](activities/abcd_lt01) | ABCD Longitudinal Tracking | -| 86 | [abcd_medhxss01](activities/abcd_medhxss01) | ABCD Summary Scores Medical History | -| 87 | [abcd_nda](activities/abcd_nda) | schema describing terms needed to generate NDA guid for ABCD study | -| 88 | [demographics_and_background_information_v1](activities/demographics_and_background_information_v1) | demographics_and_background_information_v1 | -| 89 | [dsm_5_parent_guardian_rated_level_1_crosscutting_s](activities/dsm_5_parent_guardian_rated_level_1_crosscutting_s) | dsm_5_parent_guardian_rated_level_1_crosscutting_s | -| 90 | [hbn_asr](activities/hbn_asr) | HBN Adult Self Report (ASR) | + +*Last updated: 2025-01-06 21:38:15 UTC* + +| **ID** | **Activity** | **Description** | **# of Items** | +|------|-----------|---------------|--------------| +| 1 | [ACE](activities/ACE) | Mobile cognitive control assessment battery containing standard tests that assess different aspects of cognitive control (attention, working memory, and goal management), modified by incorporating adaptive algorithms, immersive graphics, video tutorials, motivating feedback, and a user-friendly interface. | 11 | +| 2 | [ARI_P](activities/ARI_P) | The Affective Reactivity Index- Self Report is a concise scale for the dimensional assessment of irritability. | 8 | +| 3 | [ASSQ](activities/ASSQ) | The ASSQ is a 27-item checklist for completion by lay informants when assessing symptoms characteristic of Asperger's Syndrome or high-functioning autism spectrum disorders. | 28 | +| 4 | [BADS](activities/BADS) | BADS assessment schema | 11 | +| 5 | [BFI-2-XS](activities/BFI-2-XS) | BFI-2-XS | 15 | +| 6 | [Brief_PHQ](activities/Brief_PHQ) | PHQ-9 assessment schema | 34 | +| 7 | [CIS_P](activities/CIS_P) | The CIS is a 13 item parent report scale that assesses global functioning in domains of interpersonal relations, psychopathology, school performance, use of leisure time; monitors progress after 6 mo of treatment. | 14 | +| 8 | [CIS_SR](activities/CIS_SR) | The CIS is a 13 item self report scale that assesses global functioning in domains of interpersonal relations, psychopathology, school performance, use of leisure time; monitors progress after 6 mo of treatment. | 14 | +| 9 | [CIT](activities/CIT) | CIT schema | 54 | +| 10 | [CageAid](activities/CageAid) | schema describing cage aid assessment | 4 | +| 11 | [DAS](activities/DAS) | Daily Affect Scale schema | 20 | +| 12 | [DSM-5_A](activities/DSM-5_A) | DSM-5_A | 36 | +| 13 | [DSM-5_Y](activities/DSM-5_Y) | DSM-5_Y | 38 | +| 14 | [EPDS](activities/EPDS) | EPDS assessment schema | 11 | +| 15 | [GAD7](activities/GAD7) | GAD7 assessment schema | 8 | +| 16 | [GQ-6](activities/GQ-6) | GQ-6 | 6 | +| 17 | [IAT](activities/IAT) | The Internet Addiction Test (IAT) is a 20-item scale that measures characteristics and behaviors associated with compulsive use of the Internet that include compulsivity, escapism, and dependency. Questions also assess problems related to addictive use in personal, occupational, and social functioning. | 21 | +| 18 | [ICU_P](activities/ICU_P) | The Inventory of Callous-Unemotional Traits is a copyright protected 24-item questionnaire designed to provide a comprehensive assessment of callous and unemotional traits. These traits have proven to be important for designating a distinct subgroup group of antisocial and aggressive youth | 25 | +| 19 | [ICU_SR](activities/ICU_SR) | The Inventory of Callous-Unemotional Traits (ICUT) is a copyright protected 24-item questionnaire designed to provide a comprehensive assessment of callous and unemotional traits. These traits have proven to be important for designating a distinct subgroup group of antisocial and aggressive youth. The ICUT has three subscales: Callousness, Uncaring, and Unemotional | 25 | +| 20 | [LAS](activities/LAS) | Lyubomirsky Affect Scale schema | 12 | +| 21 | [MAAS](activities/MAAS) | Self Compassion schema | 15 | +| 22 | [MEIM](activities/MEIM) | An assessment to measure cultural affiliation | 7 | +| 23 | [MFQ_P](activities/MFQ_P) | The MFQ consists of a series of descriptive phrases regarding how the subject has been feeling or acting recently. Codings reflect whether the phrase was descriptive of the subject most of the time, sometimes, or not at all in the past two weeks. | 35 | +| 24 | [MFQ_SR](activities/MFQ_SR) | The MFQ consists of a series of descriptive phrases regarding how the subject has been feeling or acting recently. Codings reflect whether the phrase was descriptive of the subject most of the time, sometimes, or not at all in the past two weeks. | 34 | +| 25 | [MiscellaneousQuestions](activities/MiscellaneousQuestions) | schema for other questions for voice study | 6 | +| 26 | [MoodDisorderQuestionnaire](activities/MoodDisorderQuestionnaire) | MoodDisorderQuestionnaire | 16 | +| 27 | [NDA](activities/NDA) | schema describing terms needed to generate NDA guid | 12 | +| 28 | [PC-PTSD-5](activities/PC-PTSD-5) | PC-PTSD-5 assessment schema | 6 | +| 29 | [PCIAT](activities/PCIAT) | This 20-item questionnaire measures mild, moderate, and severe levels of Internet Addiction. The Parent-Child Internet Addiction Test will help you determine if you may be dealing with Internet Addiction in your home. | 21 | +| 30 | [PEIS](activities/PEIS) | PEIS assessment schema | 17 | +| 31 | [PHQ](activities/PHQ) | PHQ-8 assessment schema | 45 | +| 32 | [PHQ-4](activities/PHQ-4) | PHQ-4 | 4 | +| 33 | [PHQ-8](activities/PHQ-8) | PHQ-8 | 10 | +| 34 | [PHQ-9](activities/PHQ-9) | PHQ-9 | 12 | +| 35 | [PHQ-9a](activities/PHQ-9a) | PHQ-9a | 12 | +| 36 | [PHQ-SADS](activities/PHQ-SADS) | PHQ-SADS | 5 | +| 37 | [PHQ_15](activities/PHQ_15) | PHQ_15 | 16 | +| 38 | [PHQalcohol](activities/PHQalcohol) | PHQ Q10 schema | 6 | +| 39 | [PHQeating](activities/PHQeating) | PHQ eating disorder schema | 8 | +| 40 | [PROMISGlobalHealth](activities/PROMISGlobalHealth) | brief survey to assess the general health | 10 | +| 41 | [PSC-17](activities/PSC-17) | PSC-17 assessment schema | 18 | +| 42 | [PSC-17-Y](activities/PSC-17-Y) | PSC-17-Y assessment schema | 18 | +| 43 | [ProdromalQuestionnaireBriefVersion](activities/ProdromalQuestionnaireBriefVersion) | ProdromalQuestionnaireBriefVersion | 42 | +| 44 | [RCADS-25-C](activities/RCADS-25-C) | RCADS-25-C | 26 | +| 45 | [RCADS-25-Y](activities/RCADS-25-Y) | RCADS-25-Y | 26 | +| 46 | [SCQ](activities/SCQ) | The SCQ consists of forty yes-or-no questions, which a parent can complete in around ten minutes. It provides valuable information on a child’s body movements, use of language or gestures, and style of interacting. Usually, the SCQ is used as a screening instrument to help identify which children may have an autism spectrum disorder. It is not meant to provide a detailed diagnosis, but to indicate whether a child needs a more careful and in-depth evaluation. | 41 | +| 47 | [SCS](activities/SCS) | SelfCompassionScale schema | 26 | +| 48 | [SCS-SF](activities/SCS-SF) | Self Compassion schema | 12 | +| 49 | [SFI](activities/SFI) | SFI schema | 12 | +| 50 | [SITBI](activities/SITBI) | SITBI | 7 | +| 51 | [SRIS-SF](activities/SRIS-SF) | SRIS-SF assessment schema | 12 | +| 52 | [SWED](activities/SWED) | SWED assessment schema | 19 | +| 53 | [TEQ](activities/TEQ) | Self Compassion schema | 16 | +| 54 | [ThankYou](activities/ThankYou) | ThankYou page schema | 1 | +| 55 | [TokenActivity](activities/TokenActivity) | TokenActivity assessment schema | 1 | +| 56 | [VoiceConsent](activities/VoiceConsent) | Consent for voice study | 9 | +| 57 | [VoiceTask](activities/VoiceTask) | VoiceTask | 51 | +| 58 | [WHODAS12](activities/WHODAS12) | WHODAS12 assessment schema | 7 | +| 59 | [WHODAS36_P](activities/WHODAS36_P) | WHODAS36_P | 38 | +| 60 | [WHODAS36_S](activities/WHODAS36_S) | WHODAS36_S | 52 | +| 61 | [abcd_ant01](activities/abcd_ant01) | ABCD Youth Anthropometrics Modified From PhenX (ANT) | 12 | +| 62 | [abcd_asrs01](activities/abcd_asrs01) | ABCD Parent Adult Self Report Scores Aseba (ASR) | 80 | +| 63 | [abcd_betnet02](activities/abcd_betnet02) | ABCD rsfMRI Gordon Network Correlations | 182 | +| 64 | [abcd_bisbas01](activities/abcd_bisbas01) | ABCD Youth Behavioral Inhibition/Behavioral Approach System Scales Modified from PhenX (BIS/BAS) | 21 | +| 65 | [abcd_bpm01](activities/abcd_bpm01) | ABCD Youth Brief Problem Monitor | 19 | +| 66 | [abcd_bpmt01](activities/abcd_bpmt01) | ABCD Brief Problem Monitor-Teacher Form For Ages 6-18 (BPMT) | 24 | +| 67 | [abcd_cbcl01](activities/abcd_cbcl01) | ABCD Parent Child Behavior Checklist Raw Scores Aseba (CBCL) | 137 | +| 68 | [abcd_cbcls01](activities/abcd_cbcls01) | ABCD Parent Child Behavior Checklist Scores Aseba (CBCL) | 80 | +| 69 | [abcd_crpf01](activities/abcd_crpf01) | ABCD Parent Community Risk and Protective Factors (CRPF) | 13 | +| 70 | [abcd_fes01](activities/abcd_fes01) | ABCD Youth Family Environment Scale-Family Conflict Subscale Modified from PhenX (FES) | 9 | +| 71 | [abcd_hers01](activities/abcd_hers01) | ABCD Youth Hair Sample | 2 | +| 72 | [abcd_hsss01](activities/abcd_hsss01) | ABCD Hormone Saliva Salimetric Scores | 27 | +| 73 | [abcd_ip01](activities/abcd_ip01) | ABCD Irma Substudy Parent | 133 | +| 74 | [abcd_isc01](activities/abcd_isc01) | ABCD Irma Substudy Child | 119 | +| 75 | [abcd_ksad01](activities/abcd_ksad01) | ABCD Parent Diagnostic Interview for DSM-5 Full (KSADS-5) | 953 | +| 76 | [abcd_ksad501](activities/abcd_ksad501) | ABCD Youth Diagnostic Interview for DSM-5 5 (KSADS-5) | 954 | +| 77 | [abcd_lpds01](activities/abcd_lpds01) | ABCD Longitudinal Parent Demographics Survey | 118 | +| 78 | [abcd_lpksad01](activities/abcd_lpksad01) | ABCD Longitudinal Parent Diagnostic Interview for DSM-5 Background Items Full (KSAD) | 79 | +| 79 | [abcd_lpmh01](activities/abcd_lpmh01) | ABCD Longitudinal Parent Medical History Questionnaire | 68 | +| 80 | [abcd_lpohstbi01](activities/abcd_lpohstbi01) | ABCD Longitudinal Parent Ohio State Traumatic Brain Injury Screen-Short Modified (OTBI) | 30 | +| 81 | [abcd_lpsaiq01](activities/abcd_lpsaiq01) | ABCD Longitudinal Parent Sports and Activities Involvement Questionnaire (SAIQ) | 241 | +| 82 | [abcd_lssmh01](activities/abcd_lssmh01) | ABCD Longitudinal Summary Scores Medical History | 22 | +| 83 | [abcd_lsssa01](activities/abcd_lsssa01) | ABCD Longitudinal Summary Scores Sports Activity | 91 | +| 84 | [abcd_lsstbi01](activities/abcd_lsstbi01) | ABCD Longitudinal Summary Scores Traumatic Brain Injury | 16 | +| 85 | [abcd_lt01](activities/abcd_lt01) | ABCD Longitudinal Tracking | 1 | +| 86 | [abcd_medhxss01](activities/abcd_medhxss01) | ABCD Summary Scores Medical History | 23 | +| 87 | [abcd_nda](activities/abcd_nda) | schema describing terms needed to generate NDA guid for ABCD study | - | +| 88 | [demographics_and_background_information_v1](activities/demographics_and_background_information_v1) | demographics_and_background_information_v1 | 88 | +| 89 | [dsm_5_parent_guardian_rated_level_1_crosscutting_s](activities/dsm_5_parent_guardian_rated_level_1_crosscutting_s) | dsm_5_parent_guardian_rated_level_1_crosscutting_s | 39 | +| 90 | [hbn_asr](activities/hbn_asr) | HBN Adult Self Report (ASR) | 129 | ## License All documentation is licensed CC-BY. diff --git a/scripts/update_activities_table.py b/scripts/update_activities_table.py index 5302be222..a8009f1fa 100755 --- a/scripts/update_activities_table.py +++ b/scripts/update_activities_table.py @@ -31,6 +31,16 @@ def get_activity_description(activity_dir): print(f"Warning: Could not read schema for {activity_dir.name}: {str(e)}") return activity_dir.name +def count_items(activity_dir): + """Count the number of items in the activity's items folder. + Returns '-' if the items folder doesn't exist.""" + items_dir = activity_dir / "items" + if not items_dir.exists(): + return "-" + + # Count all files in the items directory + return len([f for f in items_dir.iterdir() if f.is_file()]) + def get_activities_with_descriptions(): """Get list of activities and their descriptions from the activities directory.""" repo_root = get_repo_root() @@ -44,10 +54,12 @@ def get_activities_with_descriptions(): for idx, activity_dir in enumerate(sorted(activities_dir.iterdir()), 1): if activity_dir.is_dir(): description = get_activity_description(activity_dir) + item_count = count_items(activity_dir) activities.append({ 'id': str(idx), 'name': activity_dir.name, - 'description': description + 'description': description, + 'item_count': item_count }) return activities @@ -56,15 +68,15 @@ def create_markdown_table(activities): """Create a markdown table with activity links and descriptions.""" content = [ f"*Last updated: {datetime.now(UTC).strftime('%Y-%m-%d %H:%M:%S')} UTC*\n", - "| *ID* | *Activity* | *Description* |", - "|------|-----------|---------------|" + "| **ID** | **Activity** | **Description** | **# of Items** |", + "|------|-----------|---------------|--------------|" ] for activity in activities: activity_link = f"[{activity['name']}](activities/{activity['name']})" # Escape pipe characters in description safe_description = activity['description'].replace('|', '\\|') - content.append(f"| {activity['id']} | {activity_link} | {safe_description} |") + content.append(f"| {activity['id']} | {activity_link} | {safe_description} | {activity['item_count']} |") return "\n".join(content) @@ -87,10 +99,8 @@ def update_readme(table_content): if '## Available Activities' not in content: # If section doesn't exist, add it at the end - section_to_add = f""" -## Available Activities -{table_content} -""" + section_to_add = f"""## Available Activities +{table_content}""" content = content.rstrip() + "\n" + section_to_add + "\n" else: # Replace the existing section content From 969dd9203d6b549ac4f4bdb7a50a3265807a2713 Mon Sep 17 00:00:00 2001 From: Yibei Chen Date: Mon, 6 Jan 2025 16:45:15 -0500 Subject: [PATCH 7/8] allow text to wrap --- README.md | 7 ++++--- scripts/update_activities_table.py | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8f19da58c..96fa384df 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,11 @@ You can read more about the ReproSchema [here](https://repronim.org/reproschema) -*Last updated: 2025-01-06 21:38:15 UTC* -| **ID** | **Activity** | **Description** | **# of Items** | -|------|-----------|---------------|--------------| +*Last updated: 2025-01-06 21:44:37 UTC* + +| **ID** | **Activity**       | **Description** | **# of Items** | +|:-----|:-----------|:--------------|:------------:| | 1 | [ACE](activities/ACE) | Mobile cognitive control assessment battery containing standard tests that assess different aspects of cognitive control (attention, working memory, and goal management), modified by incorporating adaptive algorithms, immersive graphics, video tutorials, motivating feedback, and a user-friendly interface. | 11 | | 2 | [ARI_P](activities/ARI_P) | The Affective Reactivity Index- Self Report is a concise scale for the dimensional assessment of irritability. | 8 | | 3 | [ASSQ](activities/ASSQ) | The ASSQ is a 27-item checklist for completion by lay informants when assessing symptoms characteristic of Asperger's Syndrome or high-functioning autism spectrum disorders. | 28 | diff --git a/scripts/update_activities_table.py b/scripts/update_activities_table.py index a8009f1fa..0440ae13c 100755 --- a/scripts/update_activities_table.py +++ b/scripts/update_activities_table.py @@ -68,8 +68,8 @@ def create_markdown_table(activities): """Create a markdown table with activity links and descriptions.""" content = [ f"*Last updated: {datetime.now(UTC).strftime('%Y-%m-%d %H:%M:%S')} UTC*\n", - "| **ID** | **Activity** | **Description** | **# of Items** |", - "|------|-----------|---------------|--------------|" + "| **ID** | **Activity**       | **Description** | **# of Items** |", + "|:-----|:-----------|:--------------|:------------:|" ] for activity in activities: From ddccaad7d7b0e5a4ca07e0115185575dcc5ff727 Mon Sep 17 00:00:00 2001 From: Yibei Chen Date: Mon, 6 Jan 2025 16:50:30 -0500 Subject: [PATCH 8/8] change column order --- README.md | 187 +++++++++++++++-------------- scripts/update_activities_table.py | 6 +- 2 files changed, 97 insertions(+), 96 deletions(-) diff --git a/README.md b/README.md index 96fa384df..e3a8de2d7 100644 --- a/README.md +++ b/README.md @@ -15,100 +15,101 @@ You can read more about the ReproSchema [here](https://repronim.org/reproschema) -*Last updated: 2025-01-06 21:44:37 UTC* -| **ID** | **Activity**       | **Description** | **# of Items** | -|:-----|:-----------|:--------------|:------------:| -| 1 | [ACE](activities/ACE) | Mobile cognitive control assessment battery containing standard tests that assess different aspects of cognitive control (attention, working memory, and goal management), modified by incorporating adaptive algorithms, immersive graphics, video tutorials, motivating feedback, and a user-friendly interface. | 11 | -| 2 | [ARI_P](activities/ARI_P) | The Affective Reactivity Index- Self Report is a concise scale for the dimensional assessment of irritability. | 8 | -| 3 | [ASSQ](activities/ASSQ) | The ASSQ is a 27-item checklist for completion by lay informants when assessing symptoms characteristic of Asperger's Syndrome or high-functioning autism spectrum disorders. | 28 | -| 4 | [BADS](activities/BADS) | BADS assessment schema | 11 | -| 5 | [BFI-2-XS](activities/BFI-2-XS) | BFI-2-XS | 15 | -| 6 | [Brief_PHQ](activities/Brief_PHQ) | PHQ-9 assessment schema | 34 | -| 7 | [CIS_P](activities/CIS_P) | The CIS is a 13 item parent report scale that assesses global functioning in domains of interpersonal relations, psychopathology, school performance, use of leisure time; monitors progress after 6 mo of treatment. | 14 | -| 8 | [CIS_SR](activities/CIS_SR) | The CIS is a 13 item self report scale that assesses global functioning in domains of interpersonal relations, psychopathology, school performance, use of leisure time; monitors progress after 6 mo of treatment. | 14 | -| 9 | [CIT](activities/CIT) | CIT schema | 54 | -| 10 | [CageAid](activities/CageAid) | schema describing cage aid assessment | 4 | -| 11 | [DAS](activities/DAS) | Daily Affect Scale schema | 20 | -| 12 | [DSM-5_A](activities/DSM-5_A) | DSM-5_A | 36 | -| 13 | [DSM-5_Y](activities/DSM-5_Y) | DSM-5_Y | 38 | -| 14 | [EPDS](activities/EPDS) | EPDS assessment schema | 11 | -| 15 | [GAD7](activities/GAD7) | GAD7 assessment schema | 8 | -| 16 | [GQ-6](activities/GQ-6) | GQ-6 | 6 | -| 17 | [IAT](activities/IAT) | The Internet Addiction Test (IAT) is a 20-item scale that measures characteristics and behaviors associated with compulsive use of the Internet that include compulsivity, escapism, and dependency. Questions also assess problems related to addictive use in personal, occupational, and social functioning. | 21 | -| 18 | [ICU_P](activities/ICU_P) | The Inventory of Callous-Unemotional Traits is a copyright protected 24-item questionnaire designed to provide a comprehensive assessment of callous and unemotional traits. These traits have proven to be important for designating a distinct subgroup group of antisocial and aggressive youth | 25 | -| 19 | [ICU_SR](activities/ICU_SR) | The Inventory of Callous-Unemotional Traits (ICUT) is a copyright protected 24-item questionnaire designed to provide a comprehensive assessment of callous and unemotional traits. These traits have proven to be important for designating a distinct subgroup group of antisocial and aggressive youth. The ICUT has three subscales: Callousness, Uncaring, and Unemotional | 25 | -| 20 | [LAS](activities/LAS) | Lyubomirsky Affect Scale schema | 12 | -| 21 | [MAAS](activities/MAAS) | Self Compassion schema | 15 | -| 22 | [MEIM](activities/MEIM) | An assessment to measure cultural affiliation | 7 | -| 23 | [MFQ_P](activities/MFQ_P) | The MFQ consists of a series of descriptive phrases regarding how the subject has been feeling or acting recently. Codings reflect whether the phrase was descriptive of the subject most of the time, sometimes, or not at all in the past two weeks. | 35 | -| 24 | [MFQ_SR](activities/MFQ_SR) | The MFQ consists of a series of descriptive phrases regarding how the subject has been feeling or acting recently. Codings reflect whether the phrase was descriptive of the subject most of the time, sometimes, or not at all in the past two weeks. | 34 | -| 25 | [MiscellaneousQuestions](activities/MiscellaneousQuestions) | schema for other questions for voice study | 6 | -| 26 | [MoodDisorderQuestionnaire](activities/MoodDisorderQuestionnaire) | MoodDisorderQuestionnaire | 16 | -| 27 | [NDA](activities/NDA) | schema describing terms needed to generate NDA guid | 12 | -| 28 | [PC-PTSD-5](activities/PC-PTSD-5) | PC-PTSD-5 assessment schema | 6 | -| 29 | [PCIAT](activities/PCIAT) | This 20-item questionnaire measures mild, moderate, and severe levels of Internet Addiction. The Parent-Child Internet Addiction Test will help you determine if you may be dealing with Internet Addiction in your home. | 21 | -| 30 | [PEIS](activities/PEIS) | PEIS assessment schema | 17 | -| 31 | [PHQ](activities/PHQ) | PHQ-8 assessment schema | 45 | -| 32 | [PHQ-4](activities/PHQ-4) | PHQ-4 | 4 | -| 33 | [PHQ-8](activities/PHQ-8) | PHQ-8 | 10 | -| 34 | [PHQ-9](activities/PHQ-9) | PHQ-9 | 12 | -| 35 | [PHQ-9a](activities/PHQ-9a) | PHQ-9a | 12 | -| 36 | [PHQ-SADS](activities/PHQ-SADS) | PHQ-SADS | 5 | -| 37 | [PHQ_15](activities/PHQ_15) | PHQ_15 | 16 | -| 38 | [PHQalcohol](activities/PHQalcohol) | PHQ Q10 schema | 6 | -| 39 | [PHQeating](activities/PHQeating) | PHQ eating disorder schema | 8 | -| 40 | [PROMISGlobalHealth](activities/PROMISGlobalHealth) | brief survey to assess the general health | 10 | -| 41 | [PSC-17](activities/PSC-17) | PSC-17 assessment schema | 18 | -| 42 | [PSC-17-Y](activities/PSC-17-Y) | PSC-17-Y assessment schema | 18 | -| 43 | [ProdromalQuestionnaireBriefVersion](activities/ProdromalQuestionnaireBriefVersion) | ProdromalQuestionnaireBriefVersion | 42 | -| 44 | [RCADS-25-C](activities/RCADS-25-C) | RCADS-25-C | 26 | -| 45 | [RCADS-25-Y](activities/RCADS-25-Y) | RCADS-25-Y | 26 | -| 46 | [SCQ](activities/SCQ) | The SCQ consists of forty yes-or-no questions, which a parent can complete in around ten minutes. It provides valuable information on a child’s body movements, use of language or gestures, and style of interacting. Usually, the SCQ is used as a screening instrument to help identify which children may have an autism spectrum disorder. It is not meant to provide a detailed diagnosis, but to indicate whether a child needs a more careful and in-depth evaluation. | 41 | -| 47 | [SCS](activities/SCS) | SelfCompassionScale schema | 26 | -| 48 | [SCS-SF](activities/SCS-SF) | Self Compassion schema | 12 | -| 49 | [SFI](activities/SFI) | SFI schema | 12 | -| 50 | [SITBI](activities/SITBI) | SITBI | 7 | -| 51 | [SRIS-SF](activities/SRIS-SF) | SRIS-SF assessment schema | 12 | -| 52 | [SWED](activities/SWED) | SWED assessment schema | 19 | -| 53 | [TEQ](activities/TEQ) | Self Compassion schema | 16 | -| 54 | [ThankYou](activities/ThankYou) | ThankYou page schema | 1 | -| 55 | [TokenActivity](activities/TokenActivity) | TokenActivity assessment schema | 1 | -| 56 | [VoiceConsent](activities/VoiceConsent) | Consent for voice study | 9 | -| 57 | [VoiceTask](activities/VoiceTask) | VoiceTask | 51 | -| 58 | [WHODAS12](activities/WHODAS12) | WHODAS12 assessment schema | 7 | -| 59 | [WHODAS36_P](activities/WHODAS36_P) | WHODAS36_P | 38 | -| 60 | [WHODAS36_S](activities/WHODAS36_S) | WHODAS36_S | 52 | -| 61 | [abcd_ant01](activities/abcd_ant01) | ABCD Youth Anthropometrics Modified From PhenX (ANT) | 12 | -| 62 | [abcd_asrs01](activities/abcd_asrs01) | ABCD Parent Adult Self Report Scores Aseba (ASR) | 80 | -| 63 | [abcd_betnet02](activities/abcd_betnet02) | ABCD rsfMRI Gordon Network Correlations | 182 | -| 64 | [abcd_bisbas01](activities/abcd_bisbas01) | ABCD Youth Behavioral Inhibition/Behavioral Approach System Scales Modified from PhenX (BIS/BAS) | 21 | -| 65 | [abcd_bpm01](activities/abcd_bpm01) | ABCD Youth Brief Problem Monitor | 19 | -| 66 | [abcd_bpmt01](activities/abcd_bpmt01) | ABCD Brief Problem Monitor-Teacher Form For Ages 6-18 (BPMT) | 24 | -| 67 | [abcd_cbcl01](activities/abcd_cbcl01) | ABCD Parent Child Behavior Checklist Raw Scores Aseba (CBCL) | 137 | -| 68 | [abcd_cbcls01](activities/abcd_cbcls01) | ABCD Parent Child Behavior Checklist Scores Aseba (CBCL) | 80 | -| 69 | [abcd_crpf01](activities/abcd_crpf01) | ABCD Parent Community Risk and Protective Factors (CRPF) | 13 | -| 70 | [abcd_fes01](activities/abcd_fes01) | ABCD Youth Family Environment Scale-Family Conflict Subscale Modified from PhenX (FES) | 9 | -| 71 | [abcd_hers01](activities/abcd_hers01) | ABCD Youth Hair Sample | 2 | -| 72 | [abcd_hsss01](activities/abcd_hsss01) | ABCD Hormone Saliva Salimetric Scores | 27 | -| 73 | [abcd_ip01](activities/abcd_ip01) | ABCD Irma Substudy Parent | 133 | -| 74 | [abcd_isc01](activities/abcd_isc01) | ABCD Irma Substudy Child | 119 | -| 75 | [abcd_ksad01](activities/abcd_ksad01) | ABCD Parent Diagnostic Interview for DSM-5 Full (KSADS-5) | 953 | -| 76 | [abcd_ksad501](activities/abcd_ksad501) | ABCD Youth Diagnostic Interview for DSM-5 5 (KSADS-5) | 954 | -| 77 | [abcd_lpds01](activities/abcd_lpds01) | ABCD Longitudinal Parent Demographics Survey | 118 | -| 78 | [abcd_lpksad01](activities/abcd_lpksad01) | ABCD Longitudinal Parent Diagnostic Interview for DSM-5 Background Items Full (KSAD) | 79 | -| 79 | [abcd_lpmh01](activities/abcd_lpmh01) | ABCD Longitudinal Parent Medical History Questionnaire | 68 | -| 80 | [abcd_lpohstbi01](activities/abcd_lpohstbi01) | ABCD Longitudinal Parent Ohio State Traumatic Brain Injury Screen-Short Modified (OTBI) | 30 | -| 81 | [abcd_lpsaiq01](activities/abcd_lpsaiq01) | ABCD Longitudinal Parent Sports and Activities Involvement Questionnaire (SAIQ) | 241 | -| 82 | [abcd_lssmh01](activities/abcd_lssmh01) | ABCD Longitudinal Summary Scores Medical History | 22 | -| 83 | [abcd_lsssa01](activities/abcd_lsssa01) | ABCD Longitudinal Summary Scores Sports Activity | 91 | -| 84 | [abcd_lsstbi01](activities/abcd_lsstbi01) | ABCD Longitudinal Summary Scores Traumatic Brain Injury | 16 | -| 85 | [abcd_lt01](activities/abcd_lt01) | ABCD Longitudinal Tracking | 1 | -| 86 | [abcd_medhxss01](activities/abcd_medhxss01) | ABCD Summary Scores Medical History | 23 | -| 87 | [abcd_nda](activities/abcd_nda) | schema describing terms needed to generate NDA guid for ABCD study | - | -| 88 | [demographics_and_background_information_v1](activities/demographics_and_background_information_v1) | demographics_and_background_information_v1 | 88 | -| 89 | [dsm_5_parent_guardian_rated_level_1_crosscutting_s](activities/dsm_5_parent_guardian_rated_level_1_crosscutting_s) | dsm_5_parent_guardian_rated_level_1_crosscutting_s | 39 | -| 90 | [hbn_asr](activities/hbn_asr) | HBN Adult Self Report (ASR) | 129 | +*Last updated: 2025-01-06 21:50:05 UTC* + +| **ID** | **Activity** | **# of Items** | **Description** | +|:-----|:-----------|:-----------:|:--------------| +| 1 | [ACE](activities/ACE) | 11 | Mobile cognitive control assessment battery containing standard tests that assess different aspects of cognitive control (attention, working memory, and goal management), modified by incorporating adaptive algorithms, immersive graphics, video tutorials, motivating feedback, and a user-friendly interface. | +| 2 | [ARI_P](activities/ARI_P) | 8 | The Affective Reactivity Index- Self Report is a concise scale for the dimensional assessment of irritability. | +| 3 | [ASSQ](activities/ASSQ) | 28 | The ASSQ is a 27-item checklist for completion by lay informants when assessing symptoms characteristic of Asperger's Syndrome or high-functioning autism spectrum disorders. | +| 4 | [BADS](activities/BADS) | 11 | BADS assessment schema | +| 5 | [BFI-2-XS](activities/BFI-2-XS) | 15 | BFI-2-XS | +| 6 | [Brief_PHQ](activities/Brief_PHQ) | 34 | PHQ-9 assessment schema | +| 7 | [CIS_P](activities/CIS_P) | 14 | The CIS is a 13 item parent report scale that assesses global functioning in domains of interpersonal relations, psychopathology, school performance, use of leisure time; monitors progress after 6 mo of treatment. | +| 8 | [CIS_SR](activities/CIS_SR) | 14 | The CIS is a 13 item self report scale that assesses global functioning in domains of interpersonal relations, psychopathology, school performance, use of leisure time; monitors progress after 6 mo of treatment. | +| 9 | [CIT](activities/CIT) | 54 | CIT schema | +| 10 | [CageAid](activities/CageAid) | 4 | schema describing cage aid assessment | +| 11 | [DAS](activities/DAS) | 20 | Daily Affect Scale schema | +| 12 | [DSM-5_A](activities/DSM-5_A) | 36 | DSM-5_A | +| 13 | [DSM-5_Y](activities/DSM-5_Y) | 38 | DSM-5_Y | +| 14 | [EPDS](activities/EPDS) | 11 | EPDS assessment schema | +| 15 | [GAD7](activities/GAD7) | 8 | GAD7 assessment schema | +| 16 | [GQ-6](activities/GQ-6) | 6 | GQ-6 | +| 17 | [IAT](activities/IAT) | 21 | The Internet Addiction Test (IAT) is a 20-item scale that measures characteristics and behaviors associated with compulsive use of the Internet that include compulsivity, escapism, and dependency. Questions also assess problems related to addictive use in personal, occupational, and social functioning. | +| 18 | [ICU_P](activities/ICU_P) | 25 | The Inventory of Callous-Unemotional Traits is a copyright protected 24-item questionnaire designed to provide a comprehensive assessment of callous and unemotional traits. These traits have proven to be important for designating a distinct subgroup group of antisocial and aggressive youth | +| 19 | [ICU_SR](activities/ICU_SR) | 25 | The Inventory of Callous-Unemotional Traits (ICUT) is a copyright protected 24-item questionnaire designed to provide a comprehensive assessment of callous and unemotional traits. These traits have proven to be important for designating a distinct subgroup group of antisocial and aggressive youth. The ICUT has three subscales: Callousness, Uncaring, and Unemotional | +| 20 | [LAS](activities/LAS) | 12 | Lyubomirsky Affect Scale schema | +| 21 | [MAAS](activities/MAAS) | 15 | Self Compassion schema | +| 22 | [MEIM](activities/MEIM) | 7 | An assessment to measure cultural affiliation | +| 23 | [MFQ_P](activities/MFQ_P) | 35 | The MFQ consists of a series of descriptive phrases regarding how the subject has been feeling or acting recently. Codings reflect whether the phrase was descriptive of the subject most of the time, sometimes, or not at all in the past two weeks. | +| 24 | [MFQ_SR](activities/MFQ_SR) | 34 | The MFQ consists of a series of descriptive phrases regarding how the subject has been feeling or acting recently. Codings reflect whether the phrase was descriptive of the subject most of the time, sometimes, or not at all in the past two weeks. | +| 25 | [MiscellaneousQuestions](activities/MiscellaneousQuestions) | 6 | schema for other questions for voice study | +| 26 | [MoodDisorderQuestionnaire](activities/MoodDisorderQuestionnaire) | 16 | MoodDisorderQuestionnaire | +| 27 | [NDA](activities/NDA) | 12 | schema describing terms needed to generate NDA guid | +| 28 | [PC-PTSD-5](activities/PC-PTSD-5) | 6 | PC-PTSD-5 assessment schema | +| 29 | [PCIAT](activities/PCIAT) | 21 | This 20-item questionnaire measures mild, moderate, and severe levels of Internet Addiction. The Parent-Child Internet Addiction Test will help you determine if you may be dealing with Internet Addiction in your home. | +| 30 | [PEIS](activities/PEIS) | 17 | PEIS assessment schema | +| 31 | [PHQ](activities/PHQ) | 45 | PHQ-8 assessment schema | +| 32 | [PHQ-4](activities/PHQ-4) | 4 | PHQ-4 | +| 33 | [PHQ-8](activities/PHQ-8) | 10 | PHQ-8 | +| 34 | [PHQ-9](activities/PHQ-9) | 12 | PHQ-9 | +| 35 | [PHQ-9a](activities/PHQ-9a) | 12 | PHQ-9a | +| 36 | [PHQ-SADS](activities/PHQ-SADS) | 5 | PHQ-SADS | +| 37 | [PHQ_15](activities/PHQ_15) | 16 | PHQ_15 | +| 38 | [PHQalcohol](activities/PHQalcohol) | 6 | PHQ Q10 schema | +| 39 | [PHQeating](activities/PHQeating) | 8 | PHQ eating disorder schema | +| 40 | [PROMISGlobalHealth](activities/PROMISGlobalHealth) | 10 | brief survey to assess the general health | +| 41 | [PSC-17](activities/PSC-17) | 18 | PSC-17 assessment schema | +| 42 | [PSC-17-Y](activities/PSC-17-Y) | 18 | PSC-17-Y assessment schema | +| 43 | [ProdromalQuestionnaireBriefVersion](activities/ProdromalQuestionnaireBriefVersion) | 42 | ProdromalQuestionnaireBriefVersion | +| 44 | [RCADS-25-C](activities/RCADS-25-C) | 26 | RCADS-25-C | +| 45 | [RCADS-25-Y](activities/RCADS-25-Y) | 26 | RCADS-25-Y | +| 46 | [SCQ](activities/SCQ) | 41 | The SCQ consists of forty yes-or-no questions, which a parent can complete in around ten minutes. It provides valuable information on a child’s body movements, use of language or gestures, and style of interacting. Usually, the SCQ is used as a screening instrument to help identify which children may have an autism spectrum disorder. It is not meant to provide a detailed diagnosis, but to indicate whether a child needs a more careful and in-depth evaluation. | +| 47 | [SCS](activities/SCS) | 26 | SelfCompassionScale schema | +| 48 | [SCS-SF](activities/SCS-SF) | 12 | Self Compassion schema | +| 49 | [SFI](activities/SFI) | 12 | SFI schema | +| 50 | [SITBI](activities/SITBI) | 7 | SITBI | +| 51 | [SRIS-SF](activities/SRIS-SF) | 12 | SRIS-SF assessment schema | +| 52 | [SWED](activities/SWED) | 19 | SWED assessment schema | +| 53 | [TEQ](activities/TEQ) | 16 | Self Compassion schema | +| 54 | [ThankYou](activities/ThankYou) | 1 | ThankYou page schema | +| 55 | [TokenActivity](activities/TokenActivity) | 1 | TokenActivity assessment schema | +| 56 | [VoiceConsent](activities/VoiceConsent) | 9 | Consent for voice study | +| 57 | [VoiceTask](activities/VoiceTask) | 51 | VoiceTask | +| 58 | [WHODAS12](activities/WHODAS12) | 7 | WHODAS12 assessment schema | +| 59 | [WHODAS36_P](activities/WHODAS36_P) | 38 | WHODAS36_P | +| 60 | [WHODAS36_S](activities/WHODAS36_S) | 52 | WHODAS36_S | +| 61 | [abcd_ant01](activities/abcd_ant01) | 12 | ABCD Youth Anthropometrics Modified From PhenX (ANT) | +| 62 | [abcd_asrs01](activities/abcd_asrs01) | 80 | ABCD Parent Adult Self Report Scores Aseba (ASR) | +| 63 | [abcd_betnet02](activities/abcd_betnet02) | 182 | ABCD rsfMRI Gordon Network Correlations | +| 64 | [abcd_bisbas01](activities/abcd_bisbas01) | 21 | ABCD Youth Behavioral Inhibition/Behavioral Approach System Scales Modified from PhenX (BIS/BAS) | +| 65 | [abcd_bpm01](activities/abcd_bpm01) | 19 | ABCD Youth Brief Problem Monitor | +| 66 | [abcd_bpmt01](activities/abcd_bpmt01) | 24 | ABCD Brief Problem Monitor-Teacher Form For Ages 6-18 (BPMT) | +| 67 | [abcd_cbcl01](activities/abcd_cbcl01) | 137 | ABCD Parent Child Behavior Checklist Raw Scores Aseba (CBCL) | +| 68 | [abcd_cbcls01](activities/abcd_cbcls01) | 80 | ABCD Parent Child Behavior Checklist Scores Aseba (CBCL) | +| 69 | [abcd_crpf01](activities/abcd_crpf01) | 13 | ABCD Parent Community Risk and Protective Factors (CRPF) | +| 70 | [abcd_fes01](activities/abcd_fes01) | 9 | ABCD Youth Family Environment Scale-Family Conflict Subscale Modified from PhenX (FES) | +| 71 | [abcd_hers01](activities/abcd_hers01) | 2 | ABCD Youth Hair Sample | +| 72 | [abcd_hsss01](activities/abcd_hsss01) | 27 | ABCD Hormone Saliva Salimetric Scores | +| 73 | [abcd_ip01](activities/abcd_ip01) | 133 | ABCD Irma Substudy Parent | +| 74 | [abcd_isc01](activities/abcd_isc01) | 119 | ABCD Irma Substudy Child | +| 75 | [abcd_ksad01](activities/abcd_ksad01) | 953 | ABCD Parent Diagnostic Interview for DSM-5 Full (KSADS-5) | +| 76 | [abcd_ksad501](activities/abcd_ksad501) | 954 | ABCD Youth Diagnostic Interview for DSM-5 5 (KSADS-5) | +| 77 | [abcd_lpds01](activities/abcd_lpds01) | 118 | ABCD Longitudinal Parent Demographics Survey | +| 78 | [abcd_lpksad01](activities/abcd_lpksad01) | 79 | ABCD Longitudinal Parent Diagnostic Interview for DSM-5 Background Items Full (KSAD) | +| 79 | [abcd_lpmh01](activities/abcd_lpmh01) | 68 | ABCD Longitudinal Parent Medical History Questionnaire | +| 80 | [abcd_lpohstbi01](activities/abcd_lpohstbi01) | 30 | ABCD Longitudinal Parent Ohio State Traumatic Brain Injury Screen-Short Modified (OTBI) | +| 81 | [abcd_lpsaiq01](activities/abcd_lpsaiq01) | 241 | ABCD Longitudinal Parent Sports and Activities Involvement Questionnaire (SAIQ) | +| 82 | [abcd_lssmh01](activities/abcd_lssmh01) | 22 | ABCD Longitudinal Summary Scores Medical History | +| 83 | [abcd_lsssa01](activities/abcd_lsssa01) | 91 | ABCD Longitudinal Summary Scores Sports Activity | +| 84 | [abcd_lsstbi01](activities/abcd_lsstbi01) | 16 | ABCD Longitudinal Summary Scores Traumatic Brain Injury | +| 85 | [abcd_lt01](activities/abcd_lt01) | 1 | ABCD Longitudinal Tracking | +| 86 | [abcd_medhxss01](activities/abcd_medhxss01) | 23 | ABCD Summary Scores Medical History | +| 87 | [abcd_nda](activities/abcd_nda) | - | schema describing terms needed to generate NDA guid for ABCD study | +| 88 | [demographics_and_background_information_v1](activities/demographics_and_background_information_v1) | 88 | demographics_and_background_information_v1 | +| 89 | [dsm_5_parent_guardian_rated_level_1_crosscutting_s](activities/dsm_5_parent_guardian_rated_level_1_crosscutting_s) | 39 | dsm_5_parent_guardian_rated_level_1_crosscutting_s | +| 90 | [hbn_asr](activities/hbn_asr) | 129 | HBN Adult Self Report (ASR) | ## License All documentation is licensed CC-BY. diff --git a/scripts/update_activities_table.py b/scripts/update_activities_table.py index 0440ae13c..41adb07da 100755 --- a/scripts/update_activities_table.py +++ b/scripts/update_activities_table.py @@ -68,15 +68,15 @@ def create_markdown_table(activities): """Create a markdown table with activity links and descriptions.""" content = [ f"*Last updated: {datetime.now(UTC).strftime('%Y-%m-%d %H:%M:%S')} UTC*\n", - "| **ID** | **Activity**       | **Description** | **# of Items** |", - "|:-----|:-----------|:--------------|:------------:|" + "| **ID** | **Activity** | **# of Items** | **Description** |", + "|:-----|:-----------|:-----------:|:--------------|" ] for activity in activities: activity_link = f"[{activity['name']}](activities/{activity['name']})" # Escape pipe characters in description safe_description = activity['description'].replace('|', '\\|') - content.append(f"| {activity['id']} | {activity_link} | {safe_description} | {activity['item_count']} |") + content.append(f"| {activity['id']} | {activity_link} | {activity['item_count']} | {safe_description} |") return "\n".join(content)