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 (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 Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Poo... | mmitche/roslyn | src/Compilers/CSharp/Portable/BoundTree/BoundTreeRewriter.cs | https://github.com/mmitche/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/BoundTree/BoundTreeRewriter.cs | ghcode:00174:dcbeb262d79c | apache-2.0 | codeparrot/github-code | dcbeb262d79c0effd2b003f7f418e16d96ec41cc4301fb6204084f9b09c6a24d | 0.75 | testing_debugging_repair_refactoring | 868 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// See the LICENSE file in the project root for more information.
//
// System.Configuration.ConfigurationElementTest.cs - Unit tests
// for System.Configuration.ConfigurationElement.
//
// Author:
// Konstantin Triger <kostat@mainsoft.com>
//
// Copyrig... | ViktorHofer/corefx | src/System.Configuration.ConfigurationManager/tests/Mono/ConfigurationPropertyTest.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.Configuration.ConfigurationManager/tests/Mono/ConfigurationPropertyTest.cs | ghcode:00174:6937f8e31df1 | mit | codeparrot/github-code | 6937f8e31df120a0b46e54924d2f230fd4d339fcee6096c42a8458bc37c8b4d3 | 0.95 | testing_debugging_repair_refactoring | 511 | 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 System.Reflection.Metadata;
using System.Threadi... | ValentinRueda/roslyn | src/Compilers/Core/Portable/MetadataReader/PEAssembly.cs | https://github.com/ValentinRueda/roslyn/blob/HEAD/src/Compilers/Core/Portable/MetadataReader/PEAssembly.cs | ghcode:00174:dc059f8cd6b6 | apache-2.0 | codeparrot/github-code | dc059f8cd6b69fa3bb61c4fda24cf29c6a6e09ba8e320b0ab90b15a3e1bd97bd | 0.85 | testing_debugging_repair_refactoring | 1,217 | 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.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp... | KevinRansom/roslyn | src/Compilers/CSharp/Test/Syntax/Parsing/DeclarationParsingTests.cs | https://github.com/KevinRansom/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Syntax/Parsing/DeclarationParsingTests.cs | ghcode:00174:1f29d10e7228 | apache-2.0 | codeparrot/github-code | 1f29d10e7228690db10f42186d19126ffd4b802134404c1c61974d43a84b2b10 | 0.75 | testing_debugging_repair_refactoring | 47,943 | 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 OLEDB.Test.ModuleCore;
namespace XmlConvertTests
{
internal abstract class XmlIdeographicCharConvertTests : CTestCase
{
#region Static Fields
... | vs-team/corefx | src/System.Xml.ReaderWriter/tests/XmlConvert/XmlIdeographicCharConvertTests.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Xml.ReaderWriter/tests/XmlConvert/XmlIdeographicCharConvertTests.cs | ghcode:00174:389ed0373cf4 | mit | codeparrot/github-code | 389ed0373cf499d713735a03fe4bf99d740784730ddd6bbc1b8463e4d88a356e | 0.85 | testing_debugging_repair_refactoring | 238 | 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.Diagnostics;
using System.Reflection.Internal;
namespace System.Refl... | BrennanConroy/corefx | src/System.Reflection.Metadata/src/System/Reflection/Metadata/Ecma335/MetadataReaderExtensions.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Reflection.Metadata/src/System/Reflection/Metadata/Ecma335/MetadataReaderExtensions.cs | ghcode:00174:735866afe7ca | mit | codeparrot/github-code | 735866afe7cabb035e9197feb44c3de1c7b9de3a9ea83d4ebbaf830143a791ce | 0.95 | testing_debugging_repair_refactoring | 3,888 | 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.Security.Cryptography.Dsa.Tests
{
public interface IDSAProvider
{
DSA Create();
... | nbarbettini/corefx | src/Common/tests/System/Security/Cryptography/AlgorithmImplementations/DSA/DSAFactory.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/Common/tests/System/Security/Cryptography/AlgorithmImplementations/DSA/DSAFactory.cs | ghcode:00174:255b3c3365b1 | mit | codeparrot/github-code | 255b3c3365b13842adcb9eaabf73f9a1bd282660ac10b6946468b0005112807f | 0.95 | testing_debugging_repair_refactoring | 258 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright>
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
// -------------------------------------------------------------------------------------------------------------------... | fearthecowboy/xunit-vstest-shim | src/Xunit.Microsoft.VisualStudio.TestTools.UnitTesting/ExpectedExceptionAttribute.cs | https://github.com/fearthecowboy/xunit-vstest-shim/blob/HEAD/src/Xunit.Microsoft.VisualStudio.TestTools.UnitTesting/ExpectedExceptionAttribute.cs | ghcode:00174:8769faf95ac2 | mit | codeparrot/github-code | 8769faf95ac290c5d262e154a1f873ef9b6e042994bc370ccf177454ce1bd383 | 0.85 | testing_debugging_repair_refactoring | 64 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.Common;
using Microsoft.Data.Tools.Schema.Sql.UnitTesting;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Sql.Net.UnitTests
{
[TestClass()]
public class SqlDatabaseSetup
{
... | DataGenSoftware/Sql.Net | Sql.Net/Sql.Net.UnitTests/SqlDatabaseSetup.cs | https://github.com/DataGenSoftware/Sql.Net/blob/HEAD/Sql.Net/Sql.Net.UnitTests/SqlDatabaseSetup.cs | ghcode:00174:35ae8b23daca | mit | codeparrot/github-code | 35ae8b23daca4b9c1e4fb50378a4b737816c9f0202f94f184677b4c14cc7f74d | 0.6 | testing_debugging_repair_refactoring | 122 | false | 2026-07-17 |
using BeerMath;
using Xunit;
namespace Tests
{
public class BaseClassTest
{
[Fact]
public void Base()
{
Assert.IsType<Gallon>(new Gallon(1m));
Assert.IsAssignableFrom<BeerValue>(new Gallon(1m));
Assert.Equal(new Gallon(1m).GetHashCode(), 1m.GetHashCo... | BeerMath/BeerMath.Net | src/Tests/BaseClassTest.cs | https://github.com/BeerMath/BeerMath.Net/blob/HEAD/src/Tests/BaseClassTest.cs | ghcode:00174:ec4c6dba3ed5 | mit | codeparrot/github-code | ec4c6dba3ed5100b79ca321fe5986800d50178e08fbc2097851efe3ce595c883 | 0.85 | testing_debugging_repair_refactoring | 140 | false | 2026-07-17 |
#region Licence
/* The MIT License (MIT)
Copyright © 2014 Ian Cooper <ian_hammond_cooper@yahoo.co.uk>
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 limita... | BrighterCommand/Brighter | tests/Paramore.Brighter.RMQ.Tests/MessageDispatch/When_building_a_dispatcher.cs | https://github.com/BrighterCommand/Brighter/blob/HEAD/tests/Paramore.Brighter.RMQ.Tests/MessageDispatch/When_building_a_dispatcher.cs | ghcode:00174:b988151fb37a | mit | codeparrot/github-code | b988151fb37a00532cd5d64405a9bcbaa52d132953aa0f79d756b070382bbc3a | 0.85 | testing_debugging_repair_refactoring | 965 | false | 2026-07-17 |
using System;
using Wilcommerce.Auth.Commands.User;
using Xunit;
namespace Wilcommerce.Auth.Test.Commands.User
{
public class DisableUserCommandTest
{
[Fact]
public void DisableUserCommand_Ctor_Should_Set_Arguments_Correctly()
{
Guid userId = Guid.NewGuid();
var... | wilcommerce/Wilcommerce.Auth | Wilcommerce.Auth.Test/Commands/User/DisableUserCommandTest.cs | https://github.com/wilcommerce/Wilcommerce.Auth/blob/HEAD/Wilcommerce.Auth.Test/Commands/User/DisableUserCommandTest.cs | ghcode:00174:2a4d11ebebed | mit | codeparrot/github-code | 2a4d11ebebed1727e021e859d818229f4cf715a3fb0dbedfa8b07b8b33f308b8 | 0.6 | testing_debugging_repair_refactoring | 85 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
using NUnit.TestData;
using NUnit.TestUtilities;
namespace NUnit.Framework
{
public static class ExecutionContextTests
{
[Test]
public static void ExecutionContextIsNotSharedBetweenTestCases()
{
... | nunit/nunit | src/NUnitFramework/tests/ExecutionContextTests.cs | https://github.com/nunit/nunit/blob/HEAD/src/NUnitFramework/tests/ExecutionContextTests.cs | ghcode:00174:dfa3ced452ad | mit | codeparrot/github-code | dfa3ced452ad357a82a2ba6888ec321ee0d9c8fb46110f46dbbde2b0d703d61b | 0.85 | testing_debugging_repair_refactoring | 249 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2014 Charlie Poole, Rob Prouse
//
// 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 restri... | jadarnel27/nunit | src/NUnitFramework/framework/Internal/TestExecutionContext.cs | https://github.com/jadarnel27/nunit/blob/HEAD/src/NUnitFramework/framework/Internal/TestExecutionContext.cs | ghcode:00174:cdd91a8a5371 | mit | codeparrot/github-code | cdd91a8a5371fd3b04c2f7cad5a5c1b34f1c93513e38f8447625b2aa5d486ef3 | 0.85 | testing_debugging_repair_refactoring | 3,747 | 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... | joshball/Lucene.In.Action.NET | vendor/lucene.net/test/core/Index/TestLazyProxSkipping.cs | https://github.com/joshball/Lucene.In.Action.NET/blob/HEAD/vendor/lucene.net/test/core/Index/TestLazyProxSkipping.cs | ghcode:00174:09212f74802b | mit | codeparrot/github-code | 09212f74802b7d4d61899313ec6878f80d0c1ff9f296d2b1370a612d428ba535 | 0.95 | testing_debugging_repair_refactoring | 1,736 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PivotalTracker.FluentAPI.Domain;
using PivotalTracker.FluentAPI.Service;
namespace PivotalTracker.FluentAPI.Tests
{
[TestClass]
public class IterationRepositoryTests
{
[TestMethod]
public void GetIterationsT... | powerinbox/PivotalTracker.FluentAPI | PivotalTracker.FluentAPI.Tests/IterationRepositoryTests.cs | https://github.com/powerinbox/PivotalTracker.FluentAPI/blob/HEAD/PivotalTracker.FluentAPI.Tests/IterationRepositoryTests.cs | ghcode:00174:f39337baaaaa | mit | codeparrot/github-code | f39337baaaaa9063f9511d911ecd1a1dc3de64cff78fa3288f3a81d87787b7cd | 0.75 | testing_debugging_repair_refactoring | 133 | false | 2026-07-17 |
using ClosedXML.Excel;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ClosedXML_Tests.Excel.Ranges
{
[TestFixture]
public class UsedAndUnusedCellsTests
{
private XLWorkbook workbook;
[OneTimeSetUp]
public void... | vbjay/ClosedXML | ClosedXML_Tests/Excel/Ranges/UsedAndUnusedCellsTests.cs | https://github.com/vbjay/ClosedXML/blob/HEAD/ClosedXML_Tests/Excel/Ranges/UsedAndUnusedCellsTests.cs | ghcode:00174:857994cc4999 | mit | codeparrot/github-code | 857994cc499900181e1f3338c977277dc5cbf69a946b73005bee4e63edfce066 | 0.85 | testing_debugging_repair_refactoring | 801 | 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.Buffers;
using System.Buffers.Text;
using Xunit;
namespace System.Text.Primitives.Tests.Encoding
{
... | VSadov/corefxlab | tests/System.Text.Primitives.Tests/Encoding/Utf8EncoderTests.cs | https://github.com/VSadov/corefxlab/blob/HEAD/tests/System.Text.Primitives.Tests/Encoding/Utf8EncoderTests.cs | ghcode:00174:253705e7c588 | mit | codeparrot/github-code | 253705e7c588b904667fb5d8d7831c38a16da0f9ab5ee955cb18d26ef07a399c | 0.85 | testing_debugging_repair_refactoring | 3,575 | false | 2026-07-17 |
// <copyright file="ValidationTablePreActionFixture.cs">
// Copyright © 2013 Dan Piessens All rights reserved.
// </copyright>
namespace SpecBind.Tests.Validation
{
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
... | Nels-P-Olsen/specbind | src/SpecBind.Tests/Validation/ValidationTablePreActionFixture.cs | https://github.com/Nels-P-Olsen/specbind/blob/HEAD/src/SpecBind.Tests/Validation/ValidationTablePreActionFixture.cs | ghcode:00174:5afc19bc9b36 | mit | codeparrot/github-code | 5afc19bc9b364d868ba00f140dad9a2bedf5ff05ed21015162ec8e13a937bc96 | 0.7 | testing_debugging_repair_refactoring | 965 | false | 2026-07-17 |
using System.Data;
using NUnit.Framework;
using System.Threading.Tasks;
namespace SequelocityDotNet.Tests.SqlServer.DatabaseCommandExtensionsTests
{
[TestFixture]
public class ExecuteToDynamicObjectAsyncTests
{
public class SuperHero
{
public long SuperHeroId;
public... | AmbitEnergyLabs/Sequelocity.NET | src/SequelocityDotNet.Tests.SqlServer/DatabaseCommandExtensionsTests/ExecuteToDynamicObjectAsyncTests.cs | https://github.com/AmbitEnergyLabs/Sequelocity.NET/blob/HEAD/src/SequelocityDotNet.Tests.SqlServer/DatabaseCommandExtensionsTests/ExecuteToDynamicObjectAsyncTests.cs | ghcode:00174:26891d29a41c | mit | codeparrot/github-code | 26891d29a41c696b83e8b14b3257e2528a9ae79bef8be62695b960b4e775963d | 0.85 | testing_debugging_repair_refactoring | 1,113 | false | 2026-07-17 |
using System;
using Codefire.Vent.Models;
using Codefire.Vent.Serializers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Codefire.Vent.Tests
{
[TestClass]
public class MessagePackSerializerTest
{
[TestMethod]
public void TestSerialize()
{
var msg = new V... | codefire-sa/Vent | Codefire.Vent.Tests/MessagePackSerializerTest.cs | https://github.com/codefire-sa/Vent/blob/HEAD/Codefire.Vent.Tests/MessagePackSerializerTest.cs | ghcode:00174:d9a8ac078397 | mit | codeparrot/github-code | d9a8ac0783977c37bf00e20437819dff0f7617394ae23d03f491f3a3c1674e88 | 0.6 | testing_debugging_repair_refactoring | 124 | false | 2026-07-17 |
using System;
namespace Tests
{
public static class TestProvName
{
public const string SqlAzure = "SqlAzure.2012";
public const string MariaDB = "MariaDB";
public const string MySql57 = "MySql57";
public const string SQLiteMs = "SQLiteMs";
}
}
| AK107/linq2db | Tests/Linq/TestProvName.cs | https://github.com/AK107/linq2db/blob/HEAD/Tests/Linq/TestProvName.cs | ghcode:00174:10c5e356407f | mit | codeparrot/github-code | 10c5e356407f0d3b8368b7769a3f9585d8d92bff8d66fc77076490a2e880f0d4 | 0.75 | testing_debugging_repair_refactoring | 73 | false | 2026-07-17 |
using System;
using System.Linq;
using Xunit;
namespace OpenTrack.Tests
{
public class GetOpcodes
{
[Fact]
public void Test_Get_Op_Codes()
{
var api = Credentials.GetAPI();
var result = api.GetOpcodes(new Requests.ServiceLaborOpcodesTableRequest(Credentials.Ent... | tmonck/OpenTrack.NET | OpenTrack.Tests/GetOpcodes.cs | https://github.com/tmonck/OpenTrack.NET/blob/HEAD/OpenTrack.Tests/GetOpcodes.cs | ghcode:00174:ee72e6c72ad9 | mit | codeparrot/github-code | ee72e6c72ad979a99bc65afa63ada672f46714d920122612727bf62017d1f8d5 | 0.6 | testing_debugging_repair_refactoring | 108 | false | 2026-07-17 |
using Microsoft.AspNetCore.Identity;
using Moq;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using Wilcommerce.Auth.Commands.User.Handlers;
using Wilcommerce.Core.Infrastructure;
using Xunit;
using System.Threading.Tasks;
using Wilcommerce.Auth.Commands.User;
using Microso... | wilcommerce/Wilcommerce.Auth | Wilcommerce.Auth.Test/Commands/User/Handlers/ResetPasswordCommandHandlerTest.cs | https://github.com/wilcommerce/Wilcommerce.Auth/blob/HEAD/Wilcommerce.Auth.Test/Commands/User/Handlers/ResetPasswordCommandHandlerTest.cs | ghcode:00174:4912051ada74 | mit | codeparrot/github-code | 4912051ada746489a8f5263792636e870953605336b37115ce2a1788c188d659 | 0.6 | testing_debugging_repair_refactoring | 1,357 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Nito.AsyncEx;
using NUnit.Framework;
using SJP.Schematic.Core;
using SJP.Schematic.Core.Comments;
using SJP.Schematic.Core.Extensions;
using SJP.Schematic.PostgreSql.Comments;
using SJP.Schema... | sjp/Schematic | src/SJP.Schematic.PostgreSql.Tests/Integration/Comments/PostgreSqlSequenceCommentProviderTests.cs | https://github.com/sjp/Schematic/blob/HEAD/src/SJP.Schematic.PostgreSql.Tests/Integration/Comments/PostgreSqlSequenceCommentProviderTests.cs | ghcode:00174:710c1a6921ce | mit | codeparrot/github-code | 710c1a6921ce1266fd85cfcdcff4a0ace890762e97eece2e353354549a286e39 | 0.75 | testing_debugging_repair_refactoring | 1,743 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using ReMi.Commands.DeploymentTool;
using ReMi.CommandValidators.DeploymentTool;
using ReMi.TestUtils.UnitTests;
namespace ReMi.CommandValidators.Tests.DeploymentTool
{
public class RePopulateDeploymentMeasurementsCommandValidatorTests : TestClassFor<RePopulateDeploymentMeasure... | wongatech/remi | ReMi.Api/Tests/ReMi.CommandValidators.Tests/DeploymentTool/RePopulateDeploymentMeasurementsCommandValidatorTests.cs | https://github.com/wongatech/remi/blob/HEAD/ReMi.Api/Tests/ReMi.CommandValidators.Tests/DeploymentTool/RePopulateDeploymentMeasurementsCommandValidatorTests.cs | ghcode:00174:4e9cb7881d72 | mit | codeparrot/github-code | 4e9cb7881d722944de02e610bda2d5d1a85b48aff53ae8acdad1618ad0211f56 | 0.85 | testing_debugging_repair_refactoring | 263 | false | 2026-07-17 |
using System;
using System.Threading;
using System.Threading.Tasks;
using NBitcoin;
using Stratis.Bitcoin.Features.SmartContracts;
using Stratis.Bitcoin.Features.SmartContracts.Models;
using Stratis.Bitcoin.Features.SmartContracts.ReflectionExecutor.Consensus.Rules;
using Stratis.Bitcoin.Features.Wallet.Interfaces;
us... | Neurosploit/StratisBitcoinFullNode | src/Stratis.SmartContracts.IntegrationTests/SignedContractTests.cs | https://github.com/Neurosploit/StratisBitcoinFullNode/blob/HEAD/src/Stratis.SmartContracts.IntegrationTests/SignedContractTests.cs | ghcode:00174:a37daad7ebdd | mit | codeparrot/github-code | a37daad7ebdd2e57f2cd06b995230062d2eb586236cc67536627e349808bfb35 | 0.85 | testing_debugging_repair_refactoring | 1,924 | false | 2026-07-17 |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.IO.Abstractions.TestingHelpers;
using System.Linq;
using System.Text.RegularExpressions;
using Mono.Cecil;
using NSubstitute;
using NUnit.Framework;
using ReferenceChecker.Gac;
namespace ReferenceChecker... | BenPhegan/ReferenceChecker | ReferenceChecker.Tests/AssemblyReferenceGrapherTests.cs | https://github.com/BenPhegan/ReferenceChecker/blob/HEAD/ReferenceChecker.Tests/AssemblyReferenceGrapherTests.cs | ghcode:00174:98de4a6bd51c | mit | codeparrot/github-code | 98de4a6bd51cb7e68bbe6039b1adf1a7f48032e911d99eab99d2effb2758e491 | 0.75 | testing_debugging_repair_refactoring | 2,128 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Win32;
using NUnit.Framework;
using Andersc.CodeLib.Common;
namespace Andersc.CodeLib.Tester.Common
{
[TestFixture]
public class TestRegistryHelper
{
[Test]
public void TestSetRegistryKe... | anderscui/cslib | Andersc.CodeLib.Test/Common/TestRegistryHelper.cs | https://github.com/anderscui/cslib/blob/HEAD/Andersc.CodeLib.Test/Common/TestRegistryHelper.cs | ghcode:00174:cf18c9beb97d | mit | codeparrot/github-code | cf18c9beb97d69f8a5b4ae0c936fc0e4c7483edda4f13c58917c638bf955c603 | 0.85 | testing_debugging_repair_refactoring | 125 | false | 2026-07-17 |
using BenchmarkDotNet.Attributes;
using Moq;
using SolrExpress.Benchmarks.Helper;
using SolrExpress.Core.Search;
using SolrExpress.Solr4.Search;
using System.Collections.Generic;
namespace SolrExpress.Benchmarks.Solr4.Search
{
public class ParameterContainerBenchmarks
{
private ISearchParameterCollect... | ca0abinary/solr-express | benchmarks/SolrExpress.Solr4.Benchmarks/Search/ParameterContainerBenchmarks.cs | https://github.com/ca0abinary/solr-express/blob/HEAD/benchmarks/SolrExpress.Solr4.Benchmarks/Search/ParameterContainerBenchmarks.cs | ghcode:00174:b0c60a97a90b | mit | codeparrot/github-code | b0c60a97a90baa55891e0b3c017ab29f0cc9c52ee2b20e1b7bb59e7cb9e603c6 | 0.75 | testing_debugging_repair_refactoring | 285 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RiotSharp;
using RiotSharp.Misc;
namespace RiotSharp.Test.EndpointTests
{
[TestClass]
public class StatusEndpointTests : CommonTestBase
{
private static readonly RiotApi Api = RiotApi.GetDevelopmentInstance(ApiKey);
[TestMethod]
... | BenFradet/RiotSharp | RiotSharp.Test/EndpointTests/StatusEndpointTests.cs | https://github.com/BenFradet/RiotSharp/blob/HEAD/RiotSharp.Test/EndpointTests/StatusEndpointTests.cs | ghcode:00174:92b404de5e2b | mit | codeparrot/github-code | 92b404de5e2b6ed8dc12c284868a79c7fadfa1976d99faaaf6cf51db473681b8 | 0.75 | testing_debugging_repair_refactoring | 159 | false | 2026-07-17 |
using AutoMapper;
using FizzWare.NBuilder;
using NUnit.Framework;
using ReMi.BusinessEntities.Auth;
using ReMi.BusinessEntities.BusinessRules;
using ReMi.BusinessEntities.DeploymentTool;
using ReMi.BusinessEntities.ProductRequests;
using ReMi.BusinessEntities.Products;
using ReMi.BusinessEntities.ReleasePlan;
using ReM... | wongatech/remi | ReMi.Api/Tests/ReMi.DataAccess.Tests/AutoMapper/BusinessEntityToDataEntityMappingProfileTests.cs | https://github.com/wongatech/remi/blob/HEAD/ReMi.Api/Tests/ReMi.DataAccess.Tests/AutoMapper/BusinessEntityToDataEntityMappingProfileTests.cs | ghcode:00174:a06f4424388a | mit | codeparrot/github-code | a06f4424388aca3b2d0d7ff3f6bdd376619a31587b0897bce5abff99da9b9587 | 0.85 | testing_debugging_repair_refactoring | 2,444 | false | 2026-07-17 |
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Running;
using System.IO;
using System.Reflection;
namespace dotnet_ildasm.Benchmarks
{
class Program
{
static void Main(string[] args)
{
BenchmarkRunner.Run<AutoIndentationOverhead>();
}
}
} | pjbgf/dotnet-ildasm | src/dotnet-ildasm.Benchmarks/Program.cs | https://github.com/pjbgf/dotnet-ildasm/blob/HEAD/src/dotnet-ildasm.Benchmarks/Program.cs | ghcode:00174:e8a0ae761d50 | mit | codeparrot/github-code | e8a0ae761d5029abdfba27232527d3c5cb9c8f6b4a691eb0ff00b43e12549167 | 0.6 | testing_debugging_repair_refactoring | 65 | false | 2026-07-17 |
namespace PersonAndAgeAndShit
{
using System;
class Test
{
static void Main(string[] args)
{
}
}
}
| dirk-dagger-667/telerik-c--OOP-lectures | CTS/PersonAndAgeAndShit/Test.cs | https://github.com/dirk-dagger-667/telerik-c--OOP-lectures/blob/HEAD/CTS/PersonAndAgeAndShit/Test.cs | ghcode:00174:f9dcd5add509 | mit | codeparrot/github-code | f9dcd5add50955b5e7d1f09b692c03a97130dc732f243c942dafd19d37c1f91f | 0.5 | testing_debugging_repair_refactoring | 34 | false | 2026-07-17 |
using FluentAssertions;
using Kekiri.Config;
using Kekiri.TestSupport.Scenarios.Reporting;
namespace Kekiri.UnitTests.Reporting
{
[Scenario("Scenario specified")]
class When_generating_report_with_scenario_specified : ReportingScenarioTest
{
[Given]
public void Given()
{
... | andyalm/Kekiri | src/Tests/UnitTests/Reporting/When_generating_report_with_scenario_specified.cs | https://github.com/andyalm/Kekiri/blob/HEAD/src/Tests/UnitTests/Reporting/When_generating_report_with_scenario_specified.cs | ghcode:00174:3a81b0181a26 | mit | codeparrot/github-code | 3a81b0181a26aa742ea54553c7ce571301dfb496abc2e7716dbc9a2262659908 | 0.85 | testing_debugging_repair_refactoring | 209 | false | 2026-07-17 |
namespace Jwc.CIBuild
{
using Xunit;
public class TaskLoggerTest : TestBaseClass
{
[Test]
public void SutIsTaskLogger(TaskLogger sut)
{
Assert.IsAssignableFrom<ITaskLogger>(sut);
}
}
} | jwChung/CIBuild | test/CIBuildTasks.UnitTest/TaskLoggerTest.cs | https://github.com/jwChung/CIBuild/blob/HEAD/test/CIBuildTasks.UnitTest/TaskLoggerTest.cs | ghcode:00174:64e2e6dd9fc4 | mit | codeparrot/github-code | 64e2e6dd9fc40bcb60db954c13fbd34918dea0db9c248e344b30bca715bce61b | 0.6 | testing_debugging_repair_refactoring | 59 | false | 2026-07-17 |
using Advobot.Gacha.Database;
using Advobot.Gacha.Models;
using Advobot.Gacha.TypeReaders;
using Advobot.Gacha.Utilities;
using Advobot.Tests.TestBases;
using AdvorangesUtils;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Advobot.Tests.Commands.Gacha.T... | advorange/Advobot | tests/Advobot.Tests/Commands/Gacha/TypeReaders/SourceTypeReader_Tests.cs | https://github.com/advorange/Advobot/blob/HEAD/tests/Advobot.Tests/Commands/Gacha/TypeReaders/SourceTypeReader_Tests.cs | ghcode:00174:e527862f48a2 | mit | codeparrot/github-code | e527862f48a2cb7741789e13a0e3fe5b021a28e9471eaea70c905c12f1033b02 | 0.75 | testing_debugging_repair_refactoring | 338 | false | 2026-07-17 |
using System;
using Xunit;
namespace Super.Extensions.Tests
{
public class IntExtensionsTests
{
#region Math
[InlineData(-100, -100)]
[InlineData(-1, -1)]
[InlineData(0, 0)]
[InlineData(1, 1)]
[InlineData(100, 100)]
[Trait("int", "Pow")]
[Theory... | TanielianVB/Super.Extensions | test/Super.Extensions.Tests/Int.cs | https://github.com/TanielianVB/Super.Extensions/blob/HEAD/test/Super.Extensions.Tests/Int.cs | ghcode:00174:db8984cb96cc | mit | codeparrot/github-code | db8984cb96ccbf3e0af4232b2e48f9b14e770b3d1dd286bc5335d70d1d37f19e | 0.6 | testing_debugging_repair_refactoring | 1,735 | 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;
using System.IO;
using System.Linq;
using Microsoft.Diagnostics.Runtime.Utilities;
using Xunit;
name... | Microsoft/clrmd | src/Microsoft.Diagnostics.Runtime.Tests/src/PEImagePdbTests.cs | https://github.com/Microsoft/clrmd/blob/HEAD/src/Microsoft.Diagnostics.Runtime.Tests/src/PEImagePdbTests.cs | ghcode:00174:113d815bc10e | mit | codeparrot/github-code | 113d815bc10e8b0cf6d41196711708c5b9527e6fb205dab12b5102f6cae5bf1b | 0.95 | testing_debugging_repair_refactoring | 380 | false | 2026-07-17 |
// ReSharper disable All
using System;
using System.Diagnostics;
using System.Linq;
using Frapid.ApplicationState.Models;
using Frapid.Account.Api.Fakes;
using Xunit;
namespace Frapid.Account.Api.Tests
{
public class CanRegisterWithFacebookTests
{
public static CanRegisterWithFacebookController Fixture... | mixerp4/frapid | src/Frapid.Web/Areas/Frapid.Account/WebAPI/Tests/CanRegisterWithFacebookTests.cs | https://github.com/mixerp4/frapid/blob/HEAD/src/Frapid.Web/Areas/Frapid.Account/WebAPI/Tests/CanRegisterWithFacebookTests.cs | ghcode:00174:bb80c70805d3 | mit | codeparrot/github-code | bb80c70805d3aad1492c54ea8c4cd8b95d4c63cbcb818e858a91e2c18fdc3568 | 0.85 | testing_debugging_repair_refactoring | 137 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace RevolutionaryStuff.ETL.Tests
{
[TestClass]
public class SpreadsheetHelpersTests
{
[TestMethod]
public void CreateStringTableEmpty()
{
}
}
}
| jbt00000/RevolutionaryStuff | tests/RevolutionaryStuff.ETL.Tests/SpreadsheetHelpersTests.cs | https://github.com/jbt00000/RevolutionaryStuff/blob/HEAD/tests/RevolutionaryStuff.ETL.Tests/SpreadsheetHelpersTests.cs | ghcode:00174:09d6fb6fee37 | mit | codeparrot/github-code | 09d6fb6fee3725042579ee02b454be2e034906b44b29aa41140b2f6bee051f55 | 0.75 | testing_debugging_repair_refactoring | 47 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using DevTyr.Gullap;
namespace DevTyr.Gullap.Tests.With_Guard.For_NotNullOrEmpty
{
[TestFixture]
public class When_argument_is_null
{
[Test]
public void Should_throw_argumentnullexception ()
{
Assert.Throws<ArgumentNullException> (() => Guard.NotNullOrEmpty (null, null... | devtyr/gullap | DevTyr.Gullap.Tests/With_Guard/For_NotNullOrEmpty/When_argument_is_null.cs | https://github.com/devtyr/gullap/blob/HEAD/DevTyr.Gullap.Tests/With_Guard/For_NotNullOrEmpty/When_argument_is_null.cs | ghcode:00174:057ae6925326 | mit | codeparrot/github-code | 057ae69253266d2687db3026425291dd4da0f6213b46c2b90df6d7bb2b26fa00 | 0.6 | testing_debugging_repair_refactoring | 142 | false | 2026-07-17 |
using NDifference.TypeSystem;
using Xunit;
namespace NDifference.UnitTests
{
public class PropertyDeclarationFacts
{
[Fact]
public void PropertyDeclaration_ToString_Is_Code_Formatted_On_Single_Line()
{
var pd = new PropertyDeclaration
{
Name = "Age",
Type = new FullyQualifiedName("System.Int32")... | deejaygraham/ndifference | tests/UnitTests/PropertyDeclarationFacts.cs | https://github.com/deejaygraham/ndifference/blob/HEAD/tests/UnitTests/PropertyDeclarationFacts.cs | ghcode:00174:1eb6476e0b81 | mit | codeparrot/github-code | 1eb6476e0b8163bd2cdc99b78b0448c0012707ae1fd86cc0212328ae85f9cdaf | 0.6 | testing_debugging_repair_refactoring | 119 | false | 2026-07-17 |
using Contoso.Abstract;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Abstract.AbstractTests.ServiceLog;
using System.IO;
namespace System.Abstract.Tests.ServiceLog.Integration
{
[TestClass]
public class StreamServiceLogTest : AbstractServiceLogTest
{
public StreamServ... | BclEx/System.Abstract | src/System.Abstract.Tests/ServiceLog/Integration/StreamServiceLogTest.cs | https://github.com/BclEx/System.Abstract/blob/HEAD/src/System.Abstract.Tests/ServiceLog/Integration/StreamServiceLogTest.cs | ghcode:00174:514c073b1750 | mit | codeparrot/github-code | 514c073b1750c7ce7ac45956465239752e9bf45da9f4f8ce026eba6dd155124d | 0.6 | testing_debugging_repair_refactoring | 100 | false | 2026-07-17 |
using NUnit.Framework;
using TravelGuide.Data;
namespace TravelGuide.Tests.Data.TravelGuideContextTests
{
[TestFixture]
public class Create_Should
{
[Test]
public void ReturnCorrectInstance_WhenMethodIsCalled()
{
// Arrange & Act
var context = TravelGuideCon... | dimitar-pechev/TravelGuideOnSteroids | TravelGuide.Tests/Data/TravelGuideContextTests/Create_Should.cs | https://github.com/dimitar-pechev/TravelGuideOnSteroids/blob/HEAD/TravelGuide.Tests/Data/TravelGuideContextTests/Create_Should.cs | ghcode:00174:02e4b04168b7 | mit | codeparrot/github-code | 02e4b04168b77a7dcd249ad2b42d78cd56cc0e4a4baf14a3360776ab279f1226 | 0.6 | testing_debugging_repair_refactoring | 87 | 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/Path Class/Path.IsPathRooted/Path.IsPathRooted_NullOrEmpty.cs | https://github.com/alphaleonis/AlphaFS/blob/HEAD/tests/AlphaFS.UnitTest/Path Class/Path.IsPathRooted/Path.IsPathRooted_NullOrEmpty.cs | ghcode:00174:94bdded84ea9 | mit | codeparrot/github-code | 94bdded84ea947702fff52a372b80860dfa9ab6d344e961d5648bc6e10a80a89 | 0.7 | testing_debugging_repair_refactoring | 418 | false | 2026-07-17 |
#region License
// Copyright (c) 2007 James Newton-King
//
// 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 use,
//... | rcsir/RuNetImporter | RuNetImporter/Json.NET/Source/Src/Newtonsoft.Json.Tests/Linq/JTokenReaderTest.cs | https://github.com/rcsir/RuNetImporter/blob/HEAD/RuNetImporter/Json.NET/Source/Src/Newtonsoft.Json.Tests/Linq/JTokenReaderTest.cs | ghcode:00174:4c506d3afcb9 | unlicense | codeparrot/github-code | 4c506d3afcb90bcdde9b70309376b1d6ccd423e59bc90b4685824f3030313139 | 0.88 | testing_debugging_repair_refactoring | 4,193 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ThisToThat;
namespace ThisToThatTests
{
[TestClass]
public class ToInt32Tests
{
/*
SByte to Int32: Test omitted
There is a predefined implicit conversion from SByte to Int32
*/
/*
B... | DanMcCoy/.NetThisToThat | ThisToThat/ThisToThatTests/ToInt32Tests.cs | https://github.com/DanMcCoy/.NetThisToThat/blob/HEAD/ThisToThat/ThisToThatTests/ToInt32Tests.cs | ghcode:00174:1f3cf9e7500f | unlicense | codeparrot/github-code | 1f3cf9e7500f1c526ebf8f14b6b35b22945e8579597dbdfe990f9fb03e75b83a | 0.78 | testing_debugging_repair_refactoring | 2,802 | false | 2026-07-17 |
using System.Linq;
namespace InstallationValidator
{
/// <summary>
/// Contains the different statuses possible for a test.
/// </summary>
public enum TestStatus : byte
{
/// <summary>
/// The test has yet to be run.
/// </summary>
NotTested,
/// <summary>
... | LAGIdiot/NetGore | Tools/InstallationValidator/TestStatus.cs | https://github.com/LAGIdiot/NetGore/blob/HEAD/Tools/InstallationValidator/TestStatus.cs | ghcode:00174:23c4b0a617aa | unlicense | codeparrot/github-code | 23c4b0a617aa9cda3be5d91f4848cb2e55a135a4c25847eac559f087756e5bbb | 0.78 | testing_debugging_repair_refactoring | 106 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen
{
... | aelij/roslyn | src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenUsingDeclarationTests.cs | https://github.com/aelij/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenUsingDeclarationTests.cs | ghcode:00174:6b9189683c13 | apache-2.0 | codeparrot/github-code | 6b9189683c131591fb3d7d973f61abfccb3ef6acb3e0e370455d061bacbd7cf8 | 0.95 | testing_debugging_repair_refactoring | 10,045 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using UnicornHack.Generation;
using UnicornHack.Primitives;
using UnicornHack.Systems.Actors;
using UnicornHack.Systems.Beings;
using ... | AndriySvyryd/UnicornHack | src/UnicornHack.Core/Systems/Abilities/AbilityActivationSystem.cs | https://github.com/AndriySvyryd/UnicornHack/blob/HEAD/src/UnicornHack.Core/Systems/Abilities/AbilityActivationSystem.cs | ghcode:00174:6f5f45d10a21 | apache-2.0 | codeparrot/github-code | 6f5f45d10a2193ba557f0629eb77e3429a59fe1042399aa38e5e878b467996fe | 0.85 | testing_debugging_repair_refactoring | 9,127 | false | 2026-07-17 |
// Copyright 2020 The Tilt Brush 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 or a... | googlevr/tilt-brush | Assets/Scripts/Brushes/GeometryBrush.cs | https://github.com/googlevr/tilt-brush/blob/HEAD/Assets/Scripts/Brushes/GeometryBrush.cs | ghcode:00174:badb46df0502 | apache-2.0 | codeparrot/github-code | badb46df0502b8b48667b064e04549487fed52d8f923bb4e33c4e0e8b2cd2e9a | 0.85 | testing_debugging_repair_refactoring | 5,592 | false | 2026-07-17 |
namespace Climbing.Web.Tests.Unit
{
using System;
using Climbing.Web.Utilities;
using Xunit;
public class GuardTests
{
[Theory]
[AutoMoqData]
public void ShouldPass(string value)
{
// Act
Guard.NotNull(value, nameof(value));
Guard... | ivankaurov/ClimbingCompetitionWeb | WebClimbingNew/Tests.Unit/GuardTests.cs | https://github.com/ivankaurov/ClimbingCompetitionWeb/blob/HEAD/WebClimbingNew/Tests.Unit/GuardTests.cs | ghcode:00174:a5341b0b0be4 | apache-2.0 | codeparrot/github-code | a5341b0b0be44132b483e7b04505cc0161cd8144c14208795e8805e321153d95 | 0.85 | testing_debugging_repair_refactoring | 370 | false | 2026-07-17 |
/* Copyright 2010-2014 MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... | antonnik/code-classifier | naive_bayes/resources/c#/DatabaseStatsResultTests.cs | https://github.com/antonnik/code-classifier/blob/HEAD/naive_bayes/resources/c#/DatabaseStatsResultTests.cs | ghcode:00174:99e9dc8a21bd | apache-2.0 | codeparrot/github-code | 99e9dc8a21bda2e2e5fcd5ae2cdec3207cd21b8ad23bc7b4c48b8fd34153e226 | 0.85 | testing_debugging_repair_refactoring | 417 | false | 2026-07-17 |
#region Copyright 2011-2014 by Roger Knapp, Licensed under the Apache License, Version 2.0
/* 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.... | Alachisoft/NosDB | Src/3rd Party/CSharpTest.Net.Collections/src/CSharpTest.Net.CollectionsTest/LockingTests/TestReservedWriteLocking.cs | https://github.com/Alachisoft/NosDB/blob/HEAD/Src/3rd Party/CSharpTest.Net.Collections/src/CSharpTest.Net.CollectionsTest/LockingTests/TestReservedWriteLocking.cs | ghcode:00174:8fa561b1ccc7 | apache-2.0 | codeparrot/github-code | 8fa561b1ccc70ca13e1cba88eb3e0068de9ceea1abc14741cb49aef2912fba7f | 0.95 | testing_debugging_repair_refactoring | 410 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Support.UI;
namespace Sel4Training
{
public class Cart
{
IWebDriver driver;
private WebDriverWait wait;
string mainPageUrl = "http://localhost/litecart/";
[SetUp]
... | mgprojects/sel-4 | Sel4Training/Task13.cs | https://github.com/mgprojects/sel-4/blob/HEAD/Sel4Training/Task13.cs | ghcode:00174:de179ed38918 | apache-2.0 | codeparrot/github-code | de179ed38918406ef8c4ce8b19e23a4ce47edfda6543e510b3fd0988a3631ae4 | 0.7 | testing_debugging_repair_refactoring | 497 | false | 2026-07-17 |
// Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// 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
//... | alanch-ms/PTVS | Python/Tests/IronPython/ReplEvaluatorTests.cs | https://github.com/alanch-ms/PTVS/blob/HEAD/Python/Tests/IronPython/ReplEvaluatorTests.cs | ghcode:00174:b204e92a14c9 | apache-2.0 | codeparrot/github-code | b204e92a14c9900c91db9333f8a82af6081b6f7862474a255a3d31517abbda05 | 0.95 | testing_debugging_repair_refactoring | 1,989 | false | 2026-07-17 |
/* Copyright 2010-2014 MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... | antonnik/code-classifier | naive_bayes/resources/c#/CSharp840Tests.cs | https://github.com/antonnik/code-classifier/blob/HEAD/naive_bayes/resources/c#/CSharp840Tests.cs | ghcode:00174:7047cafda15c | apache-2.0 | codeparrot/github-code | 7047cafda15cf26112b83cabc2ab18141d4e37fb81203a92b5c29978ead592c4 | 0.75 | testing_debugging_repair_refactoring | 468 | 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.Symbols;
using Mic... | DinoV/roslyn | src/Compilers/CSharp/Test/Semantic/Semantics/OperatorTests.cs | https://github.com/DinoV/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/Semantics/OperatorTests.cs | ghcode:00174:d7210eb907c5 | apache-2.0 | codeparrot/github-code | d7210eb907c5f40a760e9f00d0fcab771773096c5dcdc2d09263520ccda3f150 | 0.75 | testing_debugging_repair_refactoring | 79,724 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PiCross;
using DataStructures;
using System.Linq;
namespace PiCross.Tests
{
[TestClass]
public class PlayGridTests : TestBase
{
[TestMethod]
[TestCategory( "PlayGrid" )]
[Description( "All squares are set to Sq... | Qrivi/WPF-PiCross | Tests/PlayGridTests.cs | https://github.com/Qrivi/WPF-PiCross/blob/HEAD/Tests/PlayGridTests.cs | ghcode:00174:fafd93e3e041 | apache-2.0 | codeparrot/github-code | fafd93e3e0411f52c8167852be16086013476d4019fe7ccc75197a7913e0d29c | 0.75 | testing_debugging_repair_refactoring | 1,246 | false | 2026-07-17 |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Testing : MonoBehaviour {
public Vector2 ballForce;
public float upForce;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update ()
{
// Ball
... | DaffyNinja/Long-Arm-Basketball | Long Arm Basketball/Assets/Scripts/Testing.cs | https://github.com/DaffyNinja/Long-Arm-Basketball/blob/HEAD/Long Arm Basketball/Assets/Scripts/Testing.cs | ghcode:00174:b37a417527fa | apache-2.0 | codeparrot/github-code | b37a417527fa0428b2eecc88b62b664afa29c744104735cb90983f26629d0d10 | 0.85 | testing_debugging_repair_refactoring | 136 | false | 2026-07-17 |
//* Bobo Browse Engine - High performance faceted/parametric search implementation
//* that handles various types of semi-structured data. Originally written in Java.
//*
//* Ported and adapted for C# by Shad Storhaug.
//*
//* Copyright (C) 2005-2015 John Wang
//*
//* Licensed under the Apache License, Version 2.0 ... | NightOwl888/BoboBrowse.Net | src/BoboBrowse.Net/BoboBrowse.Net.Tests/FacetHandlerTest.cs | https://github.com/NightOwl888/BoboBrowse.Net/blob/HEAD/src/BoboBrowse.Net/BoboBrowse.Net.Tests/FacetHandlerTest.cs | ghcode:00174:bb15a8ea407f | apache-2.0 | codeparrot/github-code | bb15a8ea407f6ffc11781eaf65f6df372eec0b13dc60e8f69b171ef63204efcd | 0.85 | testing_debugging_repair_refactoring | 1,653 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Xunit;
namespace Tests.Cluster.NodesStats
{
[Collection(IntegrationContext.ReadOnly)]
public c... | jonyadamit/elasticsearch-net | src/Tests/Cluster/NodesStats/NodesStatsApiTests.cs | https://github.com/jonyadamit/elasticsearch-net/blob/HEAD/src/Tests/Cluster/NodesStats/NodesStatsApiTests.cs | ghcode:00174:e2b060fd8617 | apache-2.0 | codeparrot/github-code | e2b060fd8617d04f4d7b528370bd023dd5abcccfa3457c003814cd8ca06d747e | 0.85 | testing_debugging_repair_refactoring | 1,956 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using IdmNet.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
// ReSharper disable ObjectCreationAsStatement
// ReSharper disable UseObjectOrCollectionInitializer
namespace IdmNet.Models.Tests
{
[TestClass]
public class ManagementPolicyRuleTests
{
... | dseelinger/ms-idm-net | IdmNet/IdmNet.Tests/Models/ManagementPolicyRuleTests.cs | https://github.com/dseelinger/ms-idm-net/blob/HEAD/IdmNet/IdmNet.Tests/Models/ManagementPolicyRuleTests.cs | ghcode:00174:d508211f3eaf | apache-2.0 | codeparrot/github-code | d508211f3eaf018c3b30911e85cd2b4c1a8a8ffa8106851e658dd164b70cbfd7 | 0.85 | testing_debugging_repair_refactoring | 2,340 | false | 2026-07-17 |
//=================================================================================================
// Copyright 2014-2015 Dirk Lemstra <https://graphicsmagick.codeplex.com/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may o... | dlemstra/GraphicsMagick.NET | GraphicsMagick.NET.Tests/Matrices/ConvolveMatrixTests.cs | https://github.com/dlemstra/GraphicsMagick.NET/blob/HEAD/GraphicsMagick.NET.Tests/Matrices/ConvolveMatrixTests.cs | ghcode:00174:e8defe49d294 | apache-2.0 | codeparrot/github-code | e8defe49d29408b4dbba17a5abbc9ff7556606f4e9c3eb0bc82d4c7194e9eb5f | 0.85 | testing_debugging_repair_refactoring | 665 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using wwwplatform.Extensions.Helpers.Bootstrap;
using wwwplatformTests.Support;
using System.Text;
using System.IO;
namespace wwwplatformTests.Extensions.Helpers.Bootstrap
{
[TestClass]
public class BootstrapElementTests : TestBase
{
... | brondavies/wwwplatform.net | src/test/wwwplatformTests/Extensions/Helpers/Bootstrap/BootstrapElementTests.cs | https://github.com/brondavies/wwwplatform.net/blob/HEAD/src/test/wwwplatformTests/Extensions/Helpers/Bootstrap/BootstrapElementTests.cs | ghcode:00174:7a90e46e1737 | apache-2.0 | codeparrot/github-code | 7a90e46e1737c9a79eab3bcba09a7170fcba9dfb458318de963aa1c3fc5afc3a | 0.85 | testing_debugging_repair_refactoring | 825 | false | 2026-07-17 |
using Xunit;
namespace Jint.Tests.Test262.BuiltIns
{
public class IsNaNTests : Test262Test
{
[Theory(DisplayName = "built-ins\\isNaN")]
[MemberData(nameof(SourceFiles), "built-ins\\isNaN", false)]
[MemberData(nameof(SourceFiles), "built-ins\\isNaN", true, Skip = "Skipped")]
prot... | sebastienros/jint | Jint.Tests.Test262/BuiltIns/IsNaNTests.cs | https://github.com/sebastienros/jint/blob/HEAD/Jint.Tests.Test262/BuiltIns/IsNaNTests.cs | ghcode:00174:7f17441a12e4 | bsd-2-clause | codeparrot/github-code | 7f17441a12e4c3b69468250c80b02c76d00811e276676d31323f9159a69da415 | 0.68 | testing_debugging_repair_refactoring | 105 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using ThScoreFileConverter.Models;
using ThScoreFileConverter.Models.Th128;
using Definitions = ThScoreFileConverter.Models.Th128.Definitions;
namespace ThScoreFileCo... | y-iihoshi/ThScoreFileConverter | ThScoreFileConverterTests/Models/Th128/CollectRateReplacerTests.cs | https://github.com/y-iihoshi/ThScoreFileConverter/blob/HEAD/ThScoreFileConverterTests/Models/Th128/CollectRateReplacerTests.cs | ghcode:00174:6604f26d2324 | bsd-2-clause | codeparrot/github-code | 6604f26d232408fa4ac9f5fb183f31c92e07d2bca7497015164b425ded9ffe07 | 0.68 | testing_debugging_repair_refactoring | 1,950 | false | 2026-07-17 |
using Newtonsoft.Json;
using Orchard.ContentManagement;
using Xunit;
namespace Orchard.Tests.Data
{
public class ContentItemTests
{
[Fact]
public void ShouldSerializeContent()
{
var contentItem = new ContentItem();
contentItem.Id = 1;
contentItem.Con... | jtkech/Orchard2 | test/Orchard.Tests/Data/ContentItemTests.cs | https://github.com/jtkech/Orchard2/blob/HEAD/test/Orchard.Tests/Data/ContentItemTests.cs | ghcode:00174:3551225007b6 | bsd-3-clause | codeparrot/github-code | 3551225007b663f7435f9a44065f176ea60e8c99c2802af92e9c3e85eb93f0a4 | 0.75 | testing_debugging_repair_refactoring | 743 | false | 2026-07-17 |
[CipherSuite ECDHE_ECDSA AES_128_CBC_SHA,CipherSuite ECDHE_RSA AES_128_CBC_SHA256,CipherSuite ECDHE_RSA AES_128_CBC_SHA,CipherSuite DHE_RSA AES_128_CBC_SHA256,CipherSuite DHE_RSA AES_128_CBC_SHA,CipherSuite RSA AES_128_CBC_SHA256,CipherSuite RSA AES_128_CBC_SHA]
| YoshikuniJujo/forest | subprojects/tls-analysis/server/test/DeVyryfOgQpB.cs | https://github.com/YoshikuniJujo/forest/blob/HEAD/subprojects/tls-analysis/server/test/DeVyryfOgQpB.cs | ghcode:00174:9eee6d6a2366 | bsd-3-clause | codeparrot/github-code | 9eee6d6a23660f446911a068c5c8a52f9f01b57fd153f93987ba08ee4c9cdb12 | 0.85 | testing_debugging_repair_refactoring | 101 | false | 2026-07-17 |
using System.Collections.Immutable;
using GraphQLSharp.Language;
using GraphQLSharp.Language.Schema;
using Xunit;
using static GraphQLSharp.Test.Language.TestUtils;
namespace GraphQLSharp.Test.Language.Schema
{
public class SchemaParserTests
{
[Fact]
public void SimpleType()
{
... | amarant/GraphQLSharp | GraphQLSharp.Test/Language/Schema/SchemaParserTests.cs | https://github.com/amarant/GraphQLSharp/blob/HEAD/GraphQLSharp.Test/Language/Schema/SchemaParserTests.cs | ghcode:00174:3d2b8a697155 | bsd-3-clause | codeparrot/github-code | 3d2b8a6971558e33605d5b35b5da452588bcc6c5af54420e924b525a48b87096 | 0.75 | testing_debugging_repair_refactoring | 3,351 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Sitecore;
namespace Synthesis.Tests.Fixtures.ContentSearch
{
/*
* ASSUMPTIONS OF THESE TESTS:
* Standard sitecore_master_index configured
* All items in master are allowed to be indexed
* The _system_ templates are relatively u... | kamsar/Synthesis | Source/Synthesis.Tests/Fixtures/ContentSearch/ContentSearchQueryExtensionTests.cs | https://github.com/kamsar/Synthesis/blob/HEAD/Source/Synthesis.Tests/Fixtures/ContentSearch/ContentSearchQueryExtensionTests.cs | ghcode:00174:8c29cbb7200d | mit | codeparrot/github-code | 8c29cbb7200d5c28e3494a1bf2c4ed221e1a3c9ca58307da3717e6e0606a7fd6 | 0.75 | testing_debugging_repair_refactoring | 456 | 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.Composition;
using System.Linq;
using System.Threading;
using Syst... | genlu/roslyn | src/EditorFeatures/TestUtilities/TodoComments/AbtractTodoCommentTests.cs | https://github.com/genlu/roslyn/blob/HEAD/src/EditorFeatures/TestUtilities/TodoComments/AbtractTodoCommentTests.cs | ghcode:00174:73dc8035dda9 | mit | codeparrot/github-code | 73dc8035dda9af0481d4967a5c9ad786f10e1cc38ff4ca9909541a4340a4bfbc | 0.85 | testing_debugging_repair_refactoring | 459 | false | 2026-07-17 |
using System.Linq;
using Moq;
using Should;
using Xunit;
namespace Jump.Location.Specs
{
public class DatabaseSpec
{
public class DescribeAdding
{
[Fact]
public void It_adds_a_new_record_by_path()
{
var db = new Database();
db... | tkellogg/Jump-Location | Jump.Location.Specs/DatabaseSpec.cs | https://github.com/tkellogg/Jump-Location/blob/HEAD/Jump.Location.Specs/DatabaseSpec.cs | ghcode:00174:b8cf3ab50b7f | mit | codeparrot/github-code | b8cf3ab50b7f3b03c28f2c4fc6d183bd68a159c04e54204bfc866bf4407bfea1 | 0.75 | testing_debugging_repair_refactoring | 380 | false | 2026-07-17 |
// Code generated by Microsoft (R) AutoRest Code Generator 1.2.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace ApplicationGateway.Models
{
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
using System.Linq;
/// <... | veronicagg/autorest | Samples/test/end-to-end/network/Client/Models/VpnClientRevokedCertificate.cs | https://github.com/veronicagg/autorest/blob/HEAD/Samples/test/end-to-end/network/Client/Models/VpnClientRevokedCertificate.cs | ghcode:00174:8c76c831d83b | mit | codeparrot/github-code | 8c76c831d83b6d4309692f9d08e6a38f3092f3fbfc1df35666610b7c58361938 | 0.95 | testing_debugging_repair_refactoring | 662 | false | 2026-07-17 |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If ... | tempbottle/dlr | Tests/HostingTest/ScriptIOTestHelper.cs | https://github.com/tempbottle/dlr/blob/HEAD/Tests/HostingTest/ScriptIOTestHelper.cs | ghcode:00174:e37890a28b50 | apache-2.0 | codeparrot/github-code | e37890a28b50c1be113d517fe643723b62bcfb98bfbacdf1ed89912a690ec9e3 | 0.85 | testing_debugging_repair_refactoring | 377 | 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 ma... | afchung/reef | lang/cs/Org.Apache.REEF.IMRU.Tests/TestTaskManager.cs | https://github.com/afchung/reef/blob/HEAD/lang/cs/Org.Apache.REEF.IMRU.Tests/TestTaskManager.cs | ghcode:00174:5fdec7fba35f | apache-2.0 | codeparrot/github-code | 5fdec7fba35f8f04a5743b0397bb26ab9550d50657703de4568db78f2523d528 | 0.85 | testing_debugging_repair_refactoring | 7,140 | false | 2026-07-17 |
using System;
using FluentAssertions.Execution;
using Xunit;
using Xunit.Sdk;
namespace FluentAssertions.Specs.Collections
{
/// <content>
/// The HaveCountGreaterThanOrEqualTo specs.
/// </content>
public partial class CollectionAssertionSpecs
{
#region Have Count Greater Than Or Equal To... | jnyrup/fluentassertions | Tests/FluentAssertions.Specs/Collections/CollectionAssertionSpecs.HaveCountGreaterThanOrEqualTo.cs | https://github.com/jnyrup/fluentassertions/blob/HEAD/Tests/FluentAssertions.Specs/Collections/CollectionAssertionSpecs.HaveCountGreaterThanOrEqualTo.cs | ghcode:00174:fd8bb00a0bfb | apache-2.0 | codeparrot/github-code | fd8bb00a0bfb0a421489d9466ec0b2af6a3ad64c4f85b6c9e32e4bf17f9942a9 | 0.7 | testing_debugging_repair_refactoring | 485 | false | 2026-07-17 |
//
// Copyright (C) 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 applicable la... | datastax/csharp-driver | src/Cassandra.IntegrationTests/TestClusterManagement/TestInsightsVersion.cs | https://github.com/datastax/csharp-driver/blob/HEAD/src/Cassandra.IntegrationTests/TestClusterManagement/TestInsightsVersion.cs | ghcode:00174:002c58d27304 | apache-2.0 | codeparrot/github-code | 002c58d2730450ecf0337ded3965d2f53a70ac9a293ef8f56b3e53f0973e63cc | 0.85 | testing_debugging_repair_refactoring | 395 | false | 2026-07-17 |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... | ssm2017/sandbox | OpenSim/Data/Tests/BasicAssetTest.cs | https://github.com/ssm2017/sandbox/blob/HEAD/OpenSim/Data/Tests/BasicAssetTest.cs | ghcode:00174:19024af3b9f0 | bsd-3-clause | codeparrot/github-code | 19024af3b9f062184d8dd490ee51e662cad7ba86c5cdcbb039da76abe6ea8f2a | 0.85 | testing_debugging_repair_refactoring | 1,138 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Compute.Tests;
using Microsoft.Azure.Management.Compute.Models;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using System;
using System.Collecti... | brjohnstmsft/azure-sdk-for-net | sdk/compute/Microsoft.Azure.Management.Compute/tests/ScenarioTests/VMInstanceViewPatchStatusTests.cs | https://github.com/brjohnstmsft/azure-sdk-for-net/blob/HEAD/sdk/compute/Microsoft.Azure.Management.Compute/tests/ScenarioTests/VMInstanceViewPatchStatusTests.cs | ghcode:00174:a336f0ac23af | mit | codeparrot/github-code | a336f0ac23af23a03f0a48ea2846e6de62faedd38ba914b5f954119aa3a8a5e3 | 0.95 | testing_debugging_repair_refactoring | 653 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PowerArgs;
using System.IO;
namespace ArgsTests
{
[TestClass]
public class StickyArgTests
{
const string tempFile = @"C:\temp\stickyargs.txt";
pu... | dpen2000/PowerArgs | ArgsTests/StickyArgTests.cs | https://github.com/dpen2000/PowerArgs/blob/HEAD/ArgsTests/StickyArgTests.cs | ghcode:00174:31ec20a9fd43 | mit | codeparrot/github-code | 31ec20a9fd43fda1bf0771a9f60706dcbe84f6279c62df8fde598179b6244eef | 0.75 | testing_debugging_repair_refactoring | 613 | false | 2026-07-17 |
// Lucene version compatibility level 4.10.4
using NUnit.Framework;
namespace Lucene.Net.Analysis.Hunspell
{
/*
* 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 regardi... | apache/lucenenet | src/Lucene.Net.Tests.Analysis.Common/Analysis/Hunspell/TestIgnore.cs | https://github.com/apache/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Analysis.Common/Analysis/Hunspell/TestIgnore.cs | ghcode:00174:b6952cdee854 | apache-2.0 | codeparrot/github-code | b6952cdee854eaf9f2edf63970a2f76227556e99a6a52d0b03f90e6865261379 | 0.85 | testing_debugging_repair_refactoring | 341 | false | 2026-07-17 |
// Copyright 2011 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System.Linq;
using NodaTime.TimeZones;
using NUnit.Framework;
using System.IO;
using NodaTime.TimeZones.IO;
using System;
namespace NodaTime.Test.T... | malcolmr/nodatime | src/NodaTime.Test/TimeZones/StandardDaylightAlternatingMapTest.cs | https://github.com/malcolmr/nodatime/blob/HEAD/src/NodaTime.Test/TimeZones/StandardDaylightAlternatingMapTest.cs | ghcode:00174:a211cd95a1ae | apache-2.0 | codeparrot/github-code | a211cd95a1ae6a7bfc984c2894aeb29d220aeab7036466860e02fee354e0664e | 0.7 | testing_debugging_repair_refactoring | 3,720 | false | 2026-07-17 |
/*
Copyright (c) 2004-2006 Tomas Matousek, Vaclav Novak and Martin Maly.
The use and distribution terms for this software are contained in the file named License.txt,
which can be found in the root of the Phalanger distribution. By using this software
in any fashion, you are agreeing to be bound by the te... | kendallb/Phalanger | Source/Core.Parsers/AST/AssignEx.cs | https://github.com/kendallb/Phalanger/blob/HEAD/Source/Core.Parsers/AST/AssignEx.cs | ghcode:00174:bd1f798b2b50 | apache-2.0 | codeparrot/github-code | bd1f798b2b5054228a3ad66158df9da987d23b66b96d976a06f0a33b4ceeca57 | 0.85 | testing_debugging_repair_refactoring | 733 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Threading;
using JetBrains.Annotations;
namespace Jasily.Threading
{
/// <summary>
///
/// </summary>
public static class ReaderWriterLockSlimExtensions
{
/// <summary>
///
/// </summary>
/// <param name="locker... | Jasily/jasily-csharp | Jasily/Threading/ReaderWriterLockSlimExtensions.cs | https://github.com/Jasily/jasily-csharp/blob/HEAD/Jasily/Threading/ReaderWriterLockSlimExtensions.cs | ghcode:00174:e358af075348 | mit | codeparrot/github-code | e358af0753489af74887b06b98bfd40c9d4d22d22b663c3d5a41911aaa308d10 | 0.85 | testing_debugging_repair_refactoring | 993 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Moq;
using NUnit.Framework;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Core.Services;
using Umbraco.Cms.Infrastructure.PublishedCache;
using Umbraco.Cms.Tests.Common.Published;
using Umbraco.Cms.Tests.UnitTests.TestHelpers;
namespace Umbraco.Cms.Tests.Un... | umbraco/Umbraco-CMS | tests/Umbraco.Tests.UnitTests/Umbraco.Core/Routing/UrlRoutingTestBase.cs | https://github.com/umbraco/Umbraco-CMS/blob/HEAD/tests/Umbraco.Tests.UnitTests/Umbraco.Core/Routing/UrlRoutingTestBase.cs | ghcode:00174:77c7e5dd4331 | mit | codeparrot/github-code | 77c7e5dd433134d55f66c7c5ad01f3b422bf387e1699e8d4891edca25d33cbcd | 0.75 | testing_debugging_repair_refactoring | 4,890 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.... | abock/roslyn | src/Compilers/Core/Portable/Collections/TopologicalSort.cs | https://github.com/abock/roslyn/blob/HEAD/src/Compilers/Core/Portable/Collections/TopologicalSort.cs | ghcode:00174:4d2c064be2b2 | mit | codeparrot/github-code | 4d2c064be2b22dace81ad66402474c8d2fa2dd8afa07ffdea558d35a4365dfb1 | 0.85 | testing_debugging_repair_refactoring | 881 | false | 2026-07-17 |
namespace FakeItEasy.Tests.ArgumentConstraintManagerExtensions
{
using System.Collections.Generic;
using NUnit.Framework;
[TestFixture]
internal class IsSameSequenceAsTests
: ArgumentConstraintTestBase<IEnumerable<int>>
{
protected override IEnumerable<object> InvalidValues... | jamiehumphries/FakeItEasy | Source/FakeItEasy.Tests/ArgumentConstraintManagerExtensions/IsSameSequenceAsTests.cs | https://github.com/jamiehumphries/FakeItEasy/blob/HEAD/Source/FakeItEasy.Tests/ArgumentConstraintManagerExtensions/IsSameSequenceAsTests.cs | ghcode:00174:f1101748dc09 | mit | codeparrot/github-code | f1101748dc092f95bc6021cf8125c337dd21d208811b51e8bfe698c7b44976de | 0.75 | testing_debugging_repair_refactoring | 243 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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... | StefanoRaggi/Lean | Tests/Indicators/AdvanceDeclineRatioVolumeTests.cs | https://github.com/StefanoRaggi/Lean/blob/HEAD/Tests/Indicators/AdvanceDeclineRatioVolumeTests.cs | ghcode:00174:552101f56dd3 | apache-2.0 | codeparrot/github-code | 552101f56dd3e5ef3bb006a430daeec1193e15d53517ba8337427d8123c0ce5d | 0.85 | testing_debugging_repair_refactoring | 2,273 | false | 2026-07-17 |
//
// Copyright (c) 2004-2021 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// 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 s... | luigiberrettini/NLog | tests/NLog.UnitTests/LayoutRenderers/GuidLayoutRendererTest.cs | https://github.com/luigiberrettini/NLog/blob/HEAD/tests/NLog.UnitTests/LayoutRenderers/GuidLayoutRendererTest.cs | ghcode:00174:2fc335f0fb34 | bsd-3-clause | codeparrot/github-code | 2fc335f0fb34d0c7f32c5ed727acb0f76ccc9f9a41190516bea998f2c28754a7 | 0.85 | testing_debugging_repair_refactoring | 704 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Effects;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Gra... | ZLima12/osu-framework | osu.Framework.Tests/Visual/Drawables/TestSceneHollowEdgeEffect.cs | https://github.com/ZLima12/osu-framework/blob/HEAD/osu.Framework.Tests/Visual/Drawables/TestSceneHollowEdgeEffect.cs | ghcode:00174:41f93e2098d3 | mit | codeparrot/github-code | 41f93e2098d34698a380bf24c0df440174d138c94b50080e82bb696ec5f9d450 | 0.75 | testing_debugging_repair_refactoring | 547 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Octokit.Tests.Conventions
{
public class InvalidUrlPropertyTypeException : Exception
{
public InvalidUrlPropertyTypeException(Type modelType, IEnumerable<PropertyInfo> propertiesWithInvalidType)
... | shiftkey/octokit.net | Octokit.Tests.Conventions/Exception/InvalidUrlPropertyTypeException.cs | https://github.com/shiftkey/octokit.net/blob/HEAD/Octokit.Tests.Conventions/Exception/InvalidUrlPropertyTypeException.cs | ghcode:00174:b4fc9377e7e9 | mit | codeparrot/github-code | b4fc9377e7e902227b996f6fe2d8d800e571c580177ca0e62ff5e80c4f22b3e9 | 0.75 | testing_debugging_repair_refactoring | 161 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Saltarelle.Compiler.Compiler;
using Saltarelle.Compiler.ScriptSemantics;
namespace Saltarelle.Compiler.Tests.CompilerTests.MethodCompilation.Expressions {
[TestFixture]
public class AwaitTests : Method... | ayo10/SaltarelleCompiler | Compiler/Saltarelle.Compiler.Tests/CompilerTests/MethodCompilation/Expressions/AwaitTests.cs | https://github.com/ayo10/SaltarelleCompiler/blob/HEAD/Compiler/Saltarelle.Compiler.Tests/CompilerTests/MethodCompilation/Expressions/AwaitTests.cs | ghcode:00175:edcc10bbadb7 | apache-2.0 | codeparrot/github-code | edcc10bbadb7f79f6b4b7858673e39d7b98e0cb30e28fbd11bb7e54576676740 | 0.85 | testing_debugging_repair_refactoring | 1,821 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="SyntacticPathParserTests.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//----------------------------... | hotchandanisagar/odata.net | test/FunctionalTests/Tests/DataOData/Tests/OData.Query.TDD.Tests/Syntactic/SyntacticPathParserTests.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataOData/Tests/OData.Query.TDD.Tests/Syntactic/SyntacticPathParserTests.cs | ghcode:00175:b44cc2720dae | mit | codeparrot/github-code | b44cc2720dae5b886a1ff2bb287a10772cc99548abd7dc8b0942e14214169f5f | 0.95 | testing_debugging_repair_refactoring | 640 | 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.IO;
using System.Net.Sockets;
using System.Net.Test.Common;
using System.Security.Authentication;
using System.Security.Cryptography.X509Certificates;
us... | vs-team/corefx | src/System.Net.Security/tests/FunctionalTests/ClientDefaultEncryptionTest.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Net.Security/tests/FunctionalTests/ClientDefaultEncryptionTest.cs | ghcode:00175:6b0e77431d5c | mit | codeparrot/github-code | 6b0e77431d5ce944e22dc384769ba0a7dc783d7f0f9d4ef6b84399a853f9fe22 | 0.95 | testing_debugging_repair_refactoring | 767 | 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 System.Collections.Tests
{
public class Hashtable_EqualityComparerTests
{
[Fact]
public void TestEqualityComparerBasic()... | gregg-miskelly/corefx | src/System.Collections.NonGeneric/tests/Hashtable/PropertyEqualityComparerTests.cs | https://github.com/gregg-miskelly/corefx/blob/HEAD/src/System.Collections.NonGeneric/tests/Hashtable/PropertyEqualityComparerTests.cs | ghcode:00175:0fd853ae7a5e | mit | codeparrot/github-code | 0fd853ae7a5e05cad4b9290abfee719445ed123848a8778fc5fbb0bbc570246a | 0.95 | testing_debugging_repair_refactoring | 287 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
using System;
namespace Microsoft.Win32.RegistryTests
{
public class RegistryKey_DeleteSubKey_str ... | dotnet-bot/corefx | src/Microsoft.Win32.Registry/tests/RegistryKey/RegistryKey_DeleteSubKey_str.cs | https://github.com/dotnet-bot/corefx/blob/HEAD/src/Microsoft.Win32.Registry/tests/RegistryKey/RegistryKey_DeleteSubKey_str.cs | ghcode:00175:bdf587a0d986 | mit | codeparrot/github-code | bdf587a0d986f7602ed1f6e6b5ccd5587767585a98c220616769103e04b0b900 | 0.95 | testing_debugging_repair_refactoring | 510 | 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.Diagnostics;
using System.Globalization;
namespace System.Linq.Expre... | dotnet-bot/corefx | src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/LocalVariables.cs | https://github.com/dotnet-bot/corefx/blob/HEAD/src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/LocalVariables.cs | ghcode:00175:4b4bec711d90 | mit | codeparrot/github-code | 4b4bec711d90e591e78e2f2d7cc14f20b04734b689aec70670403fc94a1f5065 | 0.95 | testing_debugging_repair_refactoring | 1,206 | 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;
using System.Text;
using System.Collections.Generic;
using System.Composition;
using System.Compositio... | ellismg/corefx | src/System.Composition/tests/SharingTests.cs | https://github.com/ellismg/corefx/blob/HEAD/src/System.Composition/tests/SharingTests.cs | ghcode:00175:22fdc2d8bf95 | mit | codeparrot/github-code | 22fdc2d8bf95fa5a944618b4d343b3d386ef976ae7d1186cc683baa90ee870c5 | 0.95 | testing_debugging_repair_refactoring | 2,965 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.