<commit_before>from django.contrib import admin
from goalmatrix.models import Employee, Goal, Assignment, AcceptanceCriteria, Deliverable, Team

admin.site.register(Employee)
admin.site.register(Goal)
admin.site.register(Assignment)
admin.site.register(AcceptanceCriteria)
admin.site.register(Deliverable)
admin.site.register(Team)
<commit_msg>Added changes to Employee admin interface adn Assingment admin interface<commit_after>from django.contrib import admin
from goalmatrix.models import Employee, Goal, Assignment, AcceptanceCriteria, Deliverable, Team

class AssignmentAdmin(admin.ModelAdmin):
    list_display = ["position", "goal", "weight"]
    search_fields = ["goal"]

class AssignmentInLine(admin.TabularInline):
    model = Assignment
    
class EmployeeAdmin(admin.ModelAdmin):
    inlines = [AssignmentInLine]
    
admin.site.register(Employee, EmployeeAdmin)
admin.site.register(Goal)
admin.site.register(Assignment, AssignmentAdmin)
admin.site.register(AcceptanceCriteria)
admin.site.register(Deliverable)
admin.site.register(Team)

{'fraction_non_alphanumeric': 0.09714285714285714, 'fraction_numerical': 0.0, 'mean_word_length': 7.084615384615384, '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': '7015351', 'n_tokens_mistral': 306, 'n_tokens_neox': 300, 'n_words': 65}