<commit_before>package org.innovateuk.ifs.project.financechecks.viewmodel;

import org.innovateuk.ifs.notesandqueries.resource.thread.ThreadResource;
import org.innovateuk.ifs.project.resource.ProjectResource;
import org.innovateuk.ifs.user.resource.OrganisationResource;

import java.util.List;

/**
 * View model to back the Finance Checks page.
 */
public class ProjectFinanceChecksViewModel {
    private Long projectId;
    private Long organisationId;
    private String projectName;
    private List<ThreadViewModel> queries;
    private boolean approved;

    public ProjectFinanceChecksViewModel(ProjectResource project, OrganisationResource organisation,
                                         List<ThreadViewModel> queries, boolean approved) {
        this.projectId = project.getId();
        this.organisationId = organisation.getId();
        this.projectName = project.getName();
        this.queries = queries;
        this.approved = approved;
    }
<commit_msg>pulled changes to shared resources<commit_after>package org.innovateuk.ifs.project.financechecks.viewmodel;

import org.innovateuk.ifs.project.resource.ProjectResource;
import org.innovateuk.ifs.thread.viewmodel.ThreadViewModel;
import org.innovateuk.ifs.user.resource.OrganisationResource;

import java.util.List;

/**
 * View model to back the Finance Checks page.
 */
public class ProjectFinanceChecksViewModel {
    private Long projectId;
    private Long organisationId;
    private String projectName;
    private List<ThreadViewModel> queries;
    private boolean approved;

    public ProjectFinanceChecksViewModel(ProjectResource project, OrganisationResource organisation,
                                         List<ThreadViewModel> queries, boolean approved) {
        this.projectId = project.getId();
        this.organisationId = organisation.getId();
        this.projectName = project.getName();
        this.queries = queries;
        this.approved = approved;
    }

{'fraction_non_alphanumeric': 0.07973590655154901, 'fraction_numerical': 0.0, 'mean_word_length': 3.5391705069124426, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '24395', 'n_tokens_mistral': 511, 'n_tokens_neox': 497, 'n_words': 114}