<commit_before>// @flow

import cx from '../../utils/cx';
import type {Project} from '../../stores/ProjectSearchStore.js';
import React from 'react';
import Section from '../../../components/enums/Section.js';
import url from '../../utils/url.js';
import {Locations} from "../../constants/ProjectConstants.js";
import cdn from "../../utils/cdn.js";
import Moment from 'react-moment';

type Props = {|
  +project: Project,
|};

class ProjectCard extends React.PureComponent<Props> {

  _cx: cx;

  constructor(): void {
    super();
    this._cx = new cx('ProjectCard-');
  }

  render(): React$Node {
    return (
      <div className="col-12 col-lg-6">
        <div className="ProjectCard-root">
          <a href={url.section(Section.AboutProject, {id: this.props.project.id})}
            target="_blank" rel="noopener noreferrer">
            {this._renderSubInfo()}
            {this._renderProjectDescription()}
          </a>
        </div>
      </div>
    );<commit_msg>reset<commit_after>// @flow

import cx from '../../utils/cx';
import type {Project} from '../../stores/ProjectSearchStore.js';
import React from 'react';
import Section from '../../../components/enums/Section.js';
import url from '../../utils/url.js';
import {Locations} from "../../constants/ProjectConstants.js";
import cdn from "../../utils/cdn.js";
import Moment from 'react-moment';

type Props = {|
  +project: Project,
|};

class ProjectCard extends React.PureComponent<Props> {

  _cx: cx;

  constructor(): void {
    super();
    this._cx = new cx('ProjectCard-');
  }

  render(): React$Node {
    return (
      <div className="col-12 col-md-6">
        <div className="ProjectCard-root">
          <a href={url.section(Section.AboutProject, {id: this.props.project.id})}
            target="_blank" rel="noopener noreferrer">
            {this._renderSubInfo()}
            {this._renderProjectDescription()}
          </a>
        </div>
      </div>
    );
{'fraction_non_alphanumeric': 0.18461538461538463, 'fraction_numerical': 0.003076923076923077, 'mean_word_length': 2.646728971962617, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '3436185', 'n_tokens_mistral': 591, 'n_tokens_neox': 594, 'n_words': 142}