ckak912 / CodeBuddy_LLM

CodeBuddy: A learning management system for programmers with integrated LLM support
https://codebuddy.byu.edu
MIT License
1 stars 1 forks source link

Change database structure to store user code with associated model response #33

Closed ckak912 closed 1 year ago

ckak912 commented 1 year ago

For our data evaluation process, we need to efficiently manage and extract the data related to the user's current code implementation and the associated responses from the model (pseudo code, hint code, feedback). Currently this data is stored in a single table which could make the extraction process challenging.

To do:

  1. Seperate Tables
    • create seperate tables for user code and model responses to maintain data seperation.
    • _LLM_usercode table: Stores the user code with metadata and a timestamp(ID's for exercise, course, assignment)

By doing this, we can write SQL queries that join user code and their model responses based on the ID's and the timestamps that exist in both tables.

ckak912 commented 1 year ago

2ez