<commit_before>from bluebottle.projects.models import ProjectBudgetLine
from bluebottle.tasks.models import Task
from bluebottle.bb_accounts.serializers import UserPreviewSerializer
from bluebottle.geo.serializers import CountrySerializer
from rest_framework import serializers

from bluebottle.bluebottle_drf2.serializers import (SorlImageField, SlugGenericRelatedField, PolymorphicSerializer, EuroField,
                                              TagSerializer, ImageSerializer, TaggableSerializerMixin)
from bluebottle.geo.models import Country
from bluebottle.utils.serializers import MetaField
from bluebottle.bluebottle_drf2.serializers import OEmbedField

from bluebottle.bb_projects.serializers import ProjectThemeSerializer
from bluebottle.donations.models import Donation

from bluebottle.utils.model_dispatcher import get_project_model
from bluebottle.bb_projects.serializers import (ProjectSerializer as BaseProjectSerializer,
                                                ManageProjectSerializer as BaseManageProjectSerializer,
                                                ProjectPreviewSerializer as BaseProjectPreviewSerializer)

from bs4 import BeautifulSoup

PROJECT_MODEL = get_project_model()

class StoryField(serializers.WritableField):
    def to_native(self, value):
        """ Reading / Loading the story field """
        return value<commit_msg>revert adding of task serializer<commit_after>from bluebottle.projects.models import ProjectBudgetLine
from bluebottle.bb_accounts.serializers import UserPreviewSerializer
from bluebottle.geo.serializers import CountrySerializer
from rest_framework import serializers

from bluebottle.bluebottle_drf2.serializers import (SorlImageField, SlugGenericRelatedField, PolymorphicSerializer, EuroField,
                                              TagSerializer, ImageSerializer, TaggableSerializerMixin)
from bluebottle.geo.models import Country
from bluebottle.utils.serializers import MetaField
from bluebottle.bluebottle_drf2.serializers import OEmbedField

from bluebottle.bb_projects.serializers import ProjectThemeSerializer
from bluebottle.donations.models import Donation

from bluebottle.utils.model_dispatcher import get_project_model
from bluebottle.bb_projects.serializers import (ProjectSerializer as BaseProjectSerializer,
                                                ManageProjectSerializer as BaseManageProjectSerializer,
                                                ProjectPreviewSerializer as BaseProjectPreviewSerializer)

from bs4 import BeautifulSoup

PROJECT_MODEL = get_project_model()

class StoryField(serializers.WritableField):
    def to_native(self, value):
        """ Reading / Loading the story field """
        return value
{'fraction_non_alphanumeric': 0.04090577063550037, 'fraction_numerical': 0.002191380569758948, 'mean_word_length': 3.8823529411764706, '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': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4380172', 'n_tokens_mistral': 675, 'n_tokens_neox': 662, 'n_words': 167}