<commit_before>//
//  WeatherBackgroundImage.swift
//  WhatsTheWeatherIn
//
//  Created by <NAME> on 25/05/16.
//  Copyright © 2016 marinbenc. All rights reserved.
//

import UIKit

enum WeatherBackgroundImage: String {
    
    case Cloudy = "cloudy"
    case Sunny = "sunny"
    
    init?(imageID: String) {
        
        switch imageID {
        case "01d", "02d", "03d", "01d", "02n", "03n":
            self = .Sunny
        case "04d", "09d", "10d", "11d", "13d", "50d", "04n", "09n", "10n", "11n", "13n", "50n":
            self = .Cloudy
        default:
            return nil
        }
    }
    
    var image: UIImage {
        return UIImage(named: rawValue)!
    }
}<commit_msg>Added missing image code.<commit_after>//
//  WeatherBackgroundImage.swift
//  WhatsTheWeatherIn
//
//  Created by <NAME> on 25/05/16.
//  Copyright © 2016 marinbenc. All rights reserved.
//

import UIKit

enum WeatherBackgroundImage: String {
    
    case Cloudy = "cloudy"
    case Sunny = "sunny"
    
    init?(imageID: String) {
        
        switch imageID {
        case "01d", "02d", "03d", "01d", "02n", "03n", "01n":
            self = .Sunny
        case "04d", "09d", "10d", "11d", "13d", "50d", "04n", "09n", "10n", "11n", "13n", "50n":
            self = .Cloudy
        default:
            return nil
        }
    }
    
    var image: UIImage {
        return UIImage(named: rawValue)!
    }
}
{'fraction_non_alphanumeric': 0.1573352232459249, 'fraction_numerical': 0.0666194188518781, 'mean_word_length': 1.9053497942386832, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 5, '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': '4546376', 'n_tokens_mistral': 565, 'n_tokens_neox': 504, 'n_words': 130}