<commit_before>import API, { Settings } from "api"
import { gql } from "apollo-boost"
import { PersonSimpleOverlayRow } from "components/advancedSelectWidget/AdvancedSelectOverlayRow"
import AdvancedSingleSelect from "components/advancedSelectWidget/AdvancedSingleSelect"
import * as FieldHelper from "components/FieldHelper"
import LinkTo from "components/LinkTo"
import Messages from "components/Messages"
import Page, {
  jumpToTop,
  mapDispatchToProps,
  propTypes as pagePropTypes
} from "components/Page"
import { Field, Form, Formik } from "formik"
import _isEmpty from "lodash/isEmpty"
import { Person } from "models"
import moment from "moment"
import React from "react"
import { Alert, Button, Checkbox, Col, Grid, Row } from "react-bootstrap"
import { connect } from "react-redux"
import { withRouter } from "react-router-dom"
import PEOPLE_ICON from "resources/people.png"
import * as yup from "yup"

const GQL_MERGE_PEOPLE = gql`
  mutation($winnerUuid: String!, $loserUuid: String!, $copyPosition: Boolean!) {
    mergePeople(
      winnerUuid: $winnerUuid
      loserUuid: $loserUuid
      copyPosition: $copyPosition
    ) {
      uuid
    }
  }
`

class MergePeople extends Page {
  static propTypes = { ...pagePropTypes }<commit_msg>Fix copy-paste error in mergePeople mutation<commit_after>import API, { Settings } from "api"
import { gql } from "apollo-boost"
import { PersonSimpleOverlayRow } from "components/advancedSelectWidget/AdvancedSelectOverlayRow"
import AdvancedSingleSelect from "components/advancedSelectWidget/AdvancedSingleSelect"
import * as FieldHelper from "components/FieldHelper"
import LinkTo from "components/LinkTo"
import Messages from "components/Messages"
import Page, {
  jumpToTop,
  mapDispatchToProps,
  propTypes as pagePropTypes
} from "components/Page"
import { Field, Form, Formik } from "formik"
import _isEmpty from "lodash/isEmpty"
import { Person } from "models"
import moment from "moment"
import React from "react"
import { Alert, Button, Checkbox, Col, Grid, Row } from "react-bootstrap"
import { connect } from "react-redux"
import { withRouter } from "react-router-dom"
import PEOPLE_ICON from "resources/people.png"
import * as yup from "yup"

const GQL_MERGE_PEOPLE = gql`
  mutation($winnerUuid: String!, $loserUuid: String!, $copyPosition: Boolean!) {
    mergePeople(
      winnerUuid: $winnerUuid
      loserUuid: $loserUuid
      copyPosition: $copyPosition
    )
  }
`

class MergePeople extends Page {
  static propTypes = { ...pagePropTypes }
{'fraction_non_alphanumeric': 0.09578696343402225, 'fraction_numerical': 0.0, 'mean_word_length': 5.079710144927536, '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': '394128', 'n_tokens_mistral': 774, 'n_tokens_neox': 753, 'n_words': 226}