<commit_before><?php
namespace Podlove\Model;

class Show extends Base {

	public function full_title() {
		$t = $this->name;
		
		if ( $this->subtitle )
			$t = $t . ' - ' . $this->subtitle;
		
		return $t;
	}
	
}

Show::property( 'id', 'INT NOT NULL AUTO_INCREMENT PRIMARY KEY' );
Show::property( 'name', 'VARCHAR(255)' );
Show::property( 'subtitle', 'VARCHAR(255)' );
Show::property( 'cover_image', 'VARCHAR(255)' );
Show::property( 'summary', 'TEXT' );
Show::property( 'author_name', 'VARCHAR(255)' );
Show::property( 'owner_name', 'VARCHAR(255)' );
Show::property( 'owner_email', 'VARCHAR(255)' );
Show::property( 'keywords', 'VARCHAR(255)' );
Show::property( 'category_1', 'VARCHAR(255)' );
Show::property( 'category_2', 'VARCHAR(255)' );
Show::property( 'category_3', 'VARCHAR(255)' );
Show::property( 'explicit', 'INT' );
Show::property( 'slug', 'VARCHAR(255)' );
Show::property( 'label', 'VARCHAR(255)' );
Show::property( 'episode_prefix', 'VARCHAR(255)' );
Show::property( 'media_file_base_uri', 'VARCHAR(255)' );
Show::property( 'uri_delimiter', 'VARCHAR(255)' );
Show::property( 'episode_number_length', 'INT' );<commit_msg>add doc<commit_after><?php
namespace Podlove\Model;

class Show extends Base {

	/**
	 * Generate a human readable title.
	 * 
	 * Return name and, if available, the subtitle. Separated by a dash.
	 * 
	 * @return string
	 */
	public function full_title() {
		$t = $this->name;
		
		if ( $this->subtitle )
			$t = $t . ' - ' . $this->subtitle;
		
		return $t;
	}
	
}

Show::property( 'id', 'INT NOT NULL AUTO_INCREMENT PRIMARY KEY' );
Show::property( 'name', 'VARCHAR(255)' );
Show::property( 'subtitle', 'VARCHAR(255)' );
Show::property( 'cover_image', 'VARCHAR(255)' );
Show::property( 'summary', 'TEXT' );
Show::property( 'author_name', 'VARCHAR(255)' );
Show::property( 'owner_name', 'VARCHAR(255)' );
Show::property( 'owner_email', 'VARCHAR(255)' );
Show::property( 'keywords', 'VARCHAR(255)' );
Show::property( 'category_1', 'VARCHAR(255)' );
Show::property( 'category_2', 'VARCHAR(255)' );
Show::property( 'category_3', 'VARCHAR(255)' );
Show::property( 'explicit', 'INT' );
Show::property( 'slug', 'VARCHAR(255)' );
Show::property( 'label', 'VARCHAR(255)' );
Show::property( 'episode_prefix', 'VARCHAR(255)' );
Show::property( 'media_file_base_uri', 'VARCHAR(255)' );
Show::property( 'uri_delimiter', 'VARCHAR(255)' );
Show::property( 'episode_number_length', 'INT' );
{'fraction_non_alphanumeric': 0.22056384742951907, 'fraction_numerical': 0.03980099502487562, 'mean_word_length': 6.334346504559271, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '7085809', 'n_tokens_mistral': 947, 'n_tokens_neox': 847, 'n_words': 181}