<commit_before>from django.db import models
from django.contrib.auth.models import User

class Subscription(models.Model):
	last_crawled = models.CharField(max_length=200)
	url = 		models.TextField()
	site_url = 	models.TextField()
	user = 		models.ForeignKey(User)
	title = 	models.TextField()
	
	def as_json(self):
		return dict(
				id=self.id,
				url=self.url,
				title=self.title
			)

	def __str__(self):
		return self.title

class SubscriptionItem(models.Model):
	content = 	models.TextField()
	published = models.DateTimeField()
	title = 	models.TextField()
	url = 		models.TextField()
	is_read = 		models.BooleanField()<commit_msg>fixed default value for is_read property of subscription-item<commit_after>from django.db import models
from django.contrib.auth.models import User

class Subscription(models.Model):
	last_crawled = models.CharField(max_length=200)
	url = 		models.TextField()
	site_url = 	models.TextField()
	user = 		models.ForeignKey(User)
	title = 	models.TextField()
	
	def as_json(self):
		return dict(
				id=self.id,
				url=self.url,
				title=self.title
			)

	def __str__(self):
		return self.title

class SubscriptionItem(models.Model):
	content = 	models.TextField()
	published = models.DateTimeField()
	title = 	models.TextField()
	url = 		models.TextField()
	is_read = 		models.BooleanField(default=False)
{'fraction_non_alphanumeric': 0.1100371747211896, 'fraction_numerical': 0.0044609665427509295, 'mean_word_length': 4.362549800796812, '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': '4388386', 'n_tokens_mistral': 492, 'n_tokens_neox': 447, 'n_words': 92}