<commit_before>package com.aemreunal.repository.scenario;

/*
 ***************************
 * Copyright (c) 2014      *
 *                         *
 * This code belongs to:   *
 *                         *
 * @author <NAME> *
 * S001974                 *
 *                         *
 * <EMAIL>     *
 * <EMAIL>    *
 *                         *
 * aemreunal.com           *
 ***************************
 */

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;
import com.aemreunal.domain.Scenario;

public interface ScenarioRepo extends CrudRepository<Scenario, Long>, JpaSpecificationExecutor {
}<commit_msg>Add Scenario repo search method<commit_after>package com.aemreunal.repository.scenario;

/*
 ***************************
 * Copyright (c) 2014      *
 *                         *
 * This code belongs to:   *
 *                         *
 * @author <NAME> *
 * S001974                 *
 *                         *
 * <EMAIL>     *
 * <EMAIL>    *
 *                         *
 * aemreunal.com           *
 ***************************
 */

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;
import com.aemreunal.domain.Project;
import com.aemreunal.domain.Scenario;

public interface ScenarioRepo extends CrudRepository<Scenario, Long>, JpaSpecificationExecutor {
    public Scenario findByScenarioIdAndProject(Long scenarioId, Project project);
}
{'fraction_non_alphanumeric': 0.1619486504279131, 'fraction_numerical': 0.013166556945358789, 'mean_word_length': 2.2203389830508473, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '981447', 'n_tokens_mistral': 431, 'n_tokens_neox': 403, 'n_words': 68}