<commit_before>class TextFormattingTableViewCell: UITableViewCell {
    let topSeparator = UIView()

    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        addSeparator()
        configureSeparator()
        backgroundView = UIView()
        selectedBackgroundView = UIView()
        updateFonts()
    }

    private func addSeparator() {
        topSeparator.translatesAutoresizingMaskIntoConstraints = false
        contentView.addSubview(topSeparator)
    }

    private func configureSeparator() {
        let topSeparatorHeightConstraint = topSeparator.heightAnchor.constraint(equalToConstant: 1)
        let topSeparatorTopConstraint = topSeparator.topAnchor.constraint(equalTo: contentView.topAnchor)
        let topSeparatorLeadingConstraint = topSeparator.leadingAnchor.constraint(equalTo: leadingAnchor)
        let topSeparatorTrailingConstraint = topSeparator.trailingAnchor.constraint(equalTo: trailingAnchor)

        NSLayoutConstraint.activate([
            topSeparatorHeightConstraint,
            topSeparatorTopConstraint,
            topSeparatorLeadingConstraint,
            topSeparatorTrailingConstraint
        ])
    }<commit_msg>add separator to view - contentView is not full width in iOS 13<commit_after>class TextFormattingTableViewCell: UITableViewCell {
    let topSeparator = UIView()

    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        addSeparator()
        configureSeparator()
        backgroundView = UIView()
        selectedBackgroundView = UIView()
        updateFonts()
    }

    private func addSeparator() {
        topSeparator.translatesAutoresizingMaskIntoConstraints = false
        addSubview(topSeparator)
    }

    private func configureSeparator() {
        let topSeparatorHeightConstraint = topSeparator.heightAnchor.constraint(equalToConstant: 1)
        let topSeparatorTopConstraint = topSeparator.topAnchor.constraint(equalTo: contentView.topAnchor)
        let topSeparatorLeadingConstraint = topSeparator.leadingAnchor.constraint(equalTo: leadingAnchor)
        let topSeparatorTrailingConstraint = topSeparator.trailingAnchor.constraint(equalTo: trailingAnchor)

        NSLayoutConstraint.activate([
            topSeparatorHeightConstraint,
            topSeparatorTopConstraint,
            topSeparatorLeadingConstraint,
            topSeparatorTrailingConstraint
        ])
    }
{'fraction_non_alphanumeric': 0.06275805119735756, 'fraction_numerical': 0.0016515276630883566, 'mean_word_length': 3.397459165154265, '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': '5004622', 'n_tokens_mistral': 578, 'n_tokens_neox': 599, 'n_words': 109}