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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Copyright Bastian Eicher
// Licensed under the MIT License
using System.Security.Cryptography;
namespace NanoByte.Common;
public class EncodingUtilsTest
{
[Fact]
public void TestHash()
{
const string sha1ForEmptyString = "da39a3ee5e6b4b0d3255bfef95601890afd80709";
"".Hash... | nano-byte/common | src/UnitTests/EncodingUtilsTest.cs | https://github.com/nano-byte/common/blob/HEAD/src/UnitTests/EncodingUtilsTest.cs | ghcode:00009:5304d9c4f4a4 | mit | codeparrot/github-code | 5304d9c4f4a43d8cede5129bb9fb5e94b1a0b9a1451175702fb80c0674403c1b | 0.6 | testing_debugging_repair_refactoring | 327 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using MbDotNet.Models.Responses.Fields;
namespace MbDotNet.Tests.Client
{
[TestClass, TestCategory("Unit")]
public class CreateHttpsImposterTests : MountebankClientTestBase
{
[TestMethod]
public void HttpsImposter_S... | mattherman/MbDotNet | MbDotNet.Tests/Client/CreateHttpsImposterTests.cs | https://github.com/mattherman/MbDotNet/blob/HEAD/MbDotNet.Tests/Client/CreateHttpsImposterTests.cs | ghcode:00009:aa3a97f96ffc | mit | codeparrot/github-code | aa3a97f96ffc8e363be23492f7887c69520aa5ecb5ca6903fc186703d30ddc8b | 0.75 | testing_debugging_repair_refactoring | 780 | false | 2026-07-17 |
using System;
using ApiApproverTests.Examples;
using Xunit;
namespace ApiApproverTests
{
public class Class_member_order : ApiGeneratorTestsBase
{
[Fact]
public void Should_output_in_known_order_and_alphabetically()
{
// Fields, properties, events, methods, nested type (inc... | modulexcite/ApiApprover | src/ApiApproverTests/Class_member_order.cs | https://github.com/modulexcite/ApiApprover/blob/HEAD/src/ApiApproverTests/Class_member_order.cs | ghcode:00009:3ae59b90c38a | mit | codeparrot/github-code | 3ae59b90c38a5f4ce0db1360e5ab43adcb7c95a38afdcecba031f895acd0e046 | 0.7 | testing_debugging_repair_refactoring | 863 | false | 2026-07-17 |
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov
*
* 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 t... | alphaleonis/AlphaFS | tests/AlphaFS.UnitTest/Directory Class/Directory_Timestamps/AlphaFS_Directory.Copy_UsingCopyOptionsCopyTimestampFlag.cs | https://github.com/alphaleonis/AlphaFS/blob/HEAD/tests/AlphaFS.UnitTest/Directory Class/Directory_Timestamps/AlphaFS_Directory.Copy_UsingCopyOptionsCopyTimestampFlag.cs | ghcode:00009:e5361c429881 | mit | codeparrot/github-code | e5361c42988193679610fcc046de2dbc76008abec9421f909ff42c1b4417ecfb | 0.7 | testing_debugging_repair_refactoring | 958 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Modules.TraktCalendarModule
{
using FluentAssertions;
using System;
using System.Net;
using System.Threading.Tasks;
using TestUtils;
using Traits;
using TraktApiSharp.Exceptions;
using TraktApiSharp.Extensions;
using TraktApiSharp.Objects.Get.Calendars;... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Modules/TraktCalendarModule/TraktCalendarModuleTests_GetUserDVDMovies_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Modules/TraktCalendarModule/TraktCalendarModuleTests_GetUserDVDMovies_Tests.cs | ghcode:00009:40df854a60da | mit | codeparrot/github-code | 40df854a60daefda4b171a20ab34d2fa834dd2b352a6ce71dfc498c46358c2c5 | 0.85 | testing_debugging_repair_refactoring | 4,774 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Poker;
namespace PokerTest
{
[TestClass]
public class IsTwoPairTests
{
[TestMethod]
public void TestIsTwoPairValid()
{
Card cardOne = new Card(Ca... | glifada/TelerikAcademy | High-Quality-Code/11. TDDHomework/Poker.Tests/IsTwoPairTests.cs | https://github.com/glifada/TelerikAcademy/blob/HEAD/High-Quality-Code/11. TDDHomework/Poker.Tests/IsTwoPairTests.cs | ghcode:00009:60a52851bf0e | mit | codeparrot/github-code | 60a52851bf0e3667fee26548a1220954c0f58a619ea944199f56a045e526c6a6 | 0.75 | testing_debugging_repair_refactoring | 1,243 | false | 2026-07-17 |
using FluentAssertions;
using XCommon.Extensions.String;
using XCommon.Test.Extensions.String.DataSource;
using Xunit;
namespace XCommon.Test.Extensions.String
{
public class StringExtensionsTest
{
[Theory(DisplayName = "IsEmpty")]
[Trait("Extensions", "String")]
[MemberData(nameof(StringExtensionsDa... | marviobezerra/XCommon | test/XCommon.Test/Extensions/String/StringExtensionsTest.cs | https://github.com/marviobezerra/XCommon/blob/HEAD/test/XCommon.Test/Extensions/String/StringExtensionsTest.cs | ghcode:00009:5eaf89e82fac | mit | codeparrot/github-code | 5eaf89e82faccec81be57737ace5e6c3d82d198e620ce53a9797c1d2e243da03 | 0.6 | testing_debugging_repair_refactoring | 266 | 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;
using System.Collections.Generic;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Contain... | DrabWeb/osu | osu.Game.Rulesets.Taiko.Tests/TestCaseTaikoPlayfield.cs | https://github.com/DrabWeb/osu/blob/HEAD/osu.Game.Rulesets.Taiko.Tests/TestCaseTaikoPlayfield.cs | ghcode:00009:1e2d97d94451 | mit | codeparrot/github-code | 1e2d97d944510df0e1b0cd0a9abdeb54e83630edaf7af652a5a4ee0b3a42f43b | 0.85 | testing_debugging_repair_refactoring | 2,028 | false | 2026-07-17 |
using System;
using Knet.Core.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Knet.Test.Unit
{
[TestClass]
public class ParseConfigFromFile
{
[TestMethod]
public void Parse()
{
//CConfigurationParser parser = new CConfigurationParser();
... | tonnyeremin/knet | Knet/Knet.Test.Unit/ParseConfigFromFile.cs | https://github.com/tonnyeremin/knet/blob/HEAD/Knet/Knet.Test.Unit/ParseConfigFromFile.cs | ghcode:00009:3d87509cefd5 | mit | codeparrot/github-code | 3d87509cefd57956a963686201a430d9bedc67d5c3c6e23edc113367d4ce388c | 0.85 | testing_debugging_repair_refactoring | 87 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="ProgressPercentageSpecification.cs" company="Leet">
// © 2016 Leet. Licensed under the MIT License.
// See License.txt in the project root for license information.
// </copyright>
//-----------------------------------... | hubuk/Performance | test/Leet.Tests.Performance/Specifications/ProgressPercentageSpecification.cs | https://github.com/hubuk/Performance/blob/HEAD/test/Leet.Tests.Performance/Specifications/ProgressPercentageSpecification.cs | ghcode:00009:8ca6e5df503e | mit | codeparrot/github-code | 8ca6e5df503edab3f2e0e69906c7d056631a6c08189a5930000e8124248e5635 | 0.85 | testing_debugging_repair_refactoring | 1,637 | 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.Composition;
using System.Diagnostics;
using System.Diagnostics.Code... | sharwell/roslyn | src/Workspaces/CSharp/Portable/Indentation/CSharpIndentationService.cs | https://github.com/sharwell/roslyn/blob/HEAD/src/Workspaces/CSharp/Portable/Indentation/CSharpIndentationService.cs | ghcode:00009:6c447342d9e3 | mit | codeparrot/github-code | 6c447342d9e3b67a67c09220cedde279bf43324cdfbf3b20329144263ea755be | 0.85 | testing_debugging_repair_refactoring | 1,625 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using FluentAssertions;
using Xunit;
namespace Nett.Tests
{
[ExcludeFromCodeCoverage]
public class ConversionTests
{
[Fact(DisplayName = "Custom converter is preferred over default converter (because latest regi... | paiden/Nett | Test/Nett.Tests/ConversionTests.cs | https://github.com/paiden/Nett/blob/HEAD/Test/Nett.Tests/ConversionTests.cs | ghcode:00009:06edfca6b974 | mit | codeparrot/github-code | 06edfca6b97491c9a0f9ad64a808ee3abb61acef1762327414f31a1bdff973ff | 0.85 | testing_debugging_repair_refactoring | 8,688 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using NuGet;
using Run00.AutoMoq;
using Run00.Logging;
using Run00.MsTest;
using System;
namespace Run00.NuGet.UnitTest.ForPublisher
{
[TestClass, CategorizeByConventionClass(typeof(PublishPackages))]
public class PublishPackages
{
[TestMethod, Categ... | run00/TeamCity | Run00.NuGet.UnitTest/ForPublisher/PublishPackages.cs | https://github.com/run00/TeamCity/blob/HEAD/Run00.NuGet.UnitTest/ForPublisher/PublishPackages.cs | ghcode:00009:db66f2dc88a0 | mit | codeparrot/github-code | db66f2dc88a039d4da8f2ba114c22f8d1eb26cef9a37d0abde2a5a542f1ea608 | 0.7 | testing_debugging_repair_refactoring | 1,344 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Threading.Tasks;
using Jirapi.Resources;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NUnit.Framework;
using Assert = NUnit.Framework.Assert;
using TestContext = Microsoft.VisualStudio.TestTools.UnitTesting.TestContext;
names... | ThatCSharpGuy/Jirapi | Jirapi.Test/TrueApiTests.cs | https://github.com/ThatCSharpGuy/Jirapi/blob/HEAD/Jirapi.Test/TrueApiTests.cs | ghcode:00009:d4638387686c | mit | codeparrot/github-code | d4638387686cff92de87832eba3cc55acd3915a655bb600f5b8bc65d73302e32 | 0.85 | testing_debugging_repair_refactoring | 763 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Melanchall.DryWetMidi.Common;
using Melanchall.DryWetMidi.Core;
using Melanchall.DryWetMidi.Multimedia;
using Melanchall.DryWetMidi.Tests.Common;
using Melanchall.DryWetMidi.Tests.Utilities;
using NUnit.Framework;
namespace Melanchall.DryWetMidi... | melanchall/drywetmidi | DryWetMidi.Tests/Multimedia/OutputDevice/OutputDeviceTests.Common.cs | https://github.com/melanchall/drywetmidi/blob/HEAD/DryWetMidi.Tests/Multimedia/OutputDevice/OutputDeviceTests.Common.cs | ghcode:00009:c37cd03db7e5 | mit | codeparrot/github-code | c37cd03db7e5c8d9e26bcbaa55f72ca3eef54567c3930619a7c480fa98d98cd4 | 0.6 | testing_debugging_repair_refactoring | 2,115 | false | 2026-07-17 |
namespace NServiceBus.AcceptanceTests.Encryption
{
using System;
using System.Collections.Generic;
using System.Linq;
using EndpointTemplates;
using AcceptanceTesting;
using NServiceBus.Encryption;
using NUnit.Framework;
public class When_using_encryption_with_custom_service : NService... | benjaminramey/GoodlyFere.NServiceBus.EntityFramework | src/AcceptanceTests/App_Packages/NSB.AcceptanceTests.5.2.14/Encryption/When_using_encryption_with_custom_service.cs | https://github.com/benjaminramey/GoodlyFere.NServiceBus.EntityFramework/blob/HEAD/src/AcceptanceTests/App_Packages/NSB.AcceptanceTests.5.2.14/Encryption/When_using_encryption_with_custom_service.cs | ghcode:00009:6a1c18197537 | apache-2.0 | codeparrot/github-code | 6a1c1819753737798f4f6e1ba39d6c7523347b966fcfcd60727210f992fc0094 | 0.6 | testing_debugging_repair_refactoring | 771 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Azure.Messaging.ServiceBus.Tests.Infrastructure;
using NUn... | markcowl/azure-sdk-for-net | sdk/servicebus/Azure.Messaging.ServiceBus/tests/Processor/SessionProcessorLiveTests.cs | https://github.com/markcowl/azure-sdk-for-net/blob/HEAD/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Processor/SessionProcessorLiveTests.cs | ghcode:00009:68d2802158d0 | apache-2.0 | codeparrot/github-code | 68d2802158d0b216ffc8ab4c5c56741a841dc7f2fef99627251578c5ff03a456 | 0.82 | testing_debugging_repair_refactoring | 11,557 | false | 2026-07-17 |
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX - License - Identifier: Apache - 2.0
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Amazon.DynamoDBv2;
using Amazon.DynamoDBv2.Model;
using Moq;
using Xunit;
using Xunit.Abstractions;
namespace GetOrdersInD... | awsdocs/aws-doc-sdk-examples | dotnetv3/dynamodb/FromSQL/GetOrdersInDateRangeTest/GetOrdersInDateRangeTest.cs | https://github.com/awsdocs/aws-doc-sdk-examples/blob/HEAD/dotnetv3/dynamodb/FromSQL/GetOrdersInDateRangeTest/GetOrdersInDateRangeTest.cs | ghcode:00009:6be44903e6fb | apache-2.0 | codeparrot/github-code | 6be44903e6fb4a0b35ba342b7cb708297890dd99ad59d860c195e67bdb8814ae | 0.6 | testing_debugging_repair_refactoring | 484 | 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 Y... | tonyqus/npoi | testcases/ooxml/XSSF/UserModel/TestXSSFBugs.cs | https://github.com/tonyqus/npoi/blob/HEAD/testcases/ooxml/XSSF/UserModel/TestXSSFBugs.cs | ghcode:00009:a99a576083f0 | apache-2.0 | codeparrot/github-code | a99a576083f0d029d328aeba8eb13d4bb49f26c69c923297fbc50c0ea39c4b34 | 0.72 | testing_debugging_repair_refactoring | 29,366 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NuPattern.VisualStudio.Extensions;
namespace NuPattern.IntegrationTests
{
[TestClass]
public class VsixPackagingSpec
{
[TestClass]
pub... | NuPattern/NuPattern | Src/Common/Helpers/VsixPackagingSpec.cs | https://github.com/NuPattern/NuPattern/blob/HEAD/Src/Common/Helpers/VsixPackagingSpec.cs | ghcode:00009:56670106d525 | apache-2.0 | codeparrot/github-code | 56670106d5253406277ac9f9e8f319109fb534472ba2e764b66becd76b93b602 | 0.85 | testing_debugging_repair_refactoring | 1,113 | false | 2026-07-17 |
namespace ChessMoveValidator.Tests.Integration.Factories
{
using ChessMoveValidator.BusinessLogic.Factories;
using ChessMoveValidator.BusinessLogic.Functions;
using ChessMoveValidator.Core.Enums;
using ChessMoveValidator.Core.Interfaces.Factories;
using ChessMoveValidator.Core.Models.Pieces;
u... | azzlack/ChessMoveValidator | src/ChessMoveValidator.Tests/Integration/Factories/BoardFactoryTests.cs | https://github.com/azzlack/ChessMoveValidator/blob/HEAD/src/ChessMoveValidator.Tests/Integration/Factories/BoardFactoryTests.cs | ghcode:00009:c9e58aa859bc | apache-2.0 | codeparrot/github-code | c9e58aa859bcdc3d95a752fd860526ca0391b0e27be58feaac42bf18feeaa5f3 | 0.85 | testing_debugging_repair_refactoring | 2,707 | false | 2026-07-17 |
/*
* Copyright 2014 Technische Universität Darmstadt
*
* 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 appl... | kave-cc/csharp-commons | KaVE.Commons.Tests/Utils/ObjectUsageExport/ScopedNameResolverTest.cs | https://github.com/kave-cc/csharp-commons/blob/HEAD/KaVE.Commons.Tests/Utils/ObjectUsageExport/ScopedNameResolverTest.cs | ghcode:00009:7685809bc648 | apache-2.0 | codeparrot/github-code | 7685809bc64856b3d2d4d21a2101301433cef66c7d5cd7237e26f00cf01e2288 | 0.6 | testing_debugging_repair_refactoring | 2,053 | false | 2026-07-17 |
/*
* Copyright 2020 Sage Intacct, 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
*
* or in the "LICENSE" file accompanying t... | Intacct/intacct-sdk-net | Intacct.SDK.Tests/Functions/InventoryControl/InventoryTransactionCreateTest.cs | https://github.com/Intacct/intacct-sdk-net/blob/HEAD/Intacct.SDK.Tests/Functions/InventoryControl/InventoryTransactionCreateTest.cs | ghcode:00009:60547b5dfdde | apache-2.0 | codeparrot/github-code | 60547b5dfdde33175c97a7c3d34976b26b300187b86fdfb98ce0301444f5ebfe | 0.6 | testing_debugging_repair_refactoring | 1,095 | false | 2026-07-17 |
/*
| Version 10.1.84
| Copyright 2013 Esri
|
| 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... | Esri/route-planner-csharp | RoutePlanner_DeveloperTools/Source/ArcLogisticsApp/Mapping/AGSLayer.cs | https://github.com/Esri/route-planner-csharp/blob/HEAD/RoutePlanner_DeveloperTools/Source/ArcLogisticsApp/Mapping/AGSLayer.cs | ghcode:00009:1f1454b69528 | apache-2.0 | codeparrot/github-code | 1f1454b69528ca4256eab91b8a62ead0753d70b09d4b31858134cb24b4b207aa | 0.7 | testing_debugging_repair_refactoring | 962 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using Cassandra.IntegrationTests.Policies.Util;
using Cassandra.IntegrationTests.TestBase;
using Cassandra.IntegrationTests.TestClusterManagement;
using Cassandra.Serialization;
using NUnit.Framework;
namespa... | jorgebay/csharp-driver | src/Cassandra.IntegrationTests/Policies/Tests/LoadBalancingPolicyShortTests.cs | https://github.com/jorgebay/csharp-driver/blob/HEAD/src/Cassandra.IntegrationTests/Policies/Tests/LoadBalancingPolicyShortTests.cs | ghcode:00009:3f6f7b484e3f | apache-2.0 | codeparrot/github-code | 3f6f7b484e3fffb42bf7a6e52fa07b2b06b582106600ef4eb7ee3ecaa39271da | 0.95 | testing_debugging_repair_refactoring | 3,343 | false | 2026-07-17 |
using Moq;
using NUnit.Framework;
using SiteWarmer.App.Factories;
using SiteWarmer.Core;
using SiteWarmer.Core.Comms;
using SiteWarmer.Core.Config;
using SiteWarmer.Core.Logging;
namespace SiteWarmer.App.Test.Factories
{
[TestFixture]
class WarmerFactoryTest
{
[Test]
public void Create_WhenRetriesAreZero_Retur... | baynezy/SiteWarmer | SiteWarmer/SiteWarmer.App.Test/Factories/WarmerFactoryTest.cs | https://github.com/baynezy/SiteWarmer/blob/HEAD/SiteWarmer/SiteWarmer.App.Test/Factories/WarmerFactoryTest.cs | ghcode:00009:59422d8a88e7 | apache-2.0 | codeparrot/github-code | 59422d8a88e79bb409c0a6ab021b45893403a931528485fa08f4f1e956d81a75 | 0.6 | testing_debugging_repair_refactoring | 391 | false | 2026-07-17 |
namespace StorSimple.Tests.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Azure;
using Microsoft.WindowsAzure.Management.StorSimple;
using Microsoft.WindowsAzure.Management.StorSimple.Models;
using Xunit;
using Microsoft.Azure.Test;
publ... | namratab/azure-sdk-for-net | src/ServiceManagement/StorSimple/StorSimple.Tests/Tests/CloneTests.cs | https://github.com/namratab/azure-sdk-for-net/blob/HEAD/src/ServiceManagement/StorSimple/StorSimple.Tests/Tests/CloneTests.cs | ghcode:00009:33ee9a937ec4 | apache-2.0 | codeparrot/github-code | 33ee9a937ec474cf9ab137ff18754181a84cff5fd973897f2902a5b7560d22e5 | 0.95 | testing_debugging_repair_refactoring | 3,459 | false | 2026-07-17 |
using Xunit;
namespace SettingsService.Api.Tests.Fixtures
{
[CollectionDefinition("DbBoundTest")]
public class DbBoundTestCollection : ICollectionFixture<TestDbFixture>
{
}
} | xtrmstep/Requiem.SettingsService | SettingsService.Api.Tests/Fixtures/DbBoundTestCollection.cs | https://github.com/xtrmstep/Requiem.SettingsService/blob/HEAD/SettingsService.Api.Tests/Fixtures/DbBoundTestCollection.cs | ghcode:00009:cb0178976e74 | apache-2.0 | codeparrot/github-code | cb0178976e747b334f460cb9c35e664ff3e4de450328a414a60feb1492dc043e | 0.35 | testing_debugging_repair_refactoring | 41 | 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.Xml;
using System.Xml.Linq;
using Microsoft.VisualStudio.Text;
using Roslyn.T... | swaroop-sridhar/roslyn | src/EditorFeatures/TestUtilities/Workspaces/TestWorkspaceFixture.cs | https://github.com/swaroop-sridhar/roslyn/blob/HEAD/src/EditorFeatures/TestUtilities/Workspaces/TestWorkspaceFixture.cs | ghcode:00009:2b28d825ef97 | apache-2.0 | codeparrot/github-code | 2b28d825ef978551a735e63d2e3f7654045af54652477bd61736b6ef6389f9cf | 0.85 | testing_debugging_repair_refactoring | 891 | false | 2026-07-17 |
namespace Climbing.Web.Tests.Unit
{
using System.Linq;
using System.Threading.Tasks;
using Climbing.Web.Common.Service.Exceptions;
using Climbing.Web.Common.Service.Facade;
using Climbing.Web.Common.Service.Repository;
using Climbing.Web.Model;
using Microsoft.Extensions.Logging;
using M... | ivankaurov/ClimbingCompetitionWeb | WebClimbingNew/Tests.Unit/PagingAndTeamsServiceTests.cs | https://github.com/ivankaurov/ClimbingCompetitionWeb/blob/HEAD/WebClimbingNew/Tests.Unit/PagingAndTeamsServiceTests.cs | ghcode:00009:e5f35bb8acef | apache-2.0 | codeparrot/github-code | e5f35bb8acef40e6b44c7b230cf523d2cf63cf4dceace0b3cdeaa8b73e048c91 | 0.85 | testing_debugging_repair_refactoring | 781 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using Strilanc.PickleJar.Internal;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
public static class CollectionUtilExtra {
/// <summary>
/// Enumerates all of the ways that it's possible one item from ... | Strilanc/PickleJar | PickleJarTest/CollectionUtilTest.cs | https://github.com/Strilanc/PickleJar/blob/HEAD/PickleJarTest/CollectionUtilTest.cs | ghcode:00009:24188777bc35 | bsd-2-clause | codeparrot/github-code | 24188777bc359ca923d820925a8259300e7f1016a8284c60dcaf7b7b6cb0b8cb | 0.63 | testing_debugging_repair_refactoring | 3,176 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using KayakoRestApi.Core.Constants;
using KayakoRestApi.Core.Departments;
using NUnit.Framework;
namespace KayakoRestApi.IntegrationTests
{
[TestFixture(Description = "A set of tests testing Api methods around Departments")]
public ... | kayako/dotnet-api-library | src/KayakoRestApi.IntegrationTests/DepartmentTests.cs | https://github.com/kayako/dotnet-api-library/blob/HEAD/src/KayakoRestApi.IntegrationTests/DepartmentTests.cs | ghcode:00009:2abc5ecae961 | bsd-2-clause | codeparrot/github-code | 2abc5ecae961f83064b2ad628ddbec60f8a11e94fdbf53490f04935b2be745cf | 0.68 | testing_debugging_repair_refactoring | 686 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Xml;
namespace BitMiracle.VisualStudioConverter.CSScript
{
public class Program
{
private static readonly List<string> m_supportedTa... | Core-Techs/TiffLibrary | sources/VisualStudioConverter.cs | https://github.com/Core-Techs/TiffLibrary/blob/HEAD/sources/VisualStudioConverter.cs | ghcode:00009:88eaebc58be3 | bsd-3-clause | codeparrot/github-code | 88eaebc58be3bc17a9705d53a0512e76eb8a85e5e188064f881daee74e1535bf | 0.7 | testing_debugging_repair_refactoring | 5,580 | false | 2026-07-17 |
using NUnit.Framework;
using ServiceStack.CacheAccess.Providers.Tests.Models;
using ServiceStack.Common.Extensions;
using ServiceStack.Compression;
using ServiceStack.ServiceModel.Serialization;
namespace ServiceStack.CacheAccess.Providers.Tests
{
[TestFixture]
public class CompressionICSharpProviderTests
{
[Test... | firstsee/ServiceStack | tests/ServiceStack.CacheAccess.Providers.Tests/CompressionICSharpProviderTests.cs | https://github.com/firstsee/ServiceStack/blob/HEAD/tests/ServiceStack.CacheAccess.Providers.Tests/CompressionICSharpProviderTests.cs | ghcode:00009:77ae6d1bffaf | bsd-3-clause | codeparrot/github-code | 77ae6d1bffaf898ccd332786d2dc2ed52746b73f25fed8d4a64bbd5057992cfa | 0.75 | testing_debugging_repair_refactoring | 328 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Kooboo.CMS.Sites.Models;
using System.IO;
namespace Kooboo.CMS.Sites.Tests.Models
{
/// <summary>
/// Summary description for ViewTemplateTests
/// </summary>
... | Epitomy/CMS | Kooboo.CMS/Kooboo.CMS.Sites.Tests/Models/ViewTests.cs | https://github.com/Epitomy/CMS/blob/HEAD/Kooboo.CMS/Kooboo.CMS.Sites.Tests/Models/ViewTests.cs | ghcode:00009:ea240ac53996 | bsd-3-clause | codeparrot/github-code | ea240ac5399607887bcf665e85e896653676a9918e1e9149acf3986d1b24a92f | 0.85 | testing_debugging_repair_refactoring | 495 | false | 2026-07-17 |
using System.Threading.Tasks;
using CompaniesHouse.Response.Document;
using NUnit.Framework;
namespace CompaniesHouse.IntegrationTests.Tests.DocumentTests
{
[TestFixture]
public class DocumentTestsInvalid : DocumentTestBase<DocumentMetadata>
{
private const string DocumentId = "0000000000000000-00... | kevbite/CompaniesHouse.NET | src/CompaniesHouse.IntegrationTests/Tests/DocumentTests/DocumentMetadataTestsInvalid.cs | https://github.com/kevbite/CompaniesHouse.NET/blob/HEAD/src/CompaniesHouse.IntegrationTests/Tests/DocumentTests/DocumentMetadataTestsInvalid.cs | ghcode:00009:69cc29f25a92 | mit | codeparrot/github-code | 69cc29f25a92dd87d117a4ec5ec337860ab826736963681357592469a061cc30 | 0.85 | testing_debugging_repair_refactoring | 152 | false | 2026-07-17 |
using NetApp.Tests.Helpers;
using Microsoft.Azure.Management.NetApp;
using Microsoft.Azure.Management.Resources;
using Microsoft.Azure.Test.HttpRecorder;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using System.IO;
using System.Net;
using System.Reflection;
using Xunit;
using System;
using System.Threading;... | brjohnstmsft/azure-sdk-for-net | sdk/netapp/Microsoft.Azure.Management.NetApp/tests/ResourceTests/MountTargetTests.cs | https://github.com/brjohnstmsft/azure-sdk-for-net/blob/HEAD/sdk/netapp/Microsoft.Azure.Management.NetApp/tests/ResourceTests/MountTargetTests.cs | ghcode:00009:561bd1733087 | mit | codeparrot/github-code | 561bd173308768386ccdb50de7f8a9f8c9f9405c40172071d266e5e45ae0661e | 0.95 | testing_debugging_repair_refactoring | 438 | false | 2026-07-17 |
using System.Globalization;
namespace BenchmarkDotNet.Helpers
{
internal static class DefaultCultureInfo
{
public static readonly CultureInfo Instance;
static DefaultCultureInfo()
{
Instance = (CultureInfo) CultureInfo.InvariantCulture.Clone();
Instance.NumberFo... | PerfDotNet/BenchmarkDotNet | src/BenchmarkDotNet/Helpers/DefaultCultureInfo.cs | https://github.com/PerfDotNet/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Helpers/DefaultCultureInfo.cs | ghcode:00009:d15d0dbedb52 | mit | codeparrot/github-code | d15d0dbedb5225ddd1a7418261dfd863084dacc2efe0372f4715564b6b1f7f6a | 0.6 | testing_debugging_repair_refactoring | 61 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
using TestUtils.TestConstants;
namespace E2ETests.net471
{
[TestClass]
public class Test452OnNet471 : Test452Base
{
private const string VersionPrefix = "rdddsd";
private const string VersionPrefixSql = "rddf... | pharring/ApplicationInsights-dotnet | WEB/Test/E2ETests/E2ETests/net471/Test452OnNet471.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/WEB/Test/E2ETests/E2ETests/net471/Test452OnNet471.cs | ghcode:00009:25d7eec614b0 | mit | codeparrot/github-code | 25d7eec614b0d7db25e475c549823e0f1483e83bbe32d44a33b7fe77ea931b8e | 0.85 | testing_debugging_repair_refactoring | 620 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using AutoPoco.Configuration;
using AutoPoco.DataSources;
namespace AutoPoco.Tests.Unit.Configuration
{
[TestFixture]
public class MethodInvocationContextTests
{
[Test]
public void ... | KCL5South/KCLAutoPoco | AutoPoco.Tests.Unit/Configuration/MethodInvocationContextTests.cs | https://github.com/KCL5South/KCLAutoPoco/blob/HEAD/AutoPoco.Tests.Unit/Configuration/MethodInvocationContextTests.cs | ghcode:00009:9ceb81b5c115 | mit | codeparrot/github-code | 9ceb81b5c1150cba95dad7b6a4900ba1fb6ef068e3d77ea872a1cd24d51129ba | 0.75 | testing_debugging_repair_refactoring | 166 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using BenchmarkDotNet.Helpers;
using JetBrains.Annotations;
using Perfolizer.Mathematics.QuantileEstimators;
namespace BenchmarkDotNet.Mathematics
{
public class PercentileValues
{
/// <summary>
/// ... | Ky7m/BenchmarkDotNet | src/BenchmarkDotNet/Mathematics/PercentileValues.cs | https://github.com/Ky7m/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Mathematics/PercentileValues.cs | ghcode:00009:5caf8b3c4422 | mit | codeparrot/github-code | 5caf8b3c4422ba7900d52f1741e2657e729eb4245828f78e85d1711b09e0fdd3 | 0.85 | testing_debugging_repair_refactoring | 754 | false | 2026-07-17 |
#region Copyright
//
// DotNetNuke® - http://www.dotnetnuke.com
// Copyright (c) 2002-2016
// by DotNetNuke Corporation
//
// 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 restrict... | moshefi/Dnn.Platform | DNN Platform/Tests/DotNetNuke.Tests.Core/Providers/Caching/MoqExtensions.cs | https://github.com/moshefi/Dnn.Platform/blob/HEAD/DNN Platform/Tests/DotNetNuke.Tests.Core/Providers/Caching/MoqExtensions.cs | ghcode:00009:409040c116cb | mit | codeparrot/github-code | 409040c116cbd443eb7e09f4b20415f050ac69ebf7a1a673819296f6bb67174f | 0.95 | testing_debugging_repair_refactoring | 354 | false | 2026-07-17 |
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Jobs;
namespace BenchmarkDotNet.Samples.CPU
{
// See http://en.wikipedia.org/wiki/Matrix_multiplication_algorithm#Cache_behavior
[Config(typeof(Config))]
public class Cpu_MatrixMultiplication
{
private class... | redknightlois/BenchmarkDotNet | BenchmarkDotNet.Samples/CPU/Cpu_MatrixMultiplication.cs | https://github.com/redknightlois/BenchmarkDotNet/blob/HEAD/BenchmarkDotNet.Samples/CPU/Cpu_MatrixMultiplication.cs | ghcode:00009:11a46d39157c | mit | codeparrot/github-code | 11a46d39157ca71f10958a2dac62be0173db96854f5883a4dcd008ad7da8a884 | 0.6 | testing_debugging_repair_refactoring | 667 | false | 2026-07-17 |
using eShopOnContainers.Core;
using eShopOnContainers.Core.Services.Marketing;
using System.Threading.Tasks;
using Xunit;
namespace eShopOnContainers.UnitTests.Services
{
public class MarketingServiceTests
{
[Fact]
public async Task GetFakeCampaigTest()
{
var campaignMockSe... | andrelmp/eShopOnContainers | src/Mobile/eShopOnContainers/eShopOnContainers.UnitTests/Services/MarketingServiceTests.cs | https://github.com/andrelmp/eShopOnContainers/blob/HEAD/src/Mobile/eShopOnContainers/eShopOnContainers.UnitTests/Services/MarketingServiceTests.cs | ghcode:00009:38018f53929c | mit | codeparrot/github-code | 38018f53929c3e27fc2b80cf003bc593599a657092ab4ca9effb156225112ccf | 0.75 | testing_debugging_repair_refactoring | 156 | false | 2026-07-17 |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace EasyNetQ.Tests.Tasks.SimpleRequester
{
public class LatencyRecorder : ILatencyRecorder
{
private readonly IDictionary<long, RequestRecord> requests =
ne... | zidad/EasyNetQ | Source/EasyNetQ.Tests.Tasks/Tasks/SimpleRequester/LatencyRecorder.cs | https://github.com/zidad/EasyNetQ/blob/HEAD/Source/EasyNetQ.Tests.Tasks/Tasks/SimpleRequester/LatencyRecorder.cs | ghcode:00009:472c309941d3 | mit | codeparrot/github-code | 472c309941d3416ea0e57a5e85ad9ca55d964173dea108b4696ea66143dee772 | 0.75 | testing_debugging_repair_refactoring | 465 | false | 2026-07-17 |
namespace Modbus.IO
{
using System.Diagnostics;
using System.IO;
using System.Text;
using Message;
using Utility;
/// <summary>
/// Refined Abstraction - http://en.wikipedia.org/wiki/Bridge_Pattern
/// </summary>
internal class ModbusAsciiTransport : ModbusSerialTra... | xlgwr/NModbus4 | NModbus4/IO/ModbusAsciiTransport.cs | https://github.com/xlgwr/NModbus4/blob/HEAD/NModbus4/IO/ModbusAsciiTransport.cs | ghcode:00009:4025b7038312 | mit | codeparrot/github-code | 4025b70383127df94a6944f5af8f341c7cd9da2cfea23dcc438a50140a47c8df | 0.7 | testing_debugging_repair_refactoring | 465 | 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... | russpowers/roslyn | src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs | https://github.com/russpowers/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs | ghcode:00009:06fe2e387175 | apache-2.0 | codeparrot/github-code | 06fe2e387175f7b1494b73f5d33b070fb81c5d7ff2dc312f3f60ba5ef0f24c28 | 0.57 | testing_debugging_repair_refactoring | 21,688 | 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 Microsoft.CodeAnalysis.Diagnostics;
namespace ... | AmadeusW/roslyn | src/Compilers/Core/Portable/SourceGeneration/GeneratorDriverState.cs | https://github.com/AmadeusW/roslyn/blob/HEAD/src/Compilers/Core/Portable/SourceGeneration/GeneratorDriverState.cs | ghcode:00009:417db3bc76dd | apache-2.0 | codeparrot/github-code | 417db3bc76dd156056f0557b2083f3e00a0d1072c5937e284efcf8198b9f9000 | 0.85 | testing_debugging_repair_refactoring | 715 | false | 2026-07-17 |
namespace Binsor.Presentation.Framework.Tests
{
using System;
using Data;
using Services;
using Interfaces;
using MbUnit.Framework;
using Rhino.Mocks;
[TestFixture]
public class ApplicationContextFixture
{
[Test]
public void When_application_context_is_s... | brumschlag/rhino-tools | SampleApplications/Blog.Viewer/Binsor.Presentation.Framework.Tests/ApplicationContextFixture.cs | https://github.com/brumschlag/rhino-tools/blob/HEAD/SampleApplications/Blog.Viewer/Binsor.Presentation.Framework.Tests/ApplicationContextFixture.cs | ghcode:00009:72fdb07d9adb | bsd-3-clause | codeparrot/github-code | 72fdb07d9adbb57fedf2c183b4a124d4bf819360cf5b8779581e5e58d6d3e235 | 0.75 | testing_debugging_repair_refactoring | 285 | 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
{
#if SILVERLIGHT
public class XmlSchema : XmlSchemaObject
{
//Empty Xml... | lggomez/corefx | src/System.Private.Xml/src/System/Xml/Schema/XmlSchema.cs | https://github.com/lggomez/corefx/blob/HEAD/src/System.Private.Xml/src/System/Xml/Schema/XmlSchema.cs | ghcode:00009:d9bb0d447ec7 | mit | codeparrot/github-code | d9bb0d447ec7299b266f08e777e964c8b723c6bce20f0c4004f9b892d6f60cce | 0.95 | testing_debugging_repair_refactoring | 5,947 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Linq;
using ExtensionMethods;
using Stud = Student.Student;
using Grade = Student.Mark;
namespace Test
{
class Program
{
static void Main(string[] args)
{
StringBuilder_Ext... | VProfirov/Telerik-Academy | Telerik-Academy/Module 1/[03] CSharp OOP and JavaScript Fundamentals/C# OOP/[03] Extension-Methods-And-LINQ/Test/Program.cs | https://github.com/VProfirov/Telerik-Academy/blob/HEAD/Telerik-Academy/Module 1/[03] CSharp OOP and JavaScript Fundamentals/C# OOP/[03] Extension-Methods-And-LINQ/Test/Program.cs | ghcode:00009:bf54b2cfcecc | mit | codeparrot/github-code | bf54b2cfcecc7a4c40c9674069d6e0c525997dc795ebc856510cb6325dba3d60 | 0.95 | testing_debugging_repair_refactoring | 859 | false | 2026-07-17 |
// Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
using System;
using System.Linq;
using NUnit.Framework;
namespace DotSpatial.Symbology.Tests
{
/// <summary>
/// Tests for Group.
/// </sum... | CGX-GROUP/DotSpatial | Source/DotSpatial.Symbology.Tests/GroupTests.cs | https://github.com/CGX-GROUP/DotSpatial/blob/HEAD/Source/DotSpatial.Symbology.Tests/GroupTests.cs | ghcode:00009:248c6b81c3c7 | mit | codeparrot/github-code | 248c6b81c3c7a16d53d49b7956849e0923776948d47123db5a84e5d7480f51ef | 0.85 | testing_debugging_repair_refactoring | 232 | false | 2026-07-17 |
namespace Microsoft.ApplicationInsights.CommonTestShared
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net;
using System.Net.Http;
using System.Text;
using Microsoft.ApplicationInsights.Channel;
using Microsoft.ApplicationInsights.Extensibility... | pharring/ApplicationInsights-dotnet | LOGGING/test/CommonTestShared/TelemetrySender.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/LOGGING/test/CommonTestShared/TelemetrySender.cs | ghcode:00009:d2ffac4119a2 | mit | codeparrot/github-code | d2ffac4119a22a3cb5e1fddde067f545bf6b22abfac88b951820c74c8635fe6a | 0.95 | testing_debugging_repair_refactoring | 302 | 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 SerializationTypes;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Col... | shmao/corefx | src/System.Runtime.Serialization.Json/tests/DataContractJsonSerializer.cs | https://github.com/shmao/corefx/blob/HEAD/src/System.Runtime.Serialization.Json/tests/DataContractJsonSerializer.cs | ghcode:00009:c7324da2148f | mit | codeparrot/github-code | c7324da2148f34003bfe9ee536905e4c8306ed3dfe398b06146a78e3e37ea4b9 | 0.82 | testing_debugging_repair_refactoring | 26,178 | false | 2026-07-17 |
namespace org.apache.lucene.codecs.memory
{
/*
* 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 Apach... | mdissel/lucene.net | src/Lucene.Net.Tests.Codecs/Memory/TestDirectPostingsFormat.cs | https://github.com/mdissel/lucene.net/blob/HEAD/src/Lucene.Net.Tests.Codecs/Memory/TestDirectPostingsFormat.cs | ghcode:00009:63fa2b876edd | apache-2.0 | codeparrot/github-code | 63fa2b876eddf0540dfd6f9d6be6c1adcc56dcd157641643dac1419725ce9cd2 | 0.85 | testing_debugging_repair_refactoring | 318 | 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... | jpsullivan/lucenenet | src/Lucene.Net.Codecs/Intblock/VariableIntBlockIndexOutput.cs | https://github.com/jpsullivan/lucenenet/blob/HEAD/src/Lucene.Net.Codecs/Intblock/VariableIntBlockIndexOutput.cs | ghcode:00009:3861fac407ee | apache-2.0 | codeparrot/github-code | 3861fac407eed28d473bfa66bcc41f0bacbdc55991043e0054d94be701521026 | 0.85 | testing_debugging_repair_refactoring | 774 | 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"); yo... | yunseong/reef | lang/cs/Org.Apache.REEF.Network/Group/Operators/IOperatorSpec.cs | https://github.com/yunseong/reef/blob/HEAD/lang/cs/Org.Apache.REEF.Network/Group/Operators/IOperatorSpec.cs | ghcode:00009:3857121e19db | apache-2.0 | codeparrot/github-code | 3857121e19db28125ce68e63b09deb6f27ac63dc1b9f079246795dd0d43a6253 | 0.85 | testing_debugging_repair_refactoring | 286 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
namespace UnityTest
{
[Serializable]
public class IntegrationTestsRunnerWindow : EditorWindow
{
#region GUI Contents
private readonly GUIContent guiOptionsHideLabel = new GUIContent ("Hide", Icons.gearImg);
... | jenkinsci/unity3d-plugin | src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testExpectADifferentExitCode/jobs/test_unity3d/workspace/Assets/UnityTestTools/IntegrationTestsFramework/TestRunner/Editor/IntegrationTestsRunnerWindow.cs | https://github.com/jenkinsci/unity3d-plugin/blob/HEAD/src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testExpectADifferentExitCode/jobs/test_unity3d/workspace/Assets/UnityTestTools/IntegrationTestsFramework/TestRunner/Editor/IntegrationTestsRunnerWindow.cs | ghcode:00009:213cdfe360d4 | mit | codeparrot/github-code | 213cdfe360d437ab0948e5c8d6cc4da8989b7ac2669426e26decaeefd3e6e033 | 0.85 | testing_debugging_repair_refactoring | 4,747 | 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.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using Microsoft.VisualStudioT... | lukedgr/nodejstools | Common/Tests/Utilities/TestData.cs | https://github.com/lukedgr/nodejstools/blob/HEAD/Common/Tests/Utilities/TestData.cs | ghcode:00009:262a70f6895f | apache-2.0 | codeparrot/github-code | 262a70f6895f92627a276b6923680c81d3bb08a9caa299c59d527ff74144a376 | 0.95 | testing_debugging_repair_refactoring | 1,028 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Azure.Messaging.EventGrid.Tests
{
public class DroneShippingInfo : ShippingInfo
{
public string DroneId { get; set; }
}
}
| Azure/azure-sdk-for-net | sdk/eventgrid/Azure.Messaging.EventGrid/tests/DroneShippingInfo.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/eventgrid/Azure.Messaging.EventGrid/tests/DroneShippingInfo.cs | ghcode:00009:4bca4b7d659e | mit | codeparrot/github-code | 4bca4b7d659e4cd5e57410b74276b891ff86faa9617655703da88c120d2d15d0 | 0.85 | testing_debugging_repair_refactoring | 53 | 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.Collections.Generic;
using System.Collections.Immutable;
using System... | bartdesmet/roslyn | src/Compilers/CSharp/Portable/Symbols/Metadata/PE/PEAssemblySymbol.cs | https://github.com/bartdesmet/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Metadata/PE/PEAssemblySymbol.cs | ghcode:00009:1e027af3023e | mit | codeparrot/github-code | 1e027af3023ecf95b678ccc2ee80afaeacdfaa9b0116f372521bd2390b9ca564 | 0.85 | testing_debugging_repair_refactoring | 1,845 | 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.Threading;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeA... | wschae/roslyn | src/Compilers/CSharp/Test/Semantic/Semantics/LookupTests.cs | https://github.com/wschae/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/Semantics/LookupTests.cs | ghcode:00009:2d1700978f0a | apache-2.0 | codeparrot/github-code | 2d1700978f0a7af6769103d0903f4131eb5387cdc66f88dc2bdc220e4080e9d1 | 0.82 | testing_debugging_repair_refactoring | 13,181 | false | 2026-07-17 |
using System;
using VersionOne.ServiceHost.ConfigurationTool.Entities;
namespace VersionOne.ServiceHost.ConfigurationTool.BZ {
public class TestProjectEventArgs : EventArgs {
public readonly TestPublishProjectMapping Mapping;
public TestProjectEventArgs(TestPublishProjectMapping mapping) {
... | versionone/VersionOne.Integration.HPALM | VersionOne.ServiceHost.ConfigurationTool/BZ/TestProjectEventArgs.cs | https://github.com/versionone/VersionOne.Integration.HPALM/blob/HEAD/VersionOne.ServiceHost.ConfigurationTool/BZ/TestProjectEventArgs.cs | ghcode:00009:4d946ef40e8d | bsd-3-clause | codeparrot/github-code | 4d946ef40e8d714cccbcd27f99b4f39852adcfbe9ffbb8f184fae6b228febc83 | 0.75 | testing_debugging_repair_refactoring | 62 | 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.Collections.Immutable;
using System.Diagnostics;
using Roslyn.Utilit... | CyrusNajmabadi/roslyn | src/Compilers/CSharp/Portable/Symbols/Synthesized/Records/SynthesizedRecordClone.cs | https://github.com/CyrusNajmabadi/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Synthesized/Records/SynthesizedRecordClone.cs | ghcode:00009:f0b29699960c | mit | codeparrot/github-code | f0b29699960c7c7c10e614b38cffb55079c33ba0817279345fdc50665aacd679 | 0.85 | testing_debugging_repair_refactoring | 1,413 | false | 2026-07-17 |
using NUnit.Framework;
using Umbraco.Core.Persistence.Mappers;
namespace Umbraco.Tests.Persistence.Mappers
{
[TestFixture]
public class ContentTypeMapperTest : MapperTestBase
{
[Test]
public void Can_Map_Id_Property()
{
// Act
string column = new ContentTyp... | rasmuseeg/Umbraco-CMS | src/Umbraco.Tests/Persistence/Mappers/ContentTypeMapperTest.cs | https://github.com/rasmuseeg/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Persistence/Mappers/ContentTypeMapperTest.cs | ghcode:00009:65334a9ea90b | mit | codeparrot/github-code | 65334a9ea90b0e3702c9de7426ef6dd42bfeaff9d8c5e46c8c2cf1ca44a24225 | 0.85 | testing_debugging_repair_refactoring | 268 | 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... | yoavrubin/azure-powershell | src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.cs | https://github.com/yoavrubin/azure-powershell/blob/HEAD/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteCircuitTests.cs | ghcode:00009:08405738cd66 | apache-2.0 | codeparrot/github-code | 08405738cd66a1ab784019d0e784fe6637c38d78039242580214d9862c7902a3 | 0.85 | testing_debugging_repair_refactoring | 443 | 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.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.T... | yazeng/MIEngine | src/MICore/Transports/StreamTransport.cs | https://github.com/yazeng/MIEngine/blob/HEAD/src/MICore/Transports/StreamTransport.cs | ghcode:00009:4f00182d1746 | mit | codeparrot/github-code | 4f00182d174610d1cabb2df8f0d566791a9e20723f2552f6574243af181a4b1f | 0.7 | testing_debugging_repair_refactoring | 655 | 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.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnaly... | sharwell/roslyn | src/Compilers/CSharp/Portable/Errors/LazyMissingNonNullTypesContextDiagnosticInfo.cs | https://github.com/sharwell/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Errors/LazyMissingNonNullTypesContextDiagnosticInfo.cs | ghcode:00009:833845aedde5 | mit | codeparrot/github-code | 833845aedde5e40a9dfcaed98aca99c965939d3bc3ebe40d093d21afaf96efeb | 0.85 | testing_debugging_repair_refactoring | 723 | false | 2026-07-17 |
#region MIT license
//
// MIT license
//
// Copyright (c) 2007-2008 Jiri Moudry, Pascal Craponne
//
// 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, includin... | vinodvar/dblinq | src/DbLinq/Test/Providers/Linq_101_Samples/Advanced.cs | https://github.com/vinodvar/dblinq/blob/HEAD/src/DbLinq/Test/Providers/Linq_101_Samples/Advanced.cs | ghcode:00009:7fc086a11a6a | mit | codeparrot/github-code | 7fc086a11a6a56fde89a2936f3c5aac7e93c350268a95498b7048389197762c7 | 0.95 | testing_debugging_repair_refactoring | 1,890 | 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 l... | nemanja88/azure-sdk-for-net | src/ResourceManagement/Commerce/UsageAggregates.Tests/ScenarioTests/UsageAggregatesScenarioTests.cs | https://github.com/nemanja88/azure-sdk-for-net/blob/HEAD/src/ResourceManagement/Commerce/UsageAggregates.Tests/ScenarioTests/UsageAggregatesScenarioTests.cs | ghcode:00009:6277381b7de2 | apache-2.0 | codeparrot/github-code | 6277381b7de2dbdfda3e0bca5eece436a1eaa9d9e22aaf3d5d32baa65ee83ded | 0.85 | testing_debugging_repair_refactoring | 1,636 | 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.CompilerServices;
using System.Threading;
using System.Threading.Tas... | ptoonen/corefx | src/System.IO.Pipelines/src/System/IO/Pipelines/PipeAwaitable.cs | https://github.com/ptoonen/corefx/blob/HEAD/src/System.IO.Pipelines/src/System/IO/Pipelines/PipeAwaitable.cs | ghcode:00009:db62a31712be | mit | codeparrot/github-code | db62a31712be1a32c36268d3d347e47b22917dcdb4e048625f17e8f882b98b69 | 0.95 | testing_debugging_repair_refactoring | 1,255 | 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.CodeDom.Tests
{
public class... | shimingsg/corefx | src/System.CodeDom/tests/System/CodeDom/CodeObjectCreateExpressionTests.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.CodeDom/tests/System/CodeDom/CodeObjectCreateExpressionTests.cs | ghcode:00009:074c358dbc51 | mit | codeparrot/github-code | 074c358dbc517f34e335f2e15d687b8b03617ed3b2bf60fc63e1636ad684a192 | 0.95 | testing_debugging_repair_refactoring | 1,046 | 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.Diagnostics;
using Microsoft.CodeAnalysis.Collections;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalys... | ericfe-ms/roslyn | src/Compilers/CSharp/Portable/Symbols/BaseTypeAnalysis.cs | https://github.com/ericfe-ms/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/BaseTypeAnalysis.cs | ghcode:00009:e35dd3838b25 | apache-2.0 | codeparrot/github-code | e35dd3838b2599f226cf5eec2935b87769b0d50a2a155b3ddf3ef3bdc9301ebd | 0.85 | testing_debugging_repair_refactoring | 1,979 | 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 System.Threading;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.Co... | ManishJayaswal/roslyn | src/Compilers/CSharp/Portable/Symbols/MissingMetadataTypeSymbol.cs | https://github.com/ManishJayaswal/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/MissingMetadataTypeSymbol.cs | ghcode:00009:84f8241564b4 | apache-2.0 | codeparrot/github-code | 84f8241564b4762fd83d20bb4137e79853ef0962acc4e2f34d89ccecea9b9244 | 0.85 | testing_debugging_repair_refactoring | 2,941 | 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 Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.IndexerOperator.Binary.verify.verify
{
using ManagedTests.DynamicCSharp.Conformanc... | vs-team/corefx | src/System.Dynamic.Runtime/tests/Dynamic.Statements/Conformance.dynamic.statements.IndexerOperator.Binary.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Dynamic.Runtime/tests/Dynamic.Statements/Conformance.dynamic.statements.IndexerOperator.Binary.cs | ghcode:00009:ffcd11b2af94 | mit | codeparrot/github-code | ffcd11b2af9417c7e5218b921593e561cc89927a3d2bd3ed9bf917a0ed62b5fd | 0.82 | testing_debugging_repair_refactoring | 21,096 | 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... | devigned/azure-powershell | src/Storage/Stack/Commands.Storage.ScenarioTest/BVT/HTTPS/AzureEnvironment.cs | https://github.com/devigned/azure-powershell/blob/HEAD/src/Storage/Stack/Commands.Storage.ScenarioTest/BVT/HTTPS/AzureEnvironment.cs | ghcode:00009:9a18f1b960d1 | apache-2.0 | codeparrot/github-code | 9a18f1b960d1ed835e2f672d8addd385e4ecff557b980aef9a0682d427af7cb5 | 0.85 | testing_debugging_repair_refactoring | 413 | 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.Linq.Expressions.Tests
{
public static class BinaryAndTests
{
#region... | nbarbettini/corefx | src/System.Linq.Expressions/tests/BinaryOperators/Bitwise/BinaryAndTests.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Linq.Expressions/tests/BinaryOperators/Bitwise/BinaryAndTests.cs | ghcode:00009:e6712632f645 | mit | codeparrot/github-code | e6712632f645d6a1416fe236f26edb38511c580a56cc65602f50dbf631a9a0b3 | 0.95 | testing_debugging_repair_refactoring | 2,000 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
// Given a linked list, swap every two adjacent nodes and return its head.
// For example,
// Given 1->2->3->4, you should return the list as 2->1->4->3.
// Your algorithm should use only constant space. You may not modify the values in ... | txchen/localleet | csharp/Q024_SwapNodesinPairs.cs | https://github.com/txchen/localleet/blob/HEAD/csharp/Q024_SwapNodesinPairs.cs | ghcode:00009:36813752512e | mit | codeparrot/github-code | 36813752512e0a20407451ed140912ea9797a8ade013e594126bd92cf52bcaba | 0.7 | testing_debugging_repair_refactoring | 264 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CocosSharp;
namespace tests
{
public class LayerTestScene : TestScene
{
public override void runThisTest()
{
CCLayer pLayer = nextTestAction();
AddChild(pLayer);
Dire... | hig-ag/CocosSharp | tests/tests/classes/tests/LayerTest/LayerTestScene.cs | https://github.com/hig-ag/CocosSharp/blob/HEAD/tests/tests/classes/tests/LayerTest/LayerTestScene.cs | ghcode:00009:70f876b0ad6e | mit | codeparrot/github-code | 70f876b0ad6e9a6a26483b811df947dadccec330f68113b9423f5651aa1de026 | 0.95 | testing_debugging_repair_refactoring | 507 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Net;
using Moq;
using MvcMonitor.Models;
using MvcMonitor.Models.Factories;
using MvcMonitor.StackTrace;
using NUnit.Framework;
namespace MvcMonitor.Tests.Models
{
[TestFixture]
public class ErrorModelFactoryTests
{
... | tommy-ly/MVC-Monitor | MvcMonitor.Tests/Models/ErrorModelFactoryTests.cs | https://github.com/tommy-ly/MVC-Monitor/blob/HEAD/MvcMonitor.Tests/Models/ErrorModelFactoryTests.cs | ghcode:00009:1112686eb73d | mit | codeparrot/github-code | 1112686eb73de6195e6bfc52ddbc0863e305e076a424f8e987c95f21e5a8108d | 0.75 | testing_debugging_repair_refactoring | 1,591 | false | 2026-07-17 |
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Threading.Tasks;
using LiveObjects.ModelDescription;
namespace LiveObjects.Test
{
[PublicationPolicy(DefaultPublicationMode.OptIn)]
public class TestObject : ILiveObject, INotifyPropertyChanged
{
public string... | koczkatamas/apihooker | LiveObjects/Test/TestObject.cs | https://github.com/koczkatamas/apihooker/blob/HEAD/LiveObjects/Test/TestObject.cs | ghcode:00009:d57cdb205d94 | mit | codeparrot/github-code | d57cdb205d9434de67b147b8f1f84ac1b1b348b506bb8f648e857c22d78df367 | 0.85 | testing_debugging_repair_refactoring | 244 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LeetCode.Test
{
[TestClass]
public class _087_ScrambleString_Test
{
[TestMethod]
public void IsScrambleTest_Odd()
{
var solution = new _087_ScrambleString();
Assert.IsTrue(solution.IsScramble("gre... | BigEgg/LeetCode | CSharp/LeetCode.Test/051-100/087-ScrambleString-Test.cs | https://github.com/BigEgg/LeetCode/blob/HEAD/CSharp/LeetCode.Test/051-100/087-ScrambleString-Test.cs | ghcode:00009:22035ce82b4f | mit | codeparrot/github-code | 22035ce82b4fd18acf9960155e6db66c0e4d99b8ec20e152f0e7cac5cb367d42 | 0.6 | testing_debugging_repair_refactoring | 298 | 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.Numerics;
using System.Runtime.CompilerServices;
namespace System
{
// ... | insthync/LiteNetLibManager | Plugins/ZString/Number/Number.Dragon4.cs | https://github.com/insthync/LiteNetLibManager/blob/HEAD/Plugins/ZString/Number/Number.Dragon4.cs | ghcode:00009:f8cd738620ec | mit | codeparrot/github-code | f8cd738620ec2ec4ce917fa26ad13735c745d49e53c57e4a53268b81630096f2 | 0.7 | testing_debugging_repair_refactoring | 5,051 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Homework;
namespace UnitTestHomework
{
[TestClass]
public class TestGenericList
{
private GenericList<int> testListInt;
private GenericList<double> testListDouble;
[TestInitialize]
public void Initiali... | idoychinov/Telerik_Academy_Homework | OOP/DefiningClassesPart2/UnitTestHomework/TestGenericList.cs | https://github.com/idoychinov/Telerik_Academy_Homework/blob/HEAD/OOP/DefiningClassesPart2/UnitTestHomework/TestGenericList.cs | ghcode:00009:e38352570efc | mit | codeparrot/github-code | e38352570efcdce4b45c0e4bf7bfce7f1090b75305247dd590de7d8a9f8a05bc | 0.75 | testing_debugging_repair_refactoring | 413 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using W;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace W.Tests
{
[TestClass]
public class CallResultTests
{
//private ITestOutputHelper output;
//public Call... | mode51/Tungsten | Test/Test Files/W/CallResultTests.cs | https://github.com/mode51/Tungsten/blob/HEAD/Test/Test Files/W/CallResultTests.cs | ghcode:00009:4cd8c39157a2 | mit | codeparrot/github-code | 4cd8c39157a20c0c1302a736545e4fbff6f746af94f9c7720a92a1f8e94dc8ff | 0.85 | testing_debugging_repair_refactoring | 428 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Should;
using Swank;
namespace Tests.Unit.Extensions
{
[TestFixture]
public class MicroContainerTests
{
public interface IDependency { }
public class Dependency : IDependency { }
public class Root1WithExplicitDependency
... | mikeobrien/swank | src/Tests/Unit/Extensions/MicroContainerTests.cs | https://github.com/mikeobrien/swank/blob/HEAD/src/Tests/Unit/Extensions/MicroContainerTests.cs | ghcode:00009:8c9e5ecc224d | mit | codeparrot/github-code | 8c9e5ecc224d651c06b62e21f00e21e71ba2e40a160ee119d53858fb33a99748 | 0.85 | testing_debugging_repair_refactoring | 856 | false | 2026-07-17 |
using System.Reflection;
using FluentAssertions;
using slang.Compiler.Clr.Compilation.Core.Builders;
using slang.Compiler.Clr.Compilation.CSharp;
using Xunit;
using System;
namespace Clr.Tests.Compilation.CSharp
{
public class CSharpAssemblyGeneratorTests
{
string CreateAnonymousAssemblyName() => "sla... | jagrem/slang | tests/Compiler/Clr.Tests/Compilation/CSharp/CSharpAssemblyGeneratorTests.cs | https://github.com/jagrem/slang/blob/HEAD/tests/Compiler/Clr.Tests/Compilation/CSharp/CSharpAssemblyGeneratorTests.cs | ghcode:00009:eaac2e4d8d1b | mit | codeparrot/github-code | eaac2e4d8d1b899bf0fe8d9cf978e15261827f8961cbc766beee78e40b1f45b6 | 0.85 | testing_debugging_repair_refactoring | 684 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
using SharpDX;
using SharpDX.Direct3D11;
namespace TDCG
{
/// <summary>
/// TPOファイルを扱います。
/// </summary>
public class TPOFile
{
private float ratio = 0.0f;
private TMOFile tmo = null;
p... | 3dcustom/tsoview-dx | TDCG/TPOFile.cs | https://github.com/3dcustom/tsoview-dx/blob/HEAD/TDCG/TPOFile.cs | ghcode:00009:ec462a452a78 | mit | codeparrot/github-code | ec462a452a783179d52d367151d5844f928701baac234adb5bbeca848abd844e | 0.7 | testing_debugging_repair_refactoring | 4,364 | false | 2026-07-17 |
namespace NServiceBus.AcceptanceTests.Sagas
{
using System;
using System.Threading.Tasks;
using AcceptanceTesting;
using EndpointTemplates;
using Features;
using NServiceBus.MongoDB;
using NServiceBus.Sagas;
using NUnit.Framework;
public class When_message_has_a_saga_i... | sbmako/NServiceBus.MongoDB | src/NServiceBus.MongoDB.Acceptance.Tests/App_Packages/NSB.AcceptanceTests.6.0.0/Sagas/When_message_has_a_saga_id.cs | https://github.com/sbmako/NServiceBus.MongoDB/blob/HEAD/src/NServiceBus.MongoDB.Acceptance.Tests/App_Packages/NSB.AcceptanceTests.6.0.0/Sagas/When_message_has_a_saga_id.cs | ghcode:00009:fb9e50121407 | mit | codeparrot/github-code | fb9e50121407d80f76ed8b0afc0414cd914ab8e97df5cc5907ea6b6d202a98e5 | 0.6 | testing_debugging_repair_refactoring | 700 | false | 2026-07-17 |
using ConfigServer.Server;
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using Newtonsoft.Json;
using Xunit;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Serialization;
using Moq;
using ConfigServer.Core.Tests.TestModels;
using ConfigServer.TestModels;
namespace ConfigS... | PjMitchell/ConfigServer | test/ConfigServer.Core.Tests/Hosting/ConfigurationEditModelMapperTests.cs | https://github.com/PjMitchell/ConfigServer/blob/HEAD/test/ConfigServer.Core.Tests/Hosting/ConfigurationEditModelMapperTests.cs | ghcode:00009:326ee6217463 | mit | codeparrot/github-code | 326ee6217463f13b2b53489ffa66066d57aa6eb2c19f7fe03ce24f71206b6aa0 | 0.75 | testing_debugging_repair_refactoring | 1,457 | false | 2026-07-17 |
using EngineLayer;
using MassSpectrometry;
using NUnit.Framework;
using Proteomics;
using Proteomics.ProteolyticDigestion;
using System;
using System.Collections.Generic;
using System.Linq;
using TaskLayer;
using UsefulProteomicsDatabases;
namespace Test
{
[TestFixture]
public static class SearchWithPeptidesA... | XRSHEERAN/MetaMorpheus | Test/SearchWithPeptidesAddedInParsimony.cs | https://github.com/XRSHEERAN/MetaMorpheus/blob/HEAD/Test/SearchWithPeptidesAddedInParsimony.cs | ghcode:00009:565586e27f35 | mit | codeparrot/github-code | 565586e27f35d84a05107cd7898ac97f95b517737f3f0a8653df5a8cafb4b9d1 | 0.6 | testing_debugging_repair_refactoring | 833 | false | 2026-07-17 |
using Clustering;
using HilbertTransformation;
using HilbertTransformationTests.Data;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HilbertTransformationTests
{
[TestFixture]
public class GridCoarsenessTests... | paulchernoch/HilbertTransformation | HilbertTransformationTests/GridCoarsenessTests.cs | https://github.com/paulchernoch/HilbertTransformation/blob/HEAD/HilbertTransformationTests/GridCoarsenessTests.cs | ghcode:00009:738e03d256c8 | mit | codeparrot/github-code | 738e03d256c8050e58a8fb4597111323c74138d3bbaebc702aab4dd47cbdfc72 | 0.85 | testing_debugging_repair_refactoring | 1,803 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RR.PedidoVendas.Domain.Models;
using RR.PedidoVendas.Domain.Specification.Clientes;
namespace RR.PedidoVendas.Domain.Tests.Specification.Clientes
{
[TestClass]
public class ClienteNomeMaiorQueSpecificationTests
{
[TestMethod]
public... | ricardorinco/PedidoVendas | tests/RR.PedidoVendas.Domain.Tests/Specification/Clientes/ClienteNomeMaiorQueSpecificationTests.cs | https://github.com/ricardorinco/PedidoVendas/blob/HEAD/tests/RR.PedidoVendas.Domain.Tests/Specification/Clientes/ClienteNomeMaiorQueSpecificationTests.cs | ghcode:00010:0fc396fa3d4e | mit | codeparrot/github-code | 0fc396fa3d4e4d6ef6ff984c6ec27b8098e62e0fff64f0ee1fd6728fc604b60a | 0.75 | testing_debugging_repair_refactoring | 339 | 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.Linq;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Screens;
using osu.Framework.Testing;
using os... | huoyaoyuan/osu | osu.Game.Tests/Visual/Gameplay/TestSceneSpectator.cs | https://github.com/huoyaoyuan/osu/blob/HEAD/osu.Game.Tests/Visual/Gameplay/TestSceneSpectator.cs | ghcode:00010:c005f25e736a | mit | codeparrot/github-code | c005f25e736aa0eef0c8ced7ec4b1bc706a07ffce8b34d97078761689550be09 | 0.85 | testing_debugging_repair_refactoring | 1,470 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace System.IO.Pipelines.Tests
{
public class PipeLengthTests : IDisposable
{
private PipeFactory _pipeFactory;
private Pipe _pipe;
public PipeLengthTests()
{
... | alexperovich/corefxlab | tests/System.IO.Pipelines.Tests/PipeLengthTests.cs | https://github.com/alexperovich/corefxlab/blob/HEAD/tests/System.IO.Pipelines.Tests/PipeLengthTests.cs | ghcode:00010:9f4fa941c35b | mit | codeparrot/github-code | 9f4fa941c35b94d9c6f47d32f1b8a8441a10e1adaf70519b7365f3b19b89ff83 | 0.75 | testing_debugging_repair_refactoring | 764 | 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.Collections.Generic;
using NUnit.Framework;
using osu.Game.Replays;
using osu.Game.Rulesets.Replays;
namespace osu.Game.Tests.NonVisual
{
[TestFixture]
... | DrabWeb/osu | osu.Game.Tests/NonVisual/FramedReplayinputHandlerTest.cs | https://github.com/DrabWeb/osu/blob/HEAD/osu.Game.Tests/NonVisual/FramedReplayinputHandlerTest.cs | ghcode:00010:ba79470e2a6c | mit | codeparrot/github-code | ba79470e2a6c919b93a74831ab3dec8b53abe2cc69bb31809c19b3d422fc5c3e | 0.85 | testing_debugging_repair_refactoring | 1,792 | false | 2026-07-17 |
using System.Collections.Generic;
using log4net.Core;
using log4net.Raygun.Core;
using log4net.Raygun.Tests.Fakes;
using NUnit.Framework;
namespace log4net.Raygun.Tests
{
[TestFixture]
public class CustomRaygunClientFactoryTests
{
private RaygunAppenderBase _appender;
private RaygunMessage... | plmwong/log4net-raygun | log4net.Raygun.Tests/CustomRaygunClientFactoryTests.cs | https://github.com/plmwong/log4net-raygun/blob/HEAD/log4net.Raygun.Tests/CustomRaygunClientFactoryTests.cs | ghcode:00010:591366fa64ef | mit | codeparrot/github-code | 591366fa64efbcf64f927d3c0ec46b63ec06197e32f72b1fd2d186f7f16269e6 | 0.75 | testing_debugging_repair_refactoring | 587 | false | 2026-07-17 |
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Xunit;
namespace EggsAndHoney.WebApi.Tests
{
public class AddOrderErrorCases : OrdersApiTestBase
{
[Fact]
public async Task AddOrder_WithEmptyBody_ShouldRetun_400BadRequest()
{
... | Yakimych/EggsAndHoneyWebApi | src/EggsAndHoney.WebApi.Tests/AddOrderErrorCases.cs | https://github.com/Yakimych/EggsAndHoneyWebApi/blob/HEAD/src/EggsAndHoney.WebApi.Tests/AddOrderErrorCases.cs | ghcode:00010:cc1295d37c5f | mit | codeparrot/github-code | cc1295d37c5f8a85171251392e4fcd842ccac41cbc07624df8923ac17cd55906 | 0.6 | testing_debugging_repair_refactoring | 539 | false | 2026-07-17 |
using FluentAssertions;
using Xunit;
namespace Zafiro.Reflection.Tests
{
public class ReflectedMemberTests
{
[Fact]
public void Collection_is_detected()
{
var instance = new SomeModel();
var sut = ReflectedMember.From(instance, model => model.Children);
... | SuperJMN/Zafiro | Source/Zafiro.Reflection.Tests/ReflectedMemberTests.cs | https://github.com/SuperJMN/Zafiro/blob/HEAD/Source/Zafiro.Reflection.Tests/ReflectedMemberTests.cs | ghcode:00010:10bb676c239e | mit | codeparrot/github-code | 10bb676c239ed0ece0d5739a65d0c04fda7ac3a59b91b4f8a3d4501a669d746d | 0.75 | testing_debugging_repair_refactoring | 123 | false | 2026-07-17 |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Linq;
using FluentAssertions;
using Microsoft.DotNet.Cli.Utils;
using Microsoft.DotNet.TestFramework;... | EdwardBlair/cli | test/Microsoft.DotNet.Cli.Utils.Tests/GivenAProjectToolsCommandResolver.cs | https://github.com/EdwardBlair/cli/blob/HEAD/test/Microsoft.DotNet.Cli.Utils.Tests/GivenAProjectToolsCommandResolver.cs | ghcode:00010:96a7a1b93317 | mit | codeparrot/github-code | 96a7a1b9331716115d637775c8a981a44a191bb302d7440e0954bb590a3c1b64 | 0.7 | testing_debugging_repair_refactoring | 3,080 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.