text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using System;
using System.Linq;
using NetGore.Content;
using NetGore.IO;
using NUnit.Framework;
namespace NetGore.Tests.NetGore.IO
{
[TestFixture]
public class ContentAssetNameTests
{
#region Unit tests
[Test]
public void FromAbsoluteFilePathAlternateSeparatorDeepTest()
{... | LAGIdiot/NetGore | NetGore.Tests/NetGore/IO/ContentAssetNameTests.cs | https://github.com/LAGIdiot/NetGore/blob/HEAD/NetGore.Tests/NetGore/IO/ContentAssetNameTests.cs | ghcode:00003:20c6b78a74fc | unlicense | codeparrot/github-code | 20c6b78a74fc4f5d137ffcc25eb7ee6445233a359793ca5509f9c0526bc64dcf | 0.68 | testing_debugging_repair_refactoring | 941 | false | 2026-07-17 |
namespace _02.CreateDAOClass
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using _01.CreateContextForNorthwind;
/// <summary>
/// Create a DAO class with static methods which provide functionality
/// for inse... | iliantrifonov/TelerikAcademy | Databases/7.EntityFramework/02.CreateDAOClass/TestClass.cs | https://github.com/iliantrifonov/TelerikAcademy/blob/HEAD/Databases/7.EntityFramework/02.CreateDAOClass/TestClass.cs | ghcode:00003:973b096844cc | apache-2.0 | codeparrot/github-code | 973b096844cc16c99ff6d0804923d105c6a5db89fe7a908c500ac5764bbf950f | 0.85 | testing_debugging_repair_refactoring | 313 | false | 2026-07-17 |
using UnityEditor.Callbacks;
public class TestClass
{
[OnOpenAsset]
private static bool Valid(int instanceID, int line)
{
return true;
}
[OnOpenAsset]
private bool MissingStatic(int instanceID, int line)
{
return true;
}
[OnOpenAsset]
private static void Wrong... | JetBrains/resharper-unity | resharper/resharper-unity/test/data/Unity/CSharp/Daemon/Stages/Analysis/AttributedMethodSignatures/SingleOnOpenAssetAttributeSignature.cs | https://github.com/JetBrains/resharper-unity/blob/HEAD/resharper/resharper-unity/test/data/Unity/CSharp/Daemon/Stages/Analysis/AttributedMethodSignatures/SingleOnOpenAssetAttributeSignature.cs | ghcode:00003:2b41f65acdcb | apache-2.0 | codeparrot/github-code | 2b41f65acdcb918ef469d72326e01937ea2314b38bda7be701a95ee95b8e64e8 | 0.85 | testing_debugging_repair_refactoring | 142 | false | 2026-07-17 |
using NBi.Core.ResultSet;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Testing.Core.ResultSet
{
[TestFixture]
class JsonResultSetTest
{
[Test]
public void Build_OneElementOneattribu... | Seddryck/NBi | NBi.Testing.Core/ResultSet/JsonResultSetTest.cs | https://github.com/Seddryck/NBi/blob/HEAD/NBi.Testing.Core/ResultSet/JsonResultSetTest.cs | ghcode:00003:b27fd8a4a2f4 | apache-2.0 | codeparrot/github-code | b27fd8a4a2f4d61f495cad47385f78d891bbabca514a3b45ff06188aca0a22bd | 0.6 | testing_debugging_repair_refactoring | 2,458 | false | 2026-07-17 |
using UnityEngine;
using UnityEditor;
using AGXUnity;
using GUI = AGXUnity.Utils.GUI;
namespace AGXUnityEditor.Tools
{
[CustomTool( typeof( RigidBodyEmitterSink ) )]
public class RigidBodyEmitterSinkTool : CustomTargetTool
{
public RigidBodyEmitterSink Sink { get { return Targets[ 0 ] as RigidBodyEmitterSi... | Algoryx/agxUnity | Editor/AGXUnityEditor/Tools/RigidBodyEmitterSinkTool.cs | https://github.com/Algoryx/agxUnity/blob/HEAD/Editor/AGXUnityEditor/Tools/RigidBodyEmitterSinkTool.cs | ghcode:00003:b1324ed962dc | apache-2.0 | codeparrot/github-code | b1324ed962dcfc8ede8190a654af9f375cbd7edbfe2ddb7e9f233f5b9711a83f | 0.6 | testing_debugging_repair_refactoring | 417 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp.CodeRefactorings.GenerateFromMembers.GenerateConstructor;
... | HellBrick/roslyn | src/EditorFeatures/CSharpTest/CodeActions/GenerateFromMembers/GenerateConstructor/GenerateConstructorTests.cs | https://github.com/HellBrick/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/CodeActions/GenerateFromMembers/GenerateConstructor/GenerateConstructorTests.cs | ghcode:00003:e37192ee5d09 | apache-2.0 | codeparrot/github-code | e37192ee5d09b8fcd085a9d0a3d2d4963d936fe01882ea49fd278932fecb3d07 | 0.75 | testing_debugging_repair_refactoring | 2,055 | false | 2026-07-17 |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// 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.a... | citizenmatt/gallio | src/Extensions/MbUnit2/Gallio.MbUnit2Adapter.TestResources/Metadata/TestsOnSample.cs | https://github.com/citizenmatt/gallio/blob/HEAD/src/Extensions/MbUnit2/Gallio.MbUnit2Adapter.TestResources/Metadata/TestsOnSample.cs | ghcode:00003:aa22f777ff41 | apache-2.0 | codeparrot/github-code | aa22f777ff41f06b60e7dd975ef786ac9d0e3b36af253dda9cf601969ff3f656 | 0.85 | testing_debugging_repair_refactoring | 210 | 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/Common/LookupTest.cs | https://github.com/Intacct/intacct-sdk-net/blob/HEAD/Intacct.SDK.Tests/Functions/Common/LookupTest.cs | ghcode:00003:c241be00767d | apache-2.0 | codeparrot/github-code | c241be00767d4446e2ade7e4aae78ee7e2610853fed2ea746114067b235fa815 | 0.6 | testing_debugging_repair_refactoring | 269 | false | 2026-07-17 |
/*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/openiddict/openiddict-core for more information concerning
* the license and the contributors participating to this project.
*/
using System;
using System.Diagnostics;
using System.Threading.T... | belsoft/openiddict-core | src/OpenIddict.Core/Infrastructure/OpenIddictProvider.Introspection.cs | https://github.com/belsoft/openiddict-core/blob/HEAD/src/OpenIddict.Core/Infrastructure/OpenIddictProvider.Introspection.cs | ghcode:00003:d02378ad839e | apache-2.0 | codeparrot/github-code | d02378ad839e4e512835ecc8ac4f2e98133fe7fe19a3a0662e4621b1540481aa | 0.7 | testing_debugging_repair_refactoring | 1,227 | false | 2026-07-17 |
extern alias fhir_stu3;
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Trifolia.DB;
using Trifolia.Export.FHIR.STU3;
using Trifolia.Shared;
namespace Trifolia.Test.Export.FHIR.STU3
{
[TestClass]
[DeploymentItem("Schemas\\", "Schemas\\")]
public class STU3Tests
... | lantanagroup/trifolia | Trifolia.Test/Export/FHIR/STU3/STU3Tests.cs | https://github.com/lantanagroup/trifolia/blob/HEAD/Trifolia.Test/Export/FHIR/STU3/STU3Tests.cs | ghcode:00003:df76208915b9 | apache-2.0 | codeparrot/github-code | df76208915b97726a6e06bf5c382fdbc7afe9760a1d38d73d1801543aeff3c44 | 0.85 | testing_debugging_repair_refactoring | 3,191 | false | 2026-07-17 |
using Xunit;
namespace OpenCvSharp.Tests.Core
{
public class SizeTest
{
[Fact]
public void Size2f()
{
var obj = new Size2f(0.5, 0.5);
Assert.Equal(0.5, obj.Width, 6);
Assert.Equal(0.5, obj.Height, 6);
obj = new Size2f(0.5f, 0.5f);
... | shimat/opencvsharp | test/OpenCvSharp.Tests/core/SizeTest.cs | https://github.com/shimat/opencvsharp/blob/HEAD/test/OpenCvSharp.Tests/core/SizeTest.cs | ghcode:00003:45559b5e8c2c | apache-2.0 | codeparrot/github-code | 45559b5e8c2ca5611e65d7e5026b9a4e31937e469713a59e24d9c8b7c26c1087 | 0.6 | testing_debugging_repair_refactoring | 134 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using NBi.Core.Evaluate;
using NBi.Core.ResultSet;
using NUnitCtr = NUnit.Framework.Constraints;
using NBi.Core.Query.Resolver;
using NBi.Core.ResultSet.Resolver;
using NBi.Extensibility.Query;
using NBi.Extensibility;
n... | Seddryck/NBi | NBi.NUnit/Query/EvaluateRowsConstraint.cs | https://github.com/Seddryck/NBi/blob/HEAD/NBi.NUnit/Query/EvaluateRowsConstraint.cs | ghcode:00003:8415ce6b5682 | apache-2.0 | codeparrot/github-code | 8415ce6b5682d683d1a4c0b6383c3092da6a8f5bbaeb0d6486bcb57cb884d7d7 | 0.7 | testing_debugging_repair_refactoring | 1,166 | 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.
#if NET46
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using System.Reflection;
u... | kelltrick/roslyn | src/Test/Utilities/Portable/Platform/Desktop/DesktopRuntimeEnvironment.cs | https://github.com/kelltrick/roslyn/blob/HEAD/src/Test/Utilities/Portable/Platform/Desktop/DesktopRuntimeEnvironment.cs | ghcode:00003:349289e3f1e1 | apache-2.0 | codeparrot/github-code | 349289e3f1e1923e1368c24b376bfff382045bbd29f1043bbe207392f30221d6 | 0.95 | testing_debugging_repair_refactoring | 2,585 | 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.
using System;
using System.Text;
using BenchmarkDotNet.Attributes;
using Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http;
using Microsoft.AspNetCore.Server.Kestrel.Core.Inter... | aspnet/AspNetCore | src/Servers/Kestrel/perf/Microbenchmarks/KnownStringsBenchmark.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Servers/Kestrel/perf/Microbenchmarks/KnownStringsBenchmark.cs | ghcode:00003:34122097f828 | apache-2.0 | codeparrot/github-code | 34122097f828299c91544befd9b9667c00d3142cebbffdf3e3b719deae5e25e1 | 0.75 | testing_debugging_repair_refactoring | 1,119 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Shouldly;
namespace dannyboy.tests
{
[TestFixture]
public class get_insert_sql_is_sane
{
class ExampleOne
{
public Guid ExampleOneIdentifier;
public string ExampleOneStringProperty { get; set; }
pub... | swxben/danny-boy | src/dannyboy.tests/get_insert_sql_is_sane.cs | https://github.com/swxben/danny-boy/blob/HEAD/src/dannyboy.tests/get_insert_sql_is_sane.cs | ghcode:00003:078e912b8172 | apache-2.0 | codeparrot/github-code | 078e912b8172a83cad8036b501bd4987f70ca84f726b8b0323eace098e7e4099 | 0.6 | testing_debugging_repair_refactoring | 153 | 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.
using System;
using BenchmarkDotNet.Attributes;
using Microsoft.Extensions.DependencyInjection;
namespace Microsoft.AspNetCore.Routing.Matching
{
// Generated from https://githu... | aspnet/AspNetCore | src/Http/Routing/perf/Microbenchmarks/Matching/MatcherBuilderAzureBenchmark.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Http/Routing/perf/Microbenchmarks/Matching/MatcherBuilderAzureBenchmark.cs | ghcode:00003:0580fa694d57 | apache-2.0 | codeparrot/github-code | 0580fa694d573409b5b605e9d47918f9c4448e6d373338d24d4718071568bf21 | 0.85 | testing_debugging_repair_refactoring | 167 | false | 2026-07-17 |
using CCSkype.Commands;
using CCSkype.Interfaces;
using NUnit.Framework;
using Rhino.Mocks;
namespace CCSkype.UnitTests.Message_Processor
{
// ReSharper disable InconsistentNaming
[TestFixture]
public class With_Process
{
private ICmdFactory _cmdFactory;
private IMe... | perryofpeek/CCSkype | test/CCSkype.UnitTests/Message_Processor/With_Process.cs | https://github.com/perryofpeek/CCSkype/blob/HEAD/test/CCSkype.UnitTests/Message_Processor/With_Process.cs | ghcode:00003:9eff8ba71b43 | apache-2.0 | codeparrot/github-code | 9eff8ba71b43d01e672cc9fd78014c024556dd8614c3b51eee6efd7eb0e24b9e | 0.6 | testing_debugging_repair_refactoring | 250 | false | 2026-07-17 |
//*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
//... | munyirik/nodejstools | Nodejs/Product/TestAdapter/TestDiscoverer.cs | https://github.com/munyirik/nodejstools/blob/HEAD/Nodejs/Product/TestAdapter/TestDiscoverer.cs | ghcode:00003:77693fd9893d | apache-2.0 | codeparrot/github-code | 77693fd9893dcc1768a4a9b53b48fd049857f96d6de81c1746e99dedc6dbd402 | 0.85 | testing_debugging_repair_refactoring | 1,614 | 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.Emit;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalys... | VSadov/roslyn | src/Compilers/Test/Utilities/CSharp/CompilationTestUtils.cs | https://github.com/VSadov/roslyn/blob/HEAD/src/Compilers/Test/Utilities/CSharp/CompilationTestUtils.cs | ghcode:00003:2fdcb5578529 | apache-2.0 | codeparrot/github-code | 2fdcb5578529acf4293444a75fbfb3689316dd7412a15980f68b87fcfcf56fab | 0.95 | testing_debugging_repair_refactoring | 3,213 | false | 2026-07-17 |
using AutoFixture;
using Take.Elephant.Memory;
using Take.Elephant.Redis;
using Take.Elephant.Redis.Serializers;
using Xunit;
namespace Take.Elephant.Tests.Redis
{
[Trait("Category", nameof(Redis))]
[Collection(nameof(Redis))]
public class RedisIntegerStringQueueMapFacts : IntegerStringQueueMapFacts
{... | takenet/elephant | src/Take.Elephant.Tests/Redis/RedisIntegerStringQueueMapFacts.cs | https://github.com/takenet/elephant/blob/HEAD/src/Take.Elephant.Tests/Redis/RedisIntegerStringQueueMapFacts.cs | ghcode:00003:5779be3455db | apache-2.0 | codeparrot/github-code | 5779be3455db9cf60e5f74fb6cb5c95115e9ff077b93dac2f0dceae6c6191fc3 | 0.6 | testing_debugging_repair_refactoring | 258 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using FlubuCore.Templating.Models;
using Newtonsoft.Json;
using Xunit;
namespace FlubuCore.Tests.Templating
{
public class TemplateReplacementTokenModelTests
{
[Fact]
public void NoInputType_InputTypeShouldBeText()
{
... | flubu-core/flubu.core | src/FlubuCore.Tests/Templating/TemplateReplacementTokenModelTests.cs | https://github.com/flubu-core/flubu.core/blob/HEAD/src/FlubuCore.Tests/Templating/TemplateReplacementTokenModelTests.cs | ghcode:00003:34ec0ef31598 | bsd-2-clause | codeparrot/github-code | 34ec0ef31598590aba88d12612e022735efe0b84bf0b5284fd8c554d0b854ef7 | 0.68 | testing_debugging_repair_refactoring | 147 | false | 2026-07-17 |
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the abov... | cneuwirt/rhino-commons | Rhino.Commons.Test/Binsor/InterceptorTestCase.cs | https://github.com/cneuwirt/rhino-commons/blob/HEAD/Rhino.Commons.Test/Binsor/InterceptorTestCase.cs | ghcode:00003:9111abbbbda7 | bsd-3-clause | codeparrot/github-code | 9111abbbbda71073fe30286e9bed9da9baf1493b8c4160220e23047859cbb9c1 | 0.7 | testing_debugging_repair_refactoring | 585 | false | 2026-07-17 |
// -----------------------------------------------------------------------
// <copyright file="Tron.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------
using System.Diagnostics;
namespace Liblinear
{
using System;
using Sy... | foreverzet/Sharpkit.Learn | src/Liblinear/Tron.cs | https://github.com/foreverzet/Sharpkit.Learn/blob/HEAD/src/Liblinear/Tron.cs | ghcode:00003:ea82bd155879 | bsd-3-clause | codeparrot/github-code | ea82bd1558798bb00c8d5f6247006ac4edbce5bf5643bb84b9333901e1cee500 | 0.7 | testing_debugging_repair_refactoring | 2,075 | false | 2026-07-17 |
using NUnit.Framework;
namespace ServiceStack.OrmLite.SqlServerTests.Expressions
{
public class MultiplicativeExpressionsTest : ExpressionsTestBase
{
[Test]
public void Can_select_constant_multiply_expression()
{
var expected = new TestType()
... | telerik/ServiceStack.OrmLite | src/ServiceStack.OrmLite.SqlServerTests/Expressions/MultiplicativeExpressionsTest.cs | https://github.com/telerik/ServiceStack.OrmLite/blob/HEAD/src/ServiceStack.OrmLite.SqlServerTests/Expressions/MultiplicativeExpressionsTest.cs | ghcode:00003:89badce84fbd | bsd-3-clause | codeparrot/github-code | 89badce84fbd1673e968b18033f12a023f5a833fe21c38a681d235d8dd3a7ce6 | 0.7 | testing_debugging_repair_refactoring | 1,107 | 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.Linq;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using Syste... | comdiv/corefx | src/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.cs | https://github.com/comdiv/corefx/blob/HEAD/src/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.cs | ghcode:00003:668f99b43346 | mit | codeparrot/github-code | 668f99b433460b9bad70759e812925debbbdc2837e90cedc3e653d3351d3bbba | 0.95 | testing_debugging_repair_refactoring | 4,573 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using SharpFileSystem.Collections;
using SharpFileSystem.FileSystems;
namespace SharpFileSystem.Tests.FileSystems
{
[TestFixture]
public class EntityMoverRegistrationTest
... | bobvanderlinden/sharpfilesystem | SharpFileSystem.Tests/FileSystems/EntityMoverRegistrationTest.cs | https://github.com/bobvanderlinden/sharpfilesystem/blob/HEAD/SharpFileSystem.Tests/FileSystems/EntityMoverRegistrationTest.cs | ghcode:00003:0a717cdbf514 | mit | codeparrot/github-code | 0a717cdbf514519254fdeeacb1cd3039770532d5a7c703102b89ffdb7f163694 | 0.6 | testing_debugging_repair_refactoring | 389 | 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,
// copy,... | adarshabs/Json | Src/Newtonsoft.Json.Tests/Serialization/ImmutableCollectionsTests.cs | https://github.com/adarshabs/Json/blob/HEAD/Src/Newtonsoft.Json.Tests/Serialization/ImmutableCollectionsTests.cs | ghcode:00003:221f8c99a33f | mit | codeparrot/github-code | 221f8c99a33fbf00d794613b72f059ae5712ac1b47b94aaf1b16e99c7dd7d799 | 0.85 | testing_debugging_repair_refactoring | 2,565 | false | 2026-07-17 |
using System;
using System.Diagnostics.Contracts;
abstract class A
{
public object this[string index]
{
se{caret}t
{
Consonle.WriteLine(42);
}
}
} | Diagonactic/ReSharperContractExtensions | ReSharper.ContractExtensions.Tests/test/data/Intentions/ContextActions/Requires/IndexerFixes/OnSetter.cs | https://github.com/Diagonactic/ReSharperContractExtensions/blob/HEAD/ReSharper.ContractExtensions.Tests/test/data/Intentions/ContextActions/Requires/IndexerFixes/OnSetter.cs | ghcode:00003:7f7f157f089f | mit | codeparrot/github-code | 7f7f157f089f66e9256fb1f26ead1af05d4bc57b1b76792c256ade7130c5af78 | 0.6 | testing_debugging_repair_refactoring | 46 | false | 2026-07-17 |
using System;
using Xunit;
using LanguageExt;
using LanguageExt.ClassInstances;
using LanguageExt.Common;
using static LanguageExt.Prelude;
namespace LanguageExt.Tests.Transformer.Traverse.TryT.Sync
{
public class ValidationSeqTry
{
[Fact]
public void FailIsSuccFail()
{
var ... | StanJav/language-ext | LanguageExt.Tests/Transformer/Traverse/Try/Sync/ValidationSeq.cs | https://github.com/StanJav/language-ext/blob/HEAD/LanguageExt.Tests/Transformer/Traverse/Try/Sync/ValidationSeq.cs | ghcode:00003:81c92dfd2f0b | mit | codeparrot/github-code | 81c92dfd2f0bfbffdd79ccc51f9c3ff971199f0d4086ea6936219b5cec6c4126 | 0.6 | testing_debugging_repair_refactoring | 307 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Text;
using Bitmask = System.UInt64;
using u8 = System.Byte;
using u16 = System.UInt16;
using u32 = System.UInt32;
namespace Community.CsharpSqlite
{
public partial class Sqlite3
{
/*
** 2009 November 25
**
** The author disclaim... | champnakub/CameraApp | plugins/cordova-sqlite-storage/src/wp/csharp-sqlite-src/vdbetrace_c.cs | https://github.com/champnakub/CameraApp/blob/HEAD/plugins/cordova-sqlite-storage/src/wp/csharp-sqlite-src/vdbetrace_c.cs | ghcode:00003:4079a6e417bc | mit | codeparrot/github-code | 4079a6e417bc71780a3daa14ec6f6f657102616d1b5646e72c195f155d2d8e26 | 0.8 | testing_debugging_repair_refactoring | 1,987 | false | 2026-07-17 |
using System;
using GraphQL.Types;
using Shouldly;
using Xunit;
namespace GraphQL.Tests.Types
{
public class FieldRegistrationTests
{
[Fact]
public void throws_error_when_trying_to_register_field_with_same_name()
{
var graphType = new ObjectGraphType();
graphType... | graphql-dotnet/graphql-dotnet | src/GraphQL.Tests/Types/FieldRegistrationTests.cs | https://github.com/graphql-dotnet/graphql-dotnet/blob/HEAD/src/GraphQL.Tests/Types/FieldRegistrationTests.cs | ghcode:00003:8563cc551af3 | mit | codeparrot/github-code | 8563cc551af32cb320d0116f3a3159e6d82ba204aa487e20e29dae23d855f2f0 | 0.75 | testing_debugging_repair_refactoring | 257 | false | 2026-07-17 |
// Copyright (c) Petabridge <https://petabridge.com/>. All rights reserved.
// Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information.
// See ThirdPartyNotices.txt for references to third party code used inside Helios.
using System;
using System.Collections.Generic;
u... | helios-io/helios | src/Helios/Channels/Embedded/EmbeddedChannel.cs | https://github.com/helios-io/helios/blob/HEAD/src/Helios/Channels/Embedded/EmbeddedChannel.cs | ghcode:00003:b934d760faa5 | apache-2.0 | codeparrot/github-code | b934d760faa5595a90ed628234cb0f8acd5a0bca87742923a9cb6d4c9636cbc8 | 0.7 | testing_debugging_repair_refactoring | 2,188 | false | 2026-07-17 |
namespace StripeTests
{
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Stripe;
using Xunit;
public class BalanceServiceTest : BaseStripeTest
{
private readonly BalanceService service;
public BalanceServiceTest(
Stri... | richardlawley/stripe.net | src/StripeTests/Services/Balance/BalanceServiceTest.cs | https://github.com/richardlawley/stripe.net/blob/HEAD/src/StripeTests/Services/Balance/BalanceServiceTest.cs | ghcode:00003:a801f2952ecf | apache-2.0 | codeparrot/github-code | a801f2952ecf5bf81c6bb9e82388ffc14eba0483e10a528f6e831f283eecad16 | 0.6 | testing_debugging_repair_refactoring | 205 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using KellermanSoftware.CompareNetObjects;
using NUnit.Framework;
namespace AggregateSource.Testing.Comparers
{
[TestFixture]
public class CompareNetObjectsBasedEventComparerTests
{
[Test]
public void IsEventComparer()
{
v... | alexeyzimarev/AggregateSource | src/Testing/AggregateSource.Testing.Tests/Comparers/CompareNetObjectsBasedEventComparerTests.cs | https://github.com/alexeyzimarev/AggregateSource/blob/HEAD/src/Testing/AggregateSource.Testing.Tests/Comparers/CompareNetObjectsBasedEventComparerTests.cs | ghcode:00003:4e858b496917 | bsd-3-clause | codeparrot/github-code | 4e858b49691790206097a6b6e0459a1333b25635f7a49dd007dac92d1737617a | 0.75 | testing_debugging_repair_refactoring | 501 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using Bloom;
using Bloom.Edit;
using BloomTemp;
using ICSharpCode.SharpZipLib.Zip;
using NUnit.Framework;
using SIL.IO;
using RobustIO = SIL.IO.RobustIO;
namespace Blo... | StephenMcConnel/BloomDesktop | src/BloomTests/Edit/MakeWidgetTests.cs | https://github.com/StephenMcConnel/BloomDesktop/blob/HEAD/src/BloomTests/Edit/MakeWidgetTests.cs | ghcode:00003:59b98709f2b0 | mit | codeparrot/github-code | 59b98709f2b0318aeec3f982a65160f032124112830dbc2298b5d88285649805 | 0.85 | testing_debugging_repair_refactoring | 1,823 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using LinqToDB;
using LinqToDB.Data;
using NUnit.Framework;
namespace Tests.UserTests
{
using Model;
[TestFixture]
public class Issue445Tests : TestBase
{
[AttributeUsage(AttributeTargets.Parameter)]
class IssueContextSourceAttribute : Incl... | linq2db/linq2db | Tests/Linq/UserTests/Issue445Tests.cs | https://github.com/linq2db/linq2db/blob/HEAD/Tests/Linq/UserTests/Issue445Tests.cs | ghcode:00003:3c802b97ec74 | mit | codeparrot/github-code | 3c802b97ec749b87c24c4faff2250c191b3cb0bc316c9f2206ba5b53e679e6b0 | 0.75 | testing_debugging_repair_refactoring | 1,025 | false | 2026-07-17 |
using System;
using System.Net;
using MYOB.AccountRight.SDK.Communication;
using NUnit.Framework;
using System.Net.Cache;
using MYOB.AccountRight.SDK;
namespace SDK.Test.Communication
{
[TestFixture]
public class WebRequestFactoryTests
{
private WebRequestFactory CreateWebRequestFactory(IApiConfig... | sawilde/AccountRight_Live_API_.Net_SDK | MYOB.API.SDK/SDK.Test/Communication/WebRequestFactoryTests.cs | https://github.com/sawilde/AccountRight_Live_API_.Net_SDK/blob/HEAD/MYOB.API.SDK/SDK.Test/Communication/WebRequestFactoryTests.cs | ghcode:00003:59a72a4c78c1 | mit | codeparrot/github-code | 59a72a4c78c152dd30ef9ab27643bad2aec40676713be6ee9fe7964e831d1d2c | 0.85 | testing_debugging_repair_refactoring | 418 | 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;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace Test
{
public static class PlinqModesTests
{
... | shawnhar/corefx | src/System.Linq.Parallel/test/PlinqModesTests.cs | https://github.com/shawnhar/corefx/blob/HEAD/src/System.Linq.Parallel/test/PlinqModesTests.cs | ghcode:00003:08b8e78c4e46 | mit | codeparrot/github-code | 08b8e78c4e46d811ba1f9c5367e228a093cac986a2b408d6c1ddb3e5dae34bea | 0.95 | testing_debugging_repair_refactoring | 1,947 | 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.Text;
namespace System.IO
{
/// <summary>Contains internal path helpers ... | pgavlin/coreclr | src/mscorlib/shared/System/IO/PathInternal.cs | https://github.com/pgavlin/coreclr/blob/HEAD/src/mscorlib/shared/System/IO/PathInternal.cs | ghcode:00003:e696b981361e | mit | codeparrot/github-code | e696b981361e98b80da44eadf0200f01a13933469d4e304a8d9186182342fcab | 0.7 | testing_debugging_repair_refactoring | 1,361 | false | 2026-07-17 |
using System;
using Abp.Application.Editions;
using Abp.Application.Features;
using Abp.Authorization;
using Abp.Authorization.Roles;
using Abp.Authorization.Users;
using Abp.MultiTenancy;
using Abp.ZeroCore.SampleApp.Core;
using Microsoft.AspNetCore.Identity;
using Xunit;
using SecurityStampValidator = Abp.ZeroCore.... | luchaoshuai/aspnetboilerplate | test/Abp.ZeroCore.Tests/Zero/DependencyInjection_Tests.cs | https://github.com/luchaoshuai/aspnetboilerplate/blob/HEAD/test/Abp.ZeroCore.Tests/Zero/DependencyInjection_Tests.cs | ghcode:00003:e4b63f4f8462 | mit | codeparrot/github-code | e4b63f4f8462c0a22c3b72d095094e0fa368eac3cc8278148e5ccbde7253b2c3 | 0.75 | testing_debugging_repair_refactoring | 774 | false | 2026-07-17 |
using System;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using Mono.Cecil;
using Mono.Cecil.Metadata;
using Mono.Cecil.PE;
using NUnit.Framework;
namespace Mono.Cecil.Tests {
[TestFixture]
public class CustomAttributesTests : BaseTestFixture {
[Test]
public void String... | ststeiger/ILRepack | cecil/Test/Mono.Cecil.Tests/CustomAttributesTests.cs | https://github.com/ststeiger/ILRepack/blob/HEAD/cecil/Test/Mono.Cecil.Tests/CustomAttributesTests.cs | ghcode:00003:9edf75c3bd43 | apache-2.0 | codeparrot/github-code | 9edf75c3bd438d556487a9d04e42b9cb124f2bfc4867d7fe066ab59f8473eda8 | 0.95 | testing_debugging_repair_refactoring | 3,993 | 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 not... | tebeka/arrow | csharp/test/Apache.Arrow.Tests/TypeTests.cs | https://github.com/tebeka/arrow/blob/HEAD/csharp/test/Apache.Arrow.Tests/TypeTests.cs | ghcode:00003:2517543c1d6a | apache-2.0 | codeparrot/github-code | 2517543c1d6a7be27bf291210fe61c2298dc7fb08c7c4cc56258a016897d2738 | 0.95 | testing_debugging_repair_refactoring | 1,034 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudioTools.Project;
namespa... | lukedgr/nodejstools | Nodejs/Product/Nodejs/TypeScriptHelpers/TypeScriptCompile.cs | https://github.com/lukedgr/nodejstools/blob/HEAD/Nodejs/Product/Nodejs/TypeScriptHelpers/TypeScriptCompile.cs | ghcode:00003:b8180c26e2ba | apache-2.0 | codeparrot/github-code | b8180c26e2babe33c448d74b094ea9d81c9c71778c90cad7c6a40290f868a087 | 0.85 | testing_debugging_repair_refactoring | 753 | 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.Linq;
using System.Threading;
using System.Threading.Tasks;
using Roslyn.Test.Utili... | mavasani/roslyn | src/Features/LanguageServer/ProtocolUnitTests/Definitions/GoToTypeDefinitionTests.cs | https://github.com/mavasani/roslyn/blob/HEAD/src/Features/LanguageServer/ProtocolUnitTests/Definitions/GoToTypeDefinitionTests.cs | ghcode:00003:9627773e5dea | mit | codeparrot/github-code | 9627773e5dea694f7191d9e889fcb7254587875febac9d748e5d6af274b0e261 | 0.85 | testing_debugging_repair_refactoring | 524 | 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.IO.IsolatedStorage
{
[SkipOnTargetFramework(TargetFrameworkMonikers.UapAot, "#189... | elijah6/corefx | src/System.IO.IsolatedStorage/tests/System/IO/IsolatedStorage/CopyFileTests.cs | https://github.com/elijah6/corefx/blob/HEAD/src/System.IO.IsolatedStorage/tests/System/IO/IsolatedStorage/CopyFileTests.cs | ghcode:00003:b134af180621 | mit | codeparrot/github-code | b134af180621169fdc803fded0c96c5bf8e89f7946b1ebdacabf1c34663a3d78 | 0.95 | testing_debugging_repair_refactoring | 1,135 | false | 2026-07-17 |
namespace Fixie.Tests.Cases
{
public abstract class CaseTests
{
protected CaseTests()
{
Listener = new StubListener();
Convention = SelfTestConvention.Build();
}
protected Convention Convention { get; private set; }
protected StubListener Listene... | Duohong/fixie | src/Fixie.Tests/Cases/CaseTests.cs | https://github.com/Duohong/fixie/blob/HEAD/src/Fixie.Tests/Cases/CaseTests.cs | ghcode:00003:2d7a01c32075 | mit | codeparrot/github-code | 2d7a01c320759047e293e37481a0608f23bdb48539fa69881563fc41354894c8 | 0.75 | testing_debugging_repair_refactoring | 91 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp.CodeFixes.GenerateEnumMember;
using Mi... | ljw1004/roslyn | src/EditorFeatures/CSharpTest/Diagnostics/GenerateEnumMember/GenerateEnumMemberTests.cs | https://github.com/ljw1004/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Diagnostics/GenerateEnumMember/GenerateEnumMemberTests.cs | ghcode:00003:e0354edb7b67 | apache-2.0 | codeparrot/github-code | e0354edb7b67fa5654eeb53d0165b6de1af32f5a1f8711091c04375035d4269b | 0.85 | testing_debugging_repair_refactoring | 5,945 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalys... | brettfo/roslyn | src/EditorFeatures/CSharpTest/UsePatternCombinators/CSharpUsePatternCombinatorsDiagnosticAnalyzerTests.cs | https://github.com/brettfo/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/UsePatternCombinators/CSharpUsePatternCombinatorsDiagnosticAnalyzerTests.cs | ghcode:00003:e4d0a4987e8d | apache-2.0 | codeparrot/github-code | e4d0a4987e8d07ded987e7886289761d7c4198db9c06becf444ce06d327dfec0 | 0.85 | testing_debugging_repair_refactoring | 2,185 | 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.Diagnostics.CodeAnalysis;
using System.Thre... | marksmeltzer/corefx | src/Common/src/System/Dynamic/Utils/ContractUtils.cs | https://github.com/marksmeltzer/corefx/blob/HEAD/src/Common/src/System/Dynamic/Utils/ContractUtils.cs | ghcode:00003:915bbe896fc1 | mit | codeparrot/github-code | 915bbe896fc1ad109744aa0a55729782ec895500fbca74b5e5ede8dfadd7be19 | 0.95 | testing_debugging_repair_refactoring | 1,223 | 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... | hovsepm/azure-powershell | src/ResourceManager/Sql/Commands.Sql.Test/UnitTests/AzureSqlServerUpgradeAttributeTests.cs | https://github.com/hovsepm/azure-powershell/blob/HEAD/src/ResourceManager/Sql/Commands.Sql.Test/UnitTests/AzureSqlServerUpgradeAttributeTests.cs | ghcode:00003:78c984b02d78 | apache-2.0 | codeparrot/github-code | 78c984b02d78012fad763e02dc8ef3da77fcb595fe316e30329abc839ee9d73f | 0.85 | testing_debugging_repair_refactoring | 567 | false | 2026-07-17 |
#region License
/*
* Copyright © 2002-2011 the original author or 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... | yonglehou/spring-net | test/Spring/Spring.Messaging.Tests/Messaging/Listener/MultiThreadedNonTransactionalMessageListenerContainerTests.cs | https://github.com/yonglehou/spring-net/blob/HEAD/test/Spring/Spring.Messaging.Tests/Messaging/Listener/MultiThreadedNonTransactionalMessageListenerContainerTests.cs | ghcode:00003:724a61d54e94 | apache-2.0 | codeparrot/github-code | 724a61d54e94b6f0c45d9d8f45d8ec6be5766fbd261ac6836d19e40f3ca0018f | 0.85 | testing_debugging_repair_refactoring | 716 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using NUnit.Framework;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Schema;
namespace Newtonsoft.Json.Tests.Schema
{
public class JsonSchemaSpecTest
{
public string File... | SinnerSchraderMobileMirrors/Newtonsoft.Json | Src/Newtonsoft.Json.Tests/Schema/JsonSchemaSpecTests.cs | https://github.com/SinnerSchraderMobileMirrors/Newtonsoft.Json/blob/HEAD/Src/Newtonsoft.Json.Tests/Schema/JsonSchemaSpecTests.cs | ghcode:00003:e5655eb340a0 | mit | codeparrot/github-code | e5655eb340a05f37bd9a810b4f6c823872c2abe3b6d5b812d3acd4737c0969b9 | 0.85 | testing_debugging_repair_refactoring | 737 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using AutoTest.TestRunners.Shared;
using System.IO;
using AutoTest.TestRunners.Shared.Plugins;
using AutoTest.TestRunners.Shared.Options;
using System.Reflection;
namespace AutoTest.TestRunners.Tests
{
[Te... | continuoustests/AutoTest.Net | src/AutoTest.TestRunner/AutoTest.TestRunners.Tests/OptionsXmlWriterTests.cs | https://github.com/continuoustests/AutoTest.Net/blob/HEAD/src/AutoTest.TestRunner/AutoTest.TestRunners.Tests/OptionsXmlWriterTests.cs | ghcode:00003:f5237b4bdfe3 | mit | codeparrot/github-code | f5237b4bdfe34cdabfe07a9d9c01440a24999ab128c525ca0ab7542b846312b4 | 0.75 | testing_debugging_repair_refactoring | 466 | false | 2026-07-17 |
using Humanizer.Localisation;
using Xunit;
namespace Humanizer.Tests.Localisation.ar
{
[UseCulture("ar")]
public class DateHumanizeTests
{
[Theory]
[InlineData(-1, "أمس")]
[InlineData(-2, "منذ يومين")]
[InlineData(-3, "منذ 3 أيام")]
[InlineData(-11, "منذ 11 يوم")]
... | jaxx-rep/Humanizer | src/Humanizer.Tests.Shared/Localisation/ar/DateHumanizeTests.cs | https://github.com/jaxx-rep/Humanizer/blob/HEAD/src/Humanizer.Tests.Shared/Localisation/ar/DateHumanizeTests.cs | ghcode:00003:c3f9c6d2729e | mit | codeparrot/github-code | c3f9c6d2729ecfd332dde68217f5be6deadbf065f75915d97276e4f41ba13516 | 0.75 | testing_debugging_repair_refactoring | 1,199 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Autofac;
using NUnit.Framework;
using Orchard.Caching;
using Orchard.ContentManagement;
using Orchard.DisplayManagement.Descriptors;
using Orchard.DisplayManagement.Descriptors.ShapePlacementStrategy;
using Orchard.DisplayManagement.Implementatio... | gragarwa/orchard | src/Orchard.Tests/DisplayManagement/Descriptors/DefaultShapeTableManagerTests.cs | https://github.com/gragarwa/orchard/blob/HEAD/src/Orchard.Tests/DisplayManagement/Descriptors/DefaultShapeTableManagerTests.cs | ghcode:00003:b7648002d06d | bsd-3-clause | codeparrot/github-code | b7648002d06df897461a7bcb037d5f499174a5eb2c09bd1e6a1c121dc3696979 | 0.85 | testing_debugging_repair_refactoring | 2,419 | 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... | mayurid/azure-powershell | src/ServiceManagement/Common/Commands.ScenarioTest/AutomationTests/AutomationTests.cs | https://github.com/mayurid/azure-powershell/blob/HEAD/src/ServiceManagement/Common/Commands.ScenarioTest/AutomationTests/AutomationTests.cs | ghcode:00003:45143b24166f | apache-2.0 | codeparrot/github-code | 45143b24166f082e54d00a19cbcc82490fd1984b1d7228294c207c7e33bf239a | 0.85 | testing_debugging_repair_refactoring | 915 | 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.Linq;
using System.Text;
using Xunit;
namespace System.IO.FileSystem.Tests
{
public class File_ReadWriteAllLines : FileSystemTest
{
#regi... | dkorolev/corefx | src/System.IO.FileSystem/tests/File/ReadWriteAllLines.cs | https://github.com/dkorolev/corefx/blob/HEAD/src/System.IO.FileSystem/tests/File/ReadWriteAllLines.cs | ghcode:00003:557db3727564 | mit | codeparrot/github-code | 557db37275645be261bc65120623f65b23e7f14c68b650ea260b2d069463891c | 0.85 | testing_debugging_repair_refactoring | 959 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="PartialActionBuilderTests.cs" company="Akka.NET Project">
// Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </co... | thelegendofando/akka.net | src/core/Akka.Tests/MatchHandler/PartialActionBuilderTests.cs | https://github.com/thelegendofando/akka.net/blob/HEAD/src/core/Akka.Tests/MatchHandler/PartialActionBuilderTests.cs | ghcode:00003:cf7fa538591c | apache-2.0 | codeparrot/github-code | cf7fa538591c7afb79baad39a872662f036c13b394c8284289021ed101b79124 | 0.85 | testing_debugging_repair_refactoring | 4,978 | 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 ... | Phoenix1271/Lean | Tests/Indicators/MeanAbsoluteDeviationTests.cs | https://github.com/Phoenix1271/Lean/blob/HEAD/Tests/Indicators/MeanAbsoluteDeviationTests.cs | ghcode:00003:6bc0895fc863 | apache-2.0 | codeparrot/github-code | 6bc0895fc8633536a13e5851c8c019a68be6ddf85f6137e19485e0668e2ea3a1 | 0.85 | testing_debugging_repair_refactoring | 538 | 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 ... | AnshulYADAV007/Lean | Tests/Indicators/ConstantIndicatorTests.cs | https://github.com/AnshulYADAV007/Lean/blob/HEAD/Tests/Indicators/ConstantIndicatorTests.cs | ghcode:00003:00bc7ac50943 | apache-2.0 | codeparrot/github-code | 00bc7ac509438011b6008448cc479711efb14e14277a3157e4ce033e7affcef7 | 0.85 | testing_debugging_repair_refactoring | 377 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Text;
namespace Microsoft.Co... | MatthieuMEZIL/roslyn | src/Compilers/CSharp/Portable/Symbols/Synthesized/SynthesizedLocal.cs | https://github.com/MatthieuMEZIL/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Synthesized/SynthesizedLocal.cs | ghcode:00003:19417dfe7853 | apache-2.0 | codeparrot/github-code | 19417dfe78539a3feb2c7e8b026b10a40cf2c0864228fcd4ef5c9d645a0dada3 | 0.85 | testing_debugging_repair_refactoring | 1,055 | 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.IO.IsolatedStorage
{
[ActiveIssue(18940, TargetFrameworkMonikers.UapAot)]
pu... | Ermiar/corefx | src/System.IO.IsolatedStorage/tests/System/IO/IsolatedStorage/DeleteFileTests.cs | https://github.com/Ermiar/corefx/blob/HEAD/src/System.IO.IsolatedStorage/tests/System/IO/IsolatedStorage/DeleteFileTests.cs | ghcode:00003:48f9ada1f6fd | mit | codeparrot/github-code | 48f9ada1f6fda3a416ee3357c8deec728ade6b83254508671bc0c29505a4dc16 | 0.95 | testing_debugging_repair_refactoring | 510 | 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;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Test.Utilities;
using Roslyn.Test.Utilities.Parallel;
using Xunit;
namespace Mi... | droyad/roslyn | src/EditorFeatures/CSharpTest/Recommendations/GotoKeywordRecommenderTests.cs | https://github.com/droyad/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Recommendations/GotoKeywordRecommenderTests.cs | ghcode:00003:a04478a64e32 | apache-2.0 | codeparrot/github-code | a04478a64e32c7860dfb9b9087b8d46674487e25ceaac677b6820cba014cc720 | 0.75 | testing_debugging_repair_refactoring | 657 | 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.Composition.Convention.UnitTests;
using Sys... | krytarowski/corefx | src/System.Composition.Convention/tests/ExportBuilderTests.cs | https://github.com/krytarowski/corefx/blob/HEAD/src/System.Composition.Convention/tests/ExportBuilderTests.cs | ghcode:00003:e756745633c1 | mit | codeparrot/github-code | e756745633c1b0dc7ee64a4c538a809388c2dd90d980b97c46f790856d986616 | 0.95 | testing_debugging_repair_refactoring | 1,054 | false | 2026-07-17 |
using System;
using System.Diagnostics.CodeAnalysis;
using Delimited.Data.Utils;
using NUnit.Framework;
namespace Delimited.Data.Tests
{
[ExcludeFromCodeCoverage]
public class TypeExtensionsTests
{
[Test]
public void IsBoolean_WithNull_ShouldReturnFalse()
{
Assert.False(((object)null).IsBoolean());
}
... | putridparrot/Delimited.Data | Delimited.Data.Tests/TypeExtensionsTests.cs | https://github.com/putridparrot/Delimited.Data/blob/HEAD/Delimited.Data.Tests/TypeExtensionsTests.cs | ghcode:00003:c5ca2d75af18 | mit | codeparrot/github-code | c5ca2d75af1845b8554602d7fbefdb5ba266a0788219efbced53ba4ea71cf379 | 0.75 | testing_debugging_repair_refactoring | 446 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
#if L2S
using System.Data.Linq;
#endif
namespace ALinq.Dynamic.Parsers
{
//TODO:1、Cross Join 支持
/// <summary>
/// 用來解釋查詢語句
///... | ansiboy/ALinq | Query/Parsers/QueryParser.cs | https://github.com/ansiboy/ALinq/blob/HEAD/Query/Parsers/QueryParser.cs | ghcode:00003:5c19241a7e05 | mit | codeparrot/github-code | 5c19241a7e055e92c6c271aec444d652252ea51a732522448d271f3984282212 | 0.7 | testing_debugging_repair_refactoring | 9,251 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Charlotte.Camellias;
using Charlotte.Tools;
using System.IO;
namespace Charlotte.Tests.Camellias
{
public class CamelliaRingCBCTest
{
public void Test01()
{
for (int testCount = 1; testCount <= 1000; testCount++)
{... | stackprobe/CSharp | DLL/Camellia/Test01/Tests/Camellias/CamelliaRingCBCTest.cs | https://github.com/stackprobe/CSharp/blob/HEAD/DLL/Camellia/Test01/Tests/Camellias/CamelliaRingCBCTest.cs | ghcode:00003:0d9c4de961b6 | mit | codeparrot/github-code | 0d9c4de961b60291a27b87f902a53c4111d9208062ab08122b58ab2bd947f48a | 0.95 | testing_debugging_repair_refactoring | 761 | false | 2026-07-17 |
using Propeller.Mvc.Model;
namespace IntergrationTest.Models
{
public class CpuModel : PropellerModel<CpuModel>, IMips
{
public string ArchitectureName { get; set; }
public CpuModel Predecessor { get; set; }
public CpuModel Successor { get; set; }
public int InstructionCount ... | galtrold/propeller.mvc | src/Test/IntergrationTest/Models/CpuModel.cs | https://github.com/galtrold/propeller.mvc/blob/HEAD/src/Test/IntergrationTest/Models/CpuModel.cs | ghcode:00003:d1e0ad9ce5ea | mit | codeparrot/github-code | d1e0ad9ce5eac04fecc566f279b5452c6af0f23dc80f83ef902db6a1795fbcd4 | 0.85 | testing_debugging_repair_refactoring | 85 | false | 2026-07-17 |
namespace Gu.Localization.Tests
{
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using Gu.Localization.Tests.Errors;
using NUnit.Framework;
public class EnumTranslationTests
{
[Test]
public void Create()
... | JohanLarsson/Gu.Localization | Gu.Localization.Tests/EnumTranslationTests.cs | https://github.com/JohanLarsson/Gu.Localization/blob/HEAD/Gu.Localization.Tests/EnumTranslationTests.cs | ghcode:00003:78c1cf2a1869 | mit | codeparrot/github-code | 78c1cf2a186951bcb4a25f792c27cf2bb3450b8ae730e1a5b81348b6b068f8f5 | 0.75 | testing_debugging_repair_refactoring | 181 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Sodium;
using StreamCryptor.Helper;
namespace Tests
{
[TestFixture]
public class UtilitieTests
{
/// <summary>
/// Test the Pkcs7 padding.
/// </summary>
[Test]
public void PaddingTest()
{
var array ... | bitbeans/StreamCryptor | Tests/UtilitieTests.cs | https://github.com/bitbeans/StreamCryptor/blob/HEAD/Tests/UtilitieTests.cs | ghcode:00003:1202402fd767 | mit | codeparrot/github-code | 1202402fd76757ff80a90da3381c84504d31e5f13c4682ac2ccecb543958cb2f | 0.85 | testing_debugging_repair_refactoring | 1,683 | false | 2026-07-17 |
#region
using FluentAssertions;
using Highway.Data.Contexts;
using Highway.Data.Tests.InMemory.Domain;
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endregion
namespace Highway.Data.Tests.InMemory
{
[TestClass]
public class ShortIdentityStrategyTests
{
private readonly short seedNumber = ... | kmcginnes/Highway.Data | Highway/test/Highway.Data.Tests/InMemory/ShortIdentityStrategyTests.cs | https://github.com/kmcginnes/Highway.Data/blob/HEAD/Highway/test/Highway.Data.Tests/InMemory/ShortIdentityStrategyTests.cs | ghcode:00003:e26c57dc4a2d | mit | codeparrot/github-code | e26c57dc4a2d625c09dee8f443bc29b386c1816c9f92c43aa4c41349717ada1c | 0.95 | testing_debugging_repair_refactoring | 239 | false | 2026-07-17 |
using NUnit.Framework;
using Should;
namespace AutoMapper.UnitTests.Bug
{
namespace NullableConverterBug
{
namespace AutoMapperIssue
{
using System;
using System.Collections.Generic;
using AutoMapper;
[TestFixture]
publ... | IanYates83/AutoMapper | src/UnitTests/Bug/NullableConverterBug.cs | https://github.com/IanYates83/AutoMapper/blob/HEAD/src/UnitTests/Bug/NullableConverterBug.cs | ghcode:00003:10d466094545 | mit | codeparrot/github-code | 10d46609454517dcd3f00c21511f4d74f9f220f7b78128c13261f0274a994040 | 0.75 | testing_debugging_repair_refactoring | 289 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections;
using System.Data;
using System.Linq;
using System.Reflection;
using unQuery.SqlTypes;
namespace unQuery.Tests
{
[TestFixture]
public class StructuredDynamicYielderTests
{
[Test]
public void RawListOfImplicitTypes()
{
var value... | improvedk/unQuery | src/unQuery.Tests/StructuredDynamicYielderTests.cs | https://github.com/improvedk/unQuery/blob/HEAD/src/unQuery.Tests/StructuredDynamicYielderTests.cs | ghcode:00003:ae26c70e3f16 | mit | codeparrot/github-code | ae26c70e3f16f7f0139bc3457937d078a60ff84937f98832beda7d5dca04a066 | 0.75 | testing_debugging_repair_refactoring | 2,631 | false | 2026-07-17 |
using NUnit.Framework;
using QuakeConsole.Tests.Utilities;
namespace QuakeConsole.Tests
{
[TestFixture]
public class OverwriteInputAutocompletionTests : TestsBase
{
[Test]
public void CaretAtEndOfTargetValue_OverwriteFollowingInputUponAutocomplete()
{
Interp... | discosultan/quake-console | Interpreters/PythonInterpreter.Tests/OverwriteInputAutocompletionTests.cs | https://github.com/discosultan/quake-console/blob/HEAD/Interpreters/PythonInterpreter.Tests/OverwriteInputAutocompletionTests.cs | ghcode:00003:0fc0bda047ff | mit | codeparrot/github-code | 0fc0bda047ffb844be00a5ab05e2b65f9ccccc1b53d58a87ece9bd9a0e2cb56c | 0.75 | testing_debugging_repair_refactoring | 258 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Tangent.Tokenization;
namespace Tangent.Parsing.UnitTests
{
[TestClass]
[ExcludeFromCodeCoverage]
public class BlockTests
{
[TestM... | Telastyn/Tangent | Tangent.Parsing.UnitTests/BlockTests.cs | https://github.com/Telastyn/Tangent/blob/HEAD/Tangent.Parsing.UnitTests/BlockTests.cs | ghcode:00003:4b2426f35800 | mit | codeparrot/github-code | 4b2426f358000a6877b9800440a9cdfd3fccda05192793a3574ad978134eb1e1 | 0.75 | testing_debugging_repair_refactoring | 685 | false | 2026-07-17 |
using System;
using AtmaFileSystem;
using NUnitSplitRunner.Output;
namespace NUnitSplitRunner.Running
{
public class TestChunkFactory
{
private readonly IOptions _options;
readonly DirectoryName _partialDirName;
readonly int _allowedAssemblyCount;
readonly OutputBuilder _outputBuilder;
public... | grzesiek-galezowski/nunit-split-runner | Solution/NUnitSplitRunner/Running/TestChunkFactory.cs | https://github.com/grzesiek-galezowski/nunit-split-runner/blob/HEAD/Solution/NUnitSplitRunner/Running/TestChunkFactory.cs | ghcode:00003:3967d779d397 | mit | codeparrot/github-code | 3967d779d397c0546b954430827f02a3cc194b1510ad3582f819f6320862878c | 0.75 | testing_debugging_repair_refactoring | 201 | false | 2026-07-17 |
using NUnit.Framework;
using TagCache.Redis.FastJson;
namespace TagCache.Redis.Tests
{
[TestFixture(Category = "Fast JSON tests")]
public class RedisCacheProviderFastJsonTests : RedisCacheProviderTests
{
protected override CacheConfiguration NewCacheConfiguration(RedisConnectionManager conn... | jmenziessmith/TagCache.Redis | src/TagCache.Redis.Tests/RedisCacheProviderFastJsonTests.cs | https://github.com/jmenziessmith/TagCache.Redis/blob/HEAD/src/TagCache.Redis.Tests/RedisCacheProviderFastJsonTests.cs | ghcode:00003:671d29aa8754 | mit | codeparrot/github-code | 671d29aa87545230f3dadf11f2b4d8f99d006bbcc6bad321a2b6cad3d204342f | 0.75 | testing_debugging_repair_refactoring | 87 | false | 2026-07-17 |
using Xunit;
public class SpiralMatrixTests
{
[Fact]
public void Empty_spiral()
{
Assert.Empty(SpiralMatrix.GetMatrix(0));
}
[Fact(Skip = "Remove this Skip property to run this test")]
public void Trivial_spiral()
{
var expected = new[,]
{
{ 1 }
... | exercism/xcsharp | exercises/practice/spiral-matrix/SpiralMatrixTests.cs | https://github.com/exercism/xcsharp/blob/HEAD/exercises/practice/spiral-matrix/SpiralMatrixTests.cs | ghcode:00003:01c7559a331b | mit | codeparrot/github-code | 01c7559a331bd759e465e1e602318cb433b2feeeef3d5a74f48f5bdaf83a78ab | 0.75 | testing_debugging_repair_refactoring | 517 | false | 2026-07-17 |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Test : MonoBehaviour
{
public Enemy enemy;
public Player player;
public EnemyManger enemyManager;
// Use this for initialization
void Start ()
{
enemyManager = GameObject.FindGameObjectWithTag("E... | GalacticGlum/AngryCityTakedown | AngryCityTakedown/Assets/Scripts/Test.cs | https://github.com/GalacticGlum/AngryCityTakedown/blob/HEAD/AngryCityTakedown/Assets/Scripts/Test.cs | ghcode:00003:e8b29079be3a | mit | codeparrot/github-code | e8b29079be3a28c1a5f2d57767b2886179014eb706b4dc50185c7f6b552fe0dd | 0.75 | testing_debugging_repair_refactoring | 94 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using sokobanai.game;
namespace testsokobanai
{
[TestClass]
public class UnitTest1
{
[TestMethod]
[ExpectedException(typeof(ArgumentException))]
public void TestInvalidLevel()
{
var invalidLevel =... | yRefl3x/sokobanai | sokobanai/testsokobanai/UnitTest1.cs | https://github.com/yRefl3x/sokobanai/blob/HEAD/sokobanai/testsokobanai/UnitTest1.cs | ghcode:00003:6a93c0802890 | mit | codeparrot/github-code | 6a93c08028906539c196057d536ebf928fecfdf1216226fd4c87524f43e383ea | 0.6 | testing_debugging_repair_refactoring | 106 | false | 2026-07-17 |
using System;
using System.Collections;
using System.IO;
using deepequalitycomparer;
using NUnit.Framework;
namespace UsageOfNugetPackage
{
[TestFixture]
public class UseWithNUnit
{
private class SomeObject
{
public string Text { get; set; }
public int Number { g... | StefanStolz/DeepEqualityComparer | source/Integration/UsageOfNugetPackage/UseWithNUnit.cs | https://github.com/StefanStolz/DeepEqualityComparer/blob/HEAD/source/Integration/UsageOfNugetPackage/UseWithNUnit.cs | ghcode:00003:09c0dbcf6e64 | mit | codeparrot/github-code | 09c0dbcf6e64c1049901e5183dedab42e32660b7ccb7031397c8ff17b47c9120 | 0.6 | testing_debugging_repair_refactoring | 695 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Reflection;
using Reinforced.Typings.Exceptions;
using Reinforced.Typings.Fluent;
using Xunit;
namespace Reinforced.Typings.Tests.SpecificCases
{
public class Flat1 { }
public class Flat2 { }
public class Flat3 { }
public partial class Speci... | reinforced/Reinforced.Typings | Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.InvalidFlattenOrder.cs | https://github.com/reinforced/Reinforced.Typings/blob/HEAD/Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.InvalidFlattenOrder.cs | ghcode:00003:eb2039e84605 | mit | codeparrot/github-code | eb2039e846050ace1b5e12dd792091b8d44a2c898141e22ad1f15725eb5b42ed | 0.6 | testing_debugging_repair_refactoring | 372 | false | 2026-07-17 |
// Copyright (c) Nejc Skofic. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Moq;
using NUnit.Framework;
using Templates;
using TestHe... | nejcskofic/Trestel.SqlQueryAnalyzer | src/Trestel.SqlQueryAnalyzer/Trestel.SqlQueryAnalyzer.Test/Tests/GeneralCallSiteAnalysis.cs | https://github.com/nejcskofic/Trestel.SqlQueryAnalyzer/blob/HEAD/src/Trestel.SqlQueryAnalyzer/Trestel.SqlQueryAnalyzer.Test/Tests/GeneralCallSiteAnalysis.cs | ghcode:00003:417f2a2911b9 | mit | codeparrot/github-code | 417f2a2911b92bea10f46886da4e987b10876b4bd53d485f1df453fefc2ed5b5 | 0.85 | testing_debugging_repair_refactoring | 3,109 | false | 2026-07-17 |
using System.Threading;
using System.Threading.Tasks;
using bgTeam.Impl;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace bgTeam.Core.Tests.Core.Impl
{
public class StoryBuilderTests
{
[Fact]
public void SingletonsShoulPersist()
{
var services = (IServ... | bgTeamDev/bgTeam.Core | tests/bgTeam.Core.Tests/Tests/Core/Impl/StoryBuilderTests.cs | https://github.com/bgTeamDev/bgTeam.Core/blob/HEAD/tests/bgTeam.Core.Tests/Tests/Core/Impl/StoryBuilderTests.cs | ghcode:00003:9a353b14b149 | mit | codeparrot/github-code | 9a353b14b149a93703baa8efd9db0cb4d6bad2ac255c2618377a8e905a1fc652 | 0.85 | testing_debugging_repair_refactoring | 349 | 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.Linq;
using System.Linq.Expressions;
using Xunit;
namespace ComparedQueryable.T... | buildium/compared-queryable | test/ComparedQueryable.Test/NativeQueryableTests/AllTests.cs | https://github.com/buildium/compared-queryable/blob/HEAD/test/ComparedQueryable.Test/NativeQueryableTests/AllTests.cs | ghcode:00003:0d1533c063ff | mit | codeparrot/github-code | 0d1533c063ffea5b60e3a8c7b58cc68b1f7958ea6c5a3dfd74c20db7ee3e1c9e | 0.85 | testing_debugging_repair_refactoring | 285 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Dexiom.GenericExtensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
// ReSharper disable once CheckNamespace
namespace Dexiom.GenericExtensions.Tests
{
[TestClass()]
public class GenericExtensionsTests
{
... | Dexiom/Dexiom.GenericExtensions | Dexiom.GenericExtensionsTests/GenericExtensionsTests.cs | https://github.com/Dexiom/Dexiom.GenericExtensions/blob/HEAD/Dexiom.GenericExtensionsTests/GenericExtensionsTests.cs | ghcode:00003:aa952e3f7c03 | mit | codeparrot/github-code | aa952e3f7c030ad0a078219b75f0264432c4b3420b8375630589946b046198ef | 0.75 | testing_debugging_repair_refactoring | 339 | false | 2026-07-17 |
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2021 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3... | SonarSource-VisualStudio/sonarlint-visualstudio | src/Integration.UnitTests/Connection/BasicCredentialsValidatorTests.cs | https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio/blob/HEAD/src/Integration.UnitTests/Connection/BasicCredentialsValidatorTests.cs | ghcode:00003:f85752892d2f | mit | codeparrot/github-code | f85752892d2f58be84128bd2d3ca5363c6023f440103f07c70ed97daf9faaeac | 0.85 | testing_debugging_repair_refactoring | 858 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
using Xunit.Ab... | mafiya69/corefx | src/System.Net.Sockets.Legacy/tests/FunctionalTests/SendReceive.cs | https://github.com/mafiya69/corefx/blob/HEAD/src/System.Net.Sockets.Legacy/tests/FunctionalTests/SendReceive.cs | ghcode:00003:912a98f3d226 | mit | codeparrot/github-code | 912a98f3d22672b40e4401e87a7bbbf8856c9c7a3d7a25f620908e1ca8691e5e | 0.95 | testing_debugging_repair_refactoring | 4,006 | false | 2026-07-17 |
using System.Linq;
using NUnit.Framework;
using CodeIt.Data.Models;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CodeIt.UnitTests.DbModels.TrackTests
{
[TestFixture]
public class Name_Should
{
[Test]
public void Be_OfTypeString(... | sguzunov/CodeIt | CodeIt/CodeIt.UnitTests/DbModels/TrackTests/Name_Should.cs | https://github.com/sguzunov/CodeIt/blob/HEAD/CodeIt/CodeIt.UnitTests/DbModels/TrackTests/Name_Should.cs | ghcode:00003:7b349d1f7284 | mit | codeparrot/github-code | 7b349d1f7284ab755b5d4da2efd528b95d2f390419f2e2bb7eed8c8c85a1cb57 | 0.7 | testing_debugging_repair_refactoring | 326 | false | 2026-07-17 |
using System;
using System.Security.Cryptography;
using Jose;
using NUnit.Framework;
using Jose.keys;
namespace UnitTests
{
/// <summary>
/// Contains tests for potential security vulnerabilities/attacks found by security researchers in different JWT/JOSE
/// implementations.
///
/// Idea is to t... | dvsekhvalnov/jose-jwt | UnitTestsNet40/SecurityVulnerabilitiesTest.cs | https://github.com/dvsekhvalnov/jose-jwt/blob/HEAD/UnitTestsNet40/SecurityVulnerabilitiesTest.cs | ghcode:00003:107dfe17e755 | mit | codeparrot/github-code | 107dfe17e755b896c6b55d1479dd8c2e382aae90ee56bbdd8ebb6f7e9490c8af | 0.7 | testing_debugging_repair_refactoring | 1,812 | false | 2026-07-17 |
using Cumulus.MessageContracts;
namespace Cumulus.UnitTests.DispatcherTests.MessageContracts
{
public class SlowCommand : IBusCommand
{
}
} | AtmosphereMessaging/Cumulus | src/Tests/Cumulus.UnitTests/DispatcherTests/MessageContracts/SlowCommand.cs | https://github.com/AtmosphereMessaging/Cumulus/blob/HEAD/src/Tests/Cumulus.UnitTests/DispatcherTests/MessageContracts/SlowCommand.cs | ghcode:00003:5c38df9d2131 | mit | codeparrot/github-code | 5c38df9d21315f3538de33f295d312172aec6b7d1dbcd05903c5874c70a4985c | 0.6 | testing_debugging_repair_refactoring | 32 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using NBitcoin;
using Stratis.SmartContracts.Core;
using Stratis.SmartContracts.Core.Receipts;
using Xunit;
namespace Stratis.Bitcoin.Features.SmartContracts.Tests
{
public class BloomTests
{
[Fact]
public void Test_Equality()
... | Aprogiena/StratisBitcoinFullNode | src/Stratis.Bitcoin.Features.SmartContracts.Tests/BloomTests.cs | https://github.com/Aprogiena/StratisBitcoinFullNode/blob/HEAD/src/Stratis.Bitcoin.Features.SmartContracts.Tests/BloomTests.cs | ghcode:00003:3e7e53dbd50a | mit | codeparrot/github-code | 3e7e53dbd50ae3ee7da47514acff25cd03d11f12a5e98fd19d5a5651e6305916 | 0.85 | testing_debugging_repair_refactoring | 1,711 | false | 2026-07-17 |
using NUnit.Framework;
namespace Stratosphere.Tests.Math
{
public class Given_column_summed_matrix : Given_transformed_matrix
{
[SetUp]
public void When_transforming()
{
_matrix = TestMatrix.Data.Sum(0);
_expectedMatrix = "1 4 9";
}
}
} | mandrek44/stratosphere-net | UnitTests/Stratosphere.Tests.Math/Given_column_summed_matrix.cs | https://github.com/mandrek44/stratosphere-net/blob/HEAD/UnitTests/Stratosphere.Tests.Math/Given_column_summed_matrix.cs | ghcode:00003:e72955da1ea3 | mit | codeparrot/github-code | e72955da1ea3d0d962fd5b55835b76124fc0cc5d0859463e859946d4fb260eb4 | 0.75 | testing_debugging_repair_refactoring | 69 | false | 2026-07-17 |
namespace Animals
{
using System;
using System.Collections.Generic;
using System.Linq;
public class TestAnimals
{
public static void Main()
{
Animal jaba = new Frog("baba jaba", 1, Genders.Female);
Animal kekerica = new Frog("kekerica", 3, Genders... | ttitto/CSharp | Softuni/InheritanceAbstractionHW/Animals/TestAnimals.cs | https://github.com/ttitto/CSharp/blob/HEAD/Softuni/InheritanceAbstractionHW/Animals/TestAnimals.cs | ghcode:00003:65621bece695 | mit | codeparrot/github-code | 65621bece69552e9c010fd744ce22407f84be6bd0cec4b7146f9fe2f7586812d | 0.75 | testing_debugging_repair_refactoring | 358 | false | 2026-07-17 |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | pushrbx/squidex | tests/Squidex.Infrastructure.Tests/Caching/AsyncLocalCacheTests.cs | https://github.com/pushrbx/squidex/blob/HEAD/tests/Squidex.Infrastructure.Tests/Caching/AsyncLocalCacheTests.cs | ghcode:00003:f0c5db581800 | mit | codeparrot/github-code | f0c5db5818001a7b625dd20c5fcf6edaf63e141d2cfb38a3b89ae18c707dac12 | 0.85 | testing_debugging_repair_refactoring | 695 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace Silphid.Extensions.Tests
{
public class UriExtensionsTests
{
[Test]
public void ParseUriQueryParams_ReturnsParams()
{
var uri = new Uri("https://www.google.com?key1=expected1&key2=expected2&keys3");
var queryParams =... | Silphid/Silphid.Unity | Sources/Tests/System/UriExtensionsTests.cs | https://github.com/Silphid/Silphid.Unity/blob/HEAD/Sources/Tests/System/UriExtensionsTests.cs | ghcode:00003:bc25b9ea5951 | mit | codeparrot/github-code | bc25b9ea59516096fb831c426cf7d2fa906b42a8b70515d883df8fc90a755709 | 0.95 | testing_debugging_repair_refactoring | 241 | false | 2026-07-17 |
namespace Bakery.Processes
{
using System;
using System.Text;
using System.Threading.Tasks;
using Xunit;
public class SystemDiagnosticsProcessTests
{
[Fact]
public async Task EchoWithCombinedOutput()
{
var process = await new ProcessFactory().RunAsync(builder =>
{
return builder
... | brendanjbaker/Bakery | test/Bakery.Processes.Tests/Bakery/Processes/SystemDiagnosticsProcessTests.cs | https://github.com/brendanjbaker/Bakery/blob/HEAD/test/Bakery.Processes.Tests/Bakery/Processes/SystemDiagnosticsProcessTests.cs | ghcode:00003:e42af42593ad | mit | codeparrot/github-code | e42af42593ade4875cf4c01aac361688c513a274f315f0c38e1b66f376447af7 | 0.75 | testing_debugging_repair_refactoring | 180 | false | 2026-07-17 |
namespace AgileObjects.AgileMapper.UnitTests.Dynamics.Configuration
{
using AgileMapper.Configuration;
using Common;
using TestClasses;
using Xunit;
public class WhenConfiguringDynamicMappingIncorrectly
{
[Fact]
public void ShouldErrorIfRedundantSourceSeparatorIsConfigured()
... | agileobjects/AgileMapper | AgileMapper.UnitTests/Dynamics/Configuration/WhenConfiguringDynamicMappingIncorrectly.cs | https://github.com/agileobjects/AgileMapper/blob/HEAD/AgileMapper.UnitTests/Dynamics/Configuration/WhenConfiguringDynamicMappingIncorrectly.cs | ghcode:00003:1706cb17f570 | mit | codeparrot/github-code | 1706cb17f570dec8ae9ffa40a546bc18274dbfd8a4ba64c52bfb269e0f3212ce | 0.6 | testing_debugging_repair_refactoring | 454 | false | 2026-07-17 |
using Shouldly;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace Valit.Tests.Strategies
{
public class Complete
{
[Fact]
public void Complete_Strategy_Checks_All_Ensure()
{
var result = ValitRules<Model>.Create()
... | valit-stack/Valit | tests/Valit.Tests/Strategies/Complete.cs | https://github.com/valit-stack/Valit/blob/HEAD/tests/Valit.Tests/Strategies/Complete.cs | ghcode:00003:b70bae41c14e | mit | codeparrot/github-code | b70bae41c14e9529e5e5d246c11e64bf5b20abea34c59469a976265c710bc232 | 0.75 | testing_debugging_repair_refactoring | 427 | false | 2026-07-17 |
using System;
using System.Linq;
using FluentAssertions;
using NUnit.Framework;
using TaconiteMvc;
namespace TaconiteMVC.Tests.FluentSyntax
{
[TestFixture]
public class HideSyntaxTests
{
#region Hide Element(s)
[Test]
public void HideElement()
{
var selector = "#selector";
var resu... | jackleitch/taconite-mvc | TaconiteMVC.UnitTests/FluentSyntax/HideSyntaxTests.cs | https://github.com/jackleitch/taconite-mvc/blob/HEAD/TaconiteMVC.UnitTests/FluentSyntax/HideSyntaxTests.cs | ghcode:00003:2d72db48cc6f | mit | codeparrot/github-code | 2d72db48cc6f9310509e39f5324d5efe82894a7dab9385f097e9ce325bbf069e | 0.75 | testing_debugging_repair_refactoring | 215 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.