Spaces:
Sleeping
Sleeping
import dataclasses | |
from datetime import datetime | |
class NavigationEvent(): | |
version:int = 1 | |
event_type:str = '(none)' | |
event_date:str = datetime.isoformat(datetime.utcnow()) | |
event_session_id:str = "" | |
event_params:dict=dataclasses.field(default_factory=dict) | |
class CodeSubmittedEvent(): | |
version:int = 1 | |
submitted_date: str = datetime.isoformat(datetime.utcnow()) | |
received_date: str = datetime.isoformat(datetime.utcnow()) | |
event_session_id:str = "" | |
db_question_evaluation_id:int = 0 | |
code_to_eval:str = "" | |
evaluation_engine:str = "chatGPT" | |
prompt_version:int = 1 | |
evaluation_response:str = "" | |
has_feedback:bool = False | |
feedback_date:str = "" | |
feedback_userdata:dict=dataclasses.field(default_factory=dict) | |