<commit_before>from django.db import models
from django.utils.translation import ugettext_lazy as _

class Meal(models.Model):
	class Meta:
		verbose_name_plural = _('meals')

	#Meal information
	nom = models.CharField(max_length=50, verbose_name=_('name'))
	description = models.TextFields(verbose_name=_('description'))
	ingredients = models.ManyToManyField(Ingredient, related_name='related_meals'))

class Ingredient(models.Model):
        class Meta:
                verbose_name_plural = _('ingredients')

        #Ingredient information
        nom = models.CharField(max_length=50, verbose_name=_('name'))


class Allergy(models.Model):
        class Meta:
                verbose_name_plural = _('allergies')

        #Allergy information
        nom = models.CharField(max_length=50, verbose_name=_('name'))
        description = models.TextFields(verbose_name=_('description'))
        ingredients = models.ManyToManyField(Ingredient, related_name='related_allergies'))
<commit_msg>standardize and fixs some error in meals model<commit_after>from django.db import models
from django.utils.translation import ugettext_lazy as _


class Meal(models.Model):
    class Meta:
        verbose_name_plural = _('meals')

    # Meal information
    nom = models.CharField(max_length=50, verbose_name=_('name'))
    description = models.TextField(verbose_name=_('description'))
    ingredients = models.ManyToManyField(
        'Ingredient',
        related_name='related_meals'
    )


class Ingredient(models.Model):
    class Meta:
        verbose_name_plural = _('ingredients')

        # Ingredient information
        nom = models.CharField(max_length=50, verbose_name=_('name'))


class Allergy(models.Model):
    class Meta:
        verbose_name_plural = _('allergies')

    # Allergy information
    nom = models.CharField(max_length=50, verbose_name=_('name'))
    description = models.TextFields(verbose_name=_('description'))
    ingredients = models.ManyToManyField(
        'Ingredient',
        related_name='related_allergies'
    )

{'fraction_non_alphanumeric': 0.10634146341463414, 'fraction_numerical': 0.005853658536585366, 'mean_word_length': 4.0024390243902435, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '507192', 'n_tokens_mistral': 640, 'n_tokens_neox': 615, 'n_words': 113}