text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2021 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version ... | SonarSource-VisualStudio/sonarlint-visualstudio | src/Integration.Vsix/Delegates/SonarAnalyzerConnectedWorkflow.cs | https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio/blob/HEAD/src/Integration.Vsix/Delegates/SonarAnalyzerConnectedWorkflow.cs | ghcode:00000:5c8b3792e4dd | mit | codeparrot/github-code | 5c8b3792e4dd8c7cc5be1fa55b06b3daeea837c79009ebcfb154dfe47589fd93 | 0.7 | testing_debugging_repair_refactoring | 504 | false | 2026-07-17 |
using System;
using MooGet;
using NUnit.Framework;
namespace MooGet.Specs {
[TestFixture]
public class SearchSpec : MooGetSpec {
/*
[TestFixture]
public class API : SearchSpec {
[Test][Ignore]
public void can_search_for_packages_with_an_exact_id() {
}
[Test][Ignore]
public void can_search_fo... | remi/mooget | old/spec/SearchSpec.cs | https://github.com/remi/mooget/blob/HEAD/old/spec/SearchSpec.cs | ghcode:00000:9e2ddbfffa17 | mit | codeparrot/github-code | 9e2ddbfffa17d4f1bb067c88872fbeab88fc60dc282462e7f576b994cb37aa09 | 0.75 | testing_debugging_repair_refactoring | 499 | false | 2026-07-17 |
using Xunit;
using Shouldly;
using System.Linq;
using System;
using System.Text.RegularExpressions;
namespace AutoMapper.UnitTests
{
public class MapFromReverseResolveUsing : AutoMapperSpecBase
{
public class Source
{
public int Total { get; set; }
}
public class De... | mjalil/AutoMapper | src/UnitTests/ReverseMapping.cs | https://github.com/mjalil/AutoMapper/blob/HEAD/src/UnitTests/ReverseMapping.cs | ghcode:00000:270b637c9b10 | mit | codeparrot/github-code | 270b637c9b107b36f8843c5bdf57ed9f602139ecfa2004d822bfeff2c9a7d3ef | 0.7 | testing_debugging_repair_refactoring | 3,358 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Text.RegularExpressions;
using System.Xml;
using Diagnostics.Tracing;
using Diagnostics.Tracing.Parsers;
using FastSerialization;
using Ut... | brian-dot-net/writeasync | projects/TraceSample/source/TraceEvent/DynamicTraceEventParser.cs | https://github.com/brian-dot-net/writeasync/blob/HEAD/projects/TraceSample/source/TraceEvent/DynamicTraceEventParser.cs | ghcode:00000:60eecbe15d93 | unlicense | codeparrot/github-code | 60eecbe15d93df090ee603c7181655d4e4a1c941e5efd4b2e1c1f034e4650c8d | 0.78 | testing_debugging_repair_refactoring | 8,627 | false | 2026-07-17 |
using IronFoundry.Warden.Containers;
using Xunit;
namespace IronFoundry.Warden.Test
{
using System;
public class ContainerHandleTests
{
[Theory]
[InlineData(1, "idq1ypm7dyb")]
[InlineData(2, "1of9dl2qia1")]
public void GeneratesIdFromRandomGenerator(int input, string expec... | cloudfoundry-incubator/if_warden | IronFoundry.Warden.Test/Containers/ContainerHandleTests.cs | https://github.com/cloudfoundry-incubator/if_warden/blob/HEAD/IronFoundry.Warden.Test/Containers/ContainerHandleTests.cs | ghcode:00000:34ea82aca3bb | apache-2.0 | codeparrot/github-code | 34ea82aca3bb46e197a1ae4d728ac5a97a40c913ddb0fbe23fdb3992caf7d0b6 | 0.75 | testing_debugging_repair_refactoring | 182 | false | 2026-07-17 |
using System.Diagnostics;
namespace Lucene.Net.Index
{
using Lucene.Net.Util;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
... | laimis/lucenenet | src/Lucene.Net.TestFramework/Index/AllDeletedFilterReader.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.TestFramework/Index/AllDeletedFilterReader.cs | ghcode:00000:5ffea0b5cfb3 | apache-2.0 | codeparrot/github-code | 5ffea0b5cfb38fd1fa2c34bec72bfb0fb97caa2e56981a301d439ac85ff9fa88 | 0.7 | testing_debugging_repair_refactoring | 352 | false | 2026-07-17 |
using System;
namespace NativeAppFabricConsoleUI
{
internal static class CreateRegionTests
{
internal static void CreateRegionWithNonEmptyString()
{
try
{
Logger.PrintTestStartInformation("Creating Region with non-empty string value");
st... | Alachisoft/NCache-Wrapper-For-AppFabric | samples/AppFabricWrapperTest/NativeAppFabricConsoleUI/RegionLevelBasicOperations/CreateRegionTests.cs | https://github.com/Alachisoft/NCache-Wrapper-For-AppFabric/blob/HEAD/samples/AppFabricWrapperTest/NativeAppFabricConsoleUI/RegionLevelBasicOperations/CreateRegionTests.cs | ghcode:00000:c024e342b16f | apache-2.0 | codeparrot/github-code | c024e342b16f69bc3c3221b7ad4988670b41cd31ab5ff7960c8b24782097264f | 0.75 | testing_debugging_repair_refactoring | 435 | false | 2026-07-17 |
using Google.GData.YouTube;
using NUnit.Framework;
namespace Google.GData.Client.UnitTests.YouTube
{
/// <summary>
///This is a test class for PositionTest and is intended
///to contain all PositionTest Unit Tests
///</summary>
[TestFixture]
[Category("YouTube")]
public class PositionTest... | jonny-novikov/google-gdata | src/unittests/youtube/PositionTest.cs | https://github.com/jonny-novikov/google-gdata/blob/HEAD/src/unittests/youtube/PositionTest.cs | ghcode:00000:5fb39b0f6ab1 | apache-2.0 | codeparrot/github-code | 5fb39b0f6ab15034f20480159118cf82e820863a7dd8ab9a5c326113937bde7e | 0.7 | testing_debugging_repair_refactoring | 405 | false | 2026-07-17 |
using FluentAssertions;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
namespace Nest.Tests.Integration.Template
{
[TestFixture]
public class TemplateTests : IntegrationTests
{
[Test]
public void SimplePutAndGet()
{
this.Client.DeleteTemplate("put-template-with-settings");
var putResponse... | Grastveit/NEST | src/Tests/Nest.Tests.Integration/Template/TemplateTests.cs | https://github.com/Grastveit/NEST/blob/HEAD/src/Tests/Nest.Tests.Integration/Template/TemplateTests.cs | ghcode:00000:d2bda280baf9 | apache-2.0 | codeparrot/github-code | d2bda280baf9e8441399c170b5f07b6deaf6e0b1425a380437a2d3aaa5a3b147 | 0.95 | testing_debugging_repair_refactoring | 891 | false | 2026-07-17 |
/*
Copyright 2011 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... | MarcWeb/google-api-dotnet-client | Src/GoogleApis.Tools.CodeGen.Tests/Decorator/ResourceDecorator/DefaultEnglishCommentCreatorTest.cs | https://github.com/MarcWeb/google-api-dotnet-client/blob/HEAD/Src/GoogleApis.Tools.CodeGen.Tests/Decorator/ResourceDecorator/DefaultEnglishCommentCreatorTest.cs | ghcode:00000:cb3e1ca42cd5 | apache-2.0 | codeparrot/github-code | cb3e1ca42cd5a2682259226d8821a90727cc49aaf483fbc7bf6be8ac31caa782 | 0.7 | testing_debugging_repair_refactoring | 1,129 | false | 2026-07-17 |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright 2014 Thomas Barnekow (cloning, Flat OPC (with Eric White))
using System;
using System.Diagnostics;
using System.Collection... | tarunchopra/Open-XML-SDK | DocumentFormat.OpenXml/src/Framework/OpenXmlPackage.cs | https://github.com/tarunchopra/Open-XML-SDK/blob/HEAD/DocumentFormat.OpenXml/src/Framework/OpenXmlPackage.cs | ghcode:00000:a1c8d0b2569e | apache-2.0 | codeparrot/github-code | a1c8d0b2569ed9e3bd7fb705550193249b592ec373eb6bd60e9c5d6f91f7c366 | 0.67 | testing_debugging_repair_refactoring | 17,585 | false | 2026-07-17 |
using IntelliTect.Coalesce.CodeGeneration.Generation;
using IntelliTect.Coalesce.Tests.Util;
using IntelliTect.Coalesce.Validation;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Text;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System... | IntelliTect/Coalesce | src/IntelliTect.Coalesce.CodeGeneration.Tests/CodeGenTestBase.cs | https://github.com/IntelliTect/Coalesce/blob/HEAD/src/IntelliTect.Coalesce.CodeGeneration.Tests/CodeGenTestBase.cs | ghcode:00000:e722746bdec2 | apache-2.0 | codeparrot/github-code | e722746bdec2529b3d1f2527164503d6618b6998aab58d8f937cdd9b791b038c | 0.6 | testing_debugging_repair_refactoring | 510 | false | 2026-07-17 |
using UnityEngine;
namespace DefaultNamespace
{
public class FieldGenerationWithRespectToCodeStyleTest : MonoBehaviour
{
public void Update()
{
int[,] test = new int[2,2];
test[0, 0] = 5;
test[test[0,{caret} 1], test[0, test[0,1]]] = 5;
}
}
} | JetBrains/resharper-unity | resharper/resharper-unity/test/data/Unity/CSharp/Intentions/QuickFixes/InefficientMultidimensionalArrayUsage/LocalDeclarationType2.cs | https://github.com/JetBrains/resharper-unity/blob/HEAD/resharper/resharper-unity/test/data/Unity/CSharp/Intentions/QuickFixes/InefficientMultidimensionalArrayUsage/LocalDeclarationType2.cs | ghcode:00000:4c49a46458df | apache-2.0 | codeparrot/github-code | 4c49a46458df8fe7589ef0d73ae0312b42a8bed01caea32f985385f231d17415 | 0.85 | testing_debugging_repair_refactoring | 87 | false | 2026-07-17 |
using System;
using System.IO;
using System.Reflection;
using Moq;
using NUnit.Framework;
using Weald.Service;
namespace Weald.Tests
{
[TestFixture]
public class VisualSvnServerInfoProviderTests
{
private string _tempFilePath;
[SetUp]
public void SetUp()
{
_t... | devopsonwindows/Weald | Weald.Tests/VisualSvnServerInfoProviderTests.cs | https://github.com/devopsonwindows/Weald/blob/HEAD/Weald.Tests/VisualSvnServerInfoProviderTests.cs | ghcode:00000:12fc32c61441 | apache-2.0 | codeparrot/github-code | 12fc32c614416735cc3d8b1cf7d4fe0f59e95a8733634268dcd00c5180758323 | 0.75 | testing_debugging_repair_refactoring | 510 | false | 2026-07-17 |
using System;
using NDatabase.Api;
using NUnit.Framework;
using Test.NDatabase.Odb.Test.VO.Human;
namespace Test.NDatabase.Odb.Test.Query.Criteria
{
public class TestPolyMorphic : ODBTest
{
private const string DbName = "TestPolyMorphic.ndb";
[Test]
public void Test1()
... | WaltChen/NDatabase | tests/NDatabase.Old.UnitTests/NDatabase/Odb/Test/Query/Criteria/TestPolyMorphic.cs | https://github.com/WaltChen/NDatabase/blob/HEAD/tests/NDatabase.Old.UnitTests/NDatabase/Odb/Test/Query/Criteria/TestPolyMorphic.cs | ghcode:00000:8c4b9276489a | apache-2.0 | codeparrot/github-code | 8c4b9276489a4c9a876505ae1dfc636ec13e6c2a607cf172a07390fa495047a7 | 0.85 | testing_debugging_repair_refactoring | 1,335 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
#if USE_FASTQUANT
namespace FastQuant.Tests
#else
namespace SmartQuant.Tests
#endif
{
public class TickSeriesTest
{
[Fact]
public void TestGetIndex()
{
var ts = new... | fastquant/fastquant.dll | test/FastQuant.Tests.Shared/TickSeriesTest.cs | https://github.com/fastquant/fastquant.dll/blob/HEAD/test/FastQuant.Tests.Shared/TickSeriesTest.cs | ghcode:00000:83c2f505b95c | apache-2.0 | codeparrot/github-code | 83c2f505b95c71b22d2c6c863137592c0f9f5f723e6fa787c711f0d60a49798b | 0.85 | testing_debugging_repair_refactoring | 907 | false | 2026-07-17 |
using Foundation.Data.Hibernate;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using NHibernate;
using NHibernate.Context;
using NHibernate.Engine;
namespace Foundation.Tests.Data.Hibernate
{
[TestClass]
public class HibernateUnitOfWorkTests
{
[TestMethod]
pub... | DavidMoore/Foundation | Tests/UnitTests/Foundation.Tests/Data/Hibernate/HibernateUnitOfWorkTests.cs | https://github.com/DavidMoore/Foundation/blob/HEAD/Tests/UnitTests/Foundation.Tests/Data/Hibernate/HibernateUnitOfWorkTests.cs | ghcode:00000:5dfb56b757fd | apache-2.0 | codeparrot/github-code | 5dfb56b757fd93c845b52c64cb645967a8bb468135fce07e643c44f94f623d6d | 0.75 | testing_debugging_repair_refactoring | 886 | false | 2026-07-17 |
// Copyright (c) kuicker.org. All rights reserved.
// Modified By YYYY-MM-DD
// kevinjong 2016-02-11 - Creation
using System.IO;
using System.Linq;
using Xunit;
namespace IsTo.Tests
{
public class TestHelper
{
internal static void StreamComparison(
Stream stream1,
Stream stream2)
... | Kuick/IsTo | IsTo.Tests/Misc/TestHelper.cs | https://github.com/Kuick/IsTo/blob/HEAD/IsTo.Tests/Misc/TestHelper.cs | ghcode:00000:1e1e472ec106 | apache-2.0 | codeparrot/github-code | 1e1e472ec10691f822f04a077aee0d6c8e6cebd3c0a26b154fd34337ccdcd0b0 | 0.85 | testing_debugging_repair_refactoring | 212 | false | 2026-07-17 |
// [[[[INFO>
// Copyright 2015 Epicycle (http://epicycle.org, https://github.com/open-epicycle)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses... | open-epicycle/Epicycle.Input-cs | projects/Epicycle.Input_cs-Test/Keyboard/KeyEventArgsTest.cs | https://github.com/open-epicycle/Epicycle.Input-cs/blob/HEAD/projects/Epicycle.Input_cs-Test/Keyboard/KeyEventArgsTest.cs | ghcode:00000:1accb235b811 | apache-2.0 | codeparrot/github-code | 1accb235b811fa1403491ad8bfed6d5cb0a39d2f01dde65e6d0c14c319e89891 | 0.7 | testing_debugging_repair_refactoring | 294 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Xml.Linq;
using Microsoft.CodeAnalysis.CSharp;
using Micr... | kelltrick/roslyn | src/EditorFeatures/CSharpTest/ExtractMethod/ExtractMethodTests.cs | https://github.com/kelltrick/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/ExtractMethod/ExtractMethodTests.cs | ghcode:00000:0ef49f2ab1d6 | apache-2.0 | codeparrot/github-code | 0ef49f2ab1d67721c967eeb4e9d559f5d5cefbc9ffc0de2c0cadca314b27180e | 0.65 | testing_debugging_repair_refactoring | 52,548 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.... | davkean/roslyn | src/EditorFeatures/CSharpTest/Diagnostics/DiagnosticAnalyzerDriver/DiagnosticAnalyzerDriverTests.cs | https://github.com/davkean/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Diagnostics/DiagnosticAnalyzerDriver/DiagnosticAnalyzerDriverTests.cs | ghcode:00000:1932993149ec | apache-2.0 | codeparrot/github-code | 1932993149ec31e51f7a7e257f5a6f4142e97f5706ce629cb116aa0a950145ee | 0.85 | testing_debugging_repair_refactoring | 6,715 | false | 2026-07-17 |
// -----------------------------------------------------------------------------------------
// <copyright file="TableSasUnitTests.cs" company="Microsoft">
// Copyright 2013 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in comp... | MatthewSteeples/azure-storage-net | Test/ClassLibraryCommon/Table/SAS/TableSasUnitTests.cs | https://github.com/MatthewSteeples/azure-storage-net/blob/HEAD/Test/ClassLibraryCommon/Table/SAS/TableSasUnitTests.cs | ghcode:00000:419fde7263e9 | apache-2.0 | codeparrot/github-code | 419fde7263e96bc0262ac270d36f7d83019226b98642bb1fcf7438a05575b24d | 0.72 | testing_debugging_repair_refactoring | 12,645 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using CoolNameGenerator.GA.Chromosomes;
using CoolNameGenerator.GA.Crossovers;
using NUnit.Framework;
using Rhino.Mocks;
using TestSharp;
namespace Test.GA.Crossovers
{
[TestFixture]
[Category("Crossovers")]
public class OrderedCrossoverTest
{
... | Behzadkhosravifar/CoolNameGenerator | src/Test/GA/Crossovers/OrderedCrossoverTest.cs | https://github.com/Behzadkhosravifar/CoolNameGenerator/blob/HEAD/src/Test/GA/Crossovers/OrderedCrossoverTest.cs | ghcode:00000:6df53c6a962b | apache-2.0 | codeparrot/github-code | 6df53c6a962b635e7a6265a53ed9a1645f661411026932318316dc24bc8e48bf | 0.95 | testing_debugging_repair_refactoring | 1,214 | false | 2026-07-17 |
#define SQLITE_ASCII
#define SQLITE_DISABLE_LFS
#define SQLITE_ENABLE_OVERSIZE_CELL_CHECK
#define SQLITE_MUTEX_OMIT
#define SQLITE_OMIT_AUTHORIZATION
#define SQLITE_OMIT_DEPRECATED
#define SQLITE_OMIT_GET_TABLE
#define SQLITE_OMIT_INCRBLOB
#define SQLITE_OMIT_LOOKASIDE
#define SQLITE_OMIT_SHARED_CACHE
#define SQLITE_OM... | hsu1994/Terminator | Client/Assets/Scripts/Air2000/Utility/Sqlite/Sqlite3/source/src/attach_c.cs | https://github.com/hsu1994/Terminator/blob/HEAD/Client/Assets/Scripts/Air2000/Utility/Sqlite/Sqlite3/source/src/attach_c.cs | ghcode:00000:5a6a342f5d9b | apache-2.0 | codeparrot/github-code | 5a6a342f5d9bb5f95951f88a22f3ce996648677b5f87bcd072b284ab176b52b4 | 0.8 | testing_debugging_repair_refactoring | 5,639 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ocronet.Dynamic.Recognizers;
using Ocronet.Dynamic.OcroFST;
using Ocronet.Dynamic;
using Ocronet.Dynamic.ImgLib;
using Ocronet.Dynamic.Interfaces;
using Ocronet.Dynamic.Utils;
using Ocronet.Dynamic.IOData;
using System.IO;
usin... | nickun/OCRonet | Ocronet.Dynamic/Tests/TestLinerec.cs | https://github.com/nickun/OCRonet/blob/HEAD/Ocronet.Dynamic/Tests/TestLinerec.cs | ghcode:00000:942e912670e1 | bsd-2-clause | codeparrot/github-code | 942e912670e1010bc0642b457056156d43119b4f91e8c788d168dc8a9853fdee | 0.88 | testing_debugging_repair_refactoring | 3,035 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using Newtonsoft.Json.Linq;
using ReactNative.Bridge;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace ReactNative.Tests.Bridge
{
... | bluejeans/react-native-windows | ReactWindows/ReactNative.Tests/Bridge/ReactInstanceTests.cs | https://github.com/bluejeans/react-native-windows/blob/HEAD/ReactWindows/ReactNative.Tests/Bridge/ReactInstanceTests.cs | ghcode:00000:7acc50ac6c03 | mit | codeparrot/github-code | 7acc50ac6c03b0022896cceea1384072c9168ea5faa7ac122588cf83afe37617 | 0.85 | testing_debugging_repair_refactoring | 1,268 | false | 2026-07-17 |
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using NUnit.Framework;
using osu.Framework.Extensions.IEnumerableExtensions;
using OpenTK;
using osu.Framework.Graphics;... | NeoAdonis/osu | osu.Game.Tests/Visual/TestCaseScrollingHitObjects.cs | https://github.com/NeoAdonis/osu/blob/HEAD/osu.Game.Tests/Visual/TestCaseScrollingHitObjects.cs | ghcode:00000:114f8cd91c8c | mit | codeparrot/github-code | 114f8cd91c8c78151d6b8b9faa91082260d73e42b5e198c94d0459564660e9c5 | 0.85 | testing_debugging_repair_refactoring | 1,204 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="GetNodeScriptsTest.cs" company="automotiveMastermind and contributors">
// © automotiveMastermind and contributors. Licensed under MIT. See LICENSE and CREDITS for details.
// </... | automotiveMastermind/condo | test/AM.Condo.Test/Tasks/GetNodeScriptsTest.cs | https://github.com/automotiveMastermind/condo/blob/HEAD/test/AM.Condo.Test/Tasks/GetNodeScriptsTest.cs | ghcode:00000:ea06319f7ae1 | mit | codeparrot/github-code | ea06319f7ae1d2b47e01aaab3b155083b3c39feab1a3632e574e1a4169f91422 | 0.7 | testing_debugging_repair_refactoring | 367 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace UnitTests
{
[TestFixture]
public class ProjectTests
{
[TestFixtureSetUp]
public void Initialize()
{
}
[Test]
public void TestCsvRename()
... | GorillaOne/FlatRedBall | FRBDK/Glue/UnitTests/ProjectTests.cs | https://github.com/GorillaOne/FlatRedBall/blob/HEAD/FRBDK/Glue/UnitTests/ProjectTests.cs | ghcode:00000:8d626fa04d20 | mit | codeparrot/github-code | 8d626fa04d200418a6f01d0fb8e34e965a5c1bfefec14a60ce39712732fef52e | 0.75 | testing_debugging_repair_refactoring | 69 | false | 2026-07-17 |
namespace Nancy.Swagger.Tests
{
public class TestModel
{
public int SomeInt { get; set; }
public long SomeLong { get; set; }
public long? SomeNullableLong { get; set; }
}
} | khellang/Nancy.Swagger | test/Nancy.Swagger.Tests/TestModel.cs | https://github.com/khellang/Nancy.Swagger/blob/HEAD/test/Nancy.Swagger.Tests/TestModel.cs | ghcode:00000:e5b2b97fbb96 | mit | codeparrot/github-code | e5b2b97fbb96f1133e6d213ad34bef410c292184b2db7d139c5e8d0e205c43e5 | 0.75 | testing_debugging_repair_refactoring | 54 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using NSubstitute;
using Nancy;
using Nancy.Routing;
using PactNet.Logging;
using PactNet.Mocks.MockHttpService;
using PactNet.Mocks.MockHttpService.Nancy;
using Xunit;
namespace PactNet.Tests.Mock... | humblelistener/pact-net | PactNet.Tests/Mocks/MockHttpService/Nancy/MockProviderNancyRequestDispatcherTests.cs | https://github.com/humblelistener/pact-net/blob/HEAD/PactNet.Tests/Mocks/MockHttpService/Nancy/MockProviderNancyRequestDispatcherTests.cs | ghcode:00000:6c0fe3ac3758 | mit | codeparrot/github-code | 6c0fe3ac37588f1c82963c0819b81198e6cb5ba8776889f0bfe288154d7cfd9e | 0.75 | testing_debugging_repair_refactoring | 1,671 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Objects;
namespace osu.Game.Tests.Visual
{
public abstract cl... | 2yangk23/osu | osu.Game/Tests/Visual/ModPerfectTestScene.cs | https://github.com/2yangk23/osu/blob/HEAD/osu.Game/Tests/Visual/ModPerfectTestScene.cs | ghcode:00000:2a32fc5d9892 | mit | codeparrot/github-code | 2a32fc5d98924374ba0fe1b87deb7ae9153ea1f860e0bbcf1e79b9ab01341a53 | 0.85 | testing_debugging_repair_refactoring | 422 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="NUnitAssertions.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//... | skotzko/akka.net | src/contrib/testkits/Akka.TestKit.NUnit/NUnitAssertions.cs | https://github.com/skotzko/akka.net/blob/HEAD/src/contrib/testkits/Akka.TestKit.NUnit/NUnitAssertions.cs | ghcode:00000:90816338112b | apache-2.0 | codeparrot/github-code | 90816338112b5d3b69eb6e042a0431a6600cd80b5dcd794e444febc4ac791a5a | 0.85 | testing_debugging_repair_refactoring | 373 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using Syst... | EricArndt/roslyn | src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs | https://github.com/EricArndt/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs | ghcode:00000:d71fac3ad666 | apache-2.0 | codeparrot/github-code | d71fac3ad6667cfeced23f05332f0a4caf724370b0b5fed01b3531b046e78807 | 0.57 | testing_debugging_repair_refactoring | 21,713 | false | 2026-07-17 |
using Akka.Actor;
using Akka.Actor.Internals;
using Akka.TestKit;
using Xunit;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Akka.Tests.Actor
{
public class ActorRefProviderSpec : AkkaSpec
{
[Fact]
public void... | rodrigovidal/akka.net | src/core/Akka.Tests/Actor/ActorRefProviderSpec.cs | https://github.com/rodrigovidal/akka.net/blob/HEAD/src/core/Akka.Tests/Actor/ActorRefProviderSpec.cs | ghcode:00000:700aee9ffaf3 | apache-2.0 | codeparrot/github-code | 700aee9ffaf35046139933bfb6f153275b1a0b7590129456c155a4b0e1902e63 | 0.75 | testing_debugging_repair_refactoring | 118 | false | 2026-07-17 |
extern alias SSmDsClient;
using System;
using System.Collections.Generic;
using System.Linq;
using OpenRiaServices.DomainServices.Client;
using Cities;
using Microsoft.Silverlight.Testing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DataTests.Northwind.LTS;
using System.ComponentModel.DataAnnotations;
us... | jeffhandley/OpenRiaServices | OpenRiaServices.DomainServices.Client/Test/Silverlight/Data/OperationTests.cs | https://github.com/jeffhandley/OpenRiaServices/blob/HEAD/OpenRiaServices.DomainServices.Client/Test/Silverlight/Data/OperationTests.cs | ghcode:00000:9e8a361c66ba | apache-2.0 | codeparrot/github-code | 9e8a361c66ba2068e10bc0f887b1b73f5d0caa2a5a8b6a9e4eb8caa6a98f124f | 0.95 | testing_debugging_repair_refactoring | 2,964 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen
{
... | aelij/roslyn | src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenStringConcat.cs | https://github.com/aelij/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenStringConcat.cs | ghcode:00000:c620a6450a39 | apache-2.0 | codeparrot/github-code | c620a6450a39b9208d5e82b1f83016b5326f90cd035c6fef2fef2a87ad39ed2a | 0.95 | testing_debugging_repair_refactoring | 20,124 | false | 2026-07-17 |
using TestMonkeys.EntityTest.Framework;
namespace UsageExample.PropertySetValidatorTests.TestObjects
{
public class TestObjectImproperGreaterThan
{
[ValidateActualGreaterThan(0)]
public object GreaterThanValue { get; set; }
}
} | TestMonkeys/Assert | UsageExample/PropertySetValidatorTests/TestObjects/TestObjectImproperGreaterThan.cs | https://github.com/TestMonkeys/Assert/blob/HEAD/UsageExample/PropertySetValidatorTests/TestObjects/TestObjectImproperGreaterThan.cs | ghcode:00000:ff83ec5a2a15 | apache-2.0 | codeparrot/github-code | ff83ec5a2a15ffaf9ab1fd911789c88aa069642d5ad779f035050348b95ede73 | 0.75 | testing_debugging_repair_refactoring | 53 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Roslyn.Test.Utilities;
using Xunit;
using LSP = Microsoft.VisualStudio.Language... | nguerrera/roslyn | src/Features/LanguageServer/ProtocolUnitTests/Definitions/GoToDefinitionTests.cs | https://github.com/nguerrera/roslyn/blob/HEAD/src/Features/LanguageServer/ProtocolUnitTests/Definitions/GoToDefinitionTests.cs | ghcode:00000:de141ee04454 | apache-2.0 | codeparrot/github-code | de141ee0445456440dcb5a9f3c9e529996b8e45ea043b02358feb7e4ca09117e | 0.75 | testing_debugging_repair_refactoring | 483 | false | 2026-07-17 |
// ---------------------------------------------------------------------------------------------
#region // Copyright (c) 2014, SIL International. All Rights Reserved.
// <copyright from='2008' to='2014' company='SIL International'>
// Copyright (c) 2014, SIL International. All Rights Reserved.
//
// Distribut... | mccarthyrb/libpalaso | SIL.Scripture/VersificationTable.cs | https://github.com/mccarthyrb/libpalaso/blob/HEAD/SIL.Scripture/VersificationTable.cs | ghcode:00000:09509457be66 | mit | codeparrot/github-code | 09509457be6699f2ecacc07f2c49c5acdf9b4195073e05c690d59660ad9dfcf0 | 0.85 | testing_debugging_repair_refactoring | 2,410 | false | 2026-07-17 |
using System;
using Marten.Services;
using Marten.Testing.Documents;
using Marten.Testing.Harness;
using Xunit;
namespace Marten.Testing.CoreFunctionality
{
public class foreign_key_persisting_Tests: IntegrationContext
{
[Fact]
public void persist_and_overwrite_foreign_key()
{
... | ericgreenmix/marten | src/Marten.Testing/CoreFunctionality/foreign_key_persisting_Tests.cs | https://github.com/ericgreenmix/marten/blob/HEAD/src/Marten.Testing/CoreFunctionality/foreign_key_persisting_Tests.cs | ghcode:00000:e192dec97255 | mit | codeparrot/github-code | e192dec97255bbeb9424121b7620232af2d33b3e777c47e838ac119de858b358 | 0.75 | testing_debugging_repair_refactoring | 736 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;
using FluentAssertions;
using Microsoft.OData.Edm;
using Micros... | ysanghi/Vipr | test/ODataReader.v4UnitTests/Given_an_ODataVocabularyReader.cs | https://github.com/ysanghi/Vipr/blob/HEAD/test/ODataReader.v4UnitTests/Given_an_ODataVocabularyReader.cs | ghcode:00000:d67be6e3f092 | mit | codeparrot/github-code | d67be6e3f09221d7efaa86714e84db0cae484e520a91e78b19a09f18289fa35e | 0.7 | testing_debugging_repair_refactoring | 2,045 | false | 2026-07-17 |
/*
* Farseer Physics Engine:
* Copyright (c) 2012 Ian Qvist
*
* Original source Box2D:
* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of t... | Blucky87/Nez | Nez.FarseerPhysics/Farseer/Dynamics/Joints/DistanceJoint.cs | https://github.com/Blucky87/Nez/blob/HEAD/Nez.FarseerPhysics/Farseer/Dynamics/Joints/DistanceJoint.cs | ghcode:00000:9432a0cb37b1 | mit | codeparrot/github-code | 9432a0cb37b1dadd188fb6ec6b0fc0cb2dda972969858bc0af8c01ccc5249137 | 0.7 | testing_debugging_repair_refactoring | 3,070 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | shroman/ignite | modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/CacheConfiguration.cs | https://github.com/shroman/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/CacheConfiguration.cs | ghcode:00000:d45fd22c34c1 | apache-2.0 | codeparrot/github-code | d45fd22c34c1d6f94d043c2c972563ceeeb1f3c66253235090ec46e297c12ea6 | 0.7 | testing_debugging_repair_refactoring | 8,706 | false | 2026-07-17 |
using System;
using FluentNHibernate.Conventions;
using FluentNHibernate.Conventions.AcceptanceCriteria;
using FluentNHibernate.Conventions.Instances;
using FluentNHibernate.Conventions.Inspections;
using FluentNHibernate.Mapping;
using NUnit.Framework;
namespace FluentNHibernate.Testing.ConventionFinderTests
... | mtscout6/fluent-nhibernate | src/FluentNHibernate.Testing/ConventionFinderTests/AddingTypeTests.cs | https://github.com/mtscout6/fluent-nhibernate/blob/HEAD/src/FluentNHibernate.Testing/ConventionFinderTests/AddingTypeTests.cs | ghcode:00000:041ff9c28a94 | bsd-3-clause | codeparrot/github-code | 041ff9c28a94ae274f34192912ae83975a29f5f644780f12d217b02e3cb5eebe | 0.75 | testing_debugging_repair_refactoring | 475 | false | 2026-07-17 |
using System;
using Xunit;
namespace HealthMonitoring.AcceptanceTests.Helpers
{
static class CustomAssertions
{
public static void EqualNotStrict(string first, string second)
{
bool equal = string.Equals(first, second, StringComparison.CurrentCultureIgnoreCase);
Assert.... | wongatech/HealthMonitoring | HealthMonitoring.AcceptanceTests/Helpers/CusomAssertions.cs | https://github.com/wongatech/HealthMonitoring/blob/HEAD/HealthMonitoring.AcceptanceTests/Helpers/CusomAssertions.cs | ghcode:00000:12238500fefc | mit | codeparrot/github-code | 12238500fefcd146a06d6880550172601bfcfffdb3e044338c72c5b04f0973e9 | 0.6 | testing_debugging_repair_refactoring | 69 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
using System;
using System.Collections;
using System.Collections.Specialized;
namespace System.Collect... | mafiya69/corefx | src/System.Collections.Specialized/tests/NameObjectCollectionBase/GetEnumeratorTests.cs | https://github.com/mafiya69/corefx/blob/HEAD/src/System.Collections.Specialized/tests/NameObjectCollectionBase/GetEnumeratorTests.cs | ghcode:00000:759227a3b069 | mit | codeparrot/github-code | 759227a3b069448941ecc2ce11ba3c7adfd2d9a46de0a365b48fb04ebdb5160b | 0.95 | testing_debugging_repair_refactoring | 1,135 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using FluentAssertions.Collections;
using FluentAssertions.Common;
using FluentAssertions.Equivalency;
using FluentAssertions.Numeric;
using FluentAssertions.Primitives;
using FluentAssertions.... | SaroTasciyan/FluentAssertions | Src/Core/InternalAssertionExtensions.cs | https://github.com/SaroTasciyan/FluentAssertions/blob/HEAD/Src/Core/InternalAssertionExtensions.cs | ghcode:00000:c24a5d42b340 | apache-2.0 | codeparrot/github-code | c24a5d42b340512d8078c64283dd51a705222cefda599d4ab4d5608f6b611422 | 0.7 | testing_debugging_repair_refactoring | 3,856 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | praveennet/azure-powershell | src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs | https://github.com/praveennet/azure-powershell/blob/HEAD/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs | ghcode:00000:fe6845712703 | apache-2.0 | codeparrot/github-code | fe68457127038b22cb5e3c0728b60e23727576505c8d5031109848b8e203b1bd | 0.7 | testing_debugging_repair_refactoring | 3,741 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="SourceSpec.cs" company="Akka.NET Project">
// Copyright (C) 2015-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//---... | derwasp/akka.net | src/core/Akka.Streams.Tests/Dsl/SourceSpec.cs | https://github.com/derwasp/akka.net/blob/HEAD/src/core/Akka.Streams.Tests/Dsl/SourceSpec.cs | ghcode:00000:5a717e557d18 | apache-2.0 | codeparrot/github-code | 5a717e557d185022423c346a6dfa666ae2def7a9cc04a3ba56a67a7a5bf407ee | 0.85 | testing_debugging_repair_refactoring | 3,095 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | amarzavery/azure-powershell | src/ServiceManagement/Services/Commands.Test/CloudService/Development/GetAzureServiceProjectRuntimesTest.cs | https://github.com/amarzavery/azure-powershell/blob/HEAD/src/ServiceManagement/Services/Commands.Test/CloudService/Development/GetAzureServiceProjectRuntimesTest.cs | ghcode:00000:92b10d60bf22 | apache-2.0 | codeparrot/github-code | 92b10d60bf2220f043ca3192cb73e48087337213dd44d2470c259f36124e5fe1 | 0.7 | testing_debugging_repair_refactoring | 481 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace AutoTest.TestRunners.XUnit.Tests.TestResource
{
public class Class2
{
[Fact]
public void Anothger_passing_test()
{
Assert.Equal(1, 1);
}
}
}
| acken/AutoTest.Net | src/AutoTest.TestRunner/Plugins/AutoTest.TestRunners.XUnit.Tests.TestResource/Class2.cs | https://github.com/acken/AutoTest.Net/blob/HEAD/src/AutoTest.TestRunner/Plugins/AutoTest.TestRunners.XUnit.Tests.TestResource/Class2.cs | ghcode:00000:d180f7f3283b | mit | codeparrot/github-code | d180f7f3283bde5cb179815a7a4c62c299de56b9eb1034ee26aadba74a1fbdb4 | 0.75 | testing_debugging_repair_refactoring | 70 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | tkpanther/ignite | modules/platforms/dotnet/Apache.Ignite.Core/Impl/Messaging/MessageListenerHolder.cs | https://github.com/tkpanther/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Messaging/MessageListenerHolder.cs | ghcode:00000:cc47d9c99422 | apache-2.0 | codeparrot/github-code | cc47d9c9942267e7eb75ccaaa337bd6379bbad3e4e79da47cea8d2a353018418 | 0.7 | testing_debugging_repair_refactoring | 1,252 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tas... | Ermiar/corefx | src/System.Net.Sockets/src/System/Net/Sockets/MultipleConnectAsync.cs | https://github.com/Ermiar/corefx/blob/HEAD/src/System.Net.Sockets/src/System/Net/Sockets/MultipleConnectAsync.cs | ghcode:00000:edaef7856267 | mit | codeparrot/github-code | edaef785626791dcad3e4f96d5f85a0a81082cfc41166320d28c69b6e14e409c | 0.8 | testing_debugging_repair_refactoring | 3,224 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using NSubstitute;
using Xunit;
using System.Threading.Tasks;
namespace Octokit.Tests.Clients
{
/// <summary>
/// Client tests mostly just need to make sure they call the IApiConnection with the correct
/// relative Uri... | hitesh97/octokit.net | Octokit.Tests/Clients/SearchClientTests.cs | https://github.com/hitesh97/octokit.net/blob/HEAD/Octokit.Tests/Clients/SearchClientTests.cs | ghcode:00000:10f898a170f2 | mit | codeparrot/github-code | 10f898a170f21d6829d62828eba9dcfb3eae3b98cbdcf34826524f0f3b2d68ae | 0.72 | testing_debugging_repair_refactoring | 13,889 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="ProjectItemInstance_Tests.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <summary>Tests for ProjectItemInstance public members</summary>
//-----------------------... | MetSystem/msbuild | src/XMakeBuildEngine/UnitTestsPublicOM/Instance/ProjectItemInstance_Tests.cs | https://github.com/MetSystem/msbuild/blob/HEAD/src/XMakeBuildEngine/UnitTestsPublicOM/Instance/ProjectItemInstance_Tests.cs | ghcode:00000:f9945eab231c | mit | codeparrot/github-code | f9945eab231c52335a46438aa086358db4f9ced782e59103256ea9708e42c9b9 | 0.85 | testing_debugging_repair_refactoring | 6,346 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Azure.Management.ResourceManager;
using Microsoft.Azure.Management.ResourceManager.Models;
using Microsoft.Azure.Management.Sql;
using Microsoft.... | SiddharthChatrolaMs/azure-sdk-for-net | src/SDKs/SqlManagement/Sql.Tests/UsageScenarioTests.cs | https://github.com/SiddharthChatrolaMs/azure-sdk-for-net/blob/HEAD/src/SDKs/SqlManagement/Sql.Tests/UsageScenarioTests.cs | ghcode:00000:60cb60a61db0 | apache-2.0 | codeparrot/github-code | 60cb60a61db019d45aa7d3b4811e4e84db714a49ade35e0e44f835186a9876f7 | 0.85 | testing_debugging_repair_refactoring | 457 | false | 2026-07-17 |
namespace Simple.Data.UnitTest
{
using System;
using System.Collections.Generic;
using NUnit.Framework;
[TestFixture]
public class AdapterFactoryTest
{
private static AdapterFactory CreateTarget()
{
return new CachingAdapterFactory(new StubComposer());
... | ronnyek/Simple.Data | Simple.Data.UnitTest/AdapterFactoryTest.cs | https://github.com/ronnyek/Simple.Data/blob/HEAD/Simple.Data.UnitTest/AdapterFactoryTest.cs | ghcode:00000:f168ba6c7782 | mit | codeparrot/github-code | f168ba6c7782e312068b489d80e980c6a51d12d64474404f7dbaa1ac191f2451 | 0.6 | testing_debugging_repair_refactoring | 501 | false | 2026-07-17 |
using NUnit.Framework;
using Nest.Tests.MockData.Domain;
namespace Nest.Tests.Unit.Search.Query.Singles
{
[TestFixture]
public class ConditionlessQueryJson
{
[Test]
public void FallbackTerm()
{
var s = new SearchDescriptor<ElasticsearchProject>().From(0).Size(10)
.Query(q=>q
.Conditionless(qs=>qs... | joehmchan/elasticsearch-net | src/Tests/Nest.Tests.Unit/Search/Query/Modes/ConditionlessQueryJson.cs | https://github.com/joehmchan/elasticsearch-net/blob/HEAD/src/Tests/Nest.Tests.Unit/Search/Query/Modes/ConditionlessQueryJson.cs | ghcode:00000:972a57e61091 | apache-2.0 | codeparrot/github-code | 972a57e6109143bd23b1aa25d22313c80b50ef90a3497488e52f5609d46ee39e | 0.85 | testing_debugging_repair_refactoring | 713 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Extensions;
using Microsoft.CodeAnalysis.CSharp.Syntax;
u... | KevinRansom/roslyn | src/Workspaces/CSharp/Portable/Formatting/Rules/SpacingFormattingRule.cs | https://github.com/KevinRansom/roslyn/blob/HEAD/src/Workspaces/CSharp/Portable/Formatting/Rules/SpacingFormattingRule.cs | ghcode:00000:ce8f4d3e7c6a | apache-2.0 | codeparrot/github-code | ce8f4d3e7c6af93674012536aff8ffe513940f274abc4d35fd1f1488f543d9d2 | 0.7 | testing_debugging_repair_refactoring | 3,504 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Xunit;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;... | OmarTawfik/roslyn | src/Compilers/CSharp/Test/Syntax/Parsing/RefStructs.cs | https://github.com/OmarTawfik/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Syntax/Parsing/RefStructs.cs | ghcode:00000:649aab9ab27a | apache-2.0 | codeparrot/github-code | 649aab9ab27ae0d7e197bee70a70272d1c94b9ecab3e8f6b652aa7343324bfc4 | 0.95 | testing_debugging_repair_refactoring | 2,380 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using Microsoft.CodeAnalysis.ErrorReporting;
using Roslyn.Test.Utilities;
using Ro... | AmadeusW/roslyn | src/Workspaces/CoreTest/UtilityTest/ExceptionHelpersTests.cs | https://github.com/AmadeusW/roslyn/blob/HEAD/src/Workspaces/CoreTest/UtilityTest/ExceptionHelpersTests.cs | ghcode:00000:f362f112a276 | apache-2.0 | codeparrot/github-code | f362f112a2765144c07c9eab94638c27322ffabce6272c46b2adebe6612a8331 | 0.85 | testing_debugging_repair_refactoring | 283 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using Microso... | shyamnamboodiripad/roslyn | src/Workspaces/CSharp/Portable/Simplification/Reducers/CSharpExtensionMethodReducer.cs | https://github.com/shyamnamboodiripad/roslyn/blob/HEAD/src/Workspaces/CSharp/Portable/Simplification/Reducers/CSharpExtensionMethodReducer.cs | ghcode:00000:ddc4186ce079 | apache-2.0 | codeparrot/github-code | ddc4186ce079430de7607045aac99014fa539dafb7acb18c976983805eb345db | 0.85 | testing_debugging_repair_refactoring | 1,008 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
#if NETCOREAPP
using System;
using System.IO;
using System.Text;
using System.Threading;
using ... | brettfo/roslyn | src/Test/Utilities/Portable/Platform/CoreClr/SharedConsoleOutWriter.cs | https://github.com/brettfo/roslyn/blob/HEAD/src/Test/Utilities/Portable/Platform/CoreClr/SharedConsoleOutWriter.cs | ghcode:00000:524baa5ee890 | apache-2.0 | codeparrot/github-code | 524baa5ee89025b68e6e3665e1dbd218540e37f4173778d1a07c4d982f26995d | 0.95 | testing_debugging_repair_refactoring | 478 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.WebMatrix.Extensibility;
using NuGet;
using NuGet.WebMatrix.Data;
namespace NuGet.WebM... | mrward/NuGet.V2 | WebMatrixExtension/NuGetExtension/Core/FilterManager.cs | https://github.com/mrward/NuGet.V2/blob/HEAD/WebMatrixExtension/NuGetExtension/Core/FilterManager.cs | ghcode:00000:a4b600d1bf72 | apache-2.0 | codeparrot/github-code | a4b600d1bf72f9555229910e5dab34d2e1fb22cc9d1d36561141a795ce266ede | 0.7 | testing_debugging_repair_refactoring | 2,322 | false | 2026-07-17 |
namespace Nancy.Tests.Unit.Json
{
using System;
public class TestPrimitiveConverterType : IEquatable<TestPrimitiveConverterType>
{
public int Data;
public bool Equals(TestPrimitiveConverterType other)
{
if (other == null)
return false;
return (this.Data == other.Data);
}
... | anton-gogolev/Nancy | test/Nancy.Tests/Unit/Json/TestPrimitiveConverterType.cs | https://github.com/anton-gogolev/Nancy/blob/HEAD/test/Nancy.Tests/Unit/Json/TestPrimitiveConverterType.cs | ghcode:00000:fc9a4962e897 | mit | codeparrot/github-code | fc9a4962e8978c24ce83a4bba9f24cdd1c49294638a1f3d4ad7cafde9e5a455e | 0.75 | testing_debugging_repair_refactoring | 116 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Reflection;
using Xunit;
namespace System.Globalization.Tests
{
... | shimingsg/corefx | src/System.Globalization/tests/NumberFormatInfo/NumberFormatInfoTests.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Globalization/tests/NumberFormatInfo/NumberFormatInfoTests.cs | ghcode:00000:0bdef85faef8 | mit | codeparrot/github-code | 0bdef85faef8e82440d3036b3e82d9f6c4c1db045cdc257ab97dacc58e4a03c9 | 0.95 | testing_debugging_repair_refactoring | 1,375 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class StringInfoGe... | ellismg/corefx | src/System.Globalization/tests/StringInfo/StringInfoGetTextElementEnumerator.cs | https://github.com/ellismg/corefx/blob/HEAD/src/System.Globalization/tests/StringInfo/StringInfoGetTextElementEnumerator.cs | ghcode:00000:acff3700ff3b | mit | codeparrot/github-code | acff3700ff3bf7ddeecac5bf979219e8a98ada4e74927cd9da801797b5b1c3cf | 0.95 | testing_debugging_repair_refactoring | 724 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Numerics.Tests
{
public class op_leftshiftTest
{
private static int s... | DnlHarvey/corefx | src/System.Runtime.Numerics/tests/BigInteger/op_leftshift.cs | https://github.com/DnlHarvey/corefx/blob/HEAD/src/System.Runtime.Numerics/tests/BigInteger/op_leftshift.cs | ghcode:00000:95dd363d28d3 | mit | codeparrot/github-code | 95dd363d28d3aa7c8f4c6e45a9b13f79d8a0ae2e4f3d137124edd4f57968659b | 0.95 | testing_debugging_repair_refactoring | 1,832 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections;
using System.Collections.Generic;
using Xunit;
using SortedDictionaryTests.SortedDictionary_SortedDictionary_KeyCollection;
usin... | Frank125/corefx | src/System.Collections/tests/Generic/SortedDictionary/SortedDictionary_KeyCollection.cs | https://github.com/Frank125/corefx/blob/HEAD/src/System.Collections/tests/Generic/SortedDictionary/SortedDictionary_KeyCollection.cs | ghcode:00000:cf62a96fe36f | mit | codeparrot/github-code | cf62a96fe36f1f1baf128671dba3bb7386c4eccb5ed13f621365570042352a07 | 0.95 | testing_debugging_repair_refactoring | 4,037 | false | 2026-07-17 |
using System.Security.Cryptography.X509Certificates;
using Xunit;
namespace OpenGost.Security.Cryptography.X509Certificates
{
public class GostECDsaCertificateExtensionsTests : CryptoConfigRequiredTest
{
[Theory]
[InlineData("GostECDsa256")]
[InlineData("GostECDsa512")]
public ... | sergezhigunov/gost | tests/OpenGost.Security.Cryptography.Tests/X509Certificates/GostECDsaCertificateExtensionsTests.cs | https://github.com/sergezhigunov/gost/blob/HEAD/tests/OpenGost.Security.Cryptography.Tests/X509Certificates/GostECDsaCertificateExtensionsTests.cs | ghcode:00000:0b4726d4cfb9 | mit | codeparrot/github-code | 0b4726d4cfb9b73e5b9d2ccf6e6c1cf5014917697ce01e660f0aa51a47bcabc4 | 0.75 | testing_debugging_repair_refactoring | 155 | false | 2026-07-17 |
using System;
//using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestClass = NUnit.Framework.TestFixtureAttribute;
using TestMethod = NUnit.Framework.TestAttribute;
using NUnit.Framework;
using BrowserStack;
using System.Text;
using System.IO;
namespace BrowserStack_Unit_Tests
{
[TestClass]
public class... | browserstack/browserstack-local-csharp | BrowserStackLocal/BrowserStackLocal Unit Tests/BrowserStackTunnelTests.cs | https://github.com/browserstack/browserstack-local-csharp/blob/HEAD/BrowserStackLocal/BrowserStackLocal Unit Tests/BrowserStackTunnelTests.cs | ghcode:00000:235b86cc3e10 | mit | codeparrot/github-code | 235b86cc3e10c66e5f48549bbad5f625299ccbff81a1343ecdbba78e7f57fa6c | 0.75 | testing_debugging_repair_refactoring | 794 | false | 2026-07-17 |
using System;
using System.Net.Http;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
namespace ApplicationInsights.OwinExtensions.Tests
{
public class OperationIdContextTests : IDisposable
{
public OperationIdContextTests()
{
OperationIdContext.Clear();
}... | marcinbudny/applicationinsights-owinextensions | src/ApplicationInsights.OwinExtensions.Tests/OperationIdContextTests.cs | https://github.com/marcinbudny/applicationinsights-owinextensions/blob/HEAD/src/ApplicationInsights.OwinExtensions.Tests/OperationIdContextTests.cs | ghcode:00000:83442aeef45e | mit | codeparrot/github-code | 83442aeef45eec3856a02057f3cf49a39e0e877623dc82452e5198017ceccfa6 | 0.75 | testing_debugging_repair_refactoring | 262 | false | 2026-07-17 |
/*
* Velcro Physics:
* Copyright (c) 2017 Ian Qvist
*/
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using QEngine.Physics.Shared;
using QEngine.Physics.Tools.Triangulation.Delaunay.Delaunay;
using QEngine.Physics.Tools.Triangulation.Delaunay.Delaunay.Sweep;
namespace QEngine.Physics.Tools.Triangu... | Quincy9000/QEngine.Framework | QEngine/Code/Physics/Tools/Triangulation/Delaunay/CDTDecomposer.cs | https://github.com/Quincy9000/QEngine.Framework/blob/HEAD/QEngine/Code/Physics/Tools/Triangulation/Delaunay/CDTDecomposer.cs | ghcode:00000:51af44871750 | mit | codeparrot/github-code | 51af448717505bc4803aefed2b95412ca7d1b487d6e51f66258e912ccf6d87d3 | 0.7 | testing_debugging_repair_refactoring | 528 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HTLib2.Bioinfo
{
public partial class ForceField
{
public class PwVdw : INonbonded, IHessBuilder4PwIntrAct
{
public virtual string[] FrcFldType { get { return new string[] { "... | htna/HCsbLib | HCsbLib/HCsbLib/HTLib2.Bioinfo/ForceField/ForceField.Pw/ForceField.PwVdw.cs | https://github.com/htna/HCsbLib/blob/HEAD/HCsbLib/HCsbLib/HTLib2.Bioinfo/ForceField/ForceField.Pw/ForceField.PwVdw.cs | ghcode:00000:b1553eb519b4 | mit | codeparrot/github-code | b1553eb519b48dde661924d5a7b33183d7f7b4e5b0bfaf2a3cad5ea8455721d3 | 0.7 | testing_debugging_repair_refactoring | 2,981 | false | 2026-07-17 |
using Lux.IO;
using NUnit.Framework;
namespace Lux.Tests.IO
{
[TestFixture]
public class PathHelperTests
{
[TestCase]
[Category("ExcludeBuildAgent")] // todo: fix so be able to...
public void GetRootParent()
{
const string expected = "C:/";
const... | LazyTarget/Lux | src/Lux.Tests/IO/PathHelperTests.cs | https://github.com/LazyTarget/Lux/blob/HEAD/src/Lux.Tests/IO/PathHelperTests.cs | ghcode:00000:05a5bea154e4 | mit | codeparrot/github-code | 05a5bea154e41de7b2395f86436e8eb120b73a7a3993029c5931eb9d1b1dbbe2 | 0.75 | testing_debugging_repair_refactoring | 379 | false | 2026-07-17 |
using System;
using Microsoft.Hadoop.MapReduce;
namespace MapReduceSamples.Utils
{
public class TestReducerCombinerContext : ReducerCombinerContext
{
public TestReducerCombinerContext(bool isCombiner) : base(isCombiner)
{
}
public override void EmitKeyValue(string key, string ... | SaschaDittmann/MapReduceSamples | MapReduceSamples/MapReduceSamples.Utils/TestReducerCombinerContext.cs | https://github.com/SaschaDittmann/MapReduceSamples/blob/HEAD/MapReduceSamples/MapReduceSamples.Utils/TestReducerCombinerContext.cs | ghcode:00000:37f6cbf5bacf | mit | codeparrot/github-code | 37f6cbf5bacfd132b9edfe2e8982725423eb60e82b158a3737d15ca8f72ce022 | 0.75 | testing_debugging_repair_refactoring | 285 | false | 2026-07-17 |
using System.Data.Common;
using System.Linq;
using System.Reflection;
namespace FluentMethods.UnitTests
{
public class MethodInfoFixture
{
#if NetCore
[Xunit.Fact]
#else
[NUnit.Framework.Test]
#endif
public void IsAsync()
{
var methodOpenAsync= typeof... | edwardmeng/FluentMethods | test/Core/System.Reflection.MethodInfo/IsAsync.cs | https://github.com/edwardmeng/FluentMethods/blob/HEAD/test/Core/System.Reflection.MethodInfo/IsAsync.cs | ghcode:00000:842c3d2edb5f | mit | codeparrot/github-code | 842c3d2edb5f9ae60c5305139fb23664ad9d23d6c384a74d020129419f295fe8 | 0.6 | testing_debugging_repair_refactoring | 210 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using Bender;
using Bender.Collections;
using Bender.Extensions;
using Bender.Reflection;
using NUnit.Framework;
using Should;
using Tests.Collections.Implementations;
namespace Tests.Serializer.Json
{
[TestFixture]
public... | mikeobrien/Bender | src/Tests/Serializer/Json/ArrayTests.cs | https://github.com/mikeobrien/Bender/blob/HEAD/src/Tests/Serializer/Json/ArrayTests.cs | ghcode:00000:8d4bec86392e | mit | codeparrot/github-code | 8d4bec86392e668205d3e755b1f97cfc57c4489e102d9784d044a9dd3c9a1292 | 0.95 | testing_debugging_repair_refactoring | 3,503 | false | 2026-07-17 |
using Moq;
using RestSharp;
using System.Collections.Generic;
using Xunit;
namespace MarvelAPI.Test.Requests.StoryRequestTests
{
public class GetStoryTests : StoryRequestTestBase
{
[Fact]
public void Success()
{
// arrange
var storyId = 1;
var data =... | foilking/MarvelAPI | MarvelAPI.Test/Requests/StoryRequestTests/GetStoryTests.cs | https://github.com/foilking/MarvelAPI/blob/HEAD/MarvelAPI.Test/Requests/StoryRequestTests/GetStoryTests.cs | ghcode:00000:3b557ab13f79 | mit | codeparrot/github-code | 3b557ab13f7994f3fba4b2e7c998cf5dc45a703de7e56397ac55d60be2fe109b | 0.85 | testing_debugging_repair_refactoring | 196 | false | 2026-07-17 |
using BenchmarkDotNet.Attributes;
using Obj2ObjMapBench.Models;
using System.Collections.Generic;
using System.Linq;
namespace Obj2ObjMapBench
{
public abstract class BaseBenchmark
{
const int iterations = 10000;
protected IEnumerable<SimplePoco> _simpleData;
protected IEnumerable<Nes... | lusocoding/dotnet-objmap-benchmark | Obj2ObjMapBench/Benchmarks/BaseBenchmark.cs | https://github.com/lusocoding/dotnet-objmap-benchmark/blob/HEAD/Obj2ObjMapBench/Benchmarks/BaseBenchmark.cs | ghcode:00000:9965ba4325e0 | mit | codeparrot/github-code | 9965ba4325e03f0b86915ccfa3950226e41fba48aa4680000d6eed165bad167a | 0.6 | testing_debugging_repair_refactoring | 575 | false | 2026-07-17 |
using Xunit;
namespace ZabbixApiTests.Integration
{
public class EventServiceIntegrationTest : IntegrationTestBase
{
[Fact]
public void MustGetAny()
{
var result = context.Events.Get();
Assert.NotNull(result);
}
}
}
| HenriqueCaires/ZabbixApi | ZabbixApiTests/Integration/EventServiceIntegrationTest.cs | https://github.com/HenriqueCaires/ZabbixApi/blob/HEAD/ZabbixApiTests/Integration/EventServiceIntegrationTest.cs | ghcode:00000:fad088c35be6 | mit | codeparrot/github-code | fad088c35be6a31b160fd2ab7e38c9625e1a8ca0bb7f7e429513193c3b97b588 | 0.6 | testing_debugging_repair_refactoring | 57 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Inference.Interpreter;
using Inference.Interpreter.LISP;
using Inference.Interpreter.Scheme;
using Inference.Parser;
using NUnit.Framework;
namespace Inference.Tests.Interpreter.Scheme
... | tom-weatherhead/inference | InferenceLibs/Inference.Tests/Interpreter/Scheme/Parser_Fixture.cs | https://github.com/tom-weatherhead/inference/blob/HEAD/InferenceLibs/Inference.Tests/Interpreter/Scheme/Parser_Fixture.cs | ghcode:00000:6219c7df6cbb | mit | codeparrot/github-code | 6219c7df6cbb0b0b23bb9e0280084f61a61e357367c56cdcf0a316876ed48bbf | 0.57 | testing_debugging_repair_refactoring | 18,154 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using NUnit.Framework;
namespace Azure.AI.TextAnalytics.Tests
{
[ClientTestFixture(
... | Azure/azure-sdk-for-net | sdk/textanalytics/Azure.AI.TextAnalytics/tests/AnalyzeOperationTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/textanalytics/Azure.AI.TextAnalytics/tests/AnalyzeOperationTests.cs | ghcode:00000:35c310be859b | mit | codeparrot/github-code | 35c310be859b2e2eafe17096e4e2047eaaaf79d27c23014e1f049dc9fad204ab | 0.95 | testing_debugging_repair_refactoring | 6,686 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Meow.Diagnostic.Tests.Support
{
public class TestSuite : Suite
{
public override IEnumerable<ITask> GetTasks()
{
return new List<ITask>
{
new PassingTa... | jaredmcguire/Meow.Diagnostic | Meow.Diagnostic.Tests/Support/TestSuite.cs | https://github.com/jaredmcguire/Meow.Diagnostic/blob/HEAD/Meow.Diagnostic.Tests/Support/TestSuite.cs | ghcode:00000:052ce574f493 | mit | codeparrot/github-code | 052ce574f493aee237576a7ccb8442fee021d7c7eaee833f9d2e603e2867654c | 0.75 | testing_debugging_repair_refactoring | 72 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Hapil.Testing.NUnit;
using NUnit.Framework;
namespace Hapil.UnitTests.Statements
{
[TestFixture]
public class CallStatementTests : NUnitEmittedTypesTestBase
{
[Test]
public void CanCallVoidMethodOnReferenceTypeTarget()
... | felix-b/Hapil | Source/Hapil.UnitTests/Statements/CallStatementTests.cs | https://github.com/felix-b/Hapil/blob/HEAD/Source/Hapil.UnitTests/Statements/CallStatementTests.cs | ghcode:00000:24d2dfd2b6b2 | mit | codeparrot/github-code | 24d2dfd2b6b2d3b84da40b8410c92bd41f2d5bde6fd7b2b700a9e1ee988a2caa | 0.85 | testing_debugging_repair_refactoring | 1,117 | false | 2026-07-17 |
using AlgorithmsLibrary;
using Xunit;
namespace Tests
{
public class QuickFindTests
{
[Fact]
public void IsConnected_NotConnectedByDefault()
{
var algorithm = new QuickFind(2);
Assert.Equal(0, algorithm.Result[0]);
Assert.Equal(1, algor... | Sufflavus/Algorithms | Source/Tests/QuickFindTests.cs | https://github.com/Sufflavus/Algorithms/blob/HEAD/Source/Tests/QuickFindTests.cs | ghcode:00000:168d3a1054e2 | mit | codeparrot/github-code | 168d3a1054e2ddd58ce5552080b0aed19031f1412783cf219f47e2d3f2089401 | 0.85 | testing_debugging_repair_refactoring | 270 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
namespace Hstar.Lara.Cache.Tests
{
[TestClass]
public class SimpleMemoryCacheTest
{
private static CacheItem<int> intCache;
private static int cacheValue = 1;
[ClassInitialize]
public static v... | hstarorg/Hstar.Core | test/Lara.Cache.Tests/SimpleMemoryCacheTest.cs | https://github.com/hstarorg/Hstar.Core/blob/HEAD/test/Lara.Cache.Tests/SimpleMemoryCacheTest.cs | ghcode:00000:6ed0802ca5fa | mit | codeparrot/github-code | 6ed0802ca5fafb9915574f3c8293e30b7827396603dd1605caa7b8c6de024a2c | 0.6 | testing_debugging_repair_refactoring | 230 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Diagnostics;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
us... | peppy/osu-new | osu.Game/Overlays/Profile/Sections/Historical/DrawableMostPlayedBeatmap.cs | https://github.com/peppy/osu-new/blob/HEAD/osu.Game/Overlays/Profile/Sections/Historical/DrawableMostPlayedBeatmap.cs | ghcode:00000:8cdb492cb63d | mit | codeparrot/github-code | 8cdb492cb63dd9fba73882bff1f8f1299f524d6320292db06eb443d53698696e | 0.6 | testing_debugging_repair_refactoring | 1,200 | false | 2026-07-17 |
using BulletML;
using BulletML.Enums;
using BulletML.Nodes;
using NUnit.Framework;
using Tests.Utils;
namespace Tests.Node
{
[TestFixture]
[Category("NodeTest")]
public class ActionNodeTest
{
[Test]
public void TestOneTop()
{
var filename = TestUtils.GetFilePath(@"Co... | Noxalus/BulletML | Tests/Node/ActionNodeTest.cs | https://github.com/Noxalus/BulletML/blob/HEAD/Tests/Node/ActionNodeTest.cs | ghcode:00000:766323cd5f66 | mit | codeparrot/github-code | 766323cd5f6689a12ca9eeb6b5e2f6f847b7ce765bd6f738f6ad1ef4895076d9 | 0.6 | testing_debugging_repair_refactoring | 304 | false | 2026-07-17 |
using Stranne.BooliLib.Models;
using Xunit.Abstractions;
namespace Stranne.BooliLib.Tests.Models
{
public class DimensionSerializable : Dimension, IXunitSerializable
{
public DimensionSerializable()
{
}
public DimensionSerializable(int height, int width)
: base(hei... | stranne/BooliLib | Stranne.BooliLib.Tests/Models/DimensionSerializable.cs | https://github.com/stranne/BooliLib/blob/HEAD/Stranne.BooliLib.Tests/Models/DimensionSerializable.cs | ghcode:00000:a61bf279bd4a | mit | codeparrot/github-code | a61bf279bd4a1865c6b550c74c2dea262e6149830159dcede97facddda246a55 | 0.6 | testing_debugging_repair_refactoring | 141 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using Azure.ResourceManager.Resources;
using Azure.ResourceManager.Resources.Models;
using NUnit.Framework;
namespace Azure.ResourceManager.Tests
{
public ... | Azure/azure-sdk-for-net | sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementLockObjectOperationsTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementLockObjectOperationsTests.cs | ghcode:00000:3fe04af90c47 | mit | codeparrot/github-code | 3fe04af90c478623befe459ba2777c34e32f95f7ca6bc71dffabebfff89d969d | 0.95 | testing_debugging_repair_refactoring | 211 | false | 2026-07-17 |
/*
* SonarScanner for MSBuild
* Copyright (C) 2016-2019 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 o... | SonarSource/sonar-msbuild-runner | src/SonarScanner.MSBuild.Tasks/TaskUtilities.cs | https://github.com/SonarSource/sonar-msbuild-runner/blob/HEAD/src/SonarScanner.MSBuild.Tasks/TaskUtilities.cs | ghcode:00000:d9430a1231e9 | mit | codeparrot/github-code | d9430a1231e9eabbae6773e936ce98d18084f7461a71520c27ec54693a5718b9 | 0.7 | testing_debugging_repair_refactoring | 802 | false | 2026-07-17 |
#region Licence
/* The MIT License (MIT)
Copyright © 2014 Francesco Pighi <francesco.pighi@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitat... | dstockhammer/Brighter | tests/Paramore.Brighter.Tests/CommandStore/Sqlite/When_writing_a_message_to_the_command_store.cs | https://github.com/dstockhammer/Brighter/blob/HEAD/tests/Paramore.Brighter.Tests/CommandStore/Sqlite/When_writing_a_message_to_the_command_store.cs | ghcode:00000:19b99ad58c87 | mit | codeparrot/github-code | 19b99ad58c879d50a14c060727b5a7aa10a76983478e552bfc8aff06820a7189 | 0.7 | testing_debugging_repair_refactoring | 576 | false | 2026-07-17 |
using Shouldly;
using Specify.Samples.Domain.Atm;
using TestStack.BDDfy;
namespace Specify.Samples.Specs.ATM
{
public class CardHasBeenDisabled : ScenarioFor<Atm, AccountHolderWithdrawsCashStory>
{
private Card _card;
public void Given_the_Card_is_disabled()
{
_card = new ... | mwhelan/Specify | src/Samples/Specify.Samples/Specs/ATM/CardHasBeenDisabled.cs | https://github.com/mwhelan/Specify/blob/HEAD/src/Samples/Specify.Samples/Specs/ATM/CardHasBeenDisabled.cs | ghcode:00000:6d0c91c19d7f | mit | codeparrot/github-code | 6d0c91c19d7fc8a2fa54e39610f39e87106cbf83072abd8f230bd63ab0f16170 | 0.75 | testing_debugging_repair_refactoring | 207 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
namespace VanEmdeBoasTree.Tests
{
internal static class YFastPerfectHashTableTests
{
public static void RunAllTests()
{
Insert_Contains_SyntheticTestCase();
}
static void Insert_Contains_SyntheticTestCase()
{
... | RegiSV2/IntroToAlgorithmsSolutions | 20/VanEmdeBoasTree/VanEmdeBoasTree/Tests/YFastPerfectHashTableTests.cs | https://github.com/RegiSV2/IntroToAlgorithmsSolutions/blob/HEAD/20/VanEmdeBoasTree/VanEmdeBoasTree/Tests/YFastPerfectHashTableTests.cs | ghcode:00000:21cec8842dd8 | mit | codeparrot/github-code | 21cec8842dd8b4f38d8a3f232f64b3ceff4855a65f6cdea93a1b16df2eb5fbdc | 0.85 | testing_debugging_repair_refactoring | 445 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
usi... | FiveTimesTheFun/corefx | src/System.Collections.Concurrent/tests/ConcurrentDictionaryTests.cs | https://github.com/FiveTimesTheFun/corefx/blob/HEAD/src/System.Collections.Concurrent/tests/ConcurrentDictionaryTests.cs | ghcode:00000:049f31bc6d72 | mit | codeparrot/github-code | 049f31bc6d72ac0032e6dde84b636724e680f3769fce3a9368ad41ff92099fcc | 0.95 | testing_debugging_repair_refactoring | 8,114 | false | 2026-07-17 |
using System.Linq;
using Xunit;
namespace Farity.Tests
{
public class FilterTests
{
[Fact]
public void FilterFiltersElementsInTheList()
{
var expected = new[] {1, 2, 3};
var actual = F.Filter(x => x < 4, new[] {1, 2, 3, 4, 5});
Assert.Equal(expected,... | farity/farity | Farity.Tests/FilterTests.cs | https://github.com/farity/farity/blob/HEAD/Farity.Tests/FilterTests.cs | ghcode:00000:89c811f7bd6c | mit | codeparrot/github-code | 89c811f7bd6c17e0196512eaaebba3c2ebbd5c36d936fea208a77c94559944b1 | 0.75 | testing_debugging_repair_refactoring | 207 | false | 2026-07-17 |
// Description: C# Extension Methods | Enhance the .NET Framework and .NET Core with over 1000 extension methods.
// Website & Documentation: https://csharp-extension.com/
// Issues: https://github.com/zzzprojects/Z.ExtensionMethods/issues
// License (MIT): https://github.com/zzzprojects/Z.ExtensionMethods/blob/master/... | zzzprojects/Z.ExtensionMethods | test/Z.Reflection.Test/GetSignature/Field/InternalField.cs | https://github.com/zzzprojects/Z.ExtensionMethods/blob/HEAD/test/Z.Reflection.Test/GetSignature/Field/InternalField.cs | ghcode:00000:190db02ca9a9 | mit | codeparrot/github-code | 190db02ca9a915361c00161c2c1884d5b403a6bc615f232ce9ee242234f39bd1 | 0.7 | testing_debugging_repair_refactoring | 212 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Lucca.Upgrading.Abstractions;
using Lucca.Upgrading.Discovery;
using Lucca.Upgrading.Strategy;
using Lucca.Upgrading.Test.EfDb;
using Lucca.Upgrading.Test.Fakes;
using Xunit... | LuccaSA/Lucca.Upgrading | test/Lucca.Upgrading.Test/SqlExecutionTests.cs | https://github.com/LuccaSA/Lucca.Upgrading/blob/HEAD/test/Lucca.Upgrading.Test/SqlExecutionTests.cs | ghcode:00000:076fcde5725f | mit | codeparrot/github-code | 076fcde5725f857f90699ddbadeb46f9f80658b5bef7620b9f00478a41bab1f5 | 0.75 | testing_debugging_repair_refactoring | 848 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.