<commit_before>// @flow
import * as React from 'react'
import {Avatar, Text, Box, PopupDialog, ScrollView, Checkbox, Icon} from '../../common-adapters'
import {globalStyles, globalColors, globalMargins} from '../../styles'

import type {Props, RowProps} from '.'

const Row = (props: RowProps & {onToggle: () => void}) => (
  <Box
    style={{
      ...globalStyles.flexBoxColumn,
      paddingLeft: globalMargins.medium,
      paddingRight: globalMargins.medium,
    }}
  >
    <Box style={{...globalStyles.flexBoxRow, alignItems: 'center', height: 40}}>
      <Box style={_rowBox}>
        <Box style={{...globalStyles.flexBoxRow, alignItems: 'center', width: 16}}>
          <Checkbox
            checked={props.selected}
            label=""
            onCheck={props.onToggle}
            style={{alignSelf: 'flext-start', marginRight: 0}}
          />
        </Box>
        <Box style={{...globalStyles.flexBoxColumn, marginLeft: globalMargins.tiny, height: 32}}>
          <Text type="BodySemibold" style={{color: globalColors.blue}}>#{props.name}</Text>
          <Text type="BodySmall">{props.description}</Text>
        </Box>
      </Box>
    </Box>
  </Box>
)
<commit_msg>Fix (#8592)<commit_after>// @flow
import * as React from 'react'
import {Avatar, Text, Box, PopupDialog, ScrollView, Checkbox, Icon} from '../../common-adapters'
import {globalStyles, globalColors, globalMargins} from '../../styles'

import type {Props, RowProps} from '.'

const Row = (props: RowProps & {onToggle: () => void}) => (
  <Box
    style={{
      ...globalStyles.flexBoxColumn,
      paddingLeft: globalMargins.medium,
      paddingRight: globalMargins.medium,
    }}
  >
    <Box style={{...globalStyles.flexBoxRow, alignItems: 'center', minHeight: 40}}>
      <Box style={_rowBox}>
        <Box style={{...globalStyles.flexBoxRow, alignItems: 'center', width: 16}}>
          <Checkbox
            checked={props.selected}
            label=""
            onCheck={props.onToggle}
            style={{alignSelf: 'flext-start', marginRight: 0}}
          />
        </Box>
        <Box style={{...globalStyles.flexBoxColumn, marginLeft: globalMargins.tiny, minHeight: 32}}>
          <Text type="BodySemibold" style={{color: globalColors.blue}}>#{props.name}</Text>
          <Text type="BodySmall">{props.description}</Text>
        </Box>
      </Box>
    </Box>
  </Box>
)

{'fraction_non_alphanumeric': 0.17213804713804715, 'fraction_numerical': 0.007575757575757576, 'mean_word_length': 2.7610759493670884, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 37, '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': '5655475', 'n_tokens_mistral': 746, 'n_tokens_neox': 745, 'n_words': 161}