<commit_before>import UIKit
import WMF

final class TalkPageCellCommentSeparator: SetupView {

    // MARK: - UI Elements

    lazy var stackView: UIStackView = {
        let stackView = UIStackView()
        stackView.axis = .vertical
        stackView.distribution = .fill
        stackView.translatesAutoresizingMaskIntoConstraints = false
        return stackView
    }()

    lazy var horizontalLine: VerticalSpacerView = {
        let view = VerticalSpacerView.spacerWith(space: 1)
        view.translatesAutoresizingMaskIntoConstraints = false
        return view
    }()

    // MARK: - Lifecycle

    override func setup() {
        addSubview(stackView)
        stackView.addArrangedSubview(horizontalLine)

        NSLayoutConstraint.activate([
            stackView.topAnchor.constraint(equalTo: topAnchor, constant: 20),
            stackView.leadingAnchor.constraint(equalTo: leadingAnchor),
            stackView.trailingAnchor.constraint(equalTo: trailingAnchor),
            stackView.bottomAnchor.constraint(equalTo: bottomAnchor, constant: -20)
        ])
    }

}

extension TalkPageCellCommentSeparator: Themeable {

    func apply(theme: Theme) {
        horizontalLine.backgroundColor = theme.colors.tertiaryText
    }

}
<commit_msg>Use expanded size for comment separator's intrinsic content size.<commit_after>import UIKit
import WMF

final class TalkPageCellCommentSeparator: SetupView {

    // MARK: - UI Elements

    lazy var stackView: UIStackView = {
        let stackView = UIStackView()
        stackView.axis = .vertical
        stackView.distribution = .fill
        stackView.translatesAutoresizingMaskIntoConstraints = false
        return stackView
    }()

    lazy var horizontalLine: VerticalSpacerView = {
        let view = VerticalSpacerView.spacerWith(space: 1)
        view.translatesAutoresizingMaskIntoConstraints = false
        return view
    }()

    override var intrinsicContentSize: CGSize {
        return UIView.layoutFittingExpandedSize
    }

    // MARK: - Lifecycle

    override func setup() {
        addSubview(stackView)
        stackView.addArrangedSubview(horizontalLine)

        NSLayoutConstraint.activate([
            stackView.topAnchor.constraint(equalTo: topAnchor, constant: 20),
            stackView.leadingAnchor.constraint(equalTo: leadingAnchor),
            stackView.trailingAnchor.constraint(equalTo: trailingAnchor),
            stackView.bottomAnchor.constraint(equalTo: bottomAnchor, constant: -20)
        ])
    }

}

extension TalkPageCellCommentSeparator: Themeable {

    func apply(theme: Theme) {
        horizontalLine.backgroundColor = theme.colors.tertiaryText
    }

}

{'fraction_non_alphanumeric': 0.07568377669539153, 'fraction_numerical': 0.003746721618583739, 'mean_word_length': 2.926470588235294, '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': '6338738', 'n_tokens_mistral': 732, 'n_tokens_neox': 697, 'n_words': 146}