<commit_before>import React from 'react';
import { ListGroupItem, Modal, Grid, Row, Col, Button, Glyphicon, ButtonToolbar } from 'react-bootstrap';

import JobContent from './JobContent';
import Task from './Task';


class JobListItem extends React.Component {
  constructor(props){
    super(props);
    this.state = {
      currentList: props.currentList,
      jobData: props.jobData,
      jobTitle: props.jobData.title,
      company: props.jobData.company,
      location: props.jobData.location,
      jobDesc: props.jobData.description,
      api: props.jobData.api || null,
      jobLink: props.jobData.link,
      showModal: false,
       Jobid : props.jobData._id,   
      userid : props.jobContent[0].user_id
    }
  }

  openModal() {
    this.setState({<commit_msg>adding comments<commit_after>import React from 'react';
import { ListGroupItem, Modal, Grid, Row, Col, Button, Glyphicon, ButtonToolbar } from 'react-bootstrap';

import JobContent from './JobContent';
import Task from './Task';


class JobListItem extends React.Component {
  constructor(props){
    super(props);
    this.state = {
      currentList: props.currentList,
      jobData: props.jobData,
      jobTitle: props.jobData.title,
      company: props.jobData.company,
      location: props.jobData.location,
      jobDesc: props.jobData.description,
      api: props.jobData.api || null,
      jobLink: props.jobData.link,
      showModal: false,
      //Passing values to Task
       Jobid : props.jobData._id,   
      userid : props.jobContent[0].user_id
    }
  }

  openModal() {
    this.setState({
{'fraction_non_alphanumeric': 0.1155053358443189, 'fraction_numerical': 0.0012554927809165098, 'mean_word_length': 3.1082474226804124, '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': '3282848', 'n_tokens_mistral': 486, 'n_tokens_neox': 485, 'n_words': 114}