<commit_before>package org.schooldesk.core.services;

import org.schooldesk.core.models.*;

import java.util.Set;


public interface ITestService extends IService {
	// TODO: add CRUD methods

	Set<CourseModel> getCourses(long stageId);
	Set<CourseSectionModel> getCourseSections(long courseId);
	TestModel getTest(long courseSectionId);

	TestResultModel validateUserTestPassing(UserTestPassing userTestPassing);
}
<commit_msg>Добавлен метод для получения всех EducationStages<commit_after>package org.schooldesk.core.services;

import org.schooldesk.core.models.*;
import org.schooldesk.dao.DataAccessException;

import java.util.Set;


public interface ITestService extends IService {
	// TODO: add CRUD methods

	Set<EducationStageModel> getAllAvailableEducationStages() throws DataAccessException;
	Set<CourseModel> getCourses(long stageId);
	Set<CourseSectionModel> getCourseSections(long courseId);
	TestModel getTest(long courseSectionId);

	TestResultModel validateUserTestPassing(UserTestPassing userTestPassing);
}

{'fraction_non_alphanumeric': 0.08089668615984405, 'fraction_numerical': 0.0, 'mean_word_length': 7.558333333333334, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '1462983', 'n_tokens_mistral': 327, 'n_tokens_neox': 311, 'n_words': 65}