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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using Lix.Commons.Tests;
using Lix.Web.Mvc.Testing;
using MbUnit.Framework;
namespace Lix.Web.Mvc.Tests.Testing
{
[TestFixture]
public class AuthorizationHelperTests
{
[Test]
[Row("ControllerRole1")]
[Row("ControllerRole2")]
public void should_evaluate_to_true_for_controller... | lukesmith/lix | src/Lix.Web.Mvc.Tests/Testing/AuthorizationHelperTests.cs | https://github.com/lukesmith/lix/blob/HEAD/src/Lix.Web.Mvc.Tests/Testing/AuthorizationHelperTests.cs | ghcode:00012:2a6e38a965fe | bsd-3-clause | codeparrot/github-code | 2a6e38a965fe51bf9e673875bdebf2f0b6d2f258ec70467d8cc2ad31220bae6a | 0.75 | testing_debugging_repair_refactoring | 482 | false | 2026-07-17 |
#if NET46 || NET462
using System;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EventStore.ClientAPI;
using EventStore.ClientAPI.Embedded;
using EventStore.ClientAPI.SystemData;
using Newtonsoft.Json;
using NUnit.Framework;
using Projac.Sql;
us... | yreynhout/Projac | src/Projac.Recipes/EventStoreIntegration/Usage.cs | https://github.com/yreynhout/Projac/blob/HEAD/src/Projac.Recipes/EventStoreIntegration/Usage.cs | ghcode:00012:3f88f250d659 | bsd-3-clause | codeparrot/github-code | 3f88f250d659ca6679b49c1734eacf4dc7848ee1292ccecf16c794969e716649 | 0.85 | testing_debugging_repair_refactoring | 1,505 | false | 2026-07-17 |
using System;
using System.Linq;
using NUnit.Framework;
using Should;
using ZBuildLights.Core.Models;
namespace UnitTests.ZBuildLights.Core.Models
{
public class LightGroupTests
{
[TestFixture]
public class When_getting_the_full_name_of_a_group
{
[Test]
public v... | mhinze/ZBuildLights | src/UnitTests/ZBuildLights.Core/Models/LightGroupTests.cs | https://github.com/mhinze/ZBuildLights/blob/HEAD/src/UnitTests/ZBuildLights.Core/Models/LightGroupTests.cs | ghcode:00012:614b513797ab | mit | codeparrot/github-code | 614b513797abe3aefb2572e2318ce9f47a21a2737b331f22df3c660b7e2be3e8 | 0.75 | testing_debugging_repair_refactoring | 1,383 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using DocumentDB.AspNet.Identity;
using Microsoft.AspNet.Identity;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests.Tests
{
[TestClass]
public class UserStoreTests : TestBase
{
private readonly UserStore<IdentityUser> _userStore;
... | tracker086/DocumentDB.AspNet.Identity | src/Tests/Tests/UserStoreTests.cs | https://github.com/tracker086/DocumentDB.AspNet.Identity/blob/HEAD/src/Tests/Tests/UserStoreTests.cs | ghcode:00012:5c794232c19b | mit | codeparrot/github-code | 5c794232c19bc065ec4bb258fac3b9447411f58f80a6ef64b473cce1885ef250 | 0.85 | testing_debugging_repair_refactoring | 694 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ArkNet.Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ArkNet.Utils.Enum;
using ArkNet.Model.Account;
using ArkNet.Model.Delegate;
using ArkNet.Logging;
namespace ArkNet.Tests
{... | kristjank/ark-net | ark-netTests/Tests/TestsBase.cs | https://github.com/kristjank/ark-net/blob/HEAD/ark-netTests/Tests/TestsBase.cs | ghcode:00012:14e4e81c367e | mit | codeparrot/github-code | 14e4e81c367ea560ceb6390630e00f3d48c4325146ec08c6284e4fb591017172 | 0.85 | testing_debugging_repair_refactoring | 234 | false | 2026-07-17 |
using Xunit;
using static LanguageExt.Prelude;
namespace LanguageExt.Tests.Transformer.Traverse.QueT.Collections
{
public class QueQue
{
[Fact]
public void EmptyEmptyIsEmptyEmpty()
{
Que<Que<int>> ma = Empty;
var mb = ma.Traverse(identity);
var mc =... | StanJav/language-ext | LanguageExt.Tests/Transformer/Traverse/Que/Collections/Que.cs | https://github.com/StanJav/language-ext/blob/HEAD/LanguageExt.Tests/Transformer/Traverse/Que/Collections/Que.cs | ghcode:00012:e42c53ba5855 | mit | codeparrot/github-code | e42c53ba58552caa388642523af9dfe32db5429e31d9f7ae00c06786032c43dc | 0.75 | testing_debugging_repair_refactoring | 336 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
namespace BullOak.Repositories.Test.Acceptance.Contexts
{
using BullOak.Repositories.Session;
internal class PassThroughValidator : IValidateState<IHoldHigherOrder>
{
public IValidateState<IHoldHigherOrder> CurrentValidator { get;... | BullOak/BullOak | src/BullOak.Repositories.Test.Acceptance/Contexts/PassthroughValidator.cs | https://github.com/BullOak/BullOak/blob/HEAD/src/BullOak.Repositories.Test.Acceptance/Contexts/PassthroughValidator.cs | ghcode:00012:d328f0b6087c | mit | codeparrot/github-code | d328f0b6087c4a74b2aa9c2904fa849a7c6952a39415bb4da676922f19044111 | 0.75 | testing_debugging_repair_refactoring | 91 | 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.Linq;
using Xunit;
namespace System.Collections.Specialized.Tests
{
... | janhenke/corefx | src/System.Collections.Specialized/tests/BitVector32Tests.cs | https://github.com/janhenke/corefx/blob/HEAD/src/System.Collections.Specialized/tests/BitVector32Tests.cs | ghcode:00012:364e0120487f | mit | codeparrot/github-code | 364e0120487ffde19556bbde28aa3ab8ebaf24854607a41af80a99ce86b0103e | 0.95 | testing_debugging_repair_refactoring | 5,832 | false | 2026-07-17 |
using BenchmarkDotNet.Portability.Cpu;
using Perfolizer.Horology;
using Xunit;
namespace BenchmarkDotNet.Tests.Portability.Cpu
{
public class WmicCpuInfoParserTests
{
[Fact]
public void EmptyTest()
{
var parser = WmicCpuInfoParser.ParseOutput(string.Empty);
Asse... | Ky7m/BenchmarkDotNet | tests/BenchmarkDotNet.Tests/Portability/Cpu/WmicCpuInfoParserTests.cs | https://github.com/Ky7m/BenchmarkDotNet/blob/HEAD/tests/BenchmarkDotNet.Tests/Portability/Cpu/WmicCpuInfoParserTests.cs | ghcode:00012:1d1fdca5e27f | mit | codeparrot/github-code | 1d1fdca5e27fc7056243ace9abbd6930f1a11da93fa986d4665628fab131ba05 | 0.75 | testing_debugging_repair_refactoring | 950 | false | 2026-07-17 |
using System.Linq;
using Harvester.Core.Filters;
using Xunit;
/* Copyright (c) 2012-2013 CBaxter
*
* 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 ... | jeoffman/Harvester | src/Core.Tests/Filters/UsingComparisonFilter/WhenCheckingGreaterThanOrEqual.cs | https://github.com/jeoffman/Harvester/blob/HEAD/src/Core.Tests/Filters/UsingComparisonFilter/WhenCheckingGreaterThanOrEqual.cs | ghcode:00012:f75e6dcc5611 | mit | codeparrot/github-code | f75e6dcc561197b6286fece1c714a655b69b59731238b614045c83bc5b58ce6e | 0.6 | testing_debugging_repair_refactoring | 502 | false | 2026-07-17 |
using Bridge.Test.NUnit;
using System;
using System.Threading.Tasks;
namespace Bridge.ClientTest.Batch3.BridgeIssues
{
/// <summary>
/// The test here ensures 'await' calls in completed tasks won't abort
/// async methods.
/// </summary>
[TestFixture(TestNameFormat = "#3951 - {0}")]
public clas... | AndreyZM/Bridge | Tests/Batch3/BridgeIssues/3900/N3951.cs | https://github.com/AndreyZM/Bridge/blob/HEAD/Tests/Batch3/BridgeIssues/3900/N3951.cs | ghcode:00012:86e3d936c34f | apache-2.0 | codeparrot/github-code | 86e3d936c34f94ec07273bc38042e1d9f9de5bdda071b49bfc20f1c049222977 | 0.85 | testing_debugging_repair_refactoring | 304 | false | 2026-07-17 |
namespace NArrange.Tests.Core
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Text;
using NArrange.Core;
/// <summary>
/// Test logger.
/// </summary>
public class TestLogger : ILogger
{
... | adgistics/Adgistics.Build | NArrange/src/NArrange.Tests.Core/TestLogger.cs | https://github.com/adgistics/Adgistics.Build/blob/HEAD/NArrange/src/NArrange.Tests.Core/TestLogger.cs | ghcode:00012:6763a872b5d8 | apache-2.0 | codeparrot/github-code | 6763a872b5d805dcf92385726e998a7ecfa3c0da05c15e19546a7e3f5a0b3b4e | 0.95 | testing_debugging_repair_refactoring | 1,023 | false | 2026-07-17 |
using System;
using System.Threading;
using NUnit.Framework;
using QuantConnect.Brokerages.InteractiveBrokers;
using QuantConnect.Configuration;
using QuantConnect.Interfaces;
using QuantConnect.Orders;
using QuantConnect.Securities;
namespace QuantConnect.Tests.Brokerages.InteractiveBrokers
{
[TestFixture, Ignor... | james-horrocks/StratGA | Tests/Brokerages/InteractiveBrokers/InteractiveBrokersOrderTests.cs | https://github.com/james-horrocks/StratGA/blob/HEAD/Tests/Brokerages/InteractiveBrokers/InteractiveBrokersOrderTests.cs | ghcode:00012:acc12b6eb14c | apache-2.0 | codeparrot/github-code | acc12b6eb14cbcd866dd3b8b436a71718e3549e8a27682dc717b64c60bf5bf66 | 0.75 | testing_debugging_repair_refactoring | 441 | 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 System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis.Collections;
... | MattWindsor91/roslyn | src/Compilers/CSharp/Portable/Binder/Semantics/OverloadResolution/MethodTypeInference.cs | https://github.com/MattWindsor91/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Binder/Semantics/OverloadResolution/MethodTypeInference.cs | ghcode:00012:be73d837c50e | apache-2.0 | codeparrot/github-code | be73d837c50e3aa9adee93203fb5e19388cbb2df95a185861bb2359d631e8bc5 | 0.72 | testing_debugging_repair_refactoring | 23,911 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using LightBDD.Core.Extensibility;
using LightBDD.Core.Extensibility.Results;
namespace LightBDD.UnitTests.Helpers.TestableIntegration
{
public class TestCompositeStep : CompositeStepResultDescriptor
{
public TestCompositeStep(params St... | Suremaker/LightBDD | test/LightBDD.UnitTests.Helpers/TestableIntegration/TestCompositeStep.cs | https://github.com/Suremaker/LightBDD/blob/HEAD/test/LightBDD.UnitTests.Helpers/TestableIntegration/TestCompositeStep.cs | ghcode:00012:2a400929003f | bsd-2-clause | codeparrot/github-code | 2a400929003ff74c03cda175fe7562801eedc9e06e5c03bd0c83c0871601d3b8 | 0.68 | testing_debugging_repair_refactoring | 249 | false | 2026-07-17 |
// Copyright (c) 2012, Event Store LLP
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// Redistributions of source code must retain the above copyright notice,
// this list of conditi... | msbahrul/EventStore | src/EventStore/EventStore.Core.Tests/TransactionLog/when_writing_an_existing_chunked_transaction_file_with_not_enough_space_in_chunk.cs | https://github.com/msbahrul/EventStore/blob/HEAD/src/EventStore/EventStore.Core.Tests/TransactionLog/when_writing_an_existing_chunked_transaction_file_with_not_enough_space_in_chunk.cs | ghcode:00012:9fffe72ad090 | bsd-3-clause | codeparrot/github-code | 9fffe72ad09016e32570816b83f683f049f9dfb46dad3c2cf0a073263fb0e643 | 0.7 | testing_debugging_repair_refactoring | 1,240 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text;
namespace Hl7.FhirPath.Tests
{
public static class TestData
{
public static string ReadTextFile(string name)
{
string location = typeof(TestData).GetTypeInfo().Assembly.Loc... | ewoutkramer/fhir-net-fluentpath | src/Hl7.FhirPath.Tests/Utils/TestData.cs | https://github.com/ewoutkramer/fhir-net-fluentpath/blob/HEAD/src/Hl7.FhirPath.Tests/Utils/TestData.cs | ghcode:00012:ec4bd9b1c875 | bsd-3-clause | codeparrot/github-code | ec4bd9b1c8755811ba772c2da88c35a76f69141295b8209331ed5ffba164a0b6 | 0.75 | testing_debugging_repair_refactoring | 140 | false | 2026-07-17 |
/**
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
// @Genera... | yihuang/css-layout | csharp/tests/Facebook.Yoga/YGPaddingTest.cs | https://github.com/yihuang/css-layout/blob/HEAD/csharp/tests/Facebook.Yoga/YGPaddingTest.cs | ghcode:00012:bad17e71bb7d | bsd-3-clause | codeparrot/github-code | bad17e71bb7d79de6fad1504b7069e1e2f0049ff6e711bdac79ab04038254381 | 0.85 | testing_debugging_repair_refactoring | 2,199 | false | 2026-07-17 |
// <copyright file="TypeExtensions.cs" company="xBehave.net contributors">
// Copyright (c) xBehave.net contributors. All rights reserved.
// </copyright>
#if NET40 || NET45
namespace Xbehave.Test.Acceptance.Infrastructure
{
using System;
using System.Collections.Generic;
using System.Globalizat... | modulexcite/xbehave.net | src/test/Xbehave.Test.Acceptance.Net40/Infrastructure/TypeExtensions.cs | https://github.com/modulexcite/xbehave.net/blob/HEAD/src/test/Xbehave.Test.Acceptance.Net40/Infrastructure/TypeExtensions.cs | ghcode:00012:9e669d75e6c7 | mit | codeparrot/github-code | 9e669d75e6c74eb7a1d6628c6d1166f64e9b359930c4cbd44656a5f9066245db | 0.95 | testing_debugging_repair_refactoring | 294 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#if !SILVERLIGHT
#if !CLR2
using System.Linq.Expressions;
#else
using Microsoft.Scripting.Ast;
#endif
using System.Diagnostics;
namespace System.Management.Automation.ComInterop
{
/// <summary>
/// SimpleArgBuilder... | Cowmonaut/PowerShell | src/System.Management.Automation/engine/ComInterop/SimpleArgBuilder.cs | https://github.com/Cowmonaut/PowerShell/blob/HEAD/src/System.Management.Automation/engine/ComInterop/SimpleArgBuilder.cs | ghcode:00012:11b2a04f9b5a | mit | codeparrot/github-code | 11b2a04f9b5a371c4670bf8c5da799499259aa15d98ccfa2ff6825a860c90309 | 0.7 | testing_debugging_repair_refactoring | 227 | false | 2026-07-17 |
using System.Threading.Tasks;
using PlugInDemo.Sessions;
using Shouldly;
using Xunit;
namespace PlugInDemo.Tests.Sessions
{
public class SessionAppService_Tests : PlugInDemoTestBase
{
private readonly ISessionAppService _sessionAppService;
public SessionAppService_Tests()
{
... | s-takatsu/aspnetboilerplate-samples | PlugInDemo/Tests/PlugInDemo.Tests/Sessions/SessionAppService_Tests.cs | https://github.com/s-takatsu/aspnetboilerplate-samples/blob/HEAD/PlugInDemo/Tests/PlugInDemo.Tests/Sessions/SessionAppService_Tests.cs | ghcode:00012:20abd846f570 | mit | codeparrot/github-code | 20abd846f570b9e0028925fb4254f8fb26ca21339f48fd00f4b9005a13c01a6e | 0.95 | testing_debugging_repair_refactoring | 288 | false | 2026-07-17 |
// Copyright 2015-2016 Google Inc. All Rights Reserved.
// Licensed under the Apache License Version 2.0.
using NUnit.Framework;
using Google.PowerShell.Common;
using Newtonsoft.Json.Linq;
namespace Google.PowerShell.Tests.Common
{
[TestFixture]
public class TestGCloudWrapper
{
/// <summary>
... | GoogleCloudPlatform/google-cloud-powershell | Google.PowerShell.Tests/Common/TestGCloudWrapper.cs | https://github.com/GoogleCloudPlatform/google-cloud-powershell/blob/HEAD/Google.PowerShell.Tests/Common/TestGCloudWrapper.cs | ghcode:00012:46a6a23b1411 | apache-2.0 | codeparrot/github-code | 46a6a23b1411b86c5005fe52ffba9f5ee213a9c8d5cff6c72b6878817c11cc05 | 0.85 | testing_debugging_repair_refactoring | 218 | 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.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using ... | ljw1004/roslyn | src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_Patterns.cs | https://github.com/ljw1004/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_Patterns.cs | ghcode:00012:c0f29269a07b | apache-2.0 | codeparrot/github-code | c0f29269a07b236ddb3bc3c27d900ebd8a192bab1aa22018a7cf8345984ce253 | 0.85 | testing_debugging_repair_refactoring | 1,706 | 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.Immutable;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Text;
using Roslyn.Utilities;... | DustinCampbell/roslyn | src/Compilers/CSharp/Portable/Symbols/Synthesized/SynthesizedLocal.cs | https://github.com/DustinCampbell/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Synthesized/SynthesizedLocal.cs | ghcode:00012:d8f99fe2aaa1 | apache-2.0 | codeparrot/github-code | d8f99fe2aaa18a49ff7732e2c4dc12c740cfe25b4b325984146b296a6c46d10e | 0.85 | testing_debugging_repair_refactoring | 1,218 | false | 2026-07-17 |
using Shouldly.Tests.Strings;
using Shouldly.Tests.TestHelpers;
using Xunit;
namespace Shouldly.Tests.ShouldBePositive
{
public class ZeroLongScenario
{
[Fact]
public void ZeroLongScenarioShouldFail()
{
var val = 0L;
Verify.ShouldFail(() =>
val.ShouldBePositive(... | ankurMalhotra/shouldly | src/Shouldly.Tests/ShouldBePositive/ZeroLongScenario.cs | https://github.com/ankurMalhotra/shouldly/blob/HEAD/src/Shouldly.Tests/ShouldBePositive/ZeroLongScenario.cs | ghcode:00012:7a90881cb2e1 | bsd-3-clause | codeparrot/github-code | 7a90881cb2e1f6b256d41a100afa0325a40d6b85bb049eed220078eeb0d86c8a | 0.6 | testing_debugging_repair_refactoring | 127 | false | 2026-07-17 |
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Pex.Framework;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Microsoft.Pex.Framework.Sup... | ericschultz/Moq | UnitTests/Pex/ShouldExpectCallReturn.cs | https://github.com/ericschultz/Moq/blob/HEAD/UnitTests/Pex/ShouldExpectCallReturn.cs | ghcode:00012:49a4697b3bd3 | bsd-3-clause | codeparrot/github-code | 49a4697b3bd36536c34223fe6620941579cf94b2f8ec2bfc881da7bc72b25287 | 0.7 | testing_debugging_repair_refactoring | 184 | false | 2026-07-17 |
// <copyright file="MatrixStructureTheory.Access.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
//
// Copyright (c) 2009-2016 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaini... | albertp007/mathnet-numerics | src/UnitTests/LinearAlgebraTests/MatrixStructureTheory.Access.cs | https://github.com/albertp007/mathnet-numerics/blob/HEAD/src/UnitTests/LinearAlgebraTests/MatrixStructureTheory.Access.cs | ghcode:00012:3f49a3d2aa46 | mit | codeparrot/github-code | 3f49a3d2aa468a66e01fc10e51ada8ca419c364c43181a160f964514a3b8e29a | 0.85 | testing_debugging_repair_refactoring | 7,019 | 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
namespace DotNetNuke.Tests.Core.Controllers.Host
{
using System;
using System.Collections.Generic;
... | mitchelsellers/Dnn.Platform | DNN Platform/Tests/DotNetNuke.Tests.Core/Controllers/Host/HostControllerTest.cs | https://github.com/mitchelsellers/Dnn.Platform/blob/HEAD/DNN Platform/Tests/DotNetNuke.Tests.Core/Controllers/Host/HostControllerTest.cs | ghcode:00012:6a281b2f2be6 | mit | codeparrot/github-code | 6a281b2f2be6b050dc25d46903cf9b8f6a5c65ebe1ac87ec368ce1e66e909ea4 | 0.95 | testing_debugging_repair_refactoring | 3,194 | 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.Threading;
using System.Runtime.Serialization;
namespace System.Data.SqlClient.ManualTesting.Tests
{
... | kkurni/corefx | src/System.Data.SqlClient/tests/ManualTests/SQL/SqlRandom/Randomizer.cs | https://github.com/kkurni/corefx/blob/HEAD/src/System.Data.SqlClient/tests/ManualTests/SQL/SqlRandom/Randomizer.cs | ghcode:00012:793cead8c6f5 | mit | codeparrot/github-code | 793cead8c6f5c5cd1ae383502833c4c05dee486a62cb16f48770d6f4eed368d8 | 0.95 | testing_debugging_repair_refactoring | 3,725 | false | 2026-07-17 |
namespace Microsoft.ApplicationInsights.AspNetCore.Tests.TelemetryInitializers
{
using System;
using Microsoft.ApplicationInsights.AspNetCore.TelemetryInitializers;
using Microsoft.ApplicationInsights.AspNetCore.Tests.Helpers;
using Microsoft.ApplicationInsights.DataContracts;
using Xunit;
usin... | gzepeda/ApplicationInsights-aspnetcore | test/Microsoft.ApplicationInsights.AspNetCore.Tests/TelemetryInitializers/WebUserTelemetryInitializerTests.cs | https://github.com/gzepeda/ApplicationInsights-aspnetcore/blob/HEAD/test/Microsoft.ApplicationInsights.AspNetCore.Tests/TelemetryInitializers/WebUserTelemetryInitializerTests.cs | ghcode:00012:dcf43eec1b77 | mit | codeparrot/github-code | dcf43eec1b777a1e857ce4f990027a6b9e67ae0c0a0770faf68b46053da8a9cc | 0.75 | testing_debugging_repair_refactoring | 427 | false | 2026-07-17 |
//
// Copyright (c) Microsoft. All rights reserved.
//
// 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 ... | SiddharthChatrolaMs/azure-sdk-for-net | src/SDKs/HDInsight/Management.HDInsight.Tests/ScenarioTests/OMSTests.cs | https://github.com/SiddharthChatrolaMs/azure-sdk-for-net/blob/HEAD/src/SDKs/HDInsight/Management.HDInsight.Tests/ScenarioTests/OMSTests.cs | ghcode:00012:5b9737ead910 | apache-2.0 | codeparrot/github-code | 5b9737ead910b1b28b3cd0b205cafd2e701140c23917994de615e855a3550ddc | 0.85 | testing_debugging_repair_refactoring | 493 | false | 2026-07-17 |
/*
* Copyright 2009 ZXing authors
*
* 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 o... | cilliemalan/zxing.net | Source/test/src/pdf417/PDF417BlackBox3TestCase.cs | https://github.com/cilliemalan/zxing.net/blob/HEAD/Source/test/src/pdf417/PDF417BlackBox3TestCase.cs | ghcode:00012:616b373e653e | apache-2.0 | codeparrot/github-code | 616b373e653e104951b0de7366bac4055e3c86316a05bbdc83761b4700511514 | 0.95 | testing_debugging_repair_refactoring | 280 | false | 2026-07-17 |
using Xunit;
using Xunit.Extensions;
namespace Humanizer.Tests.Localisation.ruRU
{
public class NumberToWordsTests : AmbientCulture
{
public NumberToWordsTests() : base("ru-RU") { }
[Theory]
[InlineData(0, "ноль")]
[InlineData(1, "один")]
[InlineData(10, "десять")]
... | DyegoMaas/Humanizer | src/Humanizer.Tests/Localisation/ru-RU/NumberToWordsTests.cs | https://github.com/DyegoMaas/Humanizer/blob/HEAD/src/Humanizer.Tests/Localisation/ru-RU/NumberToWordsTests.cs | ghcode:00012:dc2dee571db9 | mit | codeparrot/github-code | dc2dee571db9c3c5a9d9af033403f81139269d25c79650f88a2ec061e34e0e30 | 0.75 | testing_debugging_repair_refactoring | 4,054 | false | 2026-07-17 |
using J2N;
using Microsoft.Extensions.Configuration;
using NUnit.Framework;
using System;
using System.IO;
using Assert = Lucene.Net.TestFramework.Assert;
namespace Lucene.Net.Configuration
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See t... | apache/lucenenet | src/Lucene.Net.Tests.TestFramework/Configuration/TestConfigurationSettings.cs | https://github.com/apache/lucenenet/blob/HEAD/src/Lucene.Net.Tests.TestFramework/Configuration/TestConfigurationSettings.cs | ghcode:00012:f8dc8a8be189 | apache-2.0 | codeparrot/github-code | f8dc8a8be18970ed4551e970e711b78569338954f45b376b0495c47d25afc1b9 | 0.85 | testing_debugging_repair_refactoring | 1,270 | 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.Generic;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.C... | poizan42/roslyn | src/EditorFeatures/Test/Diagnostics/DiagnosticTagSourceTests.cs | https://github.com/poizan42/roslyn/blob/HEAD/src/EditorFeatures/Test/Diagnostics/DiagnosticTagSourceTests.cs | ghcode:00012:08d127201204 | apache-2.0 | codeparrot/github-code | 08d1272012046f37fb1243f64327b68cc4cb9edf5e92dba9a3779eebe0a2ca07 | 0.95 | testing_debugging_repair_refactoring | 900 | false | 2026-07-17 |
using ExactOnline.Client.Models;
using ExactOnline.Client.Sdk.Controllers;
using ExactOnline.Client.Sdk.Helpers;
using ExactOnline.Client.Sdk.UnitTests.MockObjects;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace ExactOnline.Client.Sdk.UnitTests
{
[TestClass]
public class ExactOnlineQuer... | Threetwosevensixseven/exactonline-api-dotnet-client | test/ExactOnline.Client.Sdk.UnitTests/ExactOnlineQueryTest.cs | https://github.com/Threetwosevensixseven/exactonline-api-dotnet-client/blob/HEAD/test/ExactOnline.Client.Sdk.UnitTests/ExactOnlineQueryTest.cs | ghcode:00012:abe8b8d57288 | mit | codeparrot/github-code | abe8b8d5728814f9f2e73788082498e1ee425b689f53b1bc3378229548bf7a26 | 0.75 | testing_debugging_repair_refactoring | 1,657 | 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.Generic;
using System.Linq;
using System.Security;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsof... | Inverness/roslyn | src/EditorFeatures/Test/SignatureHelp/AbstractSignatureHelpProviderTests.cs | https://github.com/Inverness/roslyn/blob/HEAD/src/EditorFeatures/Test/SignatureHelp/AbstractSignatureHelpProviderTests.cs | ghcode:00012:25d683c0992f | apache-2.0 | codeparrot/github-code | 25d683c0992ffaaa12a937282d2d3268a69e04540ad6ed896c4ab0277e2b7c6f | 0.95 | testing_debugging_repair_refactoring | 3,844 | 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 Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis... | tmeschter/roslyn | src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_IConversionExpression.cs | https://github.com/tmeschter/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_IConversionExpression.cs | ghcode:00012:9e75955b9c20 | apache-2.0 | codeparrot/github-code | 9e75955b9c20dfc625ab086308dd701e608a6db92093eb9ecc01cb62a6b7c712 | 0.75 | testing_debugging_repair_refactoring | 56,029 | false | 2026-07-17 |
namespace Santase.Logic.Tests.WinnerLogic
{
using NUnit.Framework;
using Santase.Logic.WinnerLogic;
[TestFixture]
public class RoundWinnerPointsPointsLogicTestsForSantase
{
[TestCase(65, 33, PlayerPosition.NoOne, PlayerPosition.NoOne)]
[TestCase(66, 33, PlayerPosition.NoOne, Playe... | NotDemons/NotDemonsRepo | Source/Tests/Santase.Logic.Tests/WinnerLogic/RoundWinnerPointsPointsLogicTestsForSantase.cs | https://github.com/NotDemons/NotDemonsRepo/blob/HEAD/Source/Tests/Santase.Logic.Tests/WinnerLogic/RoundWinnerPointsPointsLogicTestsForSantase.cs | ghcode:00012:92a2e15d6c0f | mit | codeparrot/github-code | 92a2e15d6c0f1bc89d6eec948ee0c808f020534d60d4a8020c0c56355611d359 | 0.85 | testing_debugging_repair_refactoring | 1,761 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Moq;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.Composing;
using Umbraco.Core.Configuration;
using Umbraco.Core.Models;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Core.Services;
using Umbraco.Tests.LegacyXmlPubli... | rasmuseeg/Umbraco-CMS | src/Umbraco.Tests/Routing/UrlsProviderWithDomainsTests.cs | https://github.com/rasmuseeg/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Routing/UrlsProviderWithDomainsTests.cs | ghcode:00012:f52529e64989 | mit | codeparrot/github-code | f52529e649899912b3133f879809ca6b5fb82c4d9ea52e2ec066c7d4678c4cf2 | 0.85 | testing_debugging_repair_refactoring | 8,820 | 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.
namespace System.Xml.Schema
{
using System;
using System.Diagnostics;
using System.Text;
/// <summa... | shmao/corefx | src/System.Private.Xml/src/System/Xml/Schema/XsdDuration.cs | https://github.com/shmao/corefx/blob/HEAD/src/System.Private.Xml/src/System/Xml/Schema/XsdDuration.cs | ghcode:00012:2e4d36e0b074 | mit | codeparrot/github-code | 2e4d36e0b074dc937655e69acd0c12caf311241c7ceb6ccf0351dfef523bff72 | 0.95 | testing_debugging_repair_refactoring | 4,858 | 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.Globalization;
using System.IO;
using System.Reflection;
using System.Diagnostics;
namespace System.Ru... | Petermarcu/corefx | src/System.Runtime.Serialization.Formatters/src/System/Runtime/Serialization/Formatters/Binary/BinaryObjectReader.cs | https://github.com/Petermarcu/corefx/blob/HEAD/src/System.Runtime.Serialization.Formatters/src/System/Runtime/Serialization/Formatters/Binary/BinaryObjectReader.cs | ghcode:00012:00ed088169dc | mit | codeparrot/github-code | 00ed088169dc553e44972eab7c3866aa1da62ecafb0a852ce90a4df92bc36092 | 0.95 | testing_debugging_repair_refactoring | 7,557 | 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.ComponentModel.Design.Serialization;
using System.Globalization;
nam... | BrennanConroy/corefx | src/System.ComponentModel.TypeConverter/tests/DecimalConverterTests.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.ComponentModel.TypeConverter/tests/DecimalConverterTests.cs | ghcode:00012:51096fa2d1df | mit | codeparrot/github-code | 51096fa2d1df1b816459067eb2b3e3d3041db6c571d0e7825b47470455defe75 | 0.95 | testing_debugging_repair_refactoring | 501 | 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.Immutable;
using System.Diagnostics;
namespace Microsoft.CodeAnalysis
{
/// <summary>... | AmadeusW/roslyn | src/Compilers/Core/Portable/Symbols/Attributes/CommonMethodEarlyWellKnownAttributeData.cs | https://github.com/AmadeusW/roslyn/blob/HEAD/src/Compilers/Core/Portable/Symbols/Attributes/CommonMethodEarlyWellKnownAttributeData.cs | ghcode:00012:69455eeb582d | apache-2.0 | codeparrot/github-code | 69455eeb582db89774da3fd2fb1aa312dd5a74e62ef442f21f609549cd646e58 | 0.85 | testing_debugging_repair_refactoring | 324 | 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.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis.Poole... | physhi/roslyn | src/Compilers/Core/Portable/Operations/ControlFlowBranch.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Compilers/Core/Portable/Operations/ControlFlowBranch.cs | ghcode:00012:2b90bf30c0aa | apache-2.0 | codeparrot/github-code | 2b90bf30c0aac160831d5df0cc123e0ea7d362e646251803b32637955cb4f149 | 0.85 | testing_debugging_repair_refactoring | 1,067 | 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.Diagnostics;
using Microsoft.CodeAnalysis.Editor.Commands;
using Microsoft.CodeAnalysis.Editor.Shared.Extensions;
using Microsoft.V... | bbarry/roslyn | src/Interactive/EditorFeatures/Core/Extensibility/Interactive/InteractiveCommandHandler.cs | https://github.com/bbarry/roslyn/blob/HEAD/src/Interactive/EditorFeatures/Core/Extensibility/Interactive/InteractiveCommandHandler.cs | ghcode:00012:db795fdf95ed | apache-2.0 | codeparrot/github-code | db795fdf95edd2b051bd1d6def4d9b25be7889e9ccd40b329d145c2cd0b752e1 | 0.85 | testing_debugging_repair_refactoring | 970 | 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... | zhencui/azure-powershell | src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryGatewayTests.cs | https://github.com/zhencui/azure-powershell/blob/HEAD/src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryGatewayTests.cs | ghcode:00012:828370f3087d | apache-2.0 | codeparrot/github-code | 828370f3087dfaa86091e33e78272039d0fac3da1f907cde6cd626e1778b2d35 | 0.85 | testing_debugging_repair_refactoring | 760 | 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.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
namesp... | MattWindsor91/roslyn | src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_LabeledStatement.cs | https://github.com/MattWindsor91/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_LabeledStatement.cs | ghcode:00012:4313ab48d3dd | apache-2.0 | codeparrot/github-code | 4313ab48d3dd8210450173846753aea4e6e574977849173d12ed4904d9786c8c | 0.85 | testing_debugging_repair_refactoring | 251 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Security.Policy;
using Bender.Collections;
using NUnit.Framework;
using Bender.Extensions;
using Should;
namespace Tests.Extensions
{
[TestFixture]
publ... | raidenyn/Bender | src/Tests/Extensions/LinqExtensionTests.cs | https://github.com/raidenyn/Bender/blob/HEAD/src/Tests/Extensions/LinqExtensionTests.cs | ghcode:00012:03dbf5f10b3f | mit | codeparrot/github-code | 03dbf5f10b3f80afdf3fd3868059603d02d7fa528dd946f86eaf8b40a0ab750e | 0.95 | testing_debugging_repair_refactoring | 1,676 | false | 2026-07-17 |
using System;
namespace ElasticEngine.Tests.Models
{
public class TestEntity
{
public string Id { get; set; }
public string Name { get; set; }
}
} | BoxedSauce/ElasticEngine | src/ElasticEngine.Tests/Models/TestEntity.cs | https://github.com/BoxedSauce/ElasticEngine/blob/HEAD/src/ElasticEngine.Tests/Models/TestEntity.cs | ghcode:00012:9d149a68608f | mit | codeparrot/github-code | 9d149a68608f8e1344871d68cc45418676addf0e36b38b909c3fe56c252d3168 | 0.5 | testing_debugging_repair_refactoring | 41 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Codenesium.DataConversionExtensions;
namespace DataConversionExtensionsTests
{
[TestFixture]
public class ToDecimalTests
{
[Test]
public void ToDecimal_NullString_0()
{
string testString = null;
Assert.AreEqual(0, te... | codenesium/DataConversionExtensions | Tests/ToDecimalTests.cs | https://github.com/codenesium/DataConversionExtensions/blob/HEAD/Tests/ToDecimalTests.cs | ghcode:00012:708b9d9767df | mit | codeparrot/github-code | 708b9d9767df1e0c25b839c4811351d4d9391ada27f648a14a9a3501780bd27b | 0.75 | testing_debugging_repair_refactoring | 343 | false | 2026-07-17 |
using CodeJam._2010___Africa.QualificationRound.ReverseWords.src;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests._2010___Africa.QualificationRound
{
[TestClass]
public class ReverseWordsTest
{
[TestMethod]
public void Solver()
{
var solver = new Sol... | michaelmilessmith/code-jam-solutions | C#/Tests/2010 - Africa/QualificationRound/ReverseWordsTest.cs | https://github.com/michaelmilessmith/code-jam-solutions/blob/HEAD/C#/Tests/2010 - Africa/QualificationRound/ReverseWordsTest.cs | ghcode:00012:b1837e9ee083 | mit | codeparrot/github-code | b1837e9ee08321d3a9d874c428ffe8d9a3b40e6e7a928f6a25794c3207212a37 | 0.85 | testing_debugging_repair_refactoring | 135 | false | 2026-07-17 |
using NMG.Core;
using NUnit.Framework;
namespace NMG.Tests.Generator
{
[TestFixture]
public class CodeGeneratorTest
{
// This test really needs some lovin'.
// Ever since I changed the formatting rules (mainly due to remove udnerscores
// and capitalize each word), it star... | jonny-novikov/domain-generator | NMG.Tests/Generator/CodeGeneratorTest.cs | https://github.com/jonny-novikov/domain-generator/blob/HEAD/NMG.Tests/Generator/CodeGeneratorTest.cs | ghcode:00012:76bdeaea75b8 | mit | codeparrot/github-code | 76bdeaea75b892ead2e490ecf2edbe5c74c8b6b50bc22e2bd5c26eac344abd28 | 0.7 | testing_debugging_repair_refactoring | 332 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using SassSharp.Tokens;
using SassSharp.Tests.Contraints;
namespace SassSharp.Tests
{
[TestFixture]
public class TokenizerTests
{
[Test]
... | akatakritos/SassSharp | SassSharp.Tests/TokenizerTests.cs | https://github.com/akatakritos/SassSharp/blob/HEAD/SassSharp.Tests/TokenizerTests.cs | ghcode:00012:fe90fb539df6 | mit | codeparrot/github-code | fe90fb539df66a0c810b33fe6c17352b75563d4ef8d0ea22d2a4c9b493ab7087 | 0.85 | testing_debugging_repair_refactoring | 502 | false | 2026-07-17 |
using Deq.Search.Soe.Cache;
using Deq.Search.Soe.Commands.Searches;
using Deq.Search.Soe.Models.Configuration;
using NUnit.Framework;
namespace Deq.Search.Soe.Tests.Commands.Search {
[TestFixture]
public class BuildSiteSearchQueryCommandTests {
[SetUp]
public void SetupFixture() {
... | agrc/deq-enviro | api/Deq.Search.Soe.Tests/Commands/Search/BuildSiteSearchQueryCommandTests.cs | https://github.com/agrc/deq-enviro/blob/HEAD/api/Deq.Search.Soe.Tests/Commands/Search/BuildSiteSearchQueryCommandTests.cs | ghcode:00012:1090ac67ee77 | mit | codeparrot/github-code | 1090ac67ee7766d8c0aa9c2a20278e21c9a88f7ea364d012de9853f282ee02b4 | 0.75 | testing_debugging_repair_refactoring | 275 | false | 2026-07-17 |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
public... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1605CSharp9UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1605CSharp9UnitTests.cs | ghcode:00012:90e15595092e | mit | codeparrot/github-code | 90e15595092e3cedc585d44725651a6ea17d2d517df31e326ec66714789b2511 | 0.75 | testing_debugging_repair_refactoring | 96 | false | 2026-07-17 |
using NUnit.Framework;
namespace BlogEngine.Domain.LogicTests
{
[TestFixture]
public class AutoMapperTests
{
[Test]
public void EnsureAllMappingsSorted()
{
AutoMapperWebConfiguration.Configure();
AutoMapper.Mapper.AssertConfigurationIsValid();
}
... | twistedtwig/BlogEngineExample | Domain/BlogEngine/BlogEngine.Domain.LogicTests/AutoMapperTests.cs | https://github.com/twistedtwig/BlogEngineExample/blob/HEAD/Domain/BlogEngine/BlogEngine.Domain.LogicTests/AutoMapperTests.cs | ghcode:00012:ed3c4dfbc542 | mit | codeparrot/github-code | ed3c4dfbc542f63c073c5c67219fbb9180ec3a9ffea130dce7499416b60a2474 | 0.75 | testing_debugging_repair_refactoring | 56 | false | 2026-07-17 |
namespace Unosquare.Labs.EmbedIO.Tests
{
using NUnit.Framework;
using System;
using System.Globalization;
using System.Linq;
using System.Threading;
using Unosquare.Labs.EmbedIO.Log;
using Unosquare.Labs.EmbedIO.Modules;
using Unosquare.Labs.EmbedIO.Tests.Properties;
using Unosquare... | IRlyDontKnow/embedio | Unosquare.Labs.EmbedIO.Tests/WebServerTest.cs | https://github.com/IRlyDontKnow/embedio/blob/HEAD/Unosquare.Labs.EmbedIO.Tests/WebServerTest.cs | ghcode:00012:8adbedbe65a6 | mit | codeparrot/github-code | 8adbedbe65a6837c5a57fe072c90987760fdfe193a2e65983f2ef62fd1490439 | 0.6 | testing_debugging_repair_refactoring | 934 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PowerArgs.Cli;
using System.Collections.Generic;
using PowerArgs;
namespace ArgsTests.CLI.Observability
{
[TestClass]
[TestCategory(Categories.Eventing)]
public class ObservabilityTests
{
public class SomeOtherObservable :... | adamabdelhamed/PowerArgs | PowerArgsTestCore/Eventing/ObservabilityTests.cs | https://github.com/adamabdelhamed/PowerArgs/blob/HEAD/PowerArgsTestCore/Eventing/ObservabilityTests.cs | ghcode:00012:b14e7f836b75 | mit | codeparrot/github-code | b14e7f836b75e837e0dd8013770a841be6194d373cdc1e4e93899309f71ba375 | 0.75 | testing_debugging_repair_refactoring | 2,006 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Threading;
using ActionContainer.Actions;
using ActionContainer.Impl;
using ActionContainer.Services;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq... | statianzo/ActionContainer | ActionContainer.Test/UsageTests.cs | https://github.com/statianzo/ActionContainer/blob/HEAD/ActionContainer.Test/UsageTests.cs | ghcode:00012:61cc277e8026 | mit | codeparrot/github-code | 61cc277e80266ededa5258555f3f98adf493dff85abdee16f37dab6675e07307 | 0.75 | testing_debugging_repair_refactoring | 939 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using FluentAssertions;
namespace MiniCover.Core.UnitTests.Instrumentation
{
public class ThrowException : BaseTest
{
public class Class
{
public int Method(int value)
{
value = value * 2;
... | lucaslorentz/minicover | tests/MiniCover.Core.UnitTests/Instrumentation/ThrowException.cs | https://github.com/lucaslorentz/minicover/blob/HEAD/tests/MiniCover.Core.UnitTests/Instrumentation/ThrowException.cs | ghcode:00012:7937ec825374 | mit | codeparrot/github-code | 7937ec825374ede2857a60347c84a30edd463a603b9e4fa0cbcde73cdbc54da6 | 0.75 | testing_debugging_repair_refactoring | 608 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Reflection;
using AOMapperTests;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace NuGet_Package
{
public class Program
{
static void Main(string[] args)
{
try
{
var tester = new MapperTests();
... | zjklee/AOMapper | NuGet-Package/Program.cs | https://github.com/zjklee/AOMapper/blob/HEAD/NuGet-Package/Program.cs | ghcode:00012:b3f6e6ad4c9b | mit | codeparrot/github-code | b3f6e6ad4c9b46d23a69693cad463cc21a0774349dd7ceda10e6e1eb250befce | 0.6 | testing_debugging_repair_refactoring | 194 | false | 2026-07-17 |
//
// Copyright (C) Microsoft. All rights reserved.
//
using Microsoft.PowerShell.Activities;
using System.Management.Automation;
using System.Activities;
using System.Collections.Generic;
using System.ComponentModel;
namespace Microsoft.PowerShell.Management.Activities
{
/// <summary>
/// Activity to inv... | kmosher/PowerShell | src/Microsoft.PowerShell.Management.Activities/Generated/TestPathActivity.cs | https://github.com/kmosher/PowerShell/blob/HEAD/src/Microsoft.PowerShell.Management.Activities/Generated/TestPathActivity.cs | ghcode:00012:942cc5656e84 | mit | codeparrot/github-code | 942cc5656e84414440102a9e008ae9c0578edbe84b03a72b68fc918c03b44ee5 | 0.85 | testing_debugging_repair_refactoring | 1,107 | false | 2026-07-17 |
// AddInTesting.cs
//
// Copyright (c) 2013 Brent Knowles (http://www.brentknowles.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 limitatio... | BrentKnowles/YourOtherMind | zUnitTestsForSolution/addin testing/AddInTesting.cs | https://github.com/BrentKnowles/YourOtherMind/blob/HEAD/zUnitTestsForSolution/addin testing/AddInTesting.cs | ghcode:00012:8fbc410559c2 | mit | codeparrot/github-code | 8fbc410559c2ac97ceacbafa96d3fd715db13c2056098a453be8c188fa5a5d6d | 0.7 | testing_debugging_repair_refactoring | 803 | false | 2026-07-17 |
#region Copyright (c) 2009 S. van Deursen
/* The CuttingEdge.Conditions library enables developers to validate pre- and postconditions in a fluent
* manner.
*
* To contact me, please visit my blog at http://www.cuttingedge.it/blogs/steven/
*
* Copyright (c) 2009 S. van Deursen
*
* Permission is hereby grant... | conditions/conditions | CuttingEdge.Conditions.UnitTests/CompareTests/ValidatorExtensionTests.Compare.Byte.cs | https://github.com/conditions/conditions/blob/HEAD/CuttingEdge.Conditions.UnitTests/CompareTests/ValidatorExtensionTests.Compare.Byte.cs | ghcode:00012:9f220a216cc7 | mit | codeparrot/github-code | 9f220a216cc7e74305e38d1b4747602b1987b6a80d1a07ac0b4e1477f97604eb | 0.7 | testing_debugging_repair_refactoring | 5,933 | false | 2026-07-17 |
using DDDTools.SpecGen.Attributes;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DDDTools.SpecGen.TestClientLibrary.Weapons.StationBatteries
{
[TestClass]
[Domain(Domains.Weapons... | MortenChristiansen/DDDTools.SpecGen | DDDTools.SpecGen.TestClientLibrary/Weapons/StationBatteries/PlanetBusterTests.cs | https://github.com/MortenChristiansen/DDDTools.SpecGen/blob/HEAD/DDDTools.SpecGen.TestClientLibrary/Weapons/StationBatteries/PlanetBusterTests.cs | ghcode:00012:a0314df29faf | mit | codeparrot/github-code | a0314df29faff6765a38dbeb8f1a9b4e31bd33937e7a60336e491125aaeb4f94 | 0.75 | testing_debugging_repair_refactoring | 169 | false | 2026-07-17 |
/*
using RefactoringEssentials.CSharp.Diagnostics;
using Xunit;
namespace RefactoringEssentials.Tests.CSharp.Diagnostics
{
public class ConvertToAutoPropertyTests : CSharpDiagnosticTestBase
{
[Fact(Skip="TODO: Issue not ported yet")]
public void TestBasicCase()
{
Analyze<Con... | icsharpcode/RefactoringEssentials | Tests/CSharp/Diagnostics/ConvertToAutoPropertyTests.cs | https://github.com/icsharpcode/RefactoringEssentials/blob/HEAD/Tests/CSharp/Diagnostics/ConvertToAutoPropertyTests.cs | ghcode:00012:f7074e8c5ecc | mit | codeparrot/github-code | f7074e8c5ecc8238f49ac077093c778f81d7003ac9c47c96c3482da2816318f4 | 0.85 | testing_debugging_repair_refactoring | 788 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using Certify.Management;
using Certify.Management.Servers;
using Certify.Models;
using Microsoft.VisualStudio.TestTools.U... | webprofusion/Certify | src/Certify.Tests/Certify.Core.Tests.Integration/CertRequestTests.cs | https://github.com/webprofusion/Certify/blob/HEAD/src/Certify.Tests/Certify.Core.Tests.Integration/CertRequestTests.cs | ghcode:00012:837932d109c3 | mit | codeparrot/github-code | 837932d109c3dfcf357e44cfe2ee29c3217ab53ad74440d92a6fca7c3bc22b9f | 0.85 | testing_debugging_repair_refactoring | 4,419 | false | 2026-07-17 |
using System;
using System.IO;
using NUnit.Framework;
namespace Mercurial.Tests.Hooks
{
[TestFixture]
[Category("Integration")]
public class CommitHookTests : SingleRepositoryTestsBase
{
[Test]
public void Commit_SingleChangeset_OutputsThatChangeset()
{
... | atsushieno/monodevelop-mercurial | Mercurial.Net/Mercurial.Net.Tests/Hooks/CommitHookTests.cs | https://github.com/atsushieno/monodevelop-mercurial/blob/HEAD/Mercurial.Net/Mercurial.Net.Tests/Hooks/CommitHookTests.cs | ghcode:00012:7a56a9ebca90 | mit | codeparrot/github-code | 7a56a9ebca903dcdaeebe95f399d525f272a414c846b95c8f9dc4d3299ebfac7 | 0.75 | testing_debugging_repair_refactoring | 287 | false | 2026-07-17 |
namespace Microsoft.Protocols.TestSuites.MS_OXCFOLD
{
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using Microsoft.Protocols.TestSuites.Common;
using Microsoft.Protocols.TestTools;
using Microsoft.VisualStudio.TestTools.UnitTesting;
... | OfficeDev/Interop-TestSuites | ExchangeMAPI/Source/MS-OXCFOLD/TestSuite/S03_FolderInformation.cs | https://github.com/OfficeDev/Interop-TestSuites/blob/HEAD/ExchangeMAPI/Source/MS-OXCFOLD/TestSuite/S03_FolderInformation.cs | ghcode:00012:3f7d149d524a | mit | codeparrot/github-code | 3f7d149d524aad92af0357fb6dae400d0c8fe37caafd1e867e3ac585a9be2692 | 0.5 | testing_debugging_repair_refactoring | 50,006 | false | 2026-07-17 |
/*
* Box2D.XNA port of Box2D:
* Copyright (c) 2009 Brandon Furtwangler, Nathan Furtwangler
*
* Original source Box2D:
* Copyright (c) 2006-2009 Erin Catto http://www.gphysics.com
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable fo... | GretelF/squircle | thirdparty/Box2D/Box2D.XNA/Dynamics/Joints/RevoluteJoint.cs | https://github.com/GretelF/squircle/blob/HEAD/thirdparty/Box2D/Box2D.XNA/Dynamics/Joints/RevoluteJoint.cs | ghcode:00012:7ec5e9291555 | mit | codeparrot/github-code | 7ec5e9291555d147f824dbe75c3396f976be194b11303235c41aed48318cf76b | 0.7 | testing_debugging_repair_refactoring | 5,090 | false | 2026-07-17 |
namespace ContosoUniversityCore.UnitTests
{
using AutoMapper;
using System.IO;
using FakeItEasy;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
public class AutoMapperTests
{
[Fact]
public void Should_have_valid_configur... | jbogard/ContosoUniversityCore | test/ContosoUniversityCore.UnitTests/AutoMapperTests.cs | https://github.com/jbogard/ContosoUniversityCore/blob/HEAD/test/ContosoUniversityCore.UnitTests/AutoMapperTests.cs | ghcode:00012:890a92e34e01 | mit | codeparrot/github-code | 890a92e34e01b3b225f59d011a16510e3da67e8dd9f2bedcdf314344de3dd6d2 | 0.75 | testing_debugging_repair_refactoring | 131 | false | 2026-07-17 |
using System.Linq;
using Manisero.PerformanceMonitor.Monitors;
using NUnit.Framework;
namespace Manisero.PerformanceMonitor.Tests.NestingPerformanceMonitor.Api
{
public class StartingTasksTests
{
[Test]
public void result_contains_started_task()
{
// Arrange
var monitor = new NestingPerformanceMonitor<in... | manisero/PerformanceMonitor | src/Manisero.PerformanceMonitor/Manisero.PerformanceMonitor.Tests/NestingPerformanceMonitor/Api/StartingTasksTests.cs | https://github.com/manisero/PerformanceMonitor/blob/HEAD/src/Manisero.PerformanceMonitor/Manisero.PerformanceMonitor.Tests/NestingPerformanceMonitor/Api/StartingTasksTests.cs | ghcode:00012:6ceddc586723 | mit | codeparrot/github-code | 6ceddc5867237e6cdec541a0c8ebbf6a8e265165a4b6dbbdc7256b19e25fa90d | 0.85 | testing_debugging_repair_refactoring | 579 | false | 2026-07-17 |
namespace Beekeeper.Web.Controllers.Tests.HoneycombController
{
using System.Reflection;
using Areas.User.Controllers;
using Data.Models;
using Infrastructure.Mapping;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Services.Data.Common.Contracts;
using Services.Web... | AntyfrizZz/Beekeeper | src/Tests/Beekeeper.Web.Controllers.Tests/HoneycombController/AddReport_Should.cs | https://github.com/AntyfrizZz/Beekeeper/blob/HEAD/src/Tests/Beekeeper.Web.Controllers.Tests/HoneycombController/AddReport_Should.cs | ghcode:00012:34248e61d225 | mit | codeparrot/github-code | 34248e61d22593409637fd30fd9430dee74e32d709902bfb4a4a0d3ce4ff6509 | 0.85 | testing_debugging_repair_refactoring | 417 | false | 2026-07-17 |
/*
* SonarScanner for .NET
* Copyright (C) 2016-2022 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 of ... | SonarSource-DotNet/sonar-msbuild-runner | Tests/SonarScanner.MSBuild.Common.Test/AnalysisConfig/AnalysisConfigTests.cs | https://github.com/SonarSource-DotNet/sonar-msbuild-runner/blob/HEAD/Tests/SonarScanner.MSBuild.Common.Test/AnalysisConfig/AnalysisConfigTests.cs | ghcode:00012:4e1c16e202d3 | mit | codeparrot/github-code | 4e1c16e202d3087dc06ba1457f7d070d5fd621c73760e7d909291e46bed14f89 | 0.85 | testing_debugging_repair_refactoring | 3,023 | false | 2026-07-17 |
using Shouldly;
using Veggerby.Algorithm.Calculus;
using Xunit;
namespace Veggerby.Algorithm.Tests.Calculus
{
public class FactorialTests
{
[Fact]
public void Should_initialize_from_constructor()
{
// arrange
// act
var actual = (Factorial)Factorial.... | veggerby/Veggerby.Algorithm | test/Veggerby.Algorithm.Tests/Calculus/FactorialTests.cs | https://github.com/veggerby/Veggerby.Algorithm/blob/HEAD/test/Veggerby.Algorithm.Tests/Calculus/FactorialTests.cs | ghcode:00012:90ba7cfe0298 | mit | codeparrot/github-code | 90ba7cfe029815a14922668962505fb2e46db5ea28263bda988de438ee321c8d | 0.85 | testing_debugging_repair_refactoring | 414 | false | 2026-07-17 |
// Copyright (c) RealCrowd, Inc. All rights reserved. See LICENSE in the project root for license information.
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
using RealCrowd.HelloSign;
using RealCrowd.HelloSign.Models;
namespace RealCrowd.HelloSign.Tests.Integration
{... | realcrowd/hellosign.net | src/RealCrowd.HelloSign.Tests.Integration/ReusableFormTests.cs | https://github.com/realcrowd/hellosign.net/blob/HEAD/src/RealCrowd.HelloSign.Tests.Integration/ReusableFormTests.cs | ghcode:00012:84a34b2266f7 | mit | codeparrot/github-code | 84a34b2266f72ec2c0901fff0b946d890a3c8d991eecc694459b9a69112e5dcc | 0.75 | testing_debugging_repair_refactoring | 245 | false | 2026-07-17 |
using FluentAssertions;
using System.Linq;
using Xunit;
namespace NetFabric.UnitTests
{
public class AngleEnumerableMinTests
{
[Fact]
public void EmptyAngleSequence_Should_ReturnNull()
{
Enumerable.Empty<Angle>()
.Min()
.Should()
... | NetFabric/NetFabric.Angle | NetFabric.Angle.UnitTests/AngleEnumerableMinTests.cs | https://github.com/NetFabric/NetFabric.Angle/blob/HEAD/NetFabric.Angle.UnitTests/AngleEnumerableMinTests.cs | ghcode:00012:50401e5cf624 | mit | codeparrot/github-code | 50401e5cf624425e7605037c6b7401932442984df9c4d2cc2c1e8e52d0f59dae | 0.75 | testing_debugging_repair_refactoring | 263 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
using System.Xml.Linq;
using System.Text.RegularExpressions;
using System.Reflection;
namespace FeralLib.uTest
{
[TestClass]
... | twabbott/FeralNerd | Test/uTest/FeralNerd.uTest/AutomatedTest.cs | https://github.com/twabbott/FeralNerd/blob/HEAD/Test/uTest/FeralNerd.uTest/AutomatedTest.cs | ghcode:00012:fcb4b84b84a1 | mit | codeparrot/github-code | fcb4b84b84a1006e4d6d6dd9f803ef86e41f0463ab1fb73bfb6da01d3c254b8c | 0.7 | testing_debugging_repair_refactoring | 527 | false | 2026-07-17 |
// Copyright (c) Christof Senn. All rights reserved. See license.txt in the project root for license information.
namespace Aqua.Tests.TypeSystem.TypeResolver
{
using Aqua.TypeSystem;
using Shouldly;
using System;
using System.Diagnostics.CodeAnalysis;
using Xunit;
public class When_resolving... | 6bee/aqua-core | test/Aqua.Tests/TypeSystem/TypeResolver/When_resolving_array_type_of_generic_type.cs | https://github.com/6bee/aqua-core/blob/HEAD/test/Aqua.Tests/TypeSystem/TypeResolver/When_resolving_array_type_of_generic_type.cs | ghcode:00012:18f1c4f76c60 | mit | codeparrot/github-code | 18f1c4f76c609bf635bee93307317a9456937309938a9e3faf872f499637a93f | 0.6 | testing_debugging_repair_refactoring | 199 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2017 Jesse Sweetland
//
// 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 limitation the rights
// to u... | sweetlandj/Platibus | Source/Platibus.UnitTests/MongoDB/MongoDBCollection.cs | https://github.com/sweetlandj/Platibus/blob/HEAD/Source/Platibus.UnitTests/MongoDB/MongoDBCollection.cs | ghcode:00012:0203a7d13ff9 | mit | codeparrot/github-code | 0203a7d13ff9c3d4c8bb52e37b08aa2744cd517efad100f21be46185fe8f3953 | 0.85 | testing_debugging_repair_refactoring | 293 | false | 2026-07-17 |
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using NUnit.Framework;
using System;
using System.Globalization;
using TinyCsvParser.TypeConverter;
namespace TinyCsvParser.Test.TypeConverter
{
[TestFixture]
public class NullableInt16ConverterTest : BaseCo... | bytefish/TinyCsvParser | TinyCsvParser/TinyCsvParser.Test/TypeConverter/NullableInt16ConverterTest.cs | https://github.com/bytefish/TinyCsvParser/blob/HEAD/TinyCsvParser/TinyCsvParser.Test/TypeConverter/NullableInt16ConverterTest.cs | ghcode:00012:7f0a1b0726a8 | mit | codeparrot/github-code | 7f0a1b0726a88c288e255c5597344b0160a457c28a9adf8c138d4fdff0197e2f | 0.6 | testing_debugging_repair_refactoring | 381 | 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.Globalization;
using FluentAssertions;
using Microsoft.CodeAnalysis.Sarif;
using Microsoft.Sarif.Viewer.Converters;
using Microsoft.Sarif.Viewer.Models;
u... | kschecht/sarif-sdk | src/Sarif.Viewer.VisualStudio.UnitTests/Models/CallTreeNodeTests.cs | https://github.com/kschecht/sarif-sdk/blob/HEAD/src/Sarif.Viewer.VisualStudio.UnitTests/Models/CallTreeNodeTests.cs | ghcode:00012:188b2a839429 | mit | codeparrot/github-code | 188b2a839429e8ca9a66e15f427776861a028309bb90665c2aebcceffaf82e02 | 0.75 | testing_debugging_repair_refactoring | 304 | false | 2026-07-17 |
using System.Collections.Generic;
using EPI.StacksAndQueues;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EPI.UnitTests.StacksAndQueues
{
[TestClass]
public class ShortestStraightLineUnitTest
{
[TestMethod]
public void ShortestStraightLineSequence()
{
ShortestStrai... | dipakboyed/epibook.github.io.Puzzles | EPIUnitTests/StacksAndQueues/ShortestStraightLineUnitTest.cs | https://github.com/dipakboyed/epibook.github.io.Puzzles/blob/HEAD/EPIUnitTests/StacksAndQueues/ShortestStraightLineUnitTest.cs | ghcode:00012:e9932df7f76c | mit | codeparrot/github-code | e9932df7f76c457bff2883d824529be80da8bbfc31f013b83ea718b43e834fe5 | 0.6 | testing_debugging_repair_refactoring | 221 | false | 2026-07-17 |
using NUnit.Framework;
using OpenQA.Selenium;
using PersonalFinanceManager.IntegrationTests.Infrastructure;
using TechTalk.SpecFlow;
namespace PersonalFinanceManager.IntegrationTests.Scenarios.Steps
{
[Binding, Scope(Feature = "DeleteCommonExpenditures")]
public class DeleteCommonExpendituresSteps
{
... | JM89/personalfinancemanager | PFM.IntegrationTests/PersonalFinanceManager.IntegrationTests/Scenarios/Steps/DeleteCommonExpendituresSteps.cs | https://github.com/JM89/personalfinancemanager/blob/HEAD/PFM.IntegrationTests/PersonalFinanceManager.IntegrationTests/Scenarios/Steps/DeleteCommonExpendituresSteps.cs | ghcode:00012:1ea40e444d95 | mit | codeparrot/github-code | 1ea40e444d95ab399ce8f46ff26a7b4508bf943b2ab8b2c313c99d493c475603 | 0.6 | testing_debugging_repair_refactoring | 594 | false | 2026-07-17 |
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Elastic.Elastic... | elastic/elasticsearch-net | tests/Tests.ClusterLauncher/ClusterLaunchProgram.cs | https://github.com/elastic/elasticsearch-net/blob/HEAD/tests/Tests.ClusterLauncher/ClusterLaunchProgram.cs | ghcode:00012:4ad5c2aa5c22 | apache-2.0 | codeparrot/github-code | 4ad5c2aa5c225024721103575b355309b712df0fcf47e96001ed8ce1728faa99 | 0.85 | testing_debugging_repair_refactoring | 1,021 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using AtomicReaderContext = Lucene.Net.Index.AtomicReaderContext;
using BytesRef = Lucene.Net.Util.BytesRef;
using FieldInvertState = Lucene.Net.Index.FieldInvertState;
using NumericDocValues = Lucene.Net.Index.NumericDocValues;
using SmallSingle = Lucene.Net.Util.SmallSingle;
n... | laimis/lucenenet | src/Lucene.Net/Search/Similarities/SimilarityBase.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net/Search/Similarities/SimilarityBase.cs | ghcode:00012:5b37f674058e | apache-2.0 | codeparrot/github-code | 5b37f674058ec85e7840fb56faeed9fff441aee27f09af24533994d9a143686a | 0.85 | testing_debugging_repair_refactoring | 3,004 | false | 2026-07-17 |
using Glass.Mapper.Pipelines.ConfigurationResolver.Tasks.OnDemandResolver;
using Glass.Mapper.Sc.Configuration;
using Glass.Mapper.Sc.Configuration.Attributes;
using NUnit.Framework;
using Sitecore.Data.Items;
using Sitecore.FakeDb;
using System;
using System.Collections.Generic;
using System.Linq;
using Syst... | mikeedwards83/Glass.Mapper | Tests/Unit Tests/Glass.Mapper.Sc.FakeDb/Issues/Issue376/Issue376Fixture.cs | https://github.com/mikeedwards83/Glass.Mapper/blob/HEAD/Tests/Unit Tests/Glass.Mapper.Sc.FakeDb/Issues/Issue376/Issue376Fixture.cs | ghcode:00012:8461d1f3a71d | apache-2.0 | codeparrot/github-code | 8461d1f3a71d1a09e1590d5b847655f0bcb12100207b5cd5720fc5ace39ae943 | 0.7 | testing_debugging_repair_refactoring | 300 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Serilog.Core;
using Serilog.Tests.Support;
namespace Serilog.Tests.Core
{
[TestFixture]
public class LoggerTests
{
[Test]
public void AnExceptionThrownByAnEnricherIsNotPropagated()
{
var thrown = false;
var l = new... | richiej84/serilog | test/Serilog.Tests/Core/LoggerTests.cs | https://github.com/richiej84/serilog/blob/HEAD/test/Serilog.Tests/Core/LoggerTests.cs | ghcode:00012:98a504eb6996 | apache-2.0 | codeparrot/github-code | 98a504eb6996779b36ae1a9ec9f521f70cf1435267ee519ad128e19b12715e4d | 0.75 | testing_debugging_repair_refactoring | 356 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using DbLocalizationProvider.Abstractions;
using DbLocalizationProvider.Logging;
using DbLocalizationProvider.Sync;
using Xunit;
namespace DbLocalizationProvider.Storage.SqlServer.Tests.ResourceSynchronizedTests
{
public class Tests
... | valdisiljuconoks/LocalizationProvider | Tests/DbLocalizationProvider.Storage.SqlServer.Tests/ResourceSynchronizedTests/_Tests.cs | https://github.com/valdisiljuconoks/LocalizationProvider/blob/HEAD/Tests/DbLocalizationProvider.Storage.SqlServer.Tests/ResourceSynchronizedTests/_Tests.cs | ghcode:00012:ee9a34a4b298 | apache-2.0 | codeparrot/github-code | ee9a34a4b298af1c03f5e86101cf52e47428af9fadea25a3cd71014ae6ca1596 | 0.75 | testing_debugging_repair_refactoring | 1,918 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using System.Threading;
using NUnit.Framework;
namespace JetBrains.TeamCity.NuGet.Tests
{
[TestFixture]
public class NuGetRunnerTest
{
[Test, TestCaseSource(typeof(Files), "NuGetVersions")]
public void TestExcuteNuGet(NuGetVersion version)
... | stormleoxia/teamcity-nuget-support | nuget-extensions/nuget-tests/src/NuGetRunnerTest.cs | https://github.com/stormleoxia/teamcity-nuget-support/blob/HEAD/nuget-extensions/nuget-tests/src/NuGetRunnerTest.cs | ghcode:00012:e9867a9a3a87 | apache-2.0 | codeparrot/github-code | e9867a9a3a87687326183a6661418388177714eacd8233df9e58c1f2f8e53ab8 | 0.7 | testing_debugging_repair_refactoring | 1,126 | false | 2026-07-17 |
//
// Copyright 2013-2014 Hans Wolff
//
// 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 a... | hanswolff/redfoxmq | RedFoxMQ.Tests/MessageSerializationTests.cs | https://github.com/hanswolff/redfoxmq/blob/HEAD/RedFoxMQ.Tests/MessageSerializationTests.cs | ghcode:00012:750c9a7322e8 | apache-2.0 | codeparrot/github-code | 750c9a7322e86e181e095a3c06302baf6b381309a891e2381bcb9c56afafba60 | 0.85 | testing_debugging_repair_refactoring | 1,125 | false | 2026-07-17 |
//
// Copyright (C) 2012-2014 DataStax 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 app... | kishkaru/csharp-driver | src/Cassandra.IntegrationTests/Core/ConnectionTests.cs | https://github.com/kishkaru/csharp-driver/blob/HEAD/src/Cassandra.IntegrationTests/Core/ConnectionTests.cs | ghcode:00012:327c0521ecdb | apache-2.0 | codeparrot/github-code | 327c0521ecdbb4946eccb93d99212cb1053afee8a0357281f491a8b893c4d41a | 0.85 | testing_debugging_repair_refactoring | 6,529 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestProject
{
class TestModel
{
}
}
| EventBooking/AntiShaun | TestProject/TestModel.cs | https://github.com/EventBooking/AntiShaun/blob/HEAD/TestProject/TestModel.cs | ghcode:00012:e267873193fe | apache-2.0 | codeparrot/github-code | e267873193feff9093304dda46719d155c1c91787963c647292f7ac9adf87fe3 | 0.5 | testing_debugging_repair_refactoring | 35 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Text;
using Sparrow.Binary;
using Sparrow.Json.Parsing;
namespace Sparrow.Json
{
public unsafe class UnmanagedWriteBuffer : IDisposable
{
private readonly JsonOperationContext _context;
private class S... | myarichuk/Voron.Graph | imports/Sparrow/Json/UnmanagedWriteBuffer.cs | https://github.com/myarichuk/Voron.Graph/blob/HEAD/imports/Sparrow/Json/UnmanagedWriteBuffer.cs | ghcode:00012:552a9b9d0039 | apache-2.0 | codeparrot/github-code | 552a9b9d003936e9b5f2996d478882fc106e7880d53952440c56bcef0780a061 | 0.7 | testing_debugging_repair_refactoring | 1,154 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Nest;
using Tests.Aggregations.Bucket.Children;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Tests.Framework.MockData;
using static Nest.Infer;
names... | adam-mccoy/elasticsearch-net | src/Tests/Aggregations/WritingAggregations.doc.cs | https://github.com/adam-mccoy/elasticsearch-net/blob/HEAD/src/Tests/Aggregations/WritingAggregations.doc.cs | ghcode:00012:59bf7b2330dd | apache-2.0 | codeparrot/github-code | 59bf7b2330ddb52173598a645c6b38d99248e85dfe743e9181f976912b9f7440 | 0.95 | testing_debugging_repair_refactoring | 2,017 | false | 2026-07-17 |
using System;
using OpenADK.Library;
using OpenADK.Library.us.Common;
using OpenADK.Library.us.Student;
using NUnit.Framework;
using Library.UnitTesting.Framework;
namespace Library.Nunit.US.Student
{
/// <summary>
/// Summary description for ParseStudentPersonal.
/// </summary>
[TestFixture]
publi... | open-adk/OpenADK-csharp | nunit/us/src/OpenADK/Student/ParseStudentPersonal.cs | https://github.com/open-adk/OpenADK-csharp/blob/HEAD/nunit/us/src/OpenADK/Student/ParseStudentPersonal.cs | ghcode:00012:8ca7b077fadb | apache-2.0 | codeparrot/github-code | 8ca7b077fadb23bc7447b6f1ce3c70fc3f1407db136a22090d64787e87ffa71a | 0.95 | testing_debugging_repair_refactoring | 535 | false | 2026-07-17 |
/*
* Copyright 2012-2016 The Pkcs11Interop Project
*
* 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 app... | thearkhelist/Pkcs11Interop | src/Pkcs11Interop/Pkcs11InteropTests/HighLevelAPI/_13_ObjectAttributeTest.cs | https://github.com/thearkhelist/Pkcs11Interop/blob/HEAD/src/Pkcs11Interop/Pkcs11InteropTests/HighLevelAPI/_13_ObjectAttributeTest.cs | ghcode:00012:19791a6828aa | apache-2.0 | codeparrot/github-code | 19791a6828aad43a866ba31d3ab5554fb1ac5ef2b4d449c283931a5c43d7ad80 | 0.85 | testing_debugging_repair_refactoring | 4,419 | 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 Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.PooledObjects;
using Roslyn.Utilities;
us... | physhi/roslyn | src/Compilers/CSharp/Portable/Binder/Semantics/Conversions/Conversion.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Binder/Semantics/Conversions/Conversion.cs | ghcode:00012:7234fbe09223 | apache-2.0 | codeparrot/github-code | 7234fbe09223de6669dca56e0bdb4a1e8829154b67e400ac07947b25d443919b | 0.85 | testing_debugging_repair_refactoring | 7,558 | false | 2026-07-17 |
using System;
using System.Text;
using BenchmarkDotNet.Running;
class Program
{
static readonly Encoding utf8 = Encoding.UTF8;
static void Main()
{
#if true
var benchmark = new SubstringBenchmark();
var x = benchmark.StandardString();
var y = benchmark.AbstractString();
v... | ufcpp/UfcppSample | Demo/2018/SpanPerformance/SubstringBenchmark/Program.cs | https://github.com/ufcpp/UfcppSample/blob/HEAD/Demo/2018/SpanPerformance/SubstringBenchmark/Program.cs | ghcode:00012:e8bc9d068f3c | apache-2.0 | codeparrot/github-code | e8bc9d068f3c0af0a55d7525c13100e9eaeaf85d87abcee06d1e1a3006c6b010 | 0.6 | testing_debugging_repair_refactoring | 135 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.