<commit_before>
import { PlantListService } from "./plant-list.service";
import { Plant } from "./plant";
import { Component, OnInit} from '@angular/core';
import { Params,  ActivatedRoute} from '@angular/router';
import {PlantFeedback} from "./plant.feedback";

@Component({
    selector: 'plant-component',
    templateUrl: 'plant.component.html'
})
export class PlantComponent implements OnInit {
    plant : Plant = new Plant();
    plantFeedback: PlantFeedback = new PlantFeedback();
    private commented: Boolean = false;

    // The rating field can have 3 values:
    // null - means that the plant hasn't been rated
    // true - means that the plant was liked
    // false - means the the plant was disliked
    private rating: boolean = null;<commit_msg>Make PlantComponent.commented more open for testing<commit_after>
import { PlantListService } from "./plant-list.service";
import { Plant } from "./plant";
import { Component, OnInit} from '@angular/core';
import { Params,  ActivatedRoute} from '@angular/router';
import {PlantFeedback} from "./plant.feedback";

@Component({
    selector: 'plant-component',
    templateUrl: 'plant.component.html'
})
export class PlantComponent implements OnInit {
    plant : Plant = new Plant();
    plantFeedback: PlantFeedback = new PlantFeedback();
    commented: Boolean = false;

    // The rating field can have 3 values:
    // null - means that the plant hasn't been rated
    // true - means that the plant was liked
    // false - means the the plant was disliked
    private rating: boolean = null;
{'fraction_non_alphanumeric': 0.11331626120358515, 'fraction_numerical': 0.0012804097311139564, 'mean_word_length': 3.6517857142857144, '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': '2220712', 'n_tokens_mistral': 425, 'n_tokens_neox': 414, 'n_words': 159}