<commit_before>package com.worth.ifs.assessment.controller;

import com.worth.ifs.application.AbstractApplicationController;
import com.worth.ifs.assessment.form.AssessmentOverviewForm;
import com.worth.ifs.assessment.model.AssessmentOverviewModelPopulator;
import com.worth.ifs.assessment.service.AssessmentService;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.concurrent.ExecutionException;

@Controller
public class AssessmentOverviewController extends AbstractApplicationController {

    private static final Log LOG = LogFactory.getLog(AssessmentOverviewController.class);
    private static final String OVERVIEW = "assessor-application-overview";

    @Autowired
    private AssessmentOverviewModelPopulator assessmentOverviewModelPopulator;

    @Autowired
    private AssessmentService assessmentService;


    @RequestMapping(method = RequestMethod.GET, value = "/{processId}")
    public String getQuestion(Model model, AssessmentOverviewForm form, HttpServletResponse response, @PathVariable("processId") final Long processId,
                              HttpServletRequest request) throws InterruptedException, ExecutionException {

        Long userId = userAuthenticationService.getAuthenticatedUser(request).getId();
        assessmentOverviewModelPopulator.populateModel(processId, userId, form, model);

        return OVERVIEW;
    }
}<commit_msg>IFUND-1185 Changed name of GET method to getOverview<commit_after>package com.worth.ifs.assessment.controller;

import com.worth.ifs.application.AbstractApplicationController;
import com.worth.ifs.assessment.form.AssessmentOverviewForm;
import com.worth.ifs.assessment.model.AssessmentOverviewModelPopulator;
import com.worth.ifs.assessment.service.AssessmentService;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.concurrent.ExecutionException;

@Controller
public class AssessmentOverviewController extends AbstractApplicationController {

    private static final Log LOG = LogFactory.getLog(AssessmentOverviewController.class);
    private static final String OVERVIEW = "assessor-application-overview";

    @Autowired
    private AssessmentOverviewModelPopulator assessmentOverviewModelPopulator;

    @Autowired
    private AssessmentService assessmentService;


    @RequestMapping(method = RequestMethod.GET, value = "/{processId}")
    public String getOverview(Model model, AssessmentOverviewForm form, HttpServletResponse response, @PathVariable("processId") final Long processId,
                              HttpServletRequest request) throws InterruptedException, ExecutionException {

        Long userId = userAuthenticationService.getAuthenticatedUser(request).getId();
        assessmentOverviewModelPopulator.populateModel(processId, userId, form, model);

        return OVERVIEW;
    }
}
{'fraction_non_alphanumeric': 0.07811250333244468, 'fraction_numerical': 0.0010663822980538523, 'mean_word_length': 5.809437386569873, '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': '2685089', 'n_tokens_mistral': 930, 'n_tokens_neox': 911, 'n_words': 183}