<commit_before>﻿Imports ProjectTracker.Library

Public Class GetProject
  Inherits Activity

#Region " Dependency Properties "

  Private Shared ProjectIdProperty As DependencyProperty = _
    DependencyProperty.Register( _
    "ProjectId", GetType(Guid), GetType(GetProject), Nothing)

  Public Property ProjectId() As Guid
    Get
      Return CType(MyBase.GetValue(ProjectIdProperty), Guid)
    End Get
    Set(ByVal value As Guid)
      MyBase.SetValue(ProjectIdProperty, value)
    End Set
  End Property

  Private Shared ProjectProperty As DependencyProperty = _
    DependencyProperty.Register( _
    "Project", GetType(Project), GetType(GetProject), Nothing)

  Public Property Project() As Project
    Get
      Return CType(MyBase.GetValue(ProjectProperty), Project)
    End Get
    Set(ByVal value As Project)
      MyBase.SetValue(ProjectProperty, value)
    End Set
  End Property

#End Region

  Protected Overrides Function Execute(ByVal executionContext As ActivityExecutionContext) As ActivityExecutionStatus

    Me.Project = Project.GetProject(Me.ProjectId)
    Return MyBase.Execute(executionContext)

  End Function

End Class<commit_msg>Code formatting.<commit_after>﻿Imports ProjectTracker.Library

Public Class GetProject
  Inherits Activity

#Region " Dependency Properties "

  Private Shared ProjectIdProperty As DependencyProperty = _
    DependencyProperty.Register( _
    "ProjectId", GetType(Guid), GetType(GetProject), Nothing)

  Public Property ProjectId() As Guid
    Get
      Return CType(MyBase.GetValue(ProjectIdProperty), Guid)
    End Get
    Set(ByVal value As Guid)
      MyBase.SetValue(ProjectIdProperty, value)
    End Set
  End Property

  Private Shared ProjectProperty As DependencyProperty = _
    DependencyProperty.Register( _
    "Project", GetType(Project), GetType(GetProject), Nothing)

  Public Property Project() As Project
    Get
      Return CType(MyBase.GetValue(ProjectProperty), Project)
    End Get
    Set(ByVal value As Project)
      MyBase.SetValue(ProjectProperty, value)
    End Set
  End Property

#End Region

  Protected Overrides Function Execute( _
    ByVal executionContext As ActivityExecutionContext) As ActivityExecutionStatus

    Me.Project = Project.GetProject(Me.ProjectId)
    Return MyBase.Execute(executionContext)

  End Function

End Class
{'fraction_non_alphanumeric': 0.06394849785407725, 'fraction_numerical': 0.0, 'mean_word_length': 4.214765100671141, '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': '1360287', 'n_tokens_mistral': 656, 'n_tokens_neox': 618, 'n_words': 183}