<commit_before>import UIKit

final class LicenseViewController: UIViewController  {
    
    private let textView = UITextView()
    var attribution: Attribution?
    var attributionStyle = AttributionStyle()
    
    override func viewDidLoad() {
        super.viewDidLoad()
        textView.text = try! attribution?.license.getText()
        textView.font = .systemFont(ofSize: 15)
        textView.textColor = attributionStyle.textColor
        textView.textContainerInset = UIEdgeInsets(top: 0, left: 8, bottom: 0, right: 8)
        self.view.addSubview(textView)
        NSLayoutConstraint.activate([
            textView.leadingAnchor.constraint(equalTo: self.view.leadingAnchor),
            textView.trailingAnchor.constraint(equalTo: self.view.trailingAnchor),
            textView.topAnchor.constraint(equalTo: self.view.topAnchor),
            textView.bottomAnchor.constraint(equalTo: self.view.bottomAnchor),
        ])
        textView.translatesAutoresizingMaskIntoConstraints = false
    }
    
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        title = attribution?.name
    }
    
    override var preferredStatusBarStyle: UIStatusBarStyle {
        return attributionStyle.statusBarStyle
    }

}<commit_msg>fixed scroll bug in LicenseViewController<commit_after>import UIKit

final class LicenseViewController: UIViewController  {
    
    private let textView = UITextView()
    var attribution: Attribution?
    var attributionStyle = AttributionStyle()
    
    override func viewDidLoad() {
        super.viewDidLoad()
        textView.isScrollEnabled = false
        textView.text = try! attribution?.license.getText()
        textView.font = .systemFont(ofSize: 15)
        textView.textColor = attributionStyle.textColor
        textView.textContainerInset = UIEdgeInsets(top: 0, left: 8, bottom: 0, right: 8)
        self.view.addSubview(textView)
        NSLayoutConstraint.activate([
            textView.leadingAnchor.constraint(equalTo: self.view.leadingAnchor),
            textView.trailingAnchor.constraint(equalTo: self.view.trailingAnchor),
            textView.topAnchor.constraint(equalTo: self.view.topAnchor),
            textView.bottomAnchor.constraint(equalTo: self.view.bottomAnchor),
        ])
        textView.translatesAutoresizingMaskIntoConstraints = false
        textView.isScrollEnabled = true
    }

    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        title = attribution?.name
    }

    override var preferredStatusBarStyle: UIStatusBarStyle {
        return attributionStyle.statusBarStyle
    }

}
{'fraction_non_alphanumeric': 0.08217112702600829, 'fraction_numerical': 0.004523181304183943, 'mean_word_length': 3.089368258859784, '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': '5623884', 'n_tokens_mistral': 741, 'n_tokens_neox': 712, 'n_words': 134}