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

Feat/task validation #35

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Feat/task validation #35

wants to merge 12 commits into from

Conversation

michaelPD-iAI
Copy link
Contributor

Adds Pydantic models and validators for inputs and outputs for each themefinder task and unit tests for all

@michaelPD-iAI michaelPD-iAI requested a review from JLoweAI March 20, 2025 13:56
refined_themes_df["response_id"] = range(len(refined_themes_df))

def transpose_aligned_themes(aligned_themes: pd.DataFrame):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Downstream this transposition is needed for mapping. we should reimplement it in theme_mapping

valid.append(record)
except ValidationError:
invalid.append(record)
print(record)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to remove

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.

2 participants