-
Notifications
You must be signed in to change notification settings - Fork 3
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
adding some more API classes (participant, session, dataset) #50
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## audio_abstract_dtype #50 +/- ##
========================================================
+ Coverage 59.12% 61.81% +2.69%
========================================================
Files 36 38 +2
Lines 932 1037 +105
========================================================
+ Hits 551 641 +90
- Misses 381 396 +15 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's connect on making sure we can merge our Datasets together correctly but seems good generally. Do you know that the HuggingFace functionality works? Do we have tests for it?
scripts/experiment7.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this pretty easily could've been a test file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty sure that this in fact did become a test file but probably should limit use of these experiment files to keep the repo clean
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agree. we can remove that scripts
folder
metadata: Dict = Field(default={}) | ||
|
||
@field_validator("id", mode="before") | ||
def set_id(cls, v: str) -> str: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if this will ever get run because you have a default_factory if the id is not provided so probably not needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But the default_factory is if you use it in a Dataset. Otherwise, you need some checks (and this is why we have the validator)
return False | ||
|
||
|
||
class SenselabDataset(BaseModel): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems like we made complimentary datasets (mine handles Audio/Video, yours has some base functions for the participants and sessions).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sounds amazing. If you want, we can make a coding session together tomorrow after lunch and marge all what we have
No description provided.