<commit_before><commit_msg>worked on add-question and create-eam. added exam-service<commit_after>import { Injectable } from 'angular2/core';
import { Exam } from './exam.ts';

@Injectable()
export class ExamService {

    _exam: Exam;
    
    getExams() {
        return Promise.resolve("test");
    }
    
    setCurrentExam(exam: Exam) {
        this.exam = exam;
    }

    getCurrentExam() {
        return this.exam;
    }
}
{'fraction_non_alphanumeric': 0.12761020881670534, 'fraction_numerical': 0.002320185614849188, 'mean_word_length': 2.630252100840336, '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': '4441115', 'n_tokens_mistral': 151, 'n_tokens_neox': 148, 'n_words': 30}