diff --git a/README.md b/README.md
index 33486bec..49d7d0b8 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,13 @@
description: >-
The mandate of the dFDA is to promote human health and safety by determining
the comprehensive positive and negative effects of all foods and drugs.
+emoji: "\U0001F48A"
+title: The Decentralized FDA
+tags: 'decentralized-fda, clinical-research, health, FAIR, monorepo'
+published: true
+editor: markdown
+date: '2025-02-12T16:56:21.927Z'
+dateCreated: '2025-02-12T16:56:21.927Z'
layout:
title:
visible: true
diff --git a/benefits/lower-costs-of-validated-observational-research-for-efficacy.md b/benefits/lower-costs-of-validated-observational-research-for-efficacy.md
index 67b203d1..c970768a 100644
--- a/benefits/lower-costs-of-validated-observational-research-for-efficacy.md
+++ b/benefits/lower-costs-of-validated-observational-research-for-efficacy.md
@@ -3,6 +3,15 @@ description: >-
Observational real-world evidence-based studies have several advantages over
randomized, controlled trials, including lower cost, increased speed of
research, and a broader range of patients.
+emoji: "\U0001F440"
+title: Lower Costs of Validated Observational Research for Efficacy
+tags: >-
+ observational-research, cost-effectiveness, real-world-evidence,
+ meta-analyses, clinical-studies
+published: true
+editor: markdown
+date: '2025-02-12T15:32:45.179Z'
+dateCreated: '2025-02-12T15:32:45.179Z'
---
# 👀 Lower Costs of Validated Observational Research for Efficacy
diff --git a/benefits/more-cures-and-less-lifelong-attempts-at-masking-symptoms.md b/benefits/more-cures-and-less-lifelong-attempts-at-masking-symptoms.md
index 1ed57f18..2713dd74 100644
--- a/benefits/more-cures-and-less-lifelong-attempts-at-masking-symptoms.md
+++ b/benefits/more-cures-and-less-lifelong-attempts-at-masking-symptoms.md
@@ -2,6 +2,13 @@
description: >-
High Costs Punish Finding Cures Over Masking Symptoms Since Cures Are Far Less
Profitable Than Lifetime Treatments
+emoji: "\U0001F4B0"
+title: Economic Incentives for Medical Cures vs Symptom Management
+tags: 'medical-economics, drug-development, cures, symptom-management, R&D'
+published: true
+editor: markdown
+date: '2025-02-12T15:33:40.236Z'
+dateCreated: '2025-02-12T15:33:40.236Z'
---
# 🎭 More Cures and Less Lifelong Attempts at Masking Symptoms
diff --git a/blueprint/blueprint-gas.md b/blueprint/blueprint-gas.md
index fa0c380c..35745114 100644
--- a/blueprint/blueprint-gas.md
+++ b/blueprint/blueprint-gas.md
@@ -1,3 +1,16 @@
+---
+description: >-
+ A system of incentivized actions to promote the adoption of a global
+ blueprint, including rewards for optimizing the blueprint and generating
+ public support.
+emoji: "\U0001F91D"
+title: Incentivized Actions for Global Blueprint Adoption
+tags: 'global-blueprint, incentives, public-support, blueprint-optimization'
+published: true
+editor: markdown
+date: '2025-02-12T16:46:56.763Z'
+dateCreated: '2025-02-12T16:46:56.763Z'
+---
# Incentivized Actions for Global Blueprint Adoption
## 1. Blueprint Optimization
@@ -42,4 +55,4 @@
- Resources: $2B+ funding secured
Total estimated incentive budget required: $100M
-Expected ROI: $2T+ in annual healthcare savings
\ No newline at end of file
+Expected ROI: $2T+ in annual healthcare savings
diff --git a/blueprint/blueprint-high-level.md b/blueprint/blueprint-high-level.md
index 00708cd3..dbd62d2d 100644
--- a/blueprint/blueprint-high-level.md
+++ b/blueprint/blueprint-high-level.md
@@ -1,3 +1,16 @@
+---
+description: >-
+ A framework for envisioning and implementing a world without disease,
+ including defining the ideal, creating a roadmap, seeking global consent, and
+ enacting legal reforms.
+emoji: "\U0001F30D"
+title: Framework for a World Without Disease
+tags: 'disease-eradication, global-health, policy, framework'
+published: true
+editor: markdown
+date: '2025-02-12T16:47:32.477Z'
+dateCreated: '2025-02-12T16:47:32.477Z'
+---
Here’s a clearer, more intuitive framework:
**Phase 1: Define the Ideal**
@@ -15,4 +28,4 @@ Here’s a clearer, more intuitive framework:
**Phase 5: Implement, Measure, and Adapt**
- **Building the World Without Disease:** Begin large-scale deployment of prevention strategies, cutting-edge treatments, and data-driven policies. Monitor progress, refine approaches based on real-world data, and continually improve systems until disease is effectively eliminated or minimized.
-This progression—Vision (Blueprint), Plan (Roadmap), Consent (Referendum), Authority (Act), and Action (Implementation)—creates a logical, transparent sequence from conception to worldwide realization. It’s easy to understand and aligns with common-sense steps: imagine a better future, figure out how to get there, ask everyone if they agree, make it official, then carry it out and keep improving.
\ No newline at end of file
+This progression—Vision (Blueprint), Plan (Roadmap), Consent (Referendum), Authority (Act), and Action (Implementation)—creates a logical, transparent sequence from conception to worldwide realization. It’s easy to understand and aligns with common-sense steps: imagine a better future, figure out how to get there, ask everyone if they agree, make it official, then carry it out and keep improving.
diff --git a/blueprint/blueprint-sitemap.md b/blueprint/blueprint-sitemap.md
index 0a8fa81d..6cdd160f 100644
--- a/blueprint/blueprint-sitemap.md
+++ b/blueprint/blueprint-sitemap.md
@@ -1,3 +1,16 @@
+---
+description: >-
+ A proposal to shift healthcare focus from treating diseases to preventing and
+ curing them, with a plan involving global participation and legislative
+ change.
+emoji: "\U0001F30D"
+title: Blueprint for a World Without Disease
+tags: 'healthcare-reform, disease-prevention, global-initiatives, public-health'
+published: true
+editor: markdown
+date: '2025-02-12T16:50:24.919Z'
+dateCreated: '2025-02-12T16:50:24.919Z'
+---
### Homepage
**Headline:** A Blueprint for a World Without Disease
@@ -214,4 +227,4 @@ Participation doesn’t require heroics—just share the information, talk to le
### Conclusion
-This comprehensive website addresses every stakeholder, from everyday citizens to policymakers and tech experts. It’s structured to explain why we need change, how the system works, the steps to achieve it, and how everyone can help. It avoids unnecessary hype, sticks to the facts, and shows a logical path from a visionary blueprint to a legally enforced system that ends preventable disease.
\ No newline at end of file
+This comprehensive website addresses every stakeholder, from everyday citizens to policymakers and tech experts. It’s structured to explain why we need change, how the system works, the steps to achieve it, and how everyone can help. It avoids unnecessary hype, sticks to the facts, and shows a logical path from a visionary blueprint to a legally enforced system that ends preventable disease.
diff --git a/blueprint/blueprint-strategy.md b/blueprint/blueprint-strategy.md
index 2a1983d1..42cfbaa2 100644
--- a/blueprint/blueprint-strategy.md
+++ b/blueprint/blueprint-strategy.md
@@ -1,3 +1,17 @@
+---
+description: >-
+ A strategy for reducing disease by collecting global health data, empowering
+ patient choice, incentivizing cures, and involving all stakeholders.
+emoji: "\U0001F30D"
+title: Strategy for a World Without Disease
+tags: >-
+ global-health, data-collection, patient-empowerment, disease-prevention,
+ healthcare-innovation
+published: true
+editor: markdown
+date: '2025-02-12T16:50:31.159Z'
+dateCreated: '2025-02-12T16:50:31.159Z'
+---
# Strategy for a World Without Disease
1. Collect Data on What Works Best:
@@ -16,4 +30,4 @@
Instead of traditional lobbying behind closed doors, gather support and funding from those who benefit: large employers, insurers (or better, self-insured ones), and even health-conscious citizens. Show them that by paying into this system—just a fraction of what they’d waste on sickness—they get healthier people and lower long-term costs.
**In short:**
-Collect honest data, let patients pick the best care, pay for prevention, invite everyone to shape the rules, and fund it openly. No tricks, no complexity: just find what works, share it, make cures profitable, and get governments and payers on board.
\ No newline at end of file
+Collect honest data, let patients pick the best care, pay for prevention, invite everyone to shape the rules, and fund it openly. No tricks, no complexity: just find what works, share it, make cures profitable, and get governments and payers on board.
diff --git a/blueprint/blueprint-summary.md b/blueprint/blueprint-summary.md
index ff214f64..0465c7db 100644
--- a/blueprint/blueprint-summary.md
+++ b/blueprint/blueprint-summary.md
@@ -1,3 +1,16 @@
+---
+description: >-
+ An overview of the unnecessary suffering caused by current healthcare and
+ regulatory systems, highlighting specific examples of preventable pain and
+ disease.
+emoji: "\U0001F6AB"
+title: Creating a World Without Disease
+tags: 'healthcare, regulatory-systems, disease-prevention, FDA'
+published: true
+editor: markdown
+date: '2025-02-12T16:50:53.964Z'
+dateCreated: '2025-02-12T16:50:53.964Z'
+---
# How to Create a World Without Disease
## Billions of Hours of Unnecessary Suffering
@@ -84,4 +97,4 @@ Three essential components to transform healthcare:
- Affordable access to breakthrough treatments
- Long-term savings tracking
-[Learn more about the Blueprint for a World Without Disease](blueprint.md)
\ No newline at end of file
+[Learn more about the Blueprint for a World Without Disease](blueprint.md)
diff --git a/blueprint/blueprint.md b/blueprint/blueprint.md
index 7bd3a73e..2d8bf20c 100644
--- a/blueprint/blueprint.md
+++ b/blueprint/blueprint.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ Analysis of the preventable suffering caused by systemic issues in healthcare
+ and drug development
+emoji: "\U0001FA7A"
+title: Creating a World Without Disease
+tags: 'healthcare, drug-development, regulatory-system, disease-prevention'
+published: true
+editor: markdown
+date: '2025-02-12T16:51:17.425Z'
+dateCreated: '2025-02-12T16:51:17.425Z'
+---
# How to Create to a World Without Disease
## The Preventable Suffering Billions Live In
@@ -194,4 +206,4 @@ This incentive structure is:
- Self-correcting (community governance)
- Impact-focused (tied to mission goals)
- Transparent (clear metrics)
-- Automated (smart contract based)
\ No newline at end of file
+- Automated (smart contract based)
diff --git a/clinical-trials/methodologies/definitions.md b/clinical-trials/methodologies/definitions.md
index f0396960..b17a61e2 100644
--- a/clinical-trials/methodologies/definitions.md
+++ b/clinical-trials/methodologies/definitions.md
@@ -1,11 +1,12 @@
---
-title: 📖Key Definitions
description: Precise definitions of relevant terms used
+emoji: "\U0001F4DA"
+title: "\U0001F4D6Key Definitions"
+tags: 'healthcare, interventions, efficacy, effectiveness, definitions'
published: true
-date: 2022-07-26T02:40:33.718Z
-tags:
editor: markdown
-dateCreated: 2022-07-22T19:05:03.787Z
+date: '2022-07-26T02:40:33.718Z'
+dateCreated: '2022-07-22T19:05:03.787Z'
---
Efficacy—the extent to which an intervention does more good than harm under ideal circumstances
diff --git a/community/governance/dfda-collaboration-framework.md b/community/governance/dfda-collaboration-framework.md
index 07769ef7..fdd36245 100644
--- a/community/governance/dfda-collaboration-framework.md
+++ b/community/governance/dfda-collaboration-framework.md
@@ -1,11 +1,17 @@
---
+description: >-
+ A coordination framework for facilitating cooperation, communication, and
+ collaborative actions among stakeholders in clinical discovery and health
+ outcomes.
+emoji: "\U0001F91D"
title: dFDA Collaboration Framework
-description:
+tags: >-
+ coordination-framework, clinical-discovery, stakeholder-collaboration,
+ health-outcomes
published: true
-date: 2023-10-28T22:44:51.813Z
-tags: dfda, collaborationism
editor: markdown
-dateCreated: 2023-10-28T22:42:49.138Z
+date: '2023-10-28T22:44:51.813Z'
+dateCreated: '2023-10-28T22:42:49.138Z'
---
> This is a work in progress. Contributions are welcome! Just click the edit button in the lower right corner. It's our goal to avoid any duplication of effort. So please include existing projects that would be interested in fulfilling any part of this global framework.
@@ -134,4 +140,4 @@ In crafting a coordination platform to overcome the inherently competitive natur
12. **Technology-Enabled Coordination**:
- Utilize technology to lower barriers to collaboration, streamline coordination, and enable seamless interaction among stakeholders regardless of geographical or organizational boundaries.
-By embedding these elements into the design of the coordination platform, the dFDA initiative can work towards mitigating the winner-take-all mentality and foster a thriving ecosystem of collaborative advancement towards shared health innovation goals.
\ No newline at end of file
+By embedding these elements into the design of the coordination platform, the dFDA initiative can work towards mitigating the winner-take-all mentality and foster a thriving ecosystem of collaborative advancement towards shared health innovation goals.
diff --git a/community_directory/CONTRIBUTING.md b/community_directory/CONTRIBUTING.md
index 34159fe5..5b799b9d 100644
--- a/community_directory/CONTRIBUTING.md
+++ b/community_directory/CONTRIBUTING.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ Guidelines for contributing to the FDAi Community Directory, including steps
+ for getting started and making contributions via pull requests.
+emoji: "\U0001F91D"
+title: Contributing to the FDAi Community Directory
+tags: 'FDAi, community-directory, contributing, open-source'
+published: true
+editor: markdown
+date: '2025-02-12T16:51:44.377Z'
+dateCreated: '2025-02-12T16:51:44.377Z'
+---
# Contributing to the FDAi Community Directory
Thank you for your interest in contributing to the FDAi Community Directory. This document provides guidelines for contributing to the FDAi project. By participating in this project, you agree to abide by its terms.
diff --git a/community_directory/README.md b/community_directory/README.md
index 04f3cd78..9e1289e6 100644
--- a/community_directory/README.md
+++ b/community_directory/README.md
@@ -1,3 +1,13 @@
+---
+description: A directory to facilitate collaboration among stakeholders in the FDAi project
+emoji: "\U0001F465"
+title: FDAi Community Directory
+tags: 'FDAi, community, collaboration, decentralized-health, regulatory-processes'
+published: true
+editor: markdown
+date: '2025-02-12T16:52:13.974Z'
+dateCreated: '2025-02-12T16:52:13.974Z'
+---
# FDAi Community Directory
Welcome to the FDAi Community Directory! This repository is designed to facilitate collaboration and organization among various stakeholders involved in the FDAi project. Our goal is to create an open, transparent, and efficient ecosystem where partners from different sectors can come together to contribute to the advancement of decentralized health regulatory processes.
diff --git a/community_directory/community_volunteers/README.md b/community_directory/community_volunteers/README.md
index 5c075e07..247ad3dc 100644
--- a/community_directory/community_volunteers/README.md
+++ b/community_directory/community_volunteers/README.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ A directory for community volunteers contributing to the FDAi project,
+ providing resources and guidance for involvement.
+emoji: "\U0001F91D"
+title: Community Volunteers Directory
+tags: 'volunteers, community, FDAi, contribution'
+published: true
+editor: markdown
+date: '2025-02-12T16:51:40.444Z'
+dateCreated: '2025-02-12T16:51:40.444Z'
+---
# Community Volunteers Directory
Welcome to the Community Volunteers section of the FDAi Community Directory! This space is dedicated to individual contributors and volunteers who are looking to get involved with the FDAi project. Your passion, skills, and dedication are invaluable to the success of our initiatives.
diff --git a/community_directory/developers/README.md b/community_directory/developers/README.md
index df6c7376..adcb0998 100644
--- a/community_directory/developers/README.md
+++ b/community_directory/developers/README.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ A directory for developers, data scientists, and AI experts contributing to
+ the technical development of the FDAi project.
+emoji: "\U0001F4BB"
+title: Developers Directory
+tags: 'developers, software, data-science, AI, FDAi, community'
+published: true
+editor: markdown
+date: '2025-02-12T16:51:47.494Z'
+dateCreated: '2025-02-12T16:51:47.494Z'
+---
# Developers Directory
Welcome to the Developers Directory of the FDAi Community Directory. This space is dedicated to software developers, data scientists, AI experts, and anyone involved in the technical development and data analysis aspects of the FDAi project. Here, you can collaborate, share your expertise, and contribute to the development of tools and applications that support the FDAi's mission.
diff --git a/community_directory/funding_sources/README.md b/community_directory/funding_sources/README.md
index 1b3c83b5..01668725 100644
--- a/community_directory/funding_sources/README.md
+++ b/community_directory/funding_sources/README.md
@@ -1,3 +1,16 @@
+---
+description: >-
+ A directory for funding sources interested in supporting initiatives within
+ the FDAi project, providing information on funding opportunities and
+ facilitating connections between funders and project teams.
+emoji: "\U0001F4B0"
+title: Funding Sources Directory
+tags: 'funding, FDAi, investors, philanthropy, grants'
+published: true
+editor: markdown
+date: '2025-02-12T16:51:51.033Z'
+dateCreated: '2025-02-12T16:51:51.033Z'
+---
# Funding Sources Directory
Welcome to the Funding Sources directory of the FDAi Community Directory. This space is dedicated to investors, grant agencies, philanthropic organizations, and any other entities interested in providing financial support for the initiatives within the FDAi project. Here, you can find information about ongoing projects in need of funding, learn about the impact of your contributions, and connect with project leaders.
diff --git a/community_directory/healthcare_providers/README.md b/community_directory/healthcare_providers/README.md
index f996e1eb..681201ce 100644
--- a/community_directory/healthcare_providers/README.md
+++ b/community_directory/healthcare_providers/README.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ A directory for healthcare providers including hospitals, clinics, and health
+ apps involved in the FDAi project
+emoji: "\U0001F3E5"
+title: Healthcare Providers Directory
+tags: 'healthcare-providers, FDAi, community-directory, collaboration'
+published: true
+editor: markdown
+date: '2025-02-12T16:51:55.194Z'
+dateCreated: '2025-02-12T16:51:55.194Z'
+---
# Healthcare Providers Directory
Welcome to the Healthcare Providers directory of the FDAi Community Directory. This space is dedicated to hospitals, clinics, health apps, and other healthcare service providers who are integral to the implementation and success of the FDAi project.
diff --git a/community_directory/industry_stakeholders/README.md b/community_directory/industry_stakeholders/README.md
index c29e0be3..9092803d 100644
--- a/community_directory/industry_stakeholders/README.md
+++ b/community_directory/industry_stakeholders/README.md
@@ -1,3 +1,18 @@
+---
+description: >-
+ A directory for industry stakeholders including pharmaceutical companies,
+ insurance companies, biotech firms, and medical device manufacturers
+ contributing to the FDAi project.
+emoji: "\U0001F465"
+title: Industry Stakeholders Directory
+tags: >-
+ fda-community, stakeholders, pharmaceuticals, biotech, medical-devices,
+ insurance, decentralized-fda
+published: true
+editor: markdown
+date: '2025-02-12T16:51:58.855Z'
+dateCreated: '2025-02-12T16:51:58.855Z'
+---
# Industry Stakeholders Directory
Welcome to the Industry Stakeholders Directory of the FDAi Community Directory. This section is dedicated to pharmaceutical companies, insurance companies, biotech firms, medical device manufacturers, and other key players in the healthcare industry. Your expertise, resources, and insights are invaluable to the success of the FDAi project.
diff --git a/community_directory/open-source-projects/open-source-projects.md b/community_directory/open-source-projects/open-source-projects.md
index c19d3e3b..bab5f5b2 100644
--- a/community_directory/open-source-projects/open-source-projects.md
+++ b/community_directory/open-source-projects/open-source-projects.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ A list of open-source projects aimed at accelerating clinical discovery
+ relevant to the FDAi's mission.
+emoji: "\U0001F4BB"
+title: Open Source Projects for Clinical Discovery
+tags: 'open-source, clinical-discovery, FDAi, projects'
+published: true
+editor: markdown
+date: '2025-02-12T16:52:01.808Z'
+dateCreated: '2025-02-12T16:52:01.808Z'
+---
# Open Source Projects to Accelerate Clinical Discovery
## Introduction
diff --git a/community_directory/partners/README.md b/community_directory/partners/README.md
index 90d97d6a..05c94462 100644
--- a/community_directory/partners/README.md
+++ b/community_directory/partners/README.md
@@ -1,3 +1,16 @@
+---
+description: >-
+ A directory for partners involved in the FDAi project, providing a space for
+ organizations to introduce themselves, share their roles, and facilitate
+ collaboration.
+emoji: "\U0001F91D"
+title: Partners Directory
+tags: 'partners, collaboration, FDAi, community-directory'
+published: true
+editor: markdown
+date: '2025-02-12T16:52:04.915Z'
+dateCreated: '2025-02-12T16:52:04.915Z'
+---
# Partners Directory
Welcome to the `/partners` directory of the FDAi Community Directory. This section serves as a central hub for all partner-related information, facilitating collaboration and communication among various stakeholders involved in the FDAi project.
diff --git a/community_directory/patient_advocacy/README.md b/community_directory/patient_advocacy/README.md
index 79e30949..32885e47 100644
--- a/community_directory/patient_advocacy/README.md
+++ b/community_directory/patient_advocacy/README.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ A directory for patient advocacy groups and NGOs to share information,
+ resources, and collaborate within the FDAi Community Directory.
+emoji: "\U0001F91D"
+title: Patient Advocacy Directory
+tags: 'patient-advocacy, NGOs, FDAi, community-directory, collaboration'
+published: true
+editor: markdown
+date: '2025-02-12T16:52:08.134Z'
+dateCreated: '2025-02-12T16:52:08.134Z'
+---
# Patient Advocacy Directory
Welcome to the Patient Advocacy directory of the FDAi Community Directory. This space is dedicated to patient advocacy groups, non-governmental organizations (NGOs), and other entities that represent the interests and rights of patients. Your contributions are vital to ensuring that the FDAi addresses the needs and concerns of patients effectively.
diff --git a/community_directory/projects/README.md b/community_directory/projects/README.md
index 6d68ba6f..332e9d4b 100644
--- a/community_directory/projects/README.md
+++ b/community_directory/projects/README.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ A directory of projects within the FDAi initiative, providing descriptions,
+ requirements, and collaboration opportunities.
+emoji: "\U0001F4DA"
+title: FDAi Projects Directory
+tags: 'FDAi, projects, collaboration, community'
+published: true
+editor: markdown
+date: '2025-02-12T16:52:10.998Z'
+dateCreated: '2025-02-12T16:52:10.998Z'
+---
# Projects Directory
Welcome to the Projects Directory of the FDAi Community Directory. This space is dedicated to housing specific project descriptions, requirements, and collaboration opportunities that are part of the FDAi initiative. Here, you can find detailed information about ongoing and upcoming projects, as well as how you can contribute to them.
diff --git a/community_directory/regulatory_legal/README.md b/community_directory/regulatory_legal/README.md
index 3a13a536..0633aea0 100644
--- a/community_directory/regulatory_legal/README.md
+++ b/community_directory/regulatory_legal/README.md
@@ -1,3 +1,16 @@
+---
+description: >-
+ Directory for regulatory and legal partners involved in healthcare and
+ pharmaceuticals, focusing on sharing insights and collaborating on legal
+ frameworks for decentralized health technologies.
+emoji: "\U0001F4DA"
+title: Regulatory and Legal Partners Directory
+tags: 'regulatory, legal, healthcare, pharmaceuticals, decentralized-health, FDAi'
+published: true
+editor: markdown
+date: '2025-02-12T16:52:17.592Z'
+dateCreated: '2025-02-12T16:52:17.592Z'
+---
# Regulatory and Legal Partners Directory
Welcome to the Regulatory and Legal Partners section of the FDAi Community Directory. This folder is dedicated to regulatory experts, legal advisors, and anyone involved in the legal and regulatory aspects of healthcare and pharmaceuticals. Here, we share insights, discuss regulatory frameworks, and collaborate on ensuring that the FDAi operates within legal boundaries while fostering innovation.
diff --git a/community_directory/researchers/README.md b/community_directory/researchers/README.md
index 0eac15dc..e315970f 100644
--- a/community_directory/researchers/README.md
+++ b/community_directory/researchers/README.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ A directory for academic and medical researchers contributing to the FDAi
+ project, facilitating collaboration and resource sharing.
+emoji: "\U0001F4DA"
+title: Researchers Directory
+tags: 'researchers, FDAi, collaboration, resources'
+published: true
+editor: markdown
+date: '2025-02-12T16:52:20.436Z'
+dateCreated: '2025-02-12T16:52:20.436Z'
+---
# Researchers Directory
Welcome to the Researchers Directory of the FDAi Community Directory. This space is dedicated to academic and medical researchers who are contributing their expertise and knowledge to the FDAi project. Here, you can find collaborations, share findings, and access resources that are pertinent to the research community within the FDAi ecosystem.
diff --git a/community_directory/resources/README.md b/community_directory/resources/README.md
index 0cf0dfed..4d9c29b6 100644
--- a/community_directory/resources/README.md
+++ b/community_directory/resources/README.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ Central hub for shared resources, guides, tools, documentation, coding
+ standards, and data handling protocols for the FDAi project
+emoji: "\U0001F4DA"
+title: Resources Directory for FDAi
+tags: 'FDAi, resources, guides, tools, documentation, coding-standards, data-handling'
+published: true
+editor: markdown
+date: '2025-02-12T16:52:23.865Z'
+dateCreated: '2025-02-12T16:52:23.865Z'
+---
# Resources Directory
Welcome to the `/resources` directory of the FDAi Community Directory. This space is dedicated to providing shared resources, guides, tools, documentation, coding standards, and data handling protocols that are essential for the collaboration and development of the FDAi project.
diff --git a/community_directory/templates/open_source_project.md b/community_directory/templates/open_source_project.md
index 073bc216..4bfad083 100644
--- a/community_directory/templates/open_source_project.md
+++ b/community_directory/templates/open_source_project.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ An open-source project with details on its repository, license, features,
+ contribution guidelines, donation information, and contact details.
+emoji: "\U0001F31F"
+title: Open-Source Project Overview
+tags: 'open-source, github, contribution, donation, project-management'
+published: true
+editor: markdown
+date: '2025-02-12T16:52:27.046Z'
+dateCreated: '2025-02-12T16:52:27.046Z'
+---
# Project Name
## Description
diff --git a/community_directory/templates/partner_introduction.md b/community_directory/templates/partner_introduction.md
index 7be90a7d..aceb2428 100644
--- a/community_directory/templates/partner_introduction.md
+++ b/community_directory/templates/partner_introduction.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ A template for partners to introduce themselves in the FDAi Community
+ Directory
+emoji: "\U0001F91D"
+title: Partner Introduction Template
+tags: 'community, partners, template, collaboration'
+published: true
+editor: markdown
+date: '2025-02-12T16:52:29.661Z'
+dateCreated: '2025-02-12T16:52:29.661Z'
+---
# Partner Introduction Template
Welcome to the FDAi Community Directory! This template is designed to help partners introduce themselves to the community. By providing consistent and structured information about each partner, we can foster better collaboration and understanding across the FDAi ecosystem.
diff --git a/community_directory/templates/project_proposal.md b/community_directory/templates/project_proposal.md
index 291db232..a3c51910 100644
--- a/community_directory/templates/project_proposal.md
+++ b/community_directory/templates/project_proposal.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ A template for structuring project proposals for the FDAi Community Directory,
+ guiding contributors to provide detailed information about their initiatives.
+emoji: "\U0001F4CB"
+title: FDAi Project Proposal Template
+tags: 'fda-community, project-proposals, template, guidelines'
+published: true
+editor: markdown
+date: '2025-02-12T16:52:32.792Z'
+dateCreated: '2025-02-12T16:52:32.792Z'
+---
# Project Proposal Template for the FDAi
Thank you for your interest in proposing a project for the FDAi Community Directory. This template is designed to help you structure your proposal in a clear and consistent manner. Please fill out each section with as much detail as possible to ensure a thorough understanding of your project idea.
diff --git a/components/browser-extension/browser-extension.md b/components/browser-extension/browser-extension.md
index a69cbb12..108a94bf 100644
--- a/components/browser-extension/browser-extension.md
+++ b/components/browser-extension/browser-extension.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ A browser extension that allows users to track their mood, symptoms, or
+ desired outcomes quickly through a popup interface.
+emoji: "\U0001F4BB"
+title: Browser Extension for Tracking Outcomes
+tags: 'browser-extension, tracking, mood, symptoms, open-source, development'
+published: true
+editor: markdown
+date: '2025-02-12T16:52:36.010Z'
+dateCreated: '2025-02-12T16:52:36.010Z'
+---
# Browser Extension
By using the Browser Extension, you can track your mood, symptoms, or any outcome you want to optimize in a fraction of a second using a unique popup interface.
diff --git a/components/clinipedia/clinipedia.md b/components/clinipedia/clinipedia.md
index 2434eb8d..a202ca36 100644
--- a/components/clinipedia/clinipedia.md
+++ b/components/clinipedia/clinipedia.md
@@ -1,3 +1,17 @@
+---
+description: >-
+ A comprehensive wiki aggregating all data on the effects of foods, drugs,
+ supplements, and medical interventions on human health
+emoji: "\U0001F4DA"
+title: 'Clinipedia: The Wikipedia of Clinical Research'
+tags: >-
+ clinical-research, data-aggregation, knowledge-base, ai-research,
+ health-outcomes
+published: true
+editor: markdown
+date: '2025-02-12T16:52:39.500Z'
+dateCreated: '2025-02-12T16:52:39.500Z'
+---
# The Wikipedia of Clinical Research

diff --git a/components/data-analysis/data-analysis.md b/components/data-analysis/data-analysis.md
index e2566d54..9e3644f4 100644
--- a/components/data-analysis/data-analysis.md
+++ b/components/data-analysis/data-analysis.md
@@ -1,8 +1,14 @@
---
+description: >-
+ How to quantify treatment effects from challenging sparse, irregular time
+ series data with missing values.
+emoji: "\U0001F4C8"
title: Causal Inference and Optimal Daily Value Determination
-description: How to quantify treatment effects from challenging sparse, irregular time series data with missing values.
+tags: 'causal inference, data analysis, treatment effects, time series'
published: true
-tags: [causal inference, data analysis, treatment effects, time series]
+editor: markdown
+date: '2025-02-12T16:52:43.098Z'
+dateCreated: '2025-02-12T16:52:43.098Z'
---
# 📈 Data Analysis
diff --git a/components/data-collection/data-collection.md b/components/data-collection/data-collection.md
index dc2cfbb9..468014c6 100644
--- a/components/data-collection/data-collection.md
+++ b/components/data-collection/data-collection.md
@@ -1,3 +1,16 @@
+---
+description: >-
+ Overview of data collection methods and data types including wearable sensors,
+ third-party applications, and various data categories such as omics, clinical,
+ and multiscale data.
+emoji: "\U0001F4F2"
+title: Data Collection Methods and Types
+tags: 'data-collection, wearable-sensors, omics-data, clinical-data, multiscale-data'
+published: true
+editor: markdown
+date: '2025-02-12T16:52:46.729Z'
+dateCreated: '2025-02-12T16:52:46.729Z'
+---
# 📲 Data Collection

diff --git a/components/data-collection/notifications.md b/components/data-collection/notifications.md
index 5816b9ab..a2646b0d 100644
--- a/components/data-collection/notifications.md
+++ b/components/data-collection/notifications.md
@@ -1,3 +1,16 @@
+---
+description: >-
+ Web and mobile push notifications with action buttons for recording treatments
+ and symptoms without opening the app, available on Android, iOS, and desktop
+ browsers.
+emoji: "\U0001F4F1"
+title: Notifications with Action Buttons
+tags: 'notifications, action-buttons, data-collection, mobile, web'
+published: true
+editor: markdown
+date: '2025-02-12T16:52:50.084Z'
+dateCreated: '2025-02-12T16:52:50.084Z'
+---
## Notifications with Action Buttons
Web and mobile push notifications with action buttons allow you to easily record treatments and symptoms without opening the app.
diff --git a/components/data-import/data-import.md b/components/data-import/data-import.md
index dd7258fa..1323a291 100644
--- a/components/data-import/data-import.md
+++ b/components/data-import/data-import.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ Framework for importing and normalizing data from various health and
+ productivity applications and devices
+emoji: "\U0001F578"
+title: Data Import Framework
+tags: 'data-import, connectors, health-data, productivity, normalization'
+published: true
+editor: markdown
+date: '2025-02-12T16:52:52.985Z'
+dateCreated: '2025-02-12T16:52:52.985Z'
+---
# 🕸 Data Import

diff --git a/components/data-silo-gateway-api-nodes/data-silo-api-gateways.md b/components/data-silo-gateway-api-nodes/data-silo-api-gateways.md
index 43b986dd..c8a70c6b 100644
--- a/components/data-silo-gateway-api-nodes/data-silo-api-gateways.md
+++ b/components/data-silo-gateway-api-nodes/data-silo-api-gateways.md
@@ -1,3 +1,16 @@
+---
+description: >-
+ FDAi Gateway API Nodes enable data silos to allow individuals to export and
+ save their data locally in PersonalFDA Nodes with secure OAuth2-protected APIs
+ and personal access token management.
+emoji: ⚙️
+title: FDAi Gateway API Nodes
+tags: 'data-silo, api-gateway, fda, personal-data, oauth2, access-tokens'
+published: true
+editor: markdown
+date: '2025-02-12T16:52:56.730Z'
+dateCreated: '2025-02-12T16:52:56.730Z'
+---
## Data Silo API Gateway Nodes

diff --git a/components/digital-twin-safe/digital-twin-safe.md b/components/digital-twin-safe/digital-twin-safe.md
index 5b38d8f0..e0e7f093 100644
--- a/components/digital-twin-safe/digital-twin-safe.md
+++ b/components/digital-twin-safe/digital-twin-safe.md
@@ -1,7 +1,12 @@
---
-title: 👨🤝👨 The Digital Twin Safe 🔒
-description: A little house for your digital twin. 🏡
-tags: [projects, data sharing, data storage]
+description: "A little house for your digital twin. \U0001F3E1"
+emoji: "\U0001F512"
+title: "\U0001F468\U0001F91D\U0001F468 The Digital Twin Safe \U0001F512"
+tags: 'projects, data sharing, data storage'
+published: true
+editor: markdown
+date: '2025-02-12T16:53:00.239Z'
+dateCreated: '2025-02-12T16:53:00.239Z'
---

diff --git a/components/human-ai-collective-intelligence-platform/desci-ai-dao.md b/components/human-ai-collective-intelligence-platform/desci-ai-dao.md
index b255b1de..84424c04 100644
--- a/components/human-ai-collective-intelligence-platform/desci-ai-dao.md
+++ b/components/human-ai-collective-intelligence-platform/desci-ai-dao.md
@@ -1,7 +1,14 @@
---
+description: >-
+ How to create a truly autonomous DAO that actually accelerates scientific
+ progress
+emoji: "\U0001F91D"
title: DeSci DAO AI Agent Framework
-description: How to create a truly autonomous DAO that actually accelerates scientific progress
-tags: [dao, ai, automation, desci]
+tags: 'dao, ai, automation, desci'
+published: true
+editor: markdown
+date: '2025-02-12T16:53:03.217Z'
+dateCreated: '2025-02-12T16:53:03.217Z'
---
# Problem:
diff --git a/components/human-ai-collective-intelligence-platform/dfda-collaboration-framework.md b/components/human-ai-collective-intelligence-platform/dfda-collaboration-framework.md
index 2ea2e9a4..c2987033 100644
--- a/components/human-ai-collective-intelligence-platform/dfda-collaboration-framework.md
+++ b/components/human-ai-collective-intelligence-platform/dfda-collaboration-framework.md
@@ -1,7 +1,14 @@
---
+description: >-
+ A framework for coordinating the efforts of the stakeholders in the FDAi
+ ecosystem.
+emoji: "\U0001F91D"
title: FDAi Collaboration and Collective Intelligence Framework
-description: A framework for coordinating the efforts of the stakeholders in the FDAi ecosystem.
-tags: [dfda, collaborationism, collective intelligence, coordination]
+tags: 'dfda, collaborationism, collective intelligence, coordination'
+published: true
+editor: markdown
+date: '2025-02-12T16:53:06.390Z'
+dateCreated: '2025-02-12T16:53:06.390Z'
---
> **Note:** This document is a work in progress. We welcome contributions and encourage the inclusion of existing projects that align with this framework's objectives. Please [contact us](mailto:grants@crowdsourcingcures.org) if you'd like to implement any aspect of this framework.
diff --git a/components/human-file-system-protocol/human-file-system-protocol.md b/components/human-file-system-protocol/human-file-system-protocol.md
index ce28ffc3..8e85821e 100644
--- a/components/human-file-system-protocol/human-file-system-protocol.md
+++ b/components/human-file-system-protocol/human-file-system-protocol.md
@@ -1,7 +1,15 @@
---
+description: >-
+ The Human File System Protocol SDK is a suite of interoperable software
+ libraries, meticulously designed to facilitate the creation of user-access
+ controlled digital twins on the blockchain.
+emoji: "\U0001F512"
title: Human File System
-description: The Human File System Protocol SDK is a suite of interoperable software libraries, meticulously designed to facilitate the creation of user-access controlled digital twins on the blockchain.
-tags: [data-aggregation, data sharing, data storage]
+tags: 'data-aggregation, data sharing, data storage'
+published: true
+editor: markdown
+date: '2025-02-12T16:53:09.454Z'
+dateCreated: '2025-02-12T16:53:09.454Z'
---
## The Human File System Protocol SDK
diff --git a/components/no-code-app-builder/no-code-app-builder.md b/components/no-code-app-builder/no-code-app-builder.md
index 4ef4ece4..dbb1581b 100644
--- a/components/no-code-app-builder/no-code-app-builder.md
+++ b/components/no-code-app-builder/no-code-app-builder.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ A platform for creating health data collection and analysis applications
+ without coding skills.
+emoji: "\U0001F4CA"
+title: No-Code Health App Builder
+tags: 'health-data, no-code, app-builder, data-management'
+published: true
+editor: markdown
+date: '2025-02-12T16:53:12.342Z'
+dateCreated: '2025-02-12T16:53:12.342Z'
+---
# No-Code Health App Builder
## Overview
diff --git a/components/observational-studies/observational-studies.md b/components/observational-studies/observational-studies.md
index 170af780..9121eb9f 100644
--- a/components/observational-studies/observational-studies.md
+++ b/components/observational-studies/observational-studies.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ A plugin for conducting observational studies, which are used to collect data
+ and identify relationships between variables without intervention.
+emoji: "\U0001F4D1"
+title: Observational Studies Plugin
+tags: 'observational-studies, research-methods, data-collection, scientific-studies'
+published: true
+editor: markdown
+date: '2025-02-12T16:53:15.392Z'
+dateCreated: '2025-02-12T16:53:15.392Z'
+---
# 📑 Observational Studies Plugin
- [Overview](#overview)
diff --git a/components/optimiton-ai-agent/optomitron-ai-agent.md b/components/optimiton-ai-agent/optomitron-ai-agent.md
index 1c17c963..fba644b6 100644
--- a/components/optimiton-ai-agent/optomitron-ai-agent.md
+++ b/components/optimiton-ai-agent/optomitron-ai-agent.md
@@ -1,3 +1,17 @@
+---
+description: >-
+ Optimitron is an AI agent within PersonalFDA nodes that uses causal inference
+ to analyze health factors and provide personalized recommendations.
+emoji: "\U0001F916"
+title: Optimitron AI Agent
+tags: >-
+ ai-agent, causal-inference, personalized-health, data-analysis,
+ pharmacokinetics
+published: true
+editor: markdown
+date: '2025-02-12T16:53:18.950Z'
+dateCreated: '2025-02-12T16:53:18.950Z'
+---
# Optimitron AI Agent
Optimitron is an AI agent that lives in your PersonalFDA node that uses causal inference to estimate how various factors affect your health.
diff --git a/components/outcome-labels/outcome-labels.md b/components/outcome-labels/outcome-labels.md
index 013047ac..3d6f76b2 100644
--- a/components/outcome-labels/outcome-labels.md
+++ b/components/outcome-labels/outcome-labels.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ Introduction to Outcome Labels, a new approach to food and product labeling
+ focusing on health outcomes and symptoms rather than micronutrients.
+emoji: "\U0001F3F7"
+title: Outcome Labels
+tags: 'health, nutrition, food-labels, chronic-disease, innovation'
+published: true
+editor: markdown
+date: '2025-02-12T16:53:22.107Z'
+dateCreated: '2025-02-12T16:53:22.107Z'
+---
# 🏷 Outcome Labels

diff --git a/components/personal-fda-nodes/personal-fda-nodes.md b/components/personal-fda-nodes/personal-fda-nodes.md
index 54fc64e1..586f9d8d 100644
--- a/components/personal-fda-nodes/personal-fda-nodes.md
+++ b/components/personal-fda-nodes/personal-fda-nodes.md
@@ -1,3 +1,16 @@
+---
+description: >-
+ PersonalFDA Nodes are applications that run on personal devices to store and
+ analyze health data using a Digital Twin Safe and an AI agent called
+ Optimitron.
+emoji: "\U0001F916"
+title: PersonalFDA Nodes
+tags: 'personal-health, data-analysis, AI-agent, Digital-Twin-Safe, Optimitron'
+published: true
+editor: markdown
+date: '2025-02-12T16:53:25.518Z'
+dateCreated: '2025-02-12T16:53:25.518Z'
+---
## 2. PersonalFDA Nodes
PersonalFDA Nodes are applications that can run on your phone or computer. They import, store, and analyze your data to identify how various factors affect your health. They can also be used to share anonymous analytical results with the [Clinipedia FDAi Wiki](../clinipedia/clinipedia.md) in a secure and privacy-preserving manner.
diff --git a/components/predictor-search-engine/predictor-search-engine.md b/components/predictor-search-engine/predictor-search-engine.md
index d8873a21..9681b322 100644
--- a/components/predictor-search-engine/predictor-search-engine.md
+++ b/components/predictor-search-engine/predictor-search-engine.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ A search engine plugin that uses aggregated user data to identify factors
+ influencing health, offering personalized effectiveness rates of treatments.
+emoji: "\U0001F50D"
+title: Predictor Search Engine Plugin
+tags: 'health, wellness, search-engine, personalized-medicine, data-aggregation'
+published: true
+editor: markdown
+date: '2025-02-12T16:53:28.700Z'
+dateCreated: '2025-02-12T16:53:28.700Z'
+---
# 🔎 Predictor Search Engine Plugin
Aggregated user data is used to determine the factors that most influence any given aspect of health, powering the QM Search Engine.
diff --git a/components/root-cause-analysis-reports/root-cause-analysis-reports.md b/components/root-cause-analysis-reports/root-cause-analysis-reports.md
index 36d892c9..cb0c0858 100644
--- a/components/root-cause-analysis-reports/root-cause-analysis-reports.md
+++ b/components/root-cause-analysis-reports/root-cause-analysis-reports.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ Analysis of the failures in current clinical research systems leading to high
+ costs and lack of data on non-patentable factors affecting chronic conditions
+emoji: "\U0001F50D"
+title: Root Cause Analysis Reports
+tags: 'clinical-research, autoimmune-diseases, mental-health, costs, data-gaps'
+published: true
+editor: markdown
+date: '2025-02-12T16:53:32.075Z'
+dateCreated: '2025-02-12T16:53:32.075Z'
+---
# Root Cause Analysis Reports

diff --git a/dfda-sitemap.md b/dfda-sitemap.md
index 792e5e6e..7484d225 100644
--- a/dfda-sitemap.md
+++ b/dfda-sitemap.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ Overview of top-level pages for the dFDA wiki, including Home, About, Get
+ Involved, and Treatments & Rankings sections.
+emoji: "\U0001F4DA"
+title: dFDA Top-Level Pages
+tags: 'dfda, wiki-structure, decentralized-fda, treatments, rankings'
+published: true
+editor: markdown
+date: '2025-02-12T16:53:35.481Z'
+dateCreated: '2025-02-12T16:53:35.481Z'
+---
## Top-Level Pages
1. **Home**
diff --git a/disease-eradication-act/disease-eradication-act-cost-benefit-analysis.md b/disease-eradication-act/disease-eradication-act-cost-benefit-analysis.md
index 06a63bca..df8602b7 100644
--- a/disease-eradication-act/disease-eradication-act-cost-benefit-analysis.md
+++ b/disease-eradication-act/disease-eradication-act-cost-benefit-analysis.md
@@ -1,3 +1,18 @@
+---
+description: >-
+ Quantitative analysis of the economic impacts of the Disease Eradication Act,
+ estimating up to $2.25 trillion in annual benefits with costs around $10
+ billion.
+emoji: "\U0001F4CA"
+title: Quantitative Cost-Benefit Analysis of the Disease Eradication Act
+tags: >-
+ disease-eradication-act, cost-benefit-analysis, healthcare-policy,
+ economic-impact
+published: true
+editor: markdown
+date: '2025-02-12T16:53:39.410Z'
+dateCreated: '2025-02-12T16:53:39.410Z'
+---
# Quantitative Cost-Benefit Analysis of the Disease Eradication Act
## Executive Summary
diff --git a/disease-eradication-act/disease-eradication-act-details.md b/disease-eradication-act/disease-eradication-act-details.md
index 8796dc55..df690128 100644
--- a/disease-eradication-act/disease-eradication-act-details.md
+++ b/disease-eradication-act/disease-eradication-act-details.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ Legislation aiming to reform the FDA approval process by addressing delays,
+ accessibility issues, and high costs in drug development.
+emoji: "\U0001F3E5"
+title: Disease Eradication Act
+tags: 'FDA-reform, drug-development, clinical-trials, health-policy, legislation'
+published: true
+editor: markdown
+date: '2025-02-12T16:53:42.927Z'
+dateCreated: '2025-02-12T16:53:42.927Z'
+---
# Disease Eradication Act
## Section 1. Short Title and Findings
diff --git a/disease-eradication-act/disease-eradication-act-summary.md b/disease-eradication-act/disease-eradication-act-summary.md
index be788a09..b25fa6f2 100644
--- a/disease-eradication-act/disease-eradication-act-summary.md
+++ b/disease-eradication-act/disease-eradication-act-summary.md
@@ -1,3 +1,17 @@
+---
+description: >-
+ Executive summary of the Disease Eradication Act, focusing on patient rights,
+ decentralized trials, and reducing costs in drug development.
+emoji: "\U0001F496"
+title: 'Disease Eradication Act: Executive Summary'
+tags: >-
+ decentralized-trials, patient-rights, drug-development, cost-reduction,
+ FDA-reform
+published: true
+editor: markdown
+date: '2025-02-12T16:53:46.416Z'
+dateCreated: '2025-02-12T16:53:46.416Z'
+---
# 💖 DISEASE ERADICATION ACT: Executive Summary
This Act guarantees patient rights to participate in decentralized trials for the most promising treatment. It achieves
diff --git a/disease-eradication-act/disease-eradication-act.md b/disease-eradication-act/disease-eradication-act.md
index 57265015..4e6774f5 100644
--- a/disease-eradication-act/disease-eradication-act.md
+++ b/disease-eradication-act/disease-eradication-act.md
@@ -1,3 +1,18 @@
+---
+description: >-
+ A legislative proposal to address issues in drug development and patient
+ rights, including regulatory delays, high costs, low trial enrollment, and
+ limited access to emerging therapies.
+emoji: "\U0001FA7A"
+title: Disease Eradication Act
+tags: >-
+ drug-development, regulatory-reform, patient-rights, clinical-trials,
+ health-policy
+published: true
+editor: markdown
+date: '2025-02-12T16:53:49.956Z'
+dateCreated: '2025-02-12T16:53:49.956Z'
+---
# DISEASE ERADICATION ACT
## 1. PROBLEMS THIS ACT ADDRESSES
diff --git a/economic-models.md b/economic-models.md
index 8a07fd34..68ae99e7 100644
--- a/economic-models.md
+++ b/economic-models.md
@@ -1,4 +1,16 @@
---
+description: >-
+ Various analyses illustrating the benefits of a global system for automating
+ decentralized clinical trials
+emoji: "\U0001F4CA"
+title: Economic Models and Cost-Benefit Analyses of Decentralized FDA
+tags: 'economic-models, cost-benefit-analysis, decentralized-clinical-trials, FDA'
+published: true
+editor: markdown
+date: '2025-02-12T16:54:02.221Z'
+dateCreated: '2025-02-12T16:54:02.221Z'
+---
+---
title: Economic Models of the Costs and Benefits of a Global Decentralized Autonomous Algorithmic FDA
description: Various analyses illustrating the benefits of a global system for automating decentralized clinical trials
published: true
diff --git a/economic-models/dfda-cost-benefit-analysis-claude-3.5-sonnet.md b/economic-models/dfda-cost-benefit-analysis-claude-3.5-sonnet.md
index 0a916cea..2ecd7d7b 100644
--- a/economic-models/dfda-cost-benefit-analysis-claude-3.5-sonnet.md
+++ b/economic-models/dfda-cost-benefit-analysis-claude-3.5-sonnet.md
@@ -1,4 +1,18 @@
---
+description: >-
+ Transforming FDA.gov into a decentralized clinical trials platform is
+ projected to cost $26.3B over 10 years while delivering over $1T in benefits,
+ resulting in an NPV of $974B, an IRR of 127%, a ROI ratio of 37:1, and
+ breakeven by Year 3.
+emoji: "\U0001F4C8"
+title: dFDA Cost-Benefit Analysis
+tags: 'economic-models, decentralized-fda, clinical-trials, roi'
+published: true
+editor: markdown
+date: '2025-02-12T16:53:54.711Z'
+dateCreated: '2025-02-12T16:53:54.711Z'
+---
+---
title: dFDA Cost Benefit Analysis
description: Transforming FDA.gov into a decentralized clinical trials platform is projected to cost $26.3B over 10 years while delivering over $1T in benefits, resulting in an NPV of $974B, an IRR of 127%, a ROI ratio of 37:1, and breakeven by Year 3.
published: true
@@ -209,4 +223,4 @@ This analysis uses:
- Healthcare technology adoption studies
- Real-world evidence impact studies
-*Note: All monetary values in USD. Projections based on available data and conservative estimates.*
\ No newline at end of file
+*Note: All monetary values in USD. Projections based on available data and conservative estimates.*
diff --git a/economic-models/dfda-cost-benefit-analysis-gemini-2-thinking.md b/economic-models/dfda-cost-benefit-analysis-gemini-2-thinking.md
index 4f9fc3b2..a3f519b8 100644
--- a/economic-models/dfda-cost-benefit-analysis-gemini-2-thinking.md
+++ b/economic-models/dfda-cost-benefit-analysis-gemini-2-thinking.md
@@ -1,4 +1,17 @@
---
+description: >-
+ Investing $11.95 billion over 10 years to transform FDA.gov into a global
+ decentralized autonomous FDA could yield $406 billion in benefits with an ROI
+ of 3297% and a benefit-cost ratio of 34.
+emoji: "\U0001F4C8"
+title: dFDA Cost Benefit Analysis
+tags: 'economic-models, decentralized-fda, blockchain, ai, cost-benefit-analysis'
+published: true
+editor: markdown
+date: '2025-02-12T16:53:58.906Z'
+dateCreated: '2025-02-12T16:53:58.906Z'
+---
+---
title: dFDA Cost Benefit Analysis
description: Investing approximately $11.95 billion over 10 years to transform FDA.gov into a global, decentralized, autonomous FDA could yield around $406 billion in benefits—an impressive ROI of roughly 3297% with a benefit-cost ratio of 34.
published: true
@@ -155,4 +168,4 @@ Based on this preliminary analysis, upgrading FDA.gov into a global decentralize
* **Focus on Data Privacy and Security:** Prioritize data privacy and security from the outset, embedding privacy-preserving technologies and robust security protocols into the system design.
* **Address Ethical and Governance Issues:** Proactively address the ethical and governance challenges of an autonomous global health data platform.
-While the vision of a global decentralized, autonomous FDA is ambitious and faces considerable hurdles, the potential benefits in terms of cost savings, accelerated medical progress, and improved global health are compelling and warrant serious consideration and further investigation. The high ROI potential suggests that such an investment could be transformative for healthcare and medical research in the long term.
\ No newline at end of file
+While the vision of a global decentralized, autonomous FDA is ambitious and faces considerable hurdles, the potential benefits in terms of cost savings, accelerated medical progress, and improved global health are compelling and warrant serious consideration and further investigation. The high ROI potential suggests that such an investment could be transformative for healthcare and medical research in the long term.
diff --git a/ecosystem/ageless-partners.md b/ecosystem/ageless-partners.md
index d00d569f..05bd6279 100644
--- a/ecosystem/ageless-partners.md
+++ b/ecosystem/ageless-partners.md
@@ -1,11 +1,17 @@
---
+description: >-
+ Ageless Partners LLC is a research company focused on developing machine
+ learning and AI innovations for analyzing complex datasets to reverse aging
+ and advance anti-aging medical science.
+emoji: evity
title: ageless-partners
-description:
+tags: >-
+ anti-aging, machine-learning, artificial-intelligence, personalized-medicine,
+ healthcare, research
published: true
-date: 2022-09-01T10:52:19.940Z
-tags:
editor: markdown
-dateCreated: 2022-07-27T21:22:20.859Z
+date: '2022-09-01T10:52:19.940Z'
+dateCreated: '2022-07-27T21:22:20.859Z'
---
# Ageless Partners
diff --git a/ecosystem/crowdsourcing-cures.md b/ecosystem/crowdsourcing-cures.md
index 4d988285..efe18e97 100644
--- a/ecosystem/crowdsourcing-cures.md
+++ b/ecosystem/crowdsourcing-cures.md
@@ -1,11 +1,15 @@
---
+description: >-
+ Exploration of the societal and financial costs of neurological disorders and
+ mental illnesses, emphasizing the potential benefits of redirecting wasted
+ resources towards solving global issues.
+emoji: "\U0001F9E0"
title: Crowdsourcing Cures
-description:
+tags: 'neurological-disorders, mental-health, societal-costs, resource-allocation'
published: true
-date: 2022-08-26T19:04:23.080Z
-tags:
editor: markdown
-dateCreated: 2022-07-27T21:22:24.826Z
+date: '2022-08-26T19:04:23.080Z'
+dateCreated: '2022-07-27T21:22:24.826Z'
---
More than a billion minds are currently debilitated by a neurological disorder or mental illness.
diff --git a/ecosystem/opencures.md b/ecosystem/opencures.md
index a3f6aac1..b0b79276 100644
--- a/ecosystem/opencures.md
+++ b/ecosystem/opencures.md
@@ -1,11 +1,16 @@
---
+description: >-
+ OpenCures is a platform that accelerates intervention development by
+ empowering individuals with advanced personal health management tools and
+ connecting them to research through data ownership, biobanking, and trial
+ management services.
+emoji: "\U0001FA78"
title: OpenCures
-description:
+tags: 'health-data, biobanking, clinical-trials, personal-health-management, research'
published: true
-date: 2022-08-26T20:24:32.745Z
-tags:
editor: markdown
-dateCreated: 2022-07-27T21:22:28.927Z
+date: '2022-08-26T20:24:32.745Z'
+dateCreated: '2022-07-27T21:22:28.927Z'
---
# OpenCures
diff --git a/fdai/drug-classification.md b/fdai/drug-classification.md
index 38bf74f6..e680d319 100644
--- a/fdai/drug-classification.md
+++ b/fdai/drug-classification.md
@@ -4,11 +4,7 @@ description: >-
categorize drugs as OTC, prescription-only, or scheduled.
emoji: "\U0001F4CA"
title: Quantitative Data for Drug Regulation
-tags:
- - drug-regulation
- - efficacy
- - safety
- - quantitative-data
+tags: 'drug-regulation, efficacy, safety, quantitative-data'
published: true
editor: markdown
date: '2025-02-09T16:34:33.103Z'
diff --git a/fdai/fdai-act.md b/fdai/fdai-act.md
index b1be5a0c..35cbcb95 100644
--- a/fdai/fdai-act.md
+++ b/fdai/fdai-act.md
@@ -5,12 +5,7 @@ description: >-
health equity.
emoji: "\U0001F3E5"
title: The FDA Innovation through Data and AI Act (FDAi Act)
-tags:
- - healthcare
- - AI
- - data-analysis
- - regulation
- - clinical-research
+tags: 'healthcare, AI, data-analysis, regulation, clinical-research'
published: true
editor: markdown
date: '2025-02-09T16:34:38.071Z'
diff --git a/fdai/fdai-system-prompt.md b/fdai/fdai-system-prompt.md
index 50bf4ba1..3bfba7ec 100644
--- a/fdai/fdai-system-prompt.md
+++ b/fdai/fdai-system-prompt.md
@@ -4,12 +4,7 @@ description: >-
drug effects, optimizing diet and supplements, and exploring clinical trials.
emoji: "\U0001F916"
title: Autonomous FDAi Agent for Health Optimization
-tags:
- - health-tech
- - data-collection
- - clinical-trials
- - nutrition
- - symptom-analysis
+tags: 'health-tech, data-collection, clinical-trials, nutrition, symptom-analysis'
published: true
editor: markdown
date: '2025-02-09T16:34:42.986Z'
diff --git a/fdai/fdai.md b/fdai/fdai.md
index 0b7a1cef..694bbb0d 100644
--- a/fdai/fdai.md
+++ b/fdai/fdai.md
@@ -4,16 +4,12 @@ description: >-
with automated data collection methods.
emoji: "\U0001F916"
title: 'Automating Clinical Research: Cost Savings and Data Collection'
-featuredImage: black-box-model-animation2.gif
-tags:
- - automation
- - clinical-research
- - data-collection
- - artificial-intelligence
+tags: 'automation, clinical-research, data-collection, artificial-intelligence'
published: true
editor: markdown
date: '2025-02-09T16:34:48.009Z'
dateCreated: '2025-02-09T16:34:48.009Z'
+featuredImage: black-box-model-animation2.gif
---
## Imagine if we could automate clinical research!
diff --git a/fdai/petition.md b/fdai/petition.md
index fc33ffa3..6bbcb1e4 100644
--- a/fdai/petition.md
+++ b/fdai/petition.md
@@ -4,11 +4,7 @@ description: >-
healthcare using AI.
emoji: "\U0001F3E5"
title: Petition for the Establishment of the FDAi System
-tags:
- - healthcare
- - artificial-intelligence
- - regulation
- - policy
+tags: 'healthcare, artificial-intelligence, regulation, policy'
published: true
editor: markdown
date: '2025-02-09T16:34:52.601Z'
diff --git a/fdai/presentation.md b/fdai/presentation.md
index f49bfeb1..785a4c1c 100644
--- a/fdai/presentation.md
+++ b/fdai/presentation.md
@@ -4,18 +4,13 @@ description: >-
health issues caused by untested chemicals and poor diets.
emoji: "\U0001F52C"
title: The Case for Personal FDAi Agents
-number: 1m
-textFollowingNumber: people commit suicide every year
-tags:
- - health
- - chronic-diseases
- - chemicals
- - microbiome
- - clinical-trials
+tags: 'health, chronic-diseases, chemicals, microbiome, clinical-trials'
published: true
editor: markdown
date: '2025-02-09T16:34:58.059Z'
dateCreated: '2025-02-09T16:34:58.059Z'
+number: 1m
+textFollowingNumber: people commit suicide every year
---
# Benefits of Personal FDAi Agents
diff --git a/fdai/scenario.md b/fdai/scenario.md
index bd8ca9ed..462dea34 100644
--- a/fdai/scenario.md
+++ b/fdai/scenario.md
@@ -4,18 +4,13 @@ description: >-
dietary adjustment recommendations for a vegetarian patient.
emoji: "\U0001F331"
title: Inflammation-Mediated Depression and Dietary Adjustments
-number: '10'
-textFollowingNumber: 'days after exposure to gluten, alcohol, or lectins'
-tags:
- - inflammation
- - depression
- - dietary-adjustments
- - vegetarian
- - health
+tags: 'inflammation, depression, dietary-adjustments, vegetarian, health'
published: true
editor: markdown
date: '2025-02-09T16:35:03.599Z'
dateCreated: '2025-02-09T16:35:03.599Z'
+number: '10'
+textFollowingNumber: 'days after exposure to gluten, alcohol, or lectins'
---
The FDAi agent is talking to a human who has depression. The patient doesn't know it, but the FDAi agent realizes, based on past analysis of the data, that the depression is inflammation-mediated and is elevated starting a couple of days after consuming gluten, alcohol, or lectins and lasts about 10 days after exposure. The patient also has arthritis, acne, and psoriasis. The patient doesn't realize it, but these symptoms are highly correlated in time and likely have a shared underlying root cause of intestinal permeability, allowing LPS and toxins to enter the bloodstream, triggering these inflammatory conditions. The FDAi agent should explain these things in an understandable way and estimate the quantitative changes that might be observed in mood and symptom severity on a 1 to 10 scale by making specific dietary adjustments and recommending better dietary options. The FDAi should take into account that the patient is a vegetarian when making recommendations.
diff --git a/fdai/simulated-conversation.md b/fdai/simulated-conversation.md
index 0f276fab..54afd59f 100644
--- a/fdai/simulated-conversation.md
+++ b/fdai/simulated-conversation.md
@@ -4,19 +4,13 @@ description: >-
to dietary factors.
emoji: "\U0001FA7A"
title: FDAi Agent Analyzes Patient's Health Concerns
-number: '10'
-textFollowingNumber: days symptoms last after dietary exposure
-tags:
- - health
- - diet
- - inflammation
- - arthritis
- - psoriasis
- - depression
+tags: 'health, diet, inflammation, arthritis, psoriasis, depression'
published: true
editor: markdown
date: '2025-02-09T16:35:09.090Z'
dateCreated: '2025-02-09T16:35:09.090Z'
+number: '10'
+textFollowingNumber: days symptoms last after dietary exposure
---
Interaction with the FDAi agent, focusing on its functionalities and addressing the patient's health concerns:
diff --git a/features/data-analysis-plugins.md b/features/data-analysis-plugins.md
index 2836f46e..ef3bc97c 100644
--- a/features/data-analysis-plugins.md
+++ b/features/data-analysis-plugins.md
@@ -1,11 +1,14 @@
---
-title: 🖥 Data Analysis Plugins
-description:
+description: >-
+ Visualizations of data analysis and discovery scatterplots in biomedical
+ research
+emoji: "\U0001F4CA"
+title: "\U0001F5A5 Data Analysis Plugins"
+tags: 'data-analysis, biomedical-research, visualizations'
published: false
-date: 2022-08-28T15:09:33.317Z
-tags:
editor: markdown
-dateCreated: 2022-07-27T21:22:45.335Z
+date: '2022-08-28T15:09:33.317Z'
+dateCreated: '2022-07-27T21:22:45.335Z'
---

diff --git a/features/data-collection-plugins.md b/features/data-collection-plugins.md
index 755c0a15..6b21fb67 100644
--- a/features/data-collection-plugins.md
+++ b/features/data-collection-plugins.md
@@ -1,11 +1,14 @@
---
-title: 📲 Data Collection Plugins
-description: Data collection can be done using wearable sensors, third-party applications, and client applications.
+description: >-
+ Data collection can be done using wearable sensors, third-party applications,
+ and client applications.
+emoji: "\U0001F4CA"
+title: "\U0001F4F2 Data Collection Plugins"
+tags: 'data-collection, clinical-research, omics-data, imaging-data, wearable-sensors'
published: true
-date: 2022-08-28T15:16:12.088Z
-tags:
editor: markdown
-dateCreated: 2022-07-27T21:22:48.973Z
+date: '2022-08-28T15:16:12.088Z'
+dateCreated: '2022-07-27T21:22:48.973Z'
---

diff --git a/features/life-force-score-nft.md b/features/life-force-score-nft.md
index 7e73fd87..ed0327e7 100644
--- a/features/life-force-score-nft.md
+++ b/features/life-force-score-nft.md
@@ -1,15 +1,16 @@
---
-title: Life Force Score
description: Gamification to Incentivize Healthy Behaviour
+emoji: "\U0001F3AE"
+title: Life Force Score
+tags: 'digital-twins, nft, metaverse, health-data, gaming'
published: true
-date: 2023-10-26T21:36:53.402Z
-tags:
editor: markdown
-dateCreated: 2023-10-26T21:36:53.402Z
+date: '2023-10-26T21:36:53.402Z'
+dateCreated: '2023-10-26T21:36:53.402Z'
---

The avatar image and Life Force Score metadata are updated daily based on their imported data performing healthy activities, such as having a good sleep schedule, hydrating, and exercising.
-This metadata is available to various metaverse game ecosystems and can influence their scores and abilities in these games.
\ No newline at end of file
+This metadata is available to various metaverse game ecosystems and can influence their scores and abilities in these games.
diff --git a/features/optomitron-real-time-notifications-plugin.md b/features/optomitron-real-time-notifications-plugin.md
index cc41bf1d..9ddc5279 100644
--- a/features/optomitron-real-time-notifications-plugin.md
+++ b/features/optomitron-real-time-notifications-plugin.md
@@ -1,11 +1,14 @@
---
-title: 🤖 Optomitron Real-Time Decision Support Plugin
-description: Optomitron is an AI assistant that analyzes your data discover which hidden factors are most likely to worsen or improve inflammatory symptom severity.
+description: >-
+ Optomitron is an AI assistant that analyzes your data discover which hidden
+ factors are most likely to worsen or improve inflammatory symptom severity.
+emoji: "\U0001F916"
+title: "\U0001F916 Optomitron Real-Time Decision Support Plugin"
+tags: 'AI, autoimmune-diseases, pharmacokinetics, symptom-management, inflammation'
published: true
-date: 2022-08-28T15:13:03.741Z
-tags:
editor: markdown
-dateCreated: 2022-07-27T21:23:01.064Z
+date: '2022-08-28T15:13:03.741Z'
+dateCreated: '2022-07-27T21:23:01.064Z'
---
Optimitron is an AI assistant that asks you about your symptoms and potential factors. Then she applies pharmacokinetic predictive analysis to inform you of the most important things you can do to minimize symptom severity.
diff --git a/features/outcome-labels-plugin.md b/features/outcome-labels-plugin.md
index 1039db2e..5645fc5e 100644
--- a/features/outcome-labels-plugin.md
+++ b/features/outcome-labels-plugin.md
@@ -1,11 +1,14 @@
---
-title: 🏷 Outcome Labels Plugin
-description:
+description: >-
+ Proposal for replacing traditional nutrition labels with outcome labels to
+ better inform consumers about health impacts
+emoji: "\U0001F4CA"
+title: "\U0001F3F7 Outcome Labels Plugin"
+tags: 'nutrition, health-outcomes, food-labels, public-health'
published: true
-date: 2022-08-28T15:12:30.345Z
-tags:
editor: markdown
-dateCreated: 2022-07-27T21:23:05.142Z
+date: '2022-08-28T15:12:30.345Z'
+dateCreated: '2022-07-27T21:23:05.142Z'
---

diff --git a/features/predictor-search-engine-plugin.md b/features/predictor-search-engine-plugin.md
index 6eb965f2..6c706406 100644
--- a/features/predictor-search-engine-plugin.md
+++ b/features/predictor-search-engine-plugin.md
@@ -1,11 +1,15 @@
---
-title: 🔎 Predictor Search Engine Plugin
-description:
+description: >-
+ A search engine that uses aggregated user data to determine the most effective
+ products for health and wellness goals, offering personalized treatment
+ effectiveness rates and root cause likelihoods.
+emoji: "\U0001F50D"
+title: "\U0001F50E Predictor Search Engine Plugin"
+tags: 'health, wellness, data-aggregation, personalized-medicine, search-engine'
published: true
-date: 2022-08-28T15:11:47.523Z
-tags:
editor: markdown
-dateCreated: 2022-07-27T21:23:08.952Z
+date: '2022-08-28T15:11:47.523Z'
+dateCreated: '2022-07-27T21:23:08.952Z'
---
Aggregated user data is used to determine the factors that most influence any given aspect of health, powering the QM Search Engine.
diff --git a/features/root-cause-analysis-plugin.md b/features/root-cause-analysis-plugin.md
index 03a85b35..ccaddfdd 100644
--- a/features/root-cause-analysis-plugin.md
+++ b/features/root-cause-analysis-plugin.md
@@ -1,11 +1,14 @@
---
-title: 🥕 Root Cause Analysis Plugin
-description: Reports are intended to help you and your physician to gain insight into the root causes and effective solutions to help you minimize your symptoms.
+description: >-
+ Reports are intended to help you and your physician to gain insight into the
+ root causes and effective solutions to help you minimize your symptoms.
+emoji: " 自动生成的报告 \U0001F4CA"
+title: "\U0001F955 Root Cause Analysis Plugin"
+tags: 'root-cause-analysis, health, symptoms, CuroBot'
published: true
-date: 2022-08-28T15:10:37.898Z
-tags:
editor: markdown
-dateCreated: 2022-07-27T21:23:13.115Z
+date: '2022-08-28T15:10:37.898Z'
+dateCreated: '2022-07-27T21:23:13.115Z'
---
These automatically generated reports are intended to help you and your physician to gain insight into the root causes and effective solutions to help you minimize your symptoms.
diff --git a/interventions/focused-ultrasound.md b/interventions/focused-ultrasound.md
index afdd707a..226efd15 100644
--- a/interventions/focused-ultrasound.md
+++ b/interventions/focused-ultrasound.md
@@ -1,11 +1,16 @@
---
+description: >-
+ Summary of completed studies on the use of focused ultrasound for treating
+ depression, including findings on safety and efficacy.
+emoji: "\U0001F9E0"
title: Focused Ultrasound
-description:
+tags: >-
+ focused-ultrasound, depression, MDD, OCD, treatment-resistant,
+ clinical-studies
published: true
-date: 2023-10-02T01:47:34.315Z
-tags: interventions, depression, focused ultrasound
editor: markdown
-dateCreated: 2023-10-02T01:37:27.297Z
+date: '2023-10-02T01:47:34.315Z'
+dateCreated: '2023-10-02T01:37:27.297Z'
---
diff --git a/one-pager.md b/one-pager.md
index 8076c066..36b0b5aa 100644
--- a/one-pager.md
+++ b/one-pager.md
@@ -1,3 +1,18 @@
+---
+description: >-
+ A proposal for a decentralized autonomous FDA (dFDA) aiming to reduce clinical
+ trial costs, provide personalized treatment recommendations, and ensure
+ comprehensive transparency in drug evaluation.
+emoji: "\U0001F310"
+title: Decentralized Autonomous FDA (dFDA) Proposal
+tags: >-
+ decentralized-fda, clinical-research, cost-reduction, personalized-medicine,
+ transparency
+published: true
+editor: markdown
+date: '2025-02-12T16:55:11.895Z'
+dateCreated: '2025-02-12T16:55:11.895Z'
+---
### 🌐 Proposal: Decentralized Autonomous FDA (dFDA)
#### **Mission:**
diff --git a/otc-drugs.md b/otc-drugs.md
index 95dfc5f2..310b0dad 100644
--- a/otc-drugs.md
+++ b/otc-drugs.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ Table estimating the number of lives that could be saved annually by
+ increasing accessibility to certain drugs
+emoji: "\U0001FA7A"
+title: Estimated Lives Saved by Increased Drug Accessibility
+tags: 'public-health, drugs, lives-saved, accessibility'
+published: true
+editor: markdown
+date: '2025-02-12T16:55:14.923Z'
+dateCreated: '2025-02-12T16:55:14.923Z'
+---
Here’s an estimated table of the number of lives that could potentially be saved annually if these drugs were made more accessible, based on available data and studies:
| **Drug** | **Purpose** | **Estimated Lives Saved Annually** | **Source of Deaths Prevented** |
diff --git a/package-lock.json b/package-lock.json
index 62f0db76..3bbe1b31 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -14,6 +14,7 @@
"@ai-sdk/provider": "^1.0.0",
"@ai-sdk/xai": "^1.0.0",
"@aws-sdk/client-s3": "^3.0.0",
+ "@notionhq/client": "^2.2.15",
"@types/events": "^3.0.3",
"ai": "^3.0.0",
"dotenv": "^16.4.7",
@@ -28,7 +29,9 @@
"zod": "^3.24.1"
},
"devDependencies": {
- "jest": "^29.7.0"
+ "@types/jest": "^29.5.14",
+ "jest": "^29.7.0",
+ "ts-jest": "^29.2.5"
}
},
"node_modules/@ai-sdk/anthropic": {
@@ -2292,6 +2295,19 @@
"resolved": "https://registry.npmjs.org/@kwsites/promise-deferred/-/promise-deferred-1.1.1.tgz",
"integrity": "sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw=="
},
+ "node_modules/@notionhq/client": {
+ "version": "2.2.15",
+ "resolved": "https://registry.npmjs.org/@notionhq/client/-/client-2.2.15.tgz",
+ "integrity": "sha512-XhdSY/4B1D34tSco/GION+23GMjaS9S2zszcqYkMHo8RcWInymF6L1x+Gk7EmHdrSxNFva2WM8orhC4BwQCwgw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/node-fetch": "^2.5.10",
+ "node-fetch": "^2.6.1"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
"node_modules/@opentelemetry/api": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.0.tgz",
@@ -3099,6 +3115,17 @@
"@types/istanbul-lib-report": "*"
}
},
+ "node_modules/@types/jest": {
+ "version": "29.5.14",
+ "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.14.tgz",
+ "integrity": "sha512-ZN+4sdnLUbo8EVvVc2ao0GFW6oVrQRPn4K2lglySj7APvSrgzxHiNNK99us4WDMi57xxA2yggblIAMNhXOotLQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "expect": "^29.0.0",
+ "pretty-format": "^29.0.0"
+ }
+ },
"node_modules/@types/node": {
"version": "18.19.74",
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.74.tgz",
@@ -3449,6 +3476,13 @@
"safer-buffer": "~2.1.0"
}
},
+ "node_modules/async": {
+ "version": "3.2.6",
+ "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz",
+ "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/asynckit": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
@@ -3689,6 +3723,19 @@
"node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
}
},
+ "node_modules/bs-logger": {
+ "version": "0.2.6",
+ "resolved": "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz",
+ "integrity": "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fast-json-stable-stringify": "2.x"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
"node_modules/bser": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz",
@@ -4071,6 +4118,7 @@
"version": "16.4.7",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz",
"integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==",
+ "license": "BSD-2-Clause",
"engines": {
"node": ">=12"
},
@@ -4078,6 +4126,22 @@
"url": "https://dotenvx.com"
}
},
+ "node_modules/ejs": {
+ "version": "3.1.10",
+ "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.10.tgz",
+ "integrity": "sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "jake": "^10.8.5"
+ },
+ "bin": {
+ "ejs": "bin/cli.js"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
"node_modules/electron-to-chromium": {
"version": "1.5.96",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.96.tgz",
@@ -4304,6 +4368,39 @@
"bser": "2.1.1"
}
},
+ "node_modules/filelist": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz",
+ "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "minimatch": "^5.0.1"
+ }
+ },
+ "node_modules/filelist/node_modules/brace-expansion": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
+ "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0"
+ }
+ },
+ "node_modules/filelist/node_modules/minimatch": {
+ "version": "5.1.6",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz",
+ "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
"node_modules/fill-range": {
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
@@ -4770,6 +4867,58 @@
"node": ">=8"
}
},
+ "node_modules/jake": {
+ "version": "10.9.2",
+ "resolved": "https://registry.npmjs.org/jake/-/jake-10.9.2.tgz",
+ "integrity": "sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "async": "^3.2.3",
+ "chalk": "^4.0.2",
+ "filelist": "^1.0.4",
+ "minimatch": "^3.1.2"
+ },
+ "bin": {
+ "jake": "bin/cli.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/jake/node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/jake/node_modules/chalk": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
"node_modules/jest": {
"version": "29.7.0",
"resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz",
@@ -5955,6 +6104,13 @@
"node": ">=8"
}
},
+ "node_modules/lodash.memoize": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz",
+ "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/lru-cache": {
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
@@ -6003,6 +6159,13 @@
"node": ">=10"
}
},
+ "node_modules/make-error": {
+ "version": "1.3.6",
+ "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",
+ "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==",
+ "dev": true,
+ "license": "ISC"
+ },
"node_modules/makeerror": {
"version": "1.0.12",
"resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz",
@@ -7054,6 +7217,68 @@
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
},
+ "node_modules/ts-jest": {
+ "version": "29.2.5",
+ "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.2.5.tgz",
+ "integrity": "sha512-KD8zB2aAZrcKIdGk4OwpJggeLcH1FgrICqDSROWqlnJXGCXK4Mn6FcdK2B6670Xr73lHMG1kHw8R87A0ecZ+vA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "bs-logger": "^0.2.6",
+ "ejs": "^3.1.10",
+ "fast-json-stable-stringify": "^2.1.0",
+ "jest-util": "^29.0.0",
+ "json5": "^2.2.3",
+ "lodash.memoize": "^4.1.2",
+ "make-error": "^1.3.6",
+ "semver": "^7.6.3",
+ "yargs-parser": "^21.1.1"
+ },
+ "bin": {
+ "ts-jest": "cli.js"
+ },
+ "engines": {
+ "node": "^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0"
+ },
+ "peerDependencies": {
+ "@babel/core": ">=7.0.0-beta.0 <8",
+ "@jest/transform": "^29.0.0",
+ "@jest/types": "^29.0.0",
+ "babel-jest": "^29.0.0",
+ "jest": "^29.0.0",
+ "typescript": ">=4.3 <6"
+ },
+ "peerDependenciesMeta": {
+ "@babel/core": {
+ "optional": true
+ },
+ "@jest/transform": {
+ "optional": true
+ },
+ "@jest/types": {
+ "optional": true
+ },
+ "babel-jest": {
+ "optional": true
+ },
+ "esbuild": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/ts-jest/node_modules/semver": {
+ "version": "7.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz",
+ "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
"node_modules/tslib": {
"version": "2.8.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
@@ -7087,6 +7312,21 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/typescript": {
+ "version": "5.7.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz",
+ "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==",
+ "devOptional": true,
+ "license": "Apache-2.0",
+ "peer": true,
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
"node_modules/undici-types": {
"version": "5.26.5",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
diff --git a/package.json b/package.json
index 5fb77e10..00d50570 100644
--- a/package.json
+++ b/package.json
@@ -10,6 +10,7 @@
"@ai-sdk/provider": "^1.0.0",
"@ai-sdk/xai": "^1.0.0",
"@aws-sdk/client-s3": "^3.0.0",
+ "@notionhq/client": "^2.2.15",
"@types/events": "^3.0.3",
"ai": "^3.0.0",
"dotenv": "^16.4.7",
@@ -30,6 +31,14 @@
"test": "jest"
},
"devDependencies": {
- "jest": "^29.7.0"
+ "@types/jest": "^29.5.14",
+ "jest": "^29.7.0",
+ "ts-jest": "^29.2.5"
+ },
+ "jest": {
+ "preset": "ts-jest",
+ "testEnvironment": "node",
+ "testMatch": ["**/tests/**/*.test.ts"],
+ "moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"]
}
}
diff --git a/privacy.md b/privacy.md
index b95762d3..66171eea 100644
--- a/privacy.md
+++ b/privacy.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ Privacy and use policy for the dFDA, detailing data handling practices and
+ participant rights
+emoji: "\U0001F512"
+title: dFDA Privacy and Use Policy
+tags: 'privacy-policy, data-security, health-data, decentralized-fda'
+published: true
+editor: markdown
+date: '2025-02-12T16:55:17.945Z'
+dateCreated: '2025-02-12T16:55:17.945Z'
+---
# The dFDA Privacy and Use Policy
## Your Data:
diff --git a/problems/bias-against-approval.md b/problems/bias-against-approval.md
index fc99017d..9469c438 100644
--- a/problems/bias-against-approval.md
+++ b/problems/bias-against-approval.md
@@ -1,11 +1,12 @@
---
-title: 🧮 Bias Against Approving Effective Treatments
description: Overcoming Cognitive Bias Against Acts of Commission
+emoji: "\U0001F9E0"
+title: "\U0001F9EE Bias Against Approving Effective Treatments"
+tags: 'cognitive-bias, FDA, regulation, decision-making'
published: true
-date: 2022-07-28T03:57:38.074Z
-tags:
editor: markdown
-dateCreated: 2022-07-22T19:03:21.545Z
+date: '2022-07-28T03:57:38.074Z'
+dateCreated: '2022-07-22T19:03:21.545Z'
---
Humans have a cognitive bias towards weighting harmful acts of commission to be worse than acts of omission, even if the act of omission causes greater harm. It's seen in the trolley problem, where people generally aren't willing to push a fat man in front of a train to save a family, even though more lives would be saved.
diff --git a/problems/clinical-research-is-too-expensive.md b/problems/clinical-research-is-too-expensive.md
index c9fcd1d9..d688e7f8 100644
--- a/problems/clinical-research-is-too-expensive.md
+++ b/problems/clinical-research-is-too-expensive.md
@@ -1,11 +1,12 @@
---
-title: 💰 Clinical Research is Too Expensive
description: It costs $2.6 billion to bring a drug to market (including failed attempts).
+emoji: "\U0001F4B0"
+title: "\U0001F4B0 Clinical Research is Too Expensive"
+tags: 'clinical-research, costs, drug-development, phase-iii-trials'
published: true
-date: 2022-07-28T03:58:50.155Z
-tags:
editor: markdown
-dateCreated: 2022-07-22T19:03:26.235Z
+date: '2022-07-28T03:58:50.155Z'
+dateCreated: '2022-07-22T19:03:26.235Z'
---
#### The Cost of Clinical Research
diff --git a/problems/conflicts-of-interest.md b/problems/conflicts-of-interest.md
index 4b175fe0..8c24fada 100644
--- a/problems/conflicts-of-interest.md
+++ b/problems/conflicts-of-interest.md
@@ -1,11 +1,14 @@
---
-title: 🎭 Conflicts of Interest Industry-Controlled Research
-description: When billions of dollars in losses or gains are riding on the results of a study, this will almost inevitably influence the results.
+description: >-
+ When billions of dollars in losses or gains are riding on the results of a
+ study, this will almost inevitably influence the results.
+emoji: "\U0001F4CA"
+title: "\U0001F3AD Conflicts of Interest Industry-Controlled Research"
+tags: 'clinical-trials, conflict-of-interest, pharmaceuticals, beverage-studies'
published: true
-date: 2022-07-29T01:56:32.735Z
-tags:
editor: markdown
-dateCreated: 2022-07-22T19:03:31.052Z
+date: '2022-07-29T01:56:32.735Z'
+dateCreated: '2022-07-22T19:03:31.052Z'
---
Long-term randomized trials are extremely expensive to set up and run. When billions of dollars in losses or gains are riding on the results of a study, this will almost inevitably influence the results. For example, an analysis of beverage studies, [published in the journal PLOS Medicine,](https://web.archive.org/web/20211207021133/https://journals.plos.org/plosmedicine/article?id=10.1371/journal.pmed.1001578#s3) found that those funded by Coca-Cola, PepsiCo, the American Beverage Association, and the sugar industry were **five times** more likely to find no link between sugary drinks and weight gain than studies whose authors reported no financial conflicts.
diff --git a/problems/drug-lag.md b/problems/drug-lag.md
index 5bbe23a6..6d40bf18 100644
--- a/problems/drug-lag.md
+++ b/problems/drug-lag.md
@@ -1,11 +1,14 @@
---
+description: >-
+ A comparative analysis between countries suggests that delays in new
+ interventions cost anywhere from 21,000 to 120, 000 US lives per decade.
+emoji: "\U0001F480"
title: ⏱ Deaths Due to US Regulatory "Drug Lag"
-description: A comparative analysis between countries suggests that delays in new interventions cost anywhere from 21,000 to 120, 000 US lives per decade.
+tags: 'regulatory-delay, drug-lag, life-expectancy, FDA, Switzerland-US-comparison'
published: true
-date: 2022-07-29T02:11:03.058Z
-tags:
editor: markdown
-dateCreated: 2022-07-22T19:03:35.580Z
+date: '2022-07-29T02:11:03.058Z'
+dateCreated: '2022-07-22T19:03:35.580Z'
---
**Delayed Life-Saving Treatments**
diff --git a/problems/insufficient-roi-to-discover-treatments-for-rare-diseases.md b/problems/insufficient-roi-to-discover-treatments-for-rare-diseases.md
index 210d76d0..7db18eec 100644
--- a/problems/insufficient-roi-to-discover-treatments-for-rare-diseases.md
+++ b/problems/insufficient-roi-to-discover-treatments-for-rare-diseases.md
@@ -1,11 +1,17 @@
---
-title: 🤒 Insufficient ROI to Discover Treatments for Rare Diseases
-description: In the case of rare diseases, increasing the cost of treatment development to over a billion makes it impossible to recover your investment from a small number of patients.
+description: >-
+ In the case of rare diseases, increasing the cost of treatment development to
+ over a billion makes it impossible to recover your investment from a small
+ number of patients.
+emoji: "\U0001F52C"
+title: "\U0001F912 Insufficient ROI to Discover Treatments for Rare Diseases"
+tags: >-
+ rare-diseases, self-experimentation, regulatory-burdens, harm-reduction,
+ data-collection
published: true
-date: 2022-08-18T07:59:09.359Z
-tags:
editor: markdown
-dateCreated: 2022-07-22T19:03:45.469Z
+date: '2022-08-18T07:59:09.359Z'
+dateCreated: '2022-07-22T19:03:45.469Z'
---
It costs over a billion dollars to develop a new treatment, largely due to regulatory burdens.
diff --git a/problems/monopolies.md b/problems/monopolies.md
index 7658f217..7a90692e 100644
--- a/problems/monopolies.md
+++ b/problems/monopolies.md
@@ -1,10 +1,13 @@
---
-title: 🎩 Excessive Patent Monopolies
-description: The 1962 efficacy amendment made drugs more expensive by granting longer monopolies.
+description: >-
+ The 1962 efficacy amendment made drugs more expensive by granting longer
+ monopolies.
+emoji: "\U0001F916"
+title: "\U0001F3A9 Excessive Patent Monopolies"
+tags: 'content, tokens, efficiency'
published: true
-date: 2022-07-29T01:55:49.553Z
-tags:
editor: markdown
-dateCreated: 2022-07-22T19:03:40.532Z
+date: '2022-07-29T01:55:49.553Z'
+dateCreated: '2022-07-22T19:03:40.532Z'
---
diff --git a/problems/more-cures-and-less-lifelong-attempts-at-masking-symptoms.md b/problems/more-cures-and-less-lifelong-attempts-at-masking-symptoms.md
index 13d72a30..78898655 100644
--- a/problems/more-cures-and-less-lifelong-attempts-at-masking-symptoms.md
+++ b/problems/more-cures-and-less-lifelong-attempts-at-masking-symptoms.md
@@ -1,11 +1,14 @@
---
-title: 🎭 Cures are Unprofitable
-description: High Costs Punish Finding Cures Over Masking Symptoms Since Cures Are Far Less Profitable Than Lifetime Treatments
+description: >-
+ High Costs Punish Finding Cures Over Masking Symptoms Since Cures Are Far Less
+ Profitable Than Lifetime Treatments
+emoji: "\U0001F4C8"
+title: "\U0001F3AD Cures are Unprofitable"
+tags: 'drug-development, economics, medical-progress, R&D, treatment-costs'
published: true
-date: 2022-07-29T01:53:44.586Z
-tags:
editor: markdown
-dateCreated: 2022-07-22T19:04:49.913Z
+date: '2022-07-29T01:53:44.586Z'
+dateCreated: '2022-07-22T19:04:49.913Z'
---
If the new treatment is a permanent cure for the disease, replacing a lifetime of refills with a one-time purchase would be economically disastrous for the drug developer. With a lifetime prescription, a company can recover its costs over time. Depending on the number of people with the disease, one-time cures would require a massive upfront payment to recover development costs.
diff --git a/problems/no-incentive-to-discover-benefits-of-off-patent-treatments.md b/problems/no-incentive-to-discover-benefits-of-off-patent-treatments.md
index cb15a424..b6db126e 100644
--- a/problems/no-incentive-to-discover-benefits-of-off-patent-treatments.md
+++ b/problems/no-incentive-to-discover-benefits-of-off-patent-treatments.md
@@ -1,11 +1,15 @@
---
-title: 📃 No Incentive to Discover Benefits of Off-Patent Treatments
-description: If a drug is found to be effective for other diseases after the patent has expired, no one has the financial incentive to get it approved for another disease.
+description: >-
+ If a drug is found to be effective for other diseases after the patent has
+ expired, no one has the financial incentive to get it approved for another
+ disease.
+emoji: "\U0001FA7A"
+title: "\U0001F4C3 No Incentive to Discover Benefits of Off-Patent Treatments"
+tags: 'orphan-diseases, drug-approval, pharmaceuticals, clinical-trials'
published: true
-date: 2022-08-18T08:00:43.662Z
-tags:
editor: markdown
-dateCreated: 2022-07-22T19:03:58.465Z
+date: '2022-08-18T08:00:43.662Z'
+dateCreated: '2022-07-22T19:03:58.465Z'
---
There are roughly [10,000](https://www.washingtonpost.com/news/fact-checker/wp/2016/11/17/are-there-really-10000-diseases-and-500-cures/) known diseases afflicting humans, most of which (approximately 95%) are classified as “orphan” (rare) diseases. The current system requires that a pharmaceutical company predict a particular condition in advance of running clinical trials. If a drug is found to be effective for other diseases after the patent has expired, no one has the financial incentive to get it approved for another disease.
diff --git a/problems/off-patent-treatments.md b/problems/off-patent-treatments.md
index 055291a3..c3e21bfa 100644
--- a/problems/off-patent-treatments.md
+++ b/problems/off-patent-treatments.md
@@ -3,6 +3,13 @@ description: >-
If a drug is found to be effective for other diseases after the patent has
expired, no one has the financial incentive to get it approved for another
disease.
+emoji: "\U0001F4C3"
+title: No Incentive to Discover Benefits of Off-Patent Treatments
+tags: 'pharmaceuticals, off-patent, orphan diseases, clinical trials'
+published: true
+editor: markdown
+date: '2025-02-12T16:55:47.439Z'
+dateCreated: '2025-02-12T16:55:47.439Z'
---
# 📃 No Incentive to Discover Benefits of Off-Patent Treatments
diff --git a/problems/slowed-growth-in-life-expectancy.md b/problems/slowed-growth-in-life-expectancy.md
index f062e7ee..f7ec6f65 100644
--- a/problems/slowed-growth-in-life-expectancy.md
+++ b/problems/slowed-growth-in-life-expectancy.md
@@ -1,11 +1,15 @@
---
+description: >-
+ Following this new 70% reduction in the pace of medical progress, the growth
+ in human lifespan was immediately cut in half to an increase of 2 years per
+ decade.
+emoji: "\U0001F4C8"
title: ☠ Slowed Growth in Life Expectancy
-description: Following this new 70% reduction in the pace of medical progress, the growth in human lifespan was immediately cut in half to an increase of 2 years per decade.
+tags: 'life-expectancy, medical-progress, diminishing-returns, regulations'
published: true
-date: 2022-07-31T17:06:24.891Z
-tags:
editor: markdown
-dateCreated: 2022-07-22T19:04:12.318Z
+date: '2022-07-31T17:06:24.891Z'
+dateCreated: '2022-07-22T19:04:12.318Z'
---
**Slowed Growth in Life Expectancy**
diff --git a/problems/unpatentable-treatments.md b/problems/unpatentable-treatments.md
index 294f2f20..b5e7e47a 100644
--- a/problems/unpatentable-treatments.md
+++ b/problems/unpatentable-treatments.md
@@ -3,6 +3,15 @@ description: >-
We still know next to nothing about the long-term effects of 99.9% of the 4
pounds of over 7,000 different synthetic or natural chemicals you consume
every day.
+emoji: "\U0001F96B"
+title: No Data on Unpatentable Molecules
+tags: >-
+ clinical-trials, unpatentable-molecules, off-patent-treatments,
+ orphan-diseases, pharmaceutical-research
+published: true
+editor: markdown
+date: '2025-02-12T16:55:54.489Z'
+dateCreated: '2025-02-12T16:55:54.489Z'
---
# 🥫 No Data on Unpatentable Molecules
diff --git a/problems/unrepresentative-participants.md b/problems/unrepresentative-participants.md
index 0c53575e..f08fb19b 100644
--- a/problems/unrepresentative-participants.md
+++ b/problems/unrepresentative-participants.md
@@ -1,11 +1,16 @@
---
+description: >-
+ Phase III clinical trials are often designed to exclude a vast majority of the
+ population of interest.
+emoji: "\U0001F465"
title: Trials Often Aren't Representative of Real Patients
-description: Phase III clinical trials are often designed to exclude a vast majority of the population of interest.
+tags: >-
+ clinical-trials, external-validity, generalizability, mental-health,
+ eligibility-criteria
published: true
-date: 2022-07-29T02:10:38.403Z
-tags:
editor: markdown
-dateCreated: 2022-07-22T19:04:16.586Z
+date: '2022-07-29T02:10:38.403Z'
+dateCreated: '2022-07-22T19:04:16.586Z'
---
External validity is the extent to which the results can be generalized to a population of interest. The population of interest is usually defined as the people the intervention is intended to help.
diff --git a/problems/we-only-know-the-effects-of-0000000002-of-potential-therapies.md b/problems/we-only-know-the-effects-of-0000000002-of-potential-therapies.md
index a5c43116..351628d8 100644
--- a/problems/we-only-know-the-effects-of-0000000002-of-potential-therapies.md
+++ b/problems/we-only-know-the-effects-of-0000000002-of-potential-therapies.md
@@ -1,11 +1,14 @@
---
+description: >-
+ There are as many untested compounds with drug-like properties as there are
+ atoms in the solar system (166 billion).
+emoji: "\U0001F52C"
title: ❓ We Only Know The Effects of 0.000000002% of Potential Therapies
-description: There are as many untested compounds with drug-like properties as there are atoms in the solar system (166 billion).
+tags: 'medical-research, diseases, drug-compounds, scientific-method'
published: true
-date: 2022-07-29T02:10:00.109Z
-tags:
editor: markdown
-dateCreated: 2022-07-22T19:04:21.179Z
+date: '2022-07-29T02:10:00.109Z'
+dateCreated: '2022-07-22T19:04:21.179Z'
---
We’re only 2 lifetimes from the use of the modern scientific method in medicine. Thus, it's only been applied for 0.0001% of human history. The more clinical research studies we read, the more we realize we don’t know. Nearly every study ends with the phrase "more research is needed". We know basically nothing at this point compared to what will eventually be known about the human body.
diff --git a/proposals/cure-acceleration-act.md b/proposals/cure-acceleration-act.md
index 5ffd20be..460e971f 100644
--- a/proposals/cure-acceleration-act.md
+++ b/proposals/cure-acceleration-act.md
@@ -1,3 +1,16 @@
+---
+description: >-
+ The Disease Eradication Act aims to address systemic issues in healthcare,
+ including bureaucratic delays, high drug development costs, limited clinical
+ trial access, and focus on expensive treatments.
+emoji: "\U0001F496"
+title: Disease Eradication Act
+tags: 'healthcare-reform, clinical-trials, drug-development, policy, regulatory'
+published: true
+editor: markdown
+date: '2025-02-12T16:56:04.572Z'
+dateCreated: '2025-02-12T16:56:04.572Z'
+---
# 💖 DISEASE ERADICATION ACT
## 📜 SECTION 1. SHORT TITLE AND FINDINGS
@@ -292,4 +305,4 @@ The platform supports:
* 🚨 **Catches safety issues earlier** through comprehensive monitoring
* 🔄 **Enables continuous improvement** through global collaboration
* 🤝 **Aligns profit incentives** with actual health outcomes
-* 🌍 **Democratizes access** to promising treatments
\ No newline at end of file
+* 🌍 **Democratizes access** to promising treatments
diff --git a/proposals/dfda-act.md b/proposals/dfda-act.md
new file mode 100644
index 00000000..573bb9a4
--- /dev/null
+++ b/proposals/dfda-act.md
@@ -0,0 +1,209 @@
+---
+title: 💡 The Decentralized FDA
+description: 80Xing medical progress by giving all patients the right to effortlessly participate in global decentralized clinical trials 💊
+published: true
+date: 2024-07-28T16:52:11.076Z
+tags: overview
+editor: markdown
+dateCreated: 2023-11-24T22:24:09.275Z
+---
+
+
+## The Decentralized FDA Act (dFDA)
+
+**A Law to Democratize and Revolutionize Food and Drug Evaluation for Global Benefit**
+
+**Preamble:**
+
+Recognizing that the current system for evaluating the safety and efficacy of foods and drugs is slow, expensive, geographically limited, and often opaque, hindering scientific progress and delaying access to potentially life-saving treatments and beneficial dietary interventions;
+
+Acknowledging the immense potential of open science, decentralized technologies, algorithmic analysis, and global collaboration to accelerate discovery, improve public health, and empower individuals to participate in the scientific process;
+
+Affirming the fundamental right of every person to access and participate in scientific research relevant to their health and well-being, regardless of location, socioeconomic status, or institutional affiliation;
+
+Desiring to transform the Food and Drug Administration (FDA) website, fda.gov, into a global public good, fostering transparency, accelerating innovation, and drastically reducing the cost and time associated with food and drug evaluation;
+
+**Therefore, be it enacted by the [Legislative Body, e.g., Congress of the United States]:**
+
+**Section 1: Short Title**
+
+This Act may be cited as the "Decentralized FDA Act" or "dFDA Act."
+
+**Section 2: Findings and Purpose**
+
+The [Legislative Body] finds and declares that:
+
+**(a) The Current System is Inadequate:** The existing regulatory framework for food and drug evaluation, while intended to protect public health, suffers from inefficiencies, high costs, limited patient access, and barriers to innovation.
+
+**(b) Open Science is Essential:** Open access to data, methodologies, and results is crucial for accelerating scientific progress and ensuring public trust in food and drug evaluation.
+
+**(c) Decentralization and Automation are Transformative:** Decentralized technologies and algorithmic automation can dramatically reduce costs, increase efficiency, and democratize participation in clinical and dietary trials.
+
+**(d) Global Collaboration is Necessary:** Health challenges are global, and solutions require international collaboration and data sharing.
+
+**(e) Patient Empowerment is Paramount:** Individuals have the right to understand and participate in research that affects their health and well-being.
+
+**(f) Cost Reduction is Critical:** The exorbitant cost of traditional trials prevents timely access to beneficial interventions and disproportionately burdens patients and healthcare systems.
+
+**(g) Comprehensive Data is Needed:** A holistic understanding of the effects of foods and drugs, including subtle and long-term effects, requires continuous and comprehensive data collection.
+
+**(h) FDA.gov as a Global Platform:** FDA.gov, as a readily accessible and recognized domain, can serve as the foundation for a global open-source platform for food and drug evaluation.
+
+The purpose of this Act is to:
+
+**(1) Transform fda.gov into the Decentralized FDA Platform (dFDA Platform).**
+
+**(2) Establish an FDA-X Prize to incentivize the creation of a fully functional, open-source, automated, algorithmic, and decentralized trial platform.**
+
+**(3) Guarantee the right of every person globally to participate in any trial listed on the dFDA Platform.**
+
+**(4) Empower anyone to create and conduct trials on the dFDA Platform, subject to ethical and data integrity standards.**
+
+**(5) Mandate the comprehensive quantification of all effects of all foods and drugs through continuous data collection and analysis on the dFDA Platform.**
+
+**(6) Repeal or amend any existing legislation that conflicts with the establishment and operation of the dFDA Platform and the achievement of its goals.**
+
+**(7) Achieve a minimum 80X reduction in the per-patient cost of food and drug trials through the implementation of the dFDA Platform.**
+
+**Section 3: Definitions**
+
+For the purposes of this Act:
+
+**(a) "dFDA Platform"** means the Decentralized FDA Platform, a decentralized, open-source, algorithmic, and automated trial platform established on fda.gov.
+
+**(b) "FDA-X Prize"** means the incentive prize competition established under Section 4 of this Act to develop the dFDA Platform.
+
+**(c) "Trial"** means any systematic investigation, including but not limited to clinical trials, dietary intervention studies, observational studies, and post-market surveillance, designed to evaluate the effects of a food, drug, or combination thereof on human health or well-being.
+
+**(d) "Participant"** means any individual who voluntarily enrolls in and contributes data to a trial on the dFDA Platform.
+
+**(e) "Trial Creator"** means any individual or entity that designs, initiates, and manages a trial on the dFDA Platform.
+
+**(f) "Open-Source"** means that the software, algorithms, data, and methodologies used in the dFDA Platform are freely available for anyone to use, modify, and distribute, under a recognized open-source license.
+
+**(g) "Decentralized"** means that the dFDA Platform operates without central control by any single entity, utilizing distributed ledger technology or similar mechanisms to ensure data integrity, transparency, and resilience.
+
+**(h) "Algorithmic"** means that the dFDA Platform utilizes automated algorithms for trial design, participant recruitment, data collection, data analysis, and reporting, to maximize efficiency and minimize bias.
+
+**(i) "Automated"** means that the dFDA Platform relies on automated processes to the greatest extent possible, minimizing manual intervention in trial operations.
+
+**(j) "Quantification of All Effects"** means the systematic and continuous measurement and analysis of all observable and measurable effects of foods and drugs, including intended therapeutic effects, adverse effects, interactions, and long-term impacts on health, utilizing diverse data sources including but not limited to patient-reported outcomes, wearable sensor data, electronic health records, and environmental data.
+
+**(k) "Barrier Legislation"** means any federal, state, or local law, regulation, or policy that impedes the establishment, operation, or effectiveness of the dFDA Platform, or that restricts patient access to or participation in trials on the dFDA Platform, or that hinders the comprehensive quantification of food and drug effects.
+
+**Section 4: Establishment of the FDA-X Prize and the dFDA Platform**
+
+**(a) FDA-X Prize Creation:** There is hereby established an "FDA-X Prize" competition, administered by [Designated Government Agency or Newly Created Entity], with a total prize purse of [Amount, e.g., $1 Billion USD], to be awarded to the individual or team that develops and successfully demonstrates a fully functional dFDA Platform that meets the criteria outlined in this Act.
+
+**(b) dFDA Platform Requirements for FDA-X Prize:** To be eligible for the FDA-X Prize, the dFDA Platform must:
+
+ **(1) Be hosted on fda.gov or a readily accessible and clearly linked subdomain.**
+ **(2) Be entirely open-source, utilizing a recognized open-source license (e.g., MIT License, Apache License 2.0).**
+ **(3) Be fully decentralized, utilizing blockchain or comparable technology to ensure data integrity, transparency, and security.**
+ **(4) Be highly automated and algorithmic, minimizing manual processes in trial design, execution, and analysis.**
+ **(5) Provide a user-friendly interface for Trial Creators to easily design and launch trials.**
+ **(6) Provide a user-friendly interface for Participants to easily discover, enroll in, and contribute data to trials from their homes, regardless of location.**
+ **(7) Incorporate robust data security and privacy protocols, complying with all relevant data protection regulations (e.g., GDPR, HIPAA, CCPA, and global equivalents).**
+ **(8) Include mechanisms for informed consent, ethical review, and adverse event reporting.**
+ **(9) Facilitate the comprehensive quantification of all effects of foods and drugs, integrating diverse data sources and utilizing advanced analytical techniques.**
+ **(10) Demonstrate the capacity to significantly reduce the per-patient cost of trials by at least 80X compared to traditional trial methodologies (demonstrated through pilot trials on the platform).**
+ **(11) Be scalable to accommodate a global user base and a large volume of trials and data.**
+ **(12) Be interoperable with existing healthcare data systems and platforms (where feasible and with appropriate consent).**
+ **(13) Include mechanisms for community governance and ongoing platform maintenance and improvement.**
+ **(14) Be accessible in multiple languages to facilitate global participation.**
+
+**(c) FDA.gov Transition:** Upon successful awarding of the FDA-X Prize, fda.gov shall be officially transitioned into the dFDA Platform, serving as the primary platform for global open science food and drug evaluation. The existing content of fda.gov shall be archived and made accessible through a clearly designated section of the dFDA Platform.
+
+**Section 5: Universal Right to Trial Participation and Effortless Trial Creation**
+
+**(a) Universal Right to Trial Participation:** Every person in the world shall have the right to participate in any trial listed on the dFDA Platform, regardless of their location, nationality, socioeconomic status, or pre-existing health conditions. Participation may be at the participant's own expense, including but not limited to the cost of medications, devices, or dietary interventions if required by the trial protocol. The dFDA Platform shall provide clear information about all trial requirements, including potential costs, to participants before enrollment.
+
+**(b) Effortless Trial Creation:** The dFDA Platform shall be designed to enable any individual or entity, regardless of their scientific or regulatory expertise, to easily create and launch trials. The platform shall provide user-friendly tools, templates, and guidance to facilitate trial design, protocol development, ethical review, participant recruitment, data collection, and analysis.
+
+**(c) Open Access Data and Results:** All trial data and results generated on the dFDA Platform shall be made publicly and freely available in an open-access format, subject to appropriate anonymization to protect participant privacy.
+
+**Section 6: Comprehensive Quantification of Food and Drug Effects**
+
+**(a) Continuous Data Collection:** The dFDA Platform shall be designed to facilitate continuous and comprehensive data collection on the effects of foods and drugs, utilizing diverse data sources including but not limited to:
+
+ **(1) Patient-reported outcomes (PROs) collected through secure and user-friendly interfaces.**
+ **(2) Data from wearable sensors and mobile health devices (with participant consent).**
+ **(3) Electronic health record (EHR) data (with participant consent and interoperability mechanisms).**
+ **(4) Environmental data and relevant contextual factors.**
+ **(5) Post-market surveillance data and adverse event reports.**
+ **(6) Real-world evidence (RWE) from routine healthcare practice.**
+
+**(b) Algorithmic Data Analysis:** The dFDA Platform shall utilize advanced algorithmic and machine learning techniques to analyze the vast datasets generated on the platform, to identify patterns, correlations, and causal relationships between foods, drugs, and health outcomes. This analysis shall include but not be limited to:
+
+ **(1) Identification of intended therapeutic effects.**
+ **(2) Detection and characterization of adverse effects, including rare and long-term effects.**
+ **(3) Analysis of drug-drug and food-drug interactions.**
+ **(4) Personalized medicine approaches based on individual patient characteristics.**
+ **(5) Long-term surveillance of food and drug safety and efficacy in real-world populations.**
+
+**(c) Publicly Accessible Knowledge Base:** The dFDA Platform shall create and maintain a publicly accessible knowledge base of quantified food and drug effects, continuously updated with new data and analysis. This knowledge base shall be easily searchable and accessible to researchers, healthcare professionals, patients, and the general public.
+
+**Section 7: Repeal and Amendment of Barrier Legislation**
+
+**(a) Repeal of Conflicting Laws:** Any federal, state, or local law, regulation, or policy that is determined to be a Barrier Legislation, as defined in Section 3(k), is hereby repealed to the extent that it conflicts with the provisions of this Act.
+
+**(b) Amendment of Conflicting Laws:** The [Designated Government Agency or Newly Created Entity] is authorized and directed to identify and propose amendments to any Barrier Legislation that cannot be fully repealed without negatively impacting other essential public interests. Such amendments shall be designed to minimize or eliminate the barriers to the dFDA Platform while preserving necessary safeguards.
+
+**(c) Examples of Barrier Legislation:** Without limitation, Barrier Legislation may include regulations that:
+
+ **(1) Restrict the use of decentralized technologies in clinical trials.**
+ **(2) Impede the collection and sharing of patient-reported outcomes and real-world evidence.**
+ **(3) Create unnecessary bureaucratic hurdles for trial initiation and operation.**
+ **(4) Limit patient access to trials based on location or institutional affiliation.**
+ **(5) Hinder the open sharing of trial data and results.**
+ **(6) Impose excessive costs or burdens on trial creators or participants.**
+
+**Section 8: Cost Reduction and Funding**
+
+**(a) Goal of 80X Cost Reduction:** The dFDA Platform shall be designed and implemented to achieve a minimum 80X reduction in the per-patient cost of food and drug trials compared to traditional methodologies. This cost reduction shall be achieved through:
+
+ **(1) Decentralization and automation of trial processes.**
+ **(2) Elimination of unnecessary infrastructure and administrative overhead.**
+ **(3) Direct patient participation and data contribution from home.**
+ **(4) Open-source software and methodologies.**
+ **(5) Efficient algorithmic data analysis.**
+ **(6) Reduced reliance on expensive centralized clinical research sites.**
+
+**(b) Funding Mechanisms:** The initial funding for the FDA-X Prize and the development and operation of the dFDA Platform may be derived from:
+
+ **(1) Reallocation of existing FDA budget.**
+ **(2) Public-private partnerships and philanthropic contributions.**
+ **(3) Revenue generated from optional premium services offered on the dFDA Platform (while maintaining core functionality as free and open).**
+ **(4) Potential cost savings realized through the increased efficiency of the dFDA Platform.**
+
+**(c) Sustainability:** The dFDA Platform shall be designed to be financially sustainable in the long term, relying on a diverse range of funding sources and efficient operational practices.
+
+**Section 9: Ethical Oversight and Data Integrity**
+
+**(a) Decentralized Ethical Review Boards (DERBs):** The dFDA Platform shall incorporate a system of Decentralized Ethical Review Boards (DERBs) or similar mechanisms to provide ethical oversight for trials conducted on the platform. DERBs shall be composed of diverse experts and community representatives, and their review processes shall be transparent and publicly accessible.
+
+**(b) Data Integrity and Security:** The dFDA Platform shall prioritize data integrity and security through the use of blockchain technology or comparable mechanisms, robust encryption protocols, and stringent data access controls. Participant privacy shall be protected in accordance with all applicable data protection regulations.
+
+**(c) Transparency and Accountability:** All aspects of the dFDA Platform, including trial protocols, data collection methodologies, algorithms, data analysis, ethical review processes, and governance mechanisms, shall be transparent and publicly documented. Mechanisms for accountability and redress shall be established to address any ethical concerns or data integrity issues that may arise.
+
+**Section 10: Implementation and Timeline**
+
+**(a) Implementation Timeline:** The [Designated Government Agency or Newly Created Entity] shall be responsible for the implementation of this Act and shall establish a detailed implementation timeline, including but not limited to:
+
+ **(1) Launch of the FDA-X Prize competition within [Number] months of enactment.**
+ **(2) Awarding of the FDA-X Prize and transition of fda.gov to the dFDA Platform within [Number] years of enactment.**
+ **(3) Full operationalization of the dFDA Platform and achievement of the 80X cost reduction goal within [Number] years of enactment.**
+
+**(b) Stakeholder Consultation:** The [Designated Government Agency or Newly Created Entity] shall consult with relevant stakeholders, including patients, researchers, healthcare professionals, industry representatives, ethicists, and technology experts, throughout the implementation process.
+
+**Section 11: Severability**
+
+If any provision of this Act, or the application thereof to any person or circumstance, is held invalid, the remainder of this Act, and the application of such provision to other persons or circumstances, shall not be affected thereby.
+
+**Section 12: Effective Date**
+
+This Act shall take effect [Number] days after the date of enactment.
+
+**End of Act**
+
+This proposed "Decentralized FDA Act" is a bold and ambitious framework designed to fundamentally transform the way we evaluate foods and drugs globally. It prioritizes open science, decentralization, patient empowerment, and drastic cost reduction. While the practical implementation will be complex and require careful consideration of ethical, regulatory, and technological challenges, this law provides a strong foundation for achieving a more efficient, equitable, and transparent system for advancing human health.
\ No newline at end of file
diff --git a/proposals/health-savings-sharing.md b/proposals/health-savings-sharing.md
index 83c9c8ed..306c398e 100644
--- a/proposals/health-savings-sharing.md
+++ b/proposals/health-savings-sharing.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ A program aiming to reduce healthcare costs by incentivizing cures and
+ preventative therapies for chronic diseases.
+emoji: "\U0001F31F"
+title: 50/50 Health Savings Sharing Program
+tags: 'healthcare, cost-reduction, cures, preventative-therapies, chronic-diseases'
+published: true
+editor: markdown
+date: '2025-02-12T16:56:08.061Z'
+dateCreated: '2025-02-12T16:56:08.061Z'
+---
# 🌟 The 50/50 Health Savings Sharing Program
Cutting Healthcare Costs in **HALF** By Incentivizing Cures and Preventative Therapies 🚀
diff --git a/proposals/right-to-trial-act.md b/proposals/right-to-trial-act.md
index 59a2af55..ae6f2378 100644
--- a/proposals/right-to-trial-act.md
+++ b/proposals/right-to-trial-act.md
@@ -1,3 +1,18 @@
+---
+description: >-
+ Legislation proposing reforms to clinical trial regulations by granting
+ patients the right to participate in decentralized trials and improving access
+ to treatments.
+emoji: "\U0001F4DA"
+title: Right to Trial Act of 2024
+tags: >-
+ clinical-trials, regulatory-reform, patient-access, decentralized-trials,
+ healthcare-legislation
+published: true
+editor: markdown
+date: '2025-02-12T16:56:11.751Z'
+dateCreated: '2025-02-12T16:56:11.751Z'
+---
# RIGHT TO TRIAL ACT OF 2024
## SECTION 1\. SHORT TITLE AND FINDINGS
diff --git a/proposals/use-github-for-task-management.md b/proposals/use-github-for-task-management.md
index 942cbeca..700c85f8 100644
--- a/proposals/use-github-for-task-management.md
+++ b/proposals/use-github-for-task-management.md
@@ -1,11 +1,15 @@
---
+description: >-
+ Explanation of using GitHub issues for task management with benefits like
+ universal searchability, prioritization, expertise filtering, and
+ notifications.
+emoji: "\U0001F4CB"
title: use-github-for-task-management
-description:
+tags: 'github, task-management, project-management, crowdsourcing, searchability'
published: false
-date: 2022-08-25T20:09:14.553Z
-tags:
editor: markdown
-dateCreated: 2022-07-27T20:33:14.760Z
+date: '2022-08-25T20:09:14.553Z'
+dateCreated: '2022-07-27T20:33:14.760Z'
---
# Use Github For Task Management
diff --git a/proposals/war-on-disease-strategy.md b/proposals/war-on-disease-strategy.md
index 7b544225..cc2900de 100644
--- a/proposals/war-on-disease-strategy.md
+++ b/proposals/war-on-disease-strategy.md
@@ -1,3 +1,17 @@
+---
+description: >-
+ A high-level strategy for eradicating disease through restructured
+ institutional frameworks and financial incentives
+emoji: ⚔️
+title: High-Level Strategy for War on Disease
+tags: >-
+ disease-eradication, healthcare-reform, decentralized-FDA, clinical-trials,
+ policy
+published: true
+editor: markdown
+date: '2025-02-12T16:56:18.388Z'
+dateCreated: '2025-02-12T16:56:18.388Z'
+---
# High Level Strategy for War on Disease
1. Declaration of War
diff --git a/reference/12-references.md b/reference/12-references.md
index d7062f14..3a10e236 100644
--- a/reference/12-references.md
+++ b/reference/12-references.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ Compilation of references and resources related to FDA spending, drug
+ approvals, economic data, and regulatory impact
+emoji: "\U0001F4DA"
+title: FDA References and Data Resources
+tags: 'fda, spending, drug-approvals, economic-data, regulation'
+published: true
+editor: markdown
+date: '2025-02-12T16:56:25.222Z'
+dateCreated: '2025-02-12T16:56:25.222Z'
+---
# 📖 References
* [Google Spreadsheet of FDA Spending vs Life-Expectancy](https://docs.google.com/spreadsheets/d/e/2PACX-1vTBkVrOYLxloOIADLXA7-k5NBIGgQ\_dfFQ7BLUN0oaJPVQ\_NqdFdVUfhuPkVWgFZ9gfLrwPdjuG1sTn/pubhtml)
diff --git a/reference/cost-barriers/21-data-sources.md b/reference/cost-barriers/21-data-sources.md
index 9d7edc79..8d9c0223 100644
--- a/reference/cost-barriers/21-data-sources.md
+++ b/reference/cost-barriers/21-data-sources.md
@@ -1,3 +1,16 @@
+---
+description: >-
+ Overview of data sources used in constructing an operational model of clinical
+ trial decision-making, including literature, expert interviews, FDA hearings,
+ and Medidata Solutions databases.
+emoji: "\U0001F4DA"
+title: Data Sources for Clinical Trial Decision-Making Model
+tags: 'clinical-trials, data-sources, FDA, research-methodology, Medidata-Solutions'
+published: true
+editor: markdown
+date: '2025-02-12T16:56:28.848Z'
+dateCreated: '2025-02-12T16:56:28.848Z'
+---
### 2.1 Data Sources
In constructing an operational model of clinical trial decision-making, we compiled information from a variety of sources, including:
diff --git a/reference/cost-barriers/211-publically-available-literature.md b/reference/cost-barriers/211-publically-available-literature.md
index caf0ac9d..d376ad7e 100644
--- a/reference/cost-barriers/211-publically-available-literature.md
+++ b/reference/cost-barriers/211-publically-available-literature.md
@@ -1,3 +1,16 @@
+---
+description: >-
+ Overview of publically available literature used to define components of the
+ pharmaceutical decision-making process model, including sources like MIT and
+ CTTI.
+emoji: "\U0001F4DA"
+title: Publically Available Literature on Pharmaceutical Decision-Making
+tags: 'literature-review, pharmaceuticals, decision-making, MIT, CTTI'
+published: true
+editor: markdown
+date: '2025-02-12T16:56:32.278Z'
+dateCreated: '2025-02-12T16:56:32.278Z'
+---
### 2.1.1 Publically Available Literature
Although the literature on the early stages of the pharmaceutical decision-making process is not extensive, there is some research that has characterized the process. We used this information to help define the components of the model. Some examples are the work performed at the Massachusetts Institute of Technology (MIT) Center for Biomedical Innovation and the Clinical Trials Transformation Initiative (CTTI), a public-private partnership organization hosted by Duke University.4
diff --git a/reference/cost-barriers/212-discussions-with-experts-fda-personnel-drug-sponsors-contract-research-organizations-cros-and-academic-clinical-research-centers.md b/reference/cost-barriers/212-discussions-with-experts-fda-personnel-drug-sponsors-contract-research-organizations-cros-and-academic-clinical-research-centers.md
index 04c2bfba..0e3158d1 100644
--- a/reference/cost-barriers/212-discussions-with-experts-fda-personnel-drug-sponsors-contract-research-organizations-cros-and-academic-clinical-research-centers.md
+++ b/reference/cost-barriers/212-discussions-with-experts-fda-personnel-drug-sponsors-contract-research-organizations-cros-and-academic-clinical-research-centers.md
@@ -1,3 +1,16 @@
+---
+description: >-
+ Details of discussions with experts, FDA personnel, drug sponsors, CROs, and
+ academic research centers to understand the decision process in drug
+ development.
+emoji: "\U0001F465"
+title: Discussions on Drug Development Decision Processes
+tags: 'drug-development, FDA, CROs, academic-research-centers, industry-experts'
+published: true
+editor: markdown
+date: '2025-02-12T16:56:35.812Z'
+dateCreated: '2025-02-12T16:56:35.812Z'
+---
### 2.1.2 Discussions with Experts, FDA Personnel, Drug Sponsors, Contract Research Organizations (CROs), and Academic Clinical Research Centers
Some of the information needed to characterize the decision process of a drug sponsor came from semi-structured discussions with our team of experts and other industry experts, FDA personnel, drug sponsors, CROs, and primary clinical research centers, including University of Massachusetts, Johns Hopkins University, University of Michigan, and the Mayo Clinic.
diff --git a/reference/cost-barriers/213-medidata-solutions-databases.md b/reference/cost-barriers/213-medidata-solutions-databases.md
index 7cc23df4..27bf295b 100644
--- a/reference/cost-barriers/213-medidata-solutions-databases.md
+++ b/reference/cost-barriers/213-medidata-solutions-databases.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ Overview of Medidata Solutions databases used for clinical trial cost
+ analysis, including PICAS, CROCAS, and Insights.
+emoji: "\U0001F4CA"
+title: Medidata Solutions Databases for Clinical Trial Costs
+tags: 'clinical-trials, costs, databases, Medidata Solutions, PICAS, CROCAS, Insights'
+published: true
+editor: markdown
+date: '2025-02-12T16:56:39.403Z'
+dateCreated: '2025-02-12T16:56:39.403Z'
+---
### 2.1.3 Medidata Solutions Databases
We used three proprietary databases on clinical trial costs, which are offered by Medidata Solutions, a global provider of cloud-based solutions for clinical research in life sciences, as part of the broad set of solutions available through the Medidata Clinical Cloud™:
diff --git a/reference/cost-barriers/22-conceptual-framework.md b/reference/cost-barriers/22-conceptual-framework.md
index 3d8d6374..70631156 100644
--- a/reference/cost-barriers/22-conceptual-framework.md
+++ b/reference/cost-barriers/22-conceptual-framework.md
@@ -1,3 +1,15 @@
+---
+description: >-
+ Conceptual framework for modeling clinical trial decision-making using a
+ decision tree approach from the perspective of a revenue-maximizing sponsor.
+emoji: "\U0001F4CA"
+title: Conceptual Framework for Clinical Trial Decision-Making
+tags: 'clinical-trials, decision-making, modeling, sponsors, risk'
+published: true
+editor: markdown
+date: '2025-02-12T16:56:42.726Z'
+dateCreated: '2025-02-12T16:56:42.726Z'
+---
### 2.2 Conceptual Framework
The literature review and discussions described above served to inform the conceptual framework for our model. We modeled the clinical trials decision-making process in the form of a decision tree that looks at the decision process from the point of view of an expected-revenue-maximizing sponsor in the face of uncertainty (or risk).
diff --git a/reference/cost-barriers/23-operational-model.md b/reference/cost-barriers/23-operational-model.md
index fcc1afee..f5ad9abf 100644
--- a/reference/cost-barriers/23-operational-model.md
+++ b/reference/cost-barriers/23-operational-model.md
@@ -1,3 +1,17 @@
+---
+description: >-
+ An operational model developed in Microsoft Excel for clinical trial cost
+ scenario analysis with a guided user interface in Visual Basic.
+emoji: "\U0001F4CA"
+title: Operational Model for Clinical Trial Cost Analysis
+tags: >-
+ clinical-trials, cost-analysis, operational-model, microsoft-excel,
+ visual-basic
+published: true
+editor: markdown
+date: '2025-02-12T16:56:46.027Z'
+dateCreated: '2025-02-12T16:56:46.027Z'
+---
### 2.3 Operational Model
Although the decision tree analysis format is invaluable in characterizing a range of clinical trial formulation possibilities, the modeling can become extremely complex as the number of event and decision nodes increases. Thus, while the operational model developed allows the user to enter customized cost scenarios in a certain therapeutic area, it does not allow for changes in the number of decision or event nodes.
diff --git a/scripts/__tests__/fix_frontmatter_metadata.integration.test.js b/scripts/__tests__/fix_frontmatter_metadata.integration.test.js
deleted file mode 100644
index f8fc38b7..00000000
--- a/scripts/__tests__/fix_frontmatter_metadata.integration.test.js
+++ /dev/null
@@ -1,110 +0,0 @@
-const fs = require('fs').promises;
-const path = require('path');
-const LLMClient = require('../llm-client');
-const {
- FrontmatterGenerator,
- findMarkdownFiles,
-} = require('../fix_frontmatter_metadata');
-
-describe('Frontmatter Metadata Integration Tests', () => {
- let generator;
- const testDir = path.resolve(__dirname, '../../fdai');
-
- beforeAll(async () => {
- // Use real LLM client
- const llmClient = new LLMClient();
- generator = new FrontmatterGenerator(llmClient);
- });
-
- test('should find markdown files in fdai directory', async () => {
- const files = await findMarkdownFiles(testDir);
- expect(files.length).toBeGreaterThan(0);
- console.log('Found files:', files);
- });
-
- test('should process a single file with real LLM client', async () => {
- // Get first markdown file from fdai directory
- const files = await findMarkdownFiles(testDir);
- expect(files.length).toBeGreaterThan(0);
-
- const testFile = files[0];
- console.log('Testing with file:', testFile);
-
- // Make a backup of the file
- const content = await fs.readFile(testFile, 'utf8');
- const backupPath = `${testFile}.backup`;
- await fs.writeFile(backupPath, content);
-
- try {
- // Process the file with real LLM client
- const result = await generator.processFile(testFile);
- console.log('Process result:', result);
-
- // Read the processed file
- const processedContent = await fs.readFile(testFile, 'utf8');
- console.log('Processed content:', processedContent);
-
- // Verify the result
- expect(result).toBeDefined();
- if (result.error) {
- console.error('Processing error:', result.error);
- }
-
- } finally {
- // Restore the backup
- await fs.copyFile(backupPath, testFile);
- await fs.unlink(backupPath);
- }
- });
-
- test('should process all files in fdai directory', async () => {
- const files = await findMarkdownFiles(testDir);
- expect(files.length).toBeGreaterThan(0);
-
- // Make backups of all files
- const backups = await Promise.all(files.map(async file => {
- const content = await fs.readFile(file, 'utf8');
- const backupPath = `${file}.backup`;
- await fs.writeFile(backupPath, content);
- return { file, backupPath };
- }));
-
- try {
- // Process each file
- const results = await Promise.all(files.map(async file => {
- console.log('\nProcessing:', file);
- const result = await generator.processFile(file);
- console.log('Result:', result);
-
- if (result.error) {
- console.error('Error processing file:', file);
- console.error('Error details:', result.error);
- }
-
- return { file, result };
- }));
-
- // Analyze results
- const summary = results.reduce((acc, { file, result }) => {
- acc.total++;
- if (result.updated) acc.updated++;
- if (result.error) acc.errors++;
- return acc;
- }, { total: 0, updated: 0, errors: 0 });
-
- console.log('\nProcessing Summary:');
- console.log(`Total files: ${summary.total}`);
- console.log(`Updated: ${summary.updated}`);
- console.log(`Errors: ${summary.errors}`);
-
- expect(summary.total).toEqual(files.length);
-
- } finally {
- // Restore all backups
- await Promise.all(backups.map(async ({ file, backupPath }) => {
- await fs.copyFile(backupPath, file);
- await fs.unlink(backupPath);
- }));
- }
- });
-});
\ No newline at end of file
diff --git a/scripts/__tests__/fix_frontmatter_metadata.test.js b/scripts/__tests__/fix_frontmatter_metadata.test.js
deleted file mode 100644
index 33c80282..00000000
--- a/scripts/__tests__/fix_frontmatter_metadata.test.js
+++ /dev/null
@@ -1,140 +0,0 @@
-const fs = require('fs').promises;
-const path = require('path');
-const os = require('os');
-const {
- FrontmatterSchema,
- processFile,
- generateFrontmatterObject,
-} = require('../fix_frontmatter_metadata');
-
-// Mock LLMClient
-class MockLLMClient {
- async analyzeLocation(_, prompt) {
- return {
- number: '41k',
- textFollowingNumber: 'cost per participant in traditional clinical trials',
- description: 'Analysis of the high costs in traditional clinical trials',
- emoji: '💰',
- title: 'Clinical Trial Costs Analysis',
- tags: ['clinical-trials', 'costs', 'research'],
- source: 'https://example.com/clinical-trials-cost'
- };
- }
-}
-
-describe('Frontmatter Metadata Tests', () => {
- let tempDir;
- let mockLLMClient;
-
- beforeEach(async () => {
- // Create temp directory for test files
- tempDir = await fs.mkdtemp(path.join(os.tmpdir(), 'frontmatter-test-'));
- mockLLMClient = new MockLLMClient();
- });
-
- afterEach(async () => {
- // Cleanup temp directory
- await fs.rm(tempDir, { recursive: true, force: true });
- });
-
- test('FrontmatterSchema validates correct data', () => {
- const validData = {
- number: '41k',
- textFollowingNumber: 'cost per participant in traditional clinical trials',
- description: 'Test description',
- emoji: '📊',
- title: 'Test Title',
- published: true,
- date: new Date().toISOString(),
- tags: ['test', 'validation'],
- editor: 'markdown',
- dateCreated: new Date().toISOString()
- };
-
- const result = FrontmatterSchema.safeParse(validData);
- expect(result.success).toBe(true);
- });
-
- test('FrontmatterSchema catches invalid data', () => {
- const invalidData = {
- // Missing required fields
- title: 'Test Title',
- published: 'not-a-boolean', // Wrong type
- date: 'not-a-date', // Invalid date format
- };
-
- const result = FrontmatterSchema.safeParse(invalidData);
- expect(result.success).toBe(false);
- expect(result.error).toBeDefined();
- });
-
- test('generateFrontmatterObject returns valid metadata', async () => {
- const content = `# Test Content
- This is a test markdown file discussing the cost of $41k per participant
- in clinical trials. [Source](https://example.com/clinical-trials-cost)
- `;
-
- const result = await generateFrontmatterObject(content, mockLLMClient);
- expect(result).toMatchObject({
- number: expect.any(String),
- textFollowingNumber: expect.any(String),
- description: expect.any(String),
- emoji: expect.any(String),
- title: expect.any(String),
- tags: expect.any(Array)
- });
- });
-
- test('processFile handles valid markdown file', async () => {
- const testFile = path.join(tempDir, 'test.md');
- const validContent = `---
-title: Test Title
-description: Test description
-emoji: 📊
-published: true
-date: ${new Date().toISOString()}
-dateCreated: ${new Date().toISOString()}
----
-# Test Content
- `;
-
- await fs.writeFile(testFile, validContent);
- await processFile(testFile, mockLLMClient);
-
- const processedContent = await fs.readFile(testFile, 'utf8');
- expect(processedContent).toContain('title: Test Title');
- });
-
- test('processFile fixes invalid markdown file', async () => {
- const testFile = path.join(tempDir, 'invalid.md');
- const invalidContent = `---
-title: Test Title
-# Missing required fields
----
-# Test Content about clinical trials
-The cost per participant is $41k in traditional trials.
- `;
-
- await fs.writeFile(testFile, invalidContent);
- await processFile(testFile, mockLLMClient);
-
- const processedContent = await fs.readFile(testFile, 'utf8');
- expect(processedContent).toContain('description:');
- expect(processedContent).toContain('emoji:');
- });
-
- test('processFile handles files without frontmatter', async () => {
- const testFile = path.join(tempDir, 'no-frontmatter.md');
- const content = `# Test Content
-This is a markdown file without any frontmatter.
- `;
-
- await fs.writeFile(testFile, content);
- await processFile(testFile, mockLLMClient);
-
- const processedContent = await fs.readFile(testFile, 'utf8');
- expect(processedContent).toContain('---');
- expect(processedContent).toContain('title:');
- expect(processedContent).toContain('description:');
- });
-});
\ No newline at end of file
diff --git a/scripts/fix_frontmatter_metadata.test.js b/scripts/fix_frontmatter_metadata.test.js
index b7712ded..79ff2357 100644
--- a/scripts/fix_frontmatter_metadata.test.js
+++ b/scripts/fix_frontmatter_metadata.test.js
@@ -1,4 +1,3 @@
-const fs = require('fs').promises;
const path = require('path');
const { validateMarkdownFiles, findMarkdownFiles } = require('./fix_frontmatter_metadata');
diff --git a/scripts/notion-sync.ts b/scripts/notion-sync.ts
new file mode 100644
index 00000000..203c1244
--- /dev/null
+++ b/scripts/notion-sync.ts
@@ -0,0 +1,504 @@
+/**
+ * Notion-Markdown Sync Script
+ *
+ * This script syncs markdown files with a Notion database.
+ *
+ * Setup Instructions:
+ * 1. Get your Notion API key:
+ * - Go to https://www.notion.so/my-integrations
+ * - Click "New integration"
+ * - Give it a name (e.g. "Markdown Sync")
+ * - Copy the "Internal Integration Token"
+ *
+ * 2. Get your Notion Database ID:
+ * - Open your Notion database in browser
+ * - The ID is in the URL: https://notion.so/{workspace}/{database_id}?v={view_id}
+ * - Copy the database_id part
+ *
+ * 3. Share your database with the integration:
+ * - Open your database in Notion
+ * - Click "Share" in top right
+ * - Click "Add connections"
+ * - Select your integration
+ *
+ * 4. Create a .env file with:
+ * NOTION_API_KEY=your_api_key_here
+ * NOTION_DATABASE_ID=your_database_id_here
+ */
+
+require('dotenv').config(); // Load environment variables from .env file
+
+console.log("NOTION_API_KEY:", process.env.NOTION_API_KEY);
+console.log("NOTION_DATABASE_ID:", process.env.NOTION_DATABASE_ID);
+
+const { Client } = require("@notionhq/client");
+const { UpdatePageParameters } = require("@notionhq/client/build/src/api-endpoints");
+const fs = require("fs");
+const path = require("path");
+const { simpleGit } = require('simple-git');
+const { promisify } = require("util");
+const ignore = require('ignore');
+const readFile = promisify(fs.readFile);
+const writeFile = promisify(fs.writeFile);
+
+interface MarkdownMetadata {
+ title: string;
+ description: string;
+ published: boolean;
+ date: string;
+ tags: string;
+ editor: string;
+ dateCreated: string;
+}
+
+const notion = new Client({ auth: process.env.NOTION_API_KEY });
+const databaseId = process.env.NOTION_DATABASE_ID;
+if(!databaseId) {
+ throw new Error("NOTION_DATABASE_ID is not set");
+}
+const git = simpleGit();
+
+// Required database properties
+const REQUIRED_PROPERTIES = {
+ title: { type: 'title', name: 'title' },
+ description: { type: 'rich_text', name: 'description' },
+ published: { type: 'checkbox', name: 'published' },
+ date: { type: 'date', name: 'date' },
+ tags: { type: 'rich_text', name: 'tags' },
+ editor: { type: 'rich_text', name: 'editor' },
+ dateCreated: { type: 'date', name: 'dateCreated' }
+};
+
+async function syncMarkdownFilesToNotion() {
+ console.log("Starting syncMarkdownFilesToNotion");
+ const markdownFiles = await getMarkdownFiles("./");
+ console.log("Markdown files found:", markdownFiles);
+ const lastModifiedDates = await getGitLastModifiedDates(markdownFiles);
+
+ // 3. Iterate through each markdown file
+ for (const filePath of markdownFiles) {
+ try{
+
+ // 4. Extract metadata and content
+ const { metadata, content } = await extractMetadataAndContent(filePath);
+
+ // 5. Get corresponding Notion page (if it exists)
+ const notionPage = await getNotionPageByTitle(metadata.title);
+
+ // 6. Compare last modified dates
+ const fileLastModified = lastModifiedDates[filePath];
+
+ if (notionPage) {
+ // 7. Notion Page exists
+ const notionLastEditedTime = new Date(notionPage.last_edited_time);
+
+ if (fileLastModified > notionLastEditedTime) {
+ // 8. File is newer, update Notion page
+ console.log(`Updating Notion page for ${filePath}`);
+ await updateNotionPage(notionPage.id, metadata, content);
+ } else if (fileLastModified < notionLastEditedTime) {
+ // 9. Notion page is newer, update file
+ console.log(`Updating file ${filePath} from Notion`);
+ await updateMarkdownFile(filePath, notionPage);
+ } else {
+ console.log(`File ${filePath} and Notion page are in sync`);
+ }
+ } else {
+ // 10. Notion Page does not exist, create it
+ console.log(`Creating Notion page for ${filePath}`);
+ await createNotionPage(metadata, content);
+ }
+ } catch (error) {
+ console.error(`Error processing ${filePath}:`, error);
+ }
+ }
+}
+
+// Helper Functions
+
+// Get all markdown files
+async function getMarkdownFiles(dir: string): Promise {
+ // Initialize ignore with .gitignore patterns
+ const ig = ignore();
+ try {
+ const gitignoreContent = await readFile(path.join(dir, '.gitignore'), 'utf8');
+ ig.add(gitignoreContent);
+ } catch (error) {
+ console.log('No .gitignore file found in', dir);
+ }
+
+ async function getFiles(currentDir: string): Promise {
+ const files = fs.readdirSync(currentDir, { withFileTypes: true });
+ let markdownFiles: string[] = [];
+
+ for (const file of files) {
+ const fullPath = path.join(currentDir, file.name);
+ // Get path relative to the current directory for gitignore checking
+ const relativePath = path.relative(dir, fullPath);
+
+ // Skip if path is ignored by .gitignore
+ if (ig.ignores(relativePath)) {
+ console.log('Ignoring file:', relativePath);
+ continue;
+ }
+
+ if (file.isDirectory()) {
+ markdownFiles = markdownFiles.concat(await getFiles(fullPath));
+ } else if (file.name.endsWith(".md")) {
+ markdownFiles.push(fullPath);
+ }
+ }
+
+ return markdownFiles;
+ }
+
+ return getFiles(dir);
+}
+
+// Get last modified dates from Git
+async function getGitLastModifiedDates(filePaths: string[]): Promise<{ [key: string]: Date }> {
+ const lastModifiedDates: { [key: string]: Date } = {};
+
+ // Loop through all files
+ for (const filePath of filePaths) {
+ try {
+ // Get the last commit date
+ const log = await git.log({ file: filePath, maxCount: 1 });
+ if (log.latest) {
+ lastModifiedDates[filePath] = new Date(log.latest.date);
+ } else {
+ // No commit found, use file stat
+ lastModifiedDates[filePath] = new Date(fs.statSync(filePath).mtime);
+ }
+ } catch (error) {
+ console.error(`Error getting Git log for ${filePath}:`, error);
+ lastModifiedDates[filePath] = new Date(fs.statSync(filePath).mtime); // Fallback to file mtime
+ }
+ }
+ return lastModifiedDates;
+}
+
+// Extract metadata and content from markdown file
+async function extractMetadataAndContent(filePath: string): Promise<{ metadata: MarkdownMetadata; content: string }> {
+ const fileContent = await readFile(filePath, "utf-8");
+ // Regex to match metadata
+ const metadataRegex = /^---\n([\s\S]*?)\n---\n([\s\S]*)$/;
+ const match = fileContent.match(metadataRegex);
+
+ if (!match) {
+ // If no frontmatter found, create default metadata from filename
+ console.log(`No frontmatter found in ${filePath}, creating default metadata`);
+ const fileName = path.basename(filePath, '.md');
+ const title = fileName.split('-').map(word =>
+ word.charAt(0).toUpperCase() + word.slice(1)
+ ).join(' ');
+
+ return {
+ metadata: {
+ title,
+ description: "",
+ published: false,
+ date: new Date().toISOString().split('T')[0],
+ tags: "",
+ editor: "",
+ dateCreated: new Date().toISOString().split('T')[0]
+ },
+ content: fileContent.trim()
+ };
+ }
+
+ // Parse metadata
+ const metadataLines = match[1].trim().split("\n");
+ const metadata: Partial = {};
+ for (const line of metadataLines) {
+ const [key, value] = line.split(":").map((s: string) => s.trim());
+ if (key && value) {
+ // Convert specific fields to their proper types
+ if (key === 'published') {
+ metadata[key] = value.toLowerCase() === 'true';
+ } else {
+ metadata[key as keyof MarkdownMetadata] = value as never;
+ }
+ }
+ }
+
+ // Get the content
+ const content = match[2].trim();
+ return { metadata: metadata as MarkdownMetadata, content };
+}
+
+// Get Notion page by title
+async function getNotionPageByTitle(title: string): Promise {
+ try {
+ const response = await notion.databases.query({
+ database_id: databaseId as string,
+ filter: {
+ property: "title",
+ rich_text: {
+ equals: title,
+ },
+ },
+ });
+ return response.results[0] || null;
+ } catch (error) {
+ console.error("Error in getNotionPageByTitle:", error);
+ return null;
+ }
+}
+
+// Convert markdown content to Notion blocks
+function markdownToBlocks(markdown: string): any[] {
+ const blocks: any[] = [];
+ const lines = markdown.split('\n');
+ let currentBlock: any = null;
+
+ for (let line of lines) {
+ // Handle headers
+ const headerMatch = line.match(/^(#{1,6})\s+(.+)$/);
+ if (headerMatch) {
+ const level = headerMatch[1].length;
+ const text = headerMatch[2];
+ blocks.push({
+ object: "block",
+ type: `heading_${level}`,
+ [`heading_${level}`]: {
+ rich_text: [{ type: "text", text: { content: text } }]
+ }
+ });
+ continue;
+ }
+
+ // Handle code blocks
+ if (line.startsWith('```')) {
+ if (!currentBlock) {
+ currentBlock = {
+ object: "block",
+ type: "code",
+ code: {
+ language: line.slice(3) || "plain text",
+ rich_text: [{ type: "text", text: { content: "" } }]
+ }
+ };
+ } else {
+ blocks.push(currentBlock);
+ currentBlock = null;
+ }
+ continue;
+ }
+
+ // Add content to code block
+ if (currentBlock?.type === "code") {
+ currentBlock.code.rich_text[0].text.content += line + "\n";
+ continue;
+ }
+
+ // Handle bullet points
+ if (line.match(/^[\-\*]\s/)) {
+ blocks.push({
+ object: "block",
+ type: "bulleted_list_item",
+ bulleted_list_item: {
+ rich_text: [{
+ type: "text",
+ text: { content: line.slice(2) }
+ }]
+ }
+ });
+ continue;
+ }
+
+ // Handle numbered lists
+ const numberedListMatch = line.match(/^\d+\.\s+(.+)$/);
+ if (numberedListMatch) {
+ blocks.push({
+ object: "block",
+ type: "numbered_list_item",
+ numbered_list_item: {
+ rich_text: [{
+ type: "text",
+ text: { content: numberedListMatch[1] }
+ }]
+ }
+ });
+ continue;
+ }
+
+ // Handle blockquotes
+ if (line.startsWith('>')) {
+ blocks.push({
+ object: "block",
+ type: "quote",
+ quote: {
+ rich_text: [{
+ type: "text",
+ text: { content: line.slice(1).trim() }
+ }]
+ }
+ });
+ continue;
+ }
+
+ // Handle regular paragraphs (including blank lines)
+ if (line.trim() || blocks.length === 0 || blocks[blocks.length - 1].type !== "paragraph") {
+ blocks.push({
+ object: "block",
+ type: "paragraph",
+ paragraph: {
+ rich_text: [{
+ type: "text",
+ text: { content: line }
+ }]
+ }
+ });
+ }
+ }
+
+ return blocks;
+}
+
+// Create Notion page
+async function createNotionPage(metadata: MarkdownMetadata, content: string) {
+ try {
+ if (!databaseId) throw new Error("Database ID is not set");
+
+ await notion.pages.create({
+ parent: { database_id: databaseId },
+ properties: {
+ title: { title: [{ text: { content: metadata.title } }] },
+ description: { rich_text: [{ text: { content: metadata.description } }] },
+ published: { checkbox: metadata.published },
+ date: { date: { start: metadata.date } },
+ tags: { rich_text: [{ text: { content: metadata.tags } }] },
+ editor: { rich_text: [{ text: { content: metadata.editor } }] },
+ dateCreated: { date: { start: metadata.dateCreated } },
+ },
+ children: markdownToBlocks(content)
+ });
+ } catch (error) {
+ console.error("Error in createNotionPage:", error);
+ }
+}
+
+// Update Notion page
+async function updateNotionPage(pageId: string, metadata: MarkdownMetadata, content: string) {
+ try {
+ const updateData = {
+ page_id: pageId,
+ properties: {
+ description: { rich_text: [{ text: { content: metadata.description } }] },
+ published: { checkbox: metadata.published },
+ date: { date: { start: metadata.date } },
+ tags: { rich_text: [{ text: { content: metadata.tags } }] },
+ editor: { rich_text: [{ text: { content: metadata.editor } }] },
+ dateCreated: { date: { start: metadata.dateCreated } },
+ }
+ };
+ await notion.pages.update(updateData);
+
+ // First delete existing content
+ const existingBlocks = await notion.blocks.children.list({ block_id: pageId });
+ for (const block of existingBlocks.results) {
+ await notion.blocks.delete({ block_id: block.id });
+ }
+
+ // Then add new content as blocks
+ await notion.blocks.children.append({
+ block_id: pageId,
+ children: markdownToBlocks(content)
+ });
+ } catch (error) {
+ console.error("Error in updateNotionPage:", error);
+ }
+}
+
+// Update markdown file from Notion page
+async function updateMarkdownFile(filePath: string, notionPage: any) {
+ // Get properties
+ const props = notionPage.properties;
+ const title = props.title.title[0]?.plain_text || "";
+ const description = props.description.rich_text[0]?.plain_text || "";
+ const published = props.published.checkbox;
+ const date = props.date.date.start;
+ const tags = props.tags.rich_text[0]?.plain_text || "";
+ const editor = props.editor.rich_text[0]?.plain_text || "";
+ const dateCreated = props.dateCreated.date.start;
+
+ // Get content
+ const blocks = await notion.blocks.children.list({ block_id: notionPage.id });
+ let content = "";
+ for (const block of blocks.results) {
+ if ('type' in block && block.type === "paragraph" && 'paragraph' in block) {
+ const paragraph = block.paragraph as { rich_text: Array<{ plain_text: string }> };
+ content += paragraph.rich_text.map(rt => rt.plain_text).join("") + "\n";
+ }
+ }
+
+ // Construct new file content
+ const newFileContent = `---\n` +
+ `title: ${title}\n` +
+ `description: ${description}\n` +
+ `published: ${published}\n` +
+ `date: ${date}\n` +
+ `tags: ${tags}\n` +
+ `editor: ${editor}\n` +
+ `dateCreated: ${dateCreated}\n` +
+ `---\n\n` +
+ content;
+
+ // Write the file
+ await writeFile(filePath, newFileContent);
+}
+
+// Ensure database has required properties
+async function ensureDatabaseProperties() {
+ try {
+ const database = await notion.databases.retrieve({ database_id: databaseId });
+ const existingProps = database.properties;
+ const updates: any = { properties: {} };
+ let needsUpdate = false;
+
+ // Check each required property
+ for (const [key, config] of Object.entries(REQUIRED_PROPERTIES)) {
+ if (!existingProps[key]) {
+ needsUpdate = true;
+ updates.properties[key] = {
+ name: config.name,
+ [config.type]: {}
+ };
+ }
+ }
+
+ // Update database if needed
+ if (needsUpdate) {
+ console.log('Adding missing properties to database...');
+ await notion.databases.update({
+ database_id: databaseId,
+ ...updates
+ });
+ console.log('Database properties updated successfully');
+ }
+ } catch (error) {
+ console.error('Error ensuring database properties:', error);
+ throw error;
+ }
+}
+
+// Only run sync if this is the main module
+if (require.main === module) {
+ ensureDatabaseProperties()
+ .then(() => syncMarkdownFilesToNotion())
+ .catch((error) => {
+ console.error("Global error:", error);
+ });
+}
+
+// Export functions for testing
+module.exports = {
+ getMarkdownFiles,
+ extractMetadataAndContent,
+ getNotionPageByTitle,
+ updateNotionPage,
+ createNotionPage,
+ updateMarkdownFile,
+ ensureDatabaseProperties
+};
\ No newline at end of file
diff --git a/tests/notion-sync.test.ts b/tests/notion-sync.test.ts
new file mode 100644
index 00000000..ec2c097c
--- /dev/null
+++ b/tests/notion-sync.test.ts
@@ -0,0 +1,220 @@
+import * as fs from 'fs';
+import * as path from 'path';
+import { promisify } from 'util';
+import { Client } from "@notionhq/client";
+import { PageObjectResponse } from "@notionhq/client/build/src/api-endpoints";
+import dotenv from 'dotenv';
+
+dotenv.config();
+
+const writeFile = promisify(fs.writeFile);
+const readFile = promisify(fs.readFile);
+const mkdir = promisify(fs.mkdir);
+const rm = promisify(fs.rm);
+const unlink = promisify(fs.unlink);
+
+// Ensure we have the required environment variables
+const NOTION_API_KEY = process.env.NOTION_API_KEY;
+const NOTION_DATABASE_ID = process.env.NOTION_DATABASE_ID;
+
+if (!NOTION_API_KEY || !NOTION_DATABASE_ID) {
+ throw new Error('Missing required environment variables: NOTION_API_KEY and NOTION_DATABASE_ID');
+}
+
+describe('Notion Sync', () => {
+ const testDir = path.join(__dirname, 'test-files');
+ const validMdPath = path.join(testDir, 'valid.md');
+ const noFrontmatterPath = path.join(testDir, 'no-frontmatter.md');
+ const notion = new Client({ auth: NOTION_API_KEY });
+
+ beforeAll(async () => {
+ // Clean up any existing test directory
+ try {
+ await rm(testDir, { recursive: true, force: true });
+ } catch (error) {
+ // Ignore if directory doesn't exist
+ }
+
+ // Create test directory and files
+ await mkdir(testDir, { recursive: true });
+
+ // Create a valid markdown file with frontmatter
+ const validContent = `---
+title: Test Sync Document
+description: A test document for syncing
+published: true
+date: 2024-03-20
+tags: test, sync
+editor: jest
+dateCreated: 2024-03-20
+---
+
+# Test Content
+This is a test document for syncing.`;
+
+ // Create a markdown file without frontmatter
+ const noFrontmatterContent = `# No Frontmatter
+This document has no frontmatter.`;
+
+ await writeFile(validMdPath, validContent);
+ await writeFile(noFrontmatterPath, noFrontmatterContent);
+ });
+
+ afterAll(async () => {
+ // Cleanup test directory and all its contents
+ await rm(testDir, { recursive: true, force: true });
+
+ // Clean up Notion test pages
+ try {
+ const response = await notion.databases.query({
+ database_id: NOTION_DATABASE_ID,
+ filter: {
+ property: "title",
+ rich_text: {
+ contains: "Test Sync Document"
+ }
+ }
+ });
+
+ for (const page of response.results) {
+ await notion.pages.update({
+ page_id: page.id,
+ archived: true
+ });
+ }
+ } catch (error) {
+ console.error('Error cleaning up Notion pages:', error);
+ }
+ });
+
+ it('should find markdown files', async () => {
+ const { getMarkdownFiles } = require('../scripts/notion-sync');
+ const files = await getMarkdownFiles(testDir);
+ expect(files).toHaveLength(2);
+ expect(files.map(f => path.basename(f))).toContain('valid.md');
+ expect(files.map(f => path.basename(f))).toContain('no-frontmatter.md');
+ });
+
+ it('should extract metadata from valid frontmatter', async () => {
+ const { extractMetadataAndContent } = require('../scripts/notion-sync');
+ const { metadata, content } = await extractMetadataAndContent(validMdPath);
+
+ expect(metadata).toEqual({
+ title: 'Test Sync Document',
+ description: 'A test document for syncing',
+ published: true,
+ date: '2024-03-20',
+ tags: 'test, sync',
+ editor: 'jest',
+ dateCreated: '2024-03-20'
+ });
+
+ expect(content).toContain('# Test Content');
+ });
+
+ it('should handle files without frontmatter', async () => {
+ const { extractMetadataAndContent } = require('../scripts/notion-sync');
+ const { metadata, content } = await extractMetadataAndContent(noFrontmatterPath);
+
+ expect(metadata).toHaveProperty('title', 'No Frontmatter');
+ expect(metadata).toHaveProperty('published', false);
+ expect(metadata).toHaveProperty('description', '');
+ expect(content).toContain('# No Frontmatter');
+ });
+
+ it('should respect .gitignore patterns', async () => {
+ // Create a .gitignore file in test directory
+ const gitignorePath = path.join(testDir, '.gitignore');
+ await writeFile(gitignorePath, 'ignored.md\n');
+
+ // Create an ignored file
+ const ignoredPath = path.join(testDir, 'ignored.md');
+ await writeFile(ignoredPath, '# Ignored file');
+
+ const { getMarkdownFiles } = require('../scripts/notion-sync');
+ const files = await getMarkdownFiles(testDir);
+
+ expect(files.map(f => path.basename(f))).not.toContain('ignored.md');
+
+ // Cleanup
+ await unlink(gitignorePath);
+ await unlink(ignoredPath);
+ });
+
+ describe('Bidirectional Sync', () => {
+ beforeAll(async () => {
+ // Ensure database has required properties
+ const { ensureDatabaseProperties } = require('../scripts/notion-sync');
+ await ensureDatabaseProperties();
+ });
+
+ it('should create a new page in Notion from markdown', async () => {
+ const { createNotionPage, extractMetadataAndContent } = require('../scripts/notion-sync');
+
+ // First extract the metadata and content
+ const { metadata, content } = await extractMetadataAndContent(validMdPath);
+
+ // Create the page in Notion
+ await createNotionPage(metadata, content);
+
+ // Verify the page was created
+ const response = await notion.databases.query({
+ database_id: NOTION_DATABASE_ID,
+ filter: {
+ property: "title",
+ rich_text: {
+ equals: metadata.title
+ }
+ }
+ });
+
+ expect(response.results).toHaveLength(1);
+ const page = response.results[0] as PageObjectResponse;
+ const titleProperty = page.properties.title as { title: Array<{ plain_text: string }> };
+ const descriptionProperty = page.properties.description as { rich_text: Array<{ plain_text: string }> };
+ const publishedProperty = page.properties.published as { checkbox: boolean };
+
+ expect(titleProperty.title[0].plain_text).toBe(metadata.title);
+ expect(descriptionProperty.rich_text[0].plain_text).toBe(metadata.description);
+ expect(publishedProperty.checkbox).toBe(metadata.published);
+ });
+
+ it('should update markdown file from Notion changes', async () => {
+ const { updateMarkdownFile, getNotionPageByTitle } = require('../scripts/notion-sync');
+
+ // Get the test page from Notion
+ const notionPage = await getNotionPageByTitle('Test Sync Document');
+ expect(notionPage).not.toBeNull();
+
+ // Update the page in Notion
+ const updatedTitle = 'Updated Test Document';
+ await notion.pages.update({
+ page_id: notionPage.id,
+ properties: {
+ title: {
+ title: [{ text: { content: updatedTitle } }]
+ },
+ description: {
+ rich_text: [{ text: { content: 'Updated description' } }]
+ }
+ }
+ });
+
+ // Create a new test file to update
+ const testFilePath = path.join(testDir, 'to-update.md');
+ await writeFile(testFilePath, 'Initial content');
+
+ // Update the markdown file from Notion
+ const updatedPage = await getNotionPageByTitle(updatedTitle);
+ await updateMarkdownFile(testFilePath, updatedPage);
+
+ // Read and verify the updated file
+ const updatedContent = await readFile(testFilePath, 'utf-8');
+ expect(updatedContent).toContain('title: Updated Test Document');
+ expect(updatedContent).toContain('description: Updated description');
+
+ // Cleanup
+ await unlink(testFilePath);
+ });
+ });
+});
\ No newline at end of file
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 00000000..04b4c75e
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,23 @@
+{
+ "compilerOptions": {
+ "target": "ES2018",
+ "module": "CommonJS",
+ "lib": ["ES2018"],
+ "strict": true,
+ "esModuleInterop": true,
+ "skipLibCheck": true,
+ "forceConsistentCasingInFileNames": true,
+ "outDir": "./dist",
+ "rootDir": "./",
+ "resolveJsonModule": true,
+ "allowJs": true,
+ "noImplicitAny": false
+ },
+ "include": [
+ "scripts/**/*"
+ ],
+ "exclude": [
+ "node_modules",
+ "dist"
+ ]
+}
\ No newline at end of file