Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth instructions, blood test parser, time conversion improvements and schema updates #207

Merged
merged 8 commits into from
Jul 6, 2024

Conversation

mikepsinn
Copy link
Contributor

This pull request introduces several improvements to our codebase, focusing on time conversion refactoring, FDA-related functionality enhancements, and database structure updates. Key changes include:

  1. Time Conversion Refactoring:

    • Refactored time conversion methods in libraries to improve efficiency and readability.
  2. FDA-related Enhancements:

    • Added FDAi tests and related functions to strengthen our FDA-related capabilities.
    • Initiated work on blood test extraction functionality (work in progress).
  3. Database Updates:

    • Added Prisma schema for Postgres database, improving our data modeling and management.

mikepsinn and others added 6 commits May 23, 2024 22:12
Optimized the handling of local and UTC datetime conversions across multiple methods within the application libraries. Updated the code to be more efficient by removing unnecessary checks and adjusting for timezone offsets correctly. Also renamed some variables for better consistency and clarity.
This commit introduces test cases for the FDAi functionality, specifically for cost-benefit analysis and safe unapproved drugs. The corresponding functions to be tested also have been added in the lib/fdaiAgent.ts file. These functions aim to provide detailed analysis based on prompts related to food or drug consumption benefits, risks, and costs.
This commit introduces a new Prisma schema for a Postgres database. The schema includes various models such as `global_variable_relationships`, `cohort_studies`, `cohort_study_statistics`, `common_tags`, `connections`, `connector_imports`, `connector_requests`, `connectors`, `correlation_causality_votes`, `variable_relationship_usefulness_votes`, and `user_variable_relationships`. Each model is defined with its respective attributes and relationships. Additionally, specific indices, uniqueness constraints, and default field values have been added where necessary.
Copy link

vercel bot commented Jul 6, 2024

@mikepsinn is attempting to deploy a commit to the Crowdsourcing Cures Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Jul 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fdai-next ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 6, 2024 9:22pm

A new guide detailing the process of integrating our API with OAuth 2.0 has been added to the API documentation. This guide explains how to obtain an access token, use it for making authenticated requests, and refreshing it when expired. In addition, the GitHub link in the footer socials section of 'mint.json' has also been updated.
@mikepsinn mikepsinn changed the title Time conversion improvements and schema updates OAuth instructions, blood test parser, time conversion improvements and schema updates Jul 6, 2024
@mikepsinn mikepsinn merged commit 7db1755 into FDA-AI:develop Jul 6, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant