<commit_before><?php
namespace Jazzee\Entity;

/**
 * Applicant
 * Individual applicants are tied to an Application - but a single person can be multiple Applicants
 *
 * @Entity
 * @Table(name="decisions")
 * @SuppressWarnings(PHPMD.ShortVariable)
 * @author  <NAME>  <<EMAIL>>
 * @license http://jazzee.org/license BSD-3-Clause
 */
class Decision
{

  /**
   * @Id
   * @Column(type="bigint")
   * @GeneratedValue(strategy="AUTO")
   */
  private $id;

  /**
   * @OneToOne(targetEntity="Applicant",inversedBy="decision")
   * @JoinColumn(onDelete="CASCADE")
   */
  private $applicant;

  /** @Column(type="datetime", nullable=true) */
  private $nominateAdmit;

  /** @Column(type="datetime", nullable=true) */
  private $nominateDeny;

  /** @Column(type="datetime", nullable=true) */
  private $finalAdmit;

  /** @Column(type="datetime", nullable=true) */
  private $finalDeny;

  /** @Column(type="datetime", nullable=true) */
  private $offerResponseDeadline;

  /** @Column(type="datetime", nullable=true) */
  private $decisionViewed;

  /** @Column(type="datetime", nullable=true) */
  private $acceptOffer;

  /** @Column(type="datetime", nullable=true) */
  private $declineOffer;

  /**
   * Get Id
   * @return integer
   */
  public function getId()
  {
    return $this->id;
  }

  /**
   * Set applicant
   *
   * @param Entity\Applicant $applicant
   */
  public function setApplicant(Applicant $applicant)
  {
    $this->applicant = $applicant;
  }

  /**
   * Format a decision time stamp
   * @param string $dateString
   */
  protected function decisionStamp($dateString)
  {
    $dateString = empty($dateString) ? 'now' : $dateString;

    return new \DateTime($dateString);
  }<commit_msg>Add missign getApplicant method to Decision entity.<commit_after><?php
namespace Jazzee\Entity;

/**
 * Applicant
 * Individual applicants are tied to an Application - but a single person can be multiple Applicants
 *
 * @Entity
 * @Table(name="decisions")
 * @SuppressWarnings(PHPMD.ShortVariable)
 * @author  <NAME>  <<EMAIL>>
 * @license http://jazzee.org/license BSD-3-Clause
 */
class Decision
{

  /**
   * @Id
   * @Column(type="bigint")
   * @GeneratedValue(strategy="AUTO")
   */
  private $id;

  /**
   * @OneToOne(targetEntity="Applicant",inversedBy="decision")
   * @JoinColumn(onDelete="CASCADE")
   */
  private $applicant;

  /** @Column(type="datetime", nullable=true) */
  private $nominateAdmit;

  /** @Column(type="datetime", nullable=true) */
  private $nominateDeny;

  /** @Column(type="datetime", nullable=true) */
  private $finalAdmit;

  /** @Column(type="datetime", nullable=true) */
  private $finalDeny;

  /** @Column(type="datetime", nullable=true) */
  private $offerResponseDeadline;

  /** @Column(type="datetime", nullable=true) */
  private $decisionViewed;

  /** @Column(type="datetime", nullable=true) */
  private $acceptOffer;

  /** @Column(type="datetime", nullable=true) */
  private $declineOffer;

  /**
   * Get Id
   * @return integer
   */
  public function getId()
  {
    return $this->id;
  }

  /**
   * Set applicant
   *
   * @param Entity\Applicant $applicant
   */
  public function setApplicant(Applicant $applicant)
  {
    $this->applicant = $applicant;
  }

  /**
   * Get applicant
   *
   * @return Applicant
   */
  public function getApplicant()
  {
    return $this->applicant;
  }

  /**
   * Format a decision time stamp
   * @param string $dateString
   */
  protected function decisionStamp($dateString)
  {
    $dateString = empty($dateString) ? 'now' : $dateString;

    return new \DateTime($dateString);
  }
{'fraction_non_alphanumeric': 0.16286826014452474, 'fraction_numerical': 0.0005558643690939411, 'mean_word_length': 3.5905612244897958, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 14, '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': '4714830', 'n_tokens_mistral': 1247, 'n_tokens_neox': 1186, 'n_words': 233}