<commit_before>﻿using System.Collections.Concurrent;
using System.Diagnostics;
using System.Linq;
using Microsoft.VisualStudio.R.Package.Repl;

namespace Microsoft.R.Host.Client
{
    public class RSessionProvider : IRSessionProvider
    {
        private readonly ConcurrentDictionary<int, IRSession> _sessions = new ConcurrentDictionary<int, IRSession>();

        public IRSession Create(int sessionId)
        {
            IRSession session = new RSession();

            if (!_sessions.TryAdd(sessionId, session))<commit_msg>Fix namespace<commit_after>﻿using System.Collections.Concurrent;
using System.Diagnostics;
using System.Linq;
using Microsoft.R.Host.Client;

namespace Microsoft.VisualStudio.R.Package.Repl
{
    public class RSessionProvider : IRSessionProvider
    {
        private readonly ConcurrentDictionary<int, IRSession> _sessions = new ConcurrentDictionary<int, IRSession>();

        public IRSession Create(int sessionId)
        {
            IRSession session = new RSession();

            if (!_sessions.TryAdd(sessionId, session))
{'fraction_non_alphanumeric': 0.08662900188323917, 'fraction_numerical': 0.0, 'mean_word_length': 3.831818181818182, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '6333144', 'n_tokens_mistral': 280, 'n_tokens_neox': 277, 'n_words': 66}