<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Assignment2Application
{
    public class FibonacciGenerator
    {
        /// <summary>
        /// Return n-th Fibonacci number.
        /// </summary>
        /// <param name="n"></param>
        /// <returns></returns>
        public long Get(int n)
        {
            // Enter you code here
            return 0;
        }
    }
}<commit_msg>New Fiboancci<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Assignment2Application
{
    public class FibonacciGenerator
    {
        public long Get(int n)
        {
            if (n == 0) { return 0; }
            else
            {
                if ((n == -1) || (n == 1)) { return 1; }
                else
                {
                    if (n > 0) { return Get(n - 1) + Get(n - 2); }
                    else { return Get(n + 2) - Get(n + 1); }
                }
            }
        }
    }
}
{'fraction_non_alphanumeric': 0.122040072859745, 'fraction_numerical': 0.011839708561020037, 'mean_word_length': 1.4422222222222223, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 10, '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': '1918596', 'n_tokens_mistral': 335, 'n_tokens_neox': 316, 'n_words': 82}