Skip to content

Conversation

@XanderVertegaal
Copy link
Contributor

This PR updates the Problem model.

Fields shared by all models (premises, hypothesis, entailment_label) are homogenized and set as model fields. The frontend no longer has to do conversions from dataset-specific entailment labels to a general one. The backend takes care of this.

The content JSONField has been renamed to extra_data and now contains info specific to the individual problem sets. The methods importing and serializing this problem-specific data are kept close to one another, within the same class.

@XanderVertegaal XanderVertegaal added the enhancement New feature or request label Jul 8, 2025
@XanderVertegaal XanderVertegaal merged commit 72f791f into develop Jul 11, 2025
1 check passed
@XanderVertegaal XanderVertegaal deleted the feature/problem-model-updates branch July 11, 2025 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants