conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "human",
"value": "Add missing test for PG object metadata\n"
},
{
"from": "gpt",
"value": "using Marten.Testing.Documents;\nusing Marten.Util;\nusing Xunit;\n\nnamespace Marten.Testing.Schema\n{\n public class add_origin_Tests\n { \n [Fact]\n public void origi... | c# | chosen |
[
{
"from": "human",
"value": "Add Thread Queue Size Setting\n"
},
{
"from": "gpt",
"value": "using Hudl.FFmpeg.Attributes;\nusing Hudl.FFmpeg.Enums;\nusing Hudl.FFmpeg.Resources.BaseTypes;\nusing Hudl.FFmpeg.Settings.Attributes;\nusing Hudl.FFmpeg.Settings.Interfaces;\n\nnamespace Hudl.FFmpeg.Se... | c# | chosen |
[
{
"from": "system",
"value": "Fix nullref in IPC test.\n"
},
{
"from": "human",
"value": "// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.\r\n// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE\r\n\r\nusing osu.Framework.Graphics.OpenGL... | c# | chosen |
[
{
"from": "human",
"value": "Move database interactions into repository. This contains the actions for both days and items.\n"
},
{
"from": "gpt",
"value": "using System.Collections.Generic;\nusing System.Linq;\n\nnamespace food_tracker.Repository {\n public class NutritionRepository {\n\n ... | c# | chosen |
[
{
"from": "system",
"value": "Remove TFM requirement from API\n"
},
{
"from": "human",
"value": "// Licensed to the .NET Foundation under one or more agreements.\n// The .NET Foundation licenses this file to you under the MIT license.\n// See the LICENSE file in the project root for more inform... | c# | chosen |
[
{
"from": "human",
"value": "Fix FindByAccessibilityId bug where you were not to find a subelement of an element in a dom\n"
},
{
"from": "gpt",
"value": "using System.Collections.ObjectModel;\n\nnamespace OpenQA.Selenium.Appium.Interfaces\n{\n internal interface IFindByAccessibilityId\n ... | c# | chosen |
[
{
"from": "human",
"value": "Move a small part of current\n"
},
{
"from": "gpt",
"value": "using System;\nusing Umbraco.Core.Logging;\n\nnamespace Umbraco.Core.Composing\n{\n /// <summary>\n /// Provides a static service locator for most singletons.\n /// </summary>\n /// <remarks>\... | c# | chosen |
[
{
"from": "human",
"value": "Fix Windows file format issues"
},
{
"from": "gpt",
"value": "/*\r\n Copyright © Iain McDonald 2010-2019\r\n \r\n This file is part of Decider.\r\n*/\r\nusing System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\n\r\nusing Decider.Csp.BaseTypes;\r... | c# | chosen |
[
{
"from": "human",
"value": "Add unit tests for HtmlTemplatePrivider\n"
},
{
"from": "gpt",
"value": "namespace Host.UnitTests.Conversion\n{\n using Crest.Host.Conversion;\n using NUnit.Framework;\n\n [TestFixture]\n public sealed class HtmlTemplateProviderTests\n {\n [Tes... | c# | chosen |
[
{
"from": "human",
"value": "Add Microsoft Graph API calls\n"
},
{
"from": "gpt",
"value": "using Newtonsoft.Json.Linq;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Net.Http;\nusing System.Threading.Tasks;\nusing System.Web;\n\nnamespace SampleAADV2Bot.Hel... | c# | chosen |
[
{
"from": "human",
"value": "Add StackOverflow InteractiveWindow test for .NET Core\n"
},
{
"from": "gpt",
"value": "// Licensed to the .NET Foundation under one or more agreements.\n// The .NET Foundation licenses this file to you under the MIT license.\n// See the LICENSE file in the project ... | c# | chosen |
[
{
"from": "system",
"value": "Change prefab for different categories.\n"
},
{
"from": "human",
"value": "using System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\n\npublic class ObjectPool : MonoBehaviour\n{\n [SerializeField]\n private GameObject _prefab;\n\n p... | c# | chosen |
[
{
"from": "human",
"value": "Add mania player test scene\n"
},
{
"from": "gpt",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing osu.Game.Tests.Visual;\n\nnamespace osu.Game.Ru... | c# | chosen |
[
{
"from": "human",
"value": "Add code example for wiki.\n"
},
{
"from": "gpt",
"value": "using System;\n\n\nusing EOpt.Math.Optimization;\nusing EOpt.Math;\n\nnamespace Test\n{\n class Program\n {\n static void Main(string[] args)\n {\n\n Func<double[], double> fun... | c# | chosen |
[
{
"from": "human",
"value": "Implement the longest common pattern\n"
},
{
"from": "gpt",
"value": "using System;\nusing Algorithms.Sorting;\n\nnamespace Algorithms.Strings.Search\n{\n public class LongestCommonPattern\n {\n public String Find(String s1, String s2)\n {\n ... | c# | chosen |
[
{
"from": "human",
"value": "Add test scene for previewing Torus alternates\n"
},
{
"from": "gpt",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing NUnit.Framework;\nusing osu.... | c# | chosen |
[
{
"from": "human",
"value": "Load cadence constraint file to PCB-Investigator"
},
{
"from": "gpt",
"value": "//Synchronous template\r\n//-----------------------------------------------------------------------------------\r\n// PCB-Investigator Automation Script\r\n// Created on 29.06.2016\r\n// ... | c# | chosen |
[
{
"from": "system",
"value": "Fix weaver project search path in Linux\n"
},
{
"from": "human",
"value": "using System;\nusing System.IO;\nusing System.Linq;\n\npublic partial class Processor\n{\n public string WeaverAssemblyPath;\n public bool FoundWeaverProjectFile;\n\n public virtual ... | c# | chosen |
[
{
"from": "human",
"value": "Add interface for main character animations\n"
},
{
"from": "gpt",
"value": "\npublic interface IPlayerAnimator\n{\n\tvoid PlayIdleAnimation();\n\tvoid PlayRunAnimation();\n\tvoid PlayJumpAnimation();\n\tvoid PlayAttackAnimation();\n\tvoid PlayRunAttackAnimation();\... | c# | chosen |
[
{
"from": "human",
"value": "Test matching composite type handling\n"
},
{
"from": "gpt",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing System.Linq;\nusing NUnit.Framework;... | c# | chosen |
[
{
"from": "human",
"value": "Add static class for Serialize\n"
},
{
"from": "gpt",
"value": "using System;\nusing System.IO;\nusing System.Runtime.Serialization;\nusing System.Xml.Serialization;\n\nnamespace parallel_extension_demo\n{\n public static class XSerializer\n {\n public ... | c# | chosen |
[
{
"from": "human",
"value": "Create a case insensitive expando object\n\nCreated an expando object that replicates the behaviour of the built in\nSystem.Dynamic.ExpandoObject in .NET but without the case sensitivity issues\nSystem.Dynamic.ExpandoObject has.\n"
},
{
"from": "gpt",
"value": "// --... | c# | chosen |
[
{
"from": "system",
"value": "Add a new baked texure module methid to support baked texturing mesh avatars\n"
},
{
"from": "human",
"value": "////////////////////////////////////////////////////////////////\n//\n// (c) 2009, 2010 Careminster Limited and Melanie Thielker\n//\n// All rights reserv... | c# | chosen |
[
{
"from": "human",
"value": "Add first attempt of the Git unit tests\n"
},
{
"from": "gpt",
"value": "using System;\nusing System.IO;\nusing Ionic.Zip;\nusing NUnit.Framework;\n\nnamespace MSBuild.Version.Tasks.Tests\n{\n [TestFixture]\n public class GitVersionFileTest\n {\n [Se... | c# | chosen |
[
{
"from": "human",
"value": "Add tracingheader for support Diagnostics\n"
},
{
"from": "gpt",
"value": "// Copyright (c) .NET Core Community. All rights reserved.\n// Licensed under the MIT License. See License.txt in the project root for license information.\n\nusing System.Collections;\nusing... | c# | chosen |
[
{
"from": "human",
"value": "Add unit test for SecurityKeyEntropyMode.\n"
},
{
"from": "gpt",
"value": "// Licensed to the .NET Foundation under one or more agreements.\n// The .NET Foundation licenses this file to you under the MIT license.\n// See the LICENSE file in the project root for more... | c# | chosen |
[
{
"from": "human",
"value": "Add failing test coverage of loading with an unavailable ruleset\n"
},
{
"from": "gpt",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing System.IO;... | c# | chosen |
[
{
"from": "human",
"value": "Add an ad-hoc way to provide dependency to children\n"
},
{
"from": "gpt",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing System;\nusing System.L... | c# | chosen |
[
{
"from": "human",
"value": "Fix off indicator for json/asmdef file\n"
},
{
"from": "gpt",
"value": "using JetBrains.ReSharper.Feature.Services.Daemon;\nusing JetBrains.ReSharper.Plugins.Unity.JsonNew.Psi;\nusing JetBrains.ReSharper.Psi;\n\nnamespace JetBrains.ReSharper.Plugins.Unity.AsmDefNew.D... | c# | chosen |
[
{
"from": "human",
"value": "Add tests for new extensionmethods\n"
},
{
"from": "gpt",
"value": "using Contentful.Core.Extensions;\nusing Newtonsoft.Json.Linq;\nusing System;\nusing System.Collections.Generic;\nusing System.Text;\nusing Xunit;\n\nnamespace Contentful.Core.Tests.Extensions\n{\n ... | c# | chosen |
[
{
"from": "human",
"value": "Add collection to array Newtonsoft.Json based JSON converter\n"
},
{
"from": "gpt",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing Newtonsoft.Json;\n\nnamespace Marten.Util\n{\n /// <summary>\n /// Serialize collection typ... | c# | chosen |
[
{
"from": "system",
"value": "Fix visibility of internal extensions type\n"
},
{
"from": "human",
"value": "// Licensed to the .NET Foundation under one or more agreements.\n// The .NET Foundation licenses this file to you under the MIT license.\n// See the LICENSE file in the project root for m... | c# | chosen |
[
{
"from": "human",
"value": "Add Chat View - omitted before\n"
},
{
"from": "gpt",
"value": "<!DOCTYPE html>\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n <title>Michelangelo Web Chat</title>\r\n <link href='http://fonts.googleapis.com/css?family=Yesteryear' rel='styleshe... | c# | chosen |
[
{
"from": "human",
"value": "Add test for temporary directory\n"
},
{
"from": "gpt",
"value": "using System.IO;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Xunit;\n\nnamespace Meziantou.Framework.Tests\n{\n public class TemporaryDirectoryTests\n {\n [Fact]\n pu... | c# | chosen |
[
{
"from": "human",
"value": "Add helper class used to deserialize JSON.\n"
},
{
"from": "gpt",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Runtime.Serialization;\nusing System.Text;\n\nnamespace WundergroundClient.Autocomplete\n{\n [DataContra... | c# | chosen |
[
{
"from": "human",
"value": "Add the interface for the map manager\n"
},
{
"from": "gpt",
"value": "using System;\nusing System.Collections.Generic;\n\nnamespace FierceGalaxyInterface.MapModule\n{\n /// <summary>\n /// The MapManager load/save the map from/to the disk\n /// </summary>\... | c# | chosen |
[
{
"from": "human",
"value": "Add stress test of EventHandler\n\nFixes #138\n"
},
{
"from": "gpt",
"value": "using System;\n\n#if NUNIT\nusing NUnit.Framework;\nusing TestClassAttribute = NUnit.Framework.TestFixtureAttribute;\nusing TestMethodAttribute = NUnit.Framework.TestCaseAttribute;\n#else... | c# | chosen |
[
{
"from": "human",
"value": "Add file missing in build"
},
{
"from": "gpt",
"value": "using Microsoft.VisualStudio.TestPlatform.ObjectModel;\nusing Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;\nusing Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;\nusing System;\nusing Syst... | c# | chosen |
[
{
"from": "human",
"value": "Add Test to check GaugeLogMetrics log number of Rejections correctly\n"
},
{
"from": "gpt",
"value": "using System;\nusing Hudl.Mjolnir.Events;\nusing Hudl.Mjolnir.External;\nusing Moq;\nusing Xunit;\n\nnamespace Hudl.Mjolnir.Tests.Events\n{\n public class GaugeLo... | c# | chosen |
[
{
"from": "system",
"value": "Define contextual as coordinate subclass\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\n\nnamespace PA.TileList.Contextual\n{\n public class Contextual<T> : IContextual<T>\n whe... | c# | chosen |
[
{
"from": "system",
"value": "Fix typo in the documentation"
},
{
"from": "human",
"value": "using System;\nusing SampSharp.GameMode.World;\n\nnamespace SampSharp.GameMode.SAMP.Commands\n{\n /// <summary>\n /// A Permission checker is used to check if a player\n /// is allowed ... | c# | chosen |
[
{
"from": "human",
"value": "Enable IntelliSense for new component parameters.\n\n- Added a `FilePathComparison` object since not all string methods allow a comparer.\n- Updated `RazorDirectiveCompletionProvider` to also understand `.razor` files. This is an edge case scenario where users have disabled mode... | c# | chosen |
[
{
"from": "human",
"value": "Check in simple end-to-end test for covariant returns.\n"
},
{
"from": "gpt",
"value": "// Licensed to the .NET Foundation under one or more agreements.\n// The .NET Foundation licenses this file to you under the MIT license.\n// See the LICENSE file in the project ... | c# | chosen |
[
{
"from": "human",
"value": "Add gestione eccezioni servizi esterni\n"
},
{
"from": "gpt",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Text;\n\nnamespace SO115App.Models.Classi.Condivise\n{\n public class LogException\n {\n public DateTime DataOraEsecuz... | c# | chosen |
[
{
"from": "human",
"value": "Add missing test coverage over UnableToGenerateValueException\n"
},
{
"from": "gpt",
"value": "using System;\nusing Xunit;\n\nnamespace Peddler {\n\n public class UnableToGenerateValueExceptionTests {\n\n [Fact]\n public void WithDefaults() {\n\n ... | c# | chosen |
[
{
"from": "human",
"value": "Implement KTH API data fetcher\n"
},
{
"from": "gpt",
"value": "using Newtonsoft.Json;\nusing Org.Json;\nusing System;\nusing System.Collections.Generic;\nusing System.Diagnostics;\nusing System.IO;\nusing System.Linq;\nusing System.Net.Http;\nusing System.Runtime.S... | c# | chosen |
[
{
"from": "human",
"value": "Add tests for restoring the aggregate from events\n"
},
{
"from": "gpt",
"value": "using FluentAssertions;\nusing NetCoreCqrsEsSample.Domain.Models;\nusing Xunit;\n\nnamespace NetCoreCqrsEsSample.Tests.Domain\n{\n public class AggregateTests\n {\n [Fact... | c# | chosen |
[
{
"from": "human",
"value": "Add failing test case due to div by zero\n"
},
{
"from": "gpt",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing System.Linq;\nusing NUnit.Framewor... | c# | chosen |
[
{
"from": "human",
"value": "Add visual and assertive test coverage\n"
},
{
"from": "gpt",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing System.Linq;\nusing NUnit.Framework;... | c# | chosen |
[
{
"from": "human",
"value": "Create List.Head() and List.Tail() extension methods\n"
},
{
"from": "gpt",
"value": "using System.Collections.Generic;\nusing System.Linq;\n\nnamespace squirrel\n{\n public static class ExtensionMethods\n {\n public static T Head<T>(this List<T> list)\... | c# | chosen |
[
{
"from": "human",
"value": "Add in-process DB ORM test\n"
},
{
"from": "gpt",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing System.Text;\r\nusing System.Threading.Tasks;\r\nusing DataAccessExamples.Core.Data;\r\nusing DataAccessExamples.Core.Servic... | c# | chosen |
[
{
"from": "human",
"value": "Add test scene for beatmapset online status pill display\n"
},
{
"from": "gpt",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing System;\nusing Sys... | c# | chosen |
[
{
"from": "human",
"value": "Add default ignored request provider which discovers instances\n"
},
{
"from": "gpt",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Reflection;\nusing System.Runtime.Remoting.Messaging;\n\nnamespace Glimpse.Agent.Web.Op... | c# | chosen |
[
{
"from": "human",
"value": "Add report with basic metadata\n"
},
{
"from": "gpt",
"value": "using KenticoInspector.Core;\nusing KenticoInspector.Core.Constants;\nusing KenticoInspector.Core.Models;\nusing System;\nusing System.Collections.Generic;\nusing System.Text;\n\nnamespace KenticoInspec... | c# | chosen |
[
{
"from": "human",
"value": "Add test for init-only properties.\n"
},
{
"from": "gpt",
"value": "using Xunit;\n\n#if NET5_0\n\nnamespace Autofac.Test.Core\n{\n public class PropertyInjectionInitOnlyTests\n {\n public class HasInitOnlyProperties\n {\n public string... | c# | chosen |
[
{
"from": "system",
"value": "Remove the ActiveIssue(5555) tag for OSX\n\nSince the default root store should have trust for this cert now,\nconsider this scenario to be Generally Regarded As Safe, like it is\nfor the other platforms.\n"
},
{
"from": "human",
"value": "// Licensed to the .NET Fo... | c# | chosen |
[
{
"from": "human",
"value": "Create a class to parse the alis configuration node.\n"
},
{
"from": "gpt",
"value": "using System;\r\nusing System.Collections;\r\nusing System.Collections.Generic;\r\nusing System.Xml;\r\n\r\nnamespace Nohros.Configuration\r\n{\r\n internal class ProviderAliasesNo... | c# | chosen |
[
{
"from": "human",
"value": "Add tests for sqlite check constraints.\n"
},
{
"from": "gpt",
"value": "using System;\nusing NUnit.Framework;\nusing Moq;\nusing SJP.Schematic.Core;\n\nnamespace SJP.Schematic.Sqlite.Tests\n{\n [TestFixture]\n internal class SqliteCheckConstraintTests\n {\... | c# | chosen |
[
{
"from": "human",
"value": "Add acceptance tests for feature prerequisites\n"
},
{
"from": "gpt",
"value": "using System.Threading.Tasks;\nusing NServiceBus;\nusing NServiceBus.AcceptanceTesting;\nusing NServiceBus.AcceptanceTests.EndpointTemplates;\nusing NServiceBus.Features;\nusing NService... | c# | chosen |
[
{
"from": "human",
"value": "Add a interface for the NTP time module\n"
},
{
"from": "gpt",
"value": "using System;\n\nnamespace FierceGalaxyInterface.TimeModule\n{\n public interface NetworkTime\n {\n /// <summary>\n /// Return the time from a default NTP server\n //... | c# | chosen |
[
{
"from": "human",
"value": "Add temporary workaround to load annotations\n\nWorkaround for RIDER-13547\n"
},
{
"from": "gpt",
"value": "using System;\nusing System.Collections.Generic;\nusing JetBrains.Application;\nusing JetBrains.Metadata.Utils;\nusing JetBrains.ReSharper.Psi.ExtensionsAPI.E... | c# | chosen |
[
{
"from": "human",
"value": "Add fixed ignored request provider to allow user full controll\n"
},
{
"from": "gpt",
"value": "using System.Collections.Generic;\nusing System.Linq;\n\nnamespace Glimpse.Agent.Web.Options\n{\n public class FixedIgnoredRequestProvider : IIgnoredRequestProvider\n ... | c# | chosen |
[
{
"from": "human",
"value": "Add missing file to repository\n\n--HG--\nextra : convert_revision : charlie%40nunit.com-20100102164936-7cyzxrg2bwrq85pl\n"
},
{
"from": "gpt",
"value": "// ***********************************************************************\n// Copyright (c) 2010 Charlie Poole\... | c# | chosen |
[
{
"from": "human",
"value": "Create Soccer Lobby ball factory/manager\n"
},
{
"from": "gpt",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing SceneJect.Common;\nusing Sirenix.OdinInspector;\nusing Sirenix.Se... | c# | chosen |
[
{
"from": "human",
"value": "Add release manager command to show \"lagging\" packages\n\n(We should keep an eye on these.)\n\nCurrent output:\n\nGoogle.Cloud.BigQuery.Connection.V1 (1.0.0-beta01)\nGoogle.Cloud.Monitoring.V3 (2.1.0-beta01)\nGoogle.Cloud.OsConfig.V1 (1.0.0-beta01)\n"
},
{
"from": "gpt... | c# | chosen |
[
{
"from": "human",
"value": "Add default provider which uses reflection\n"
},
{
"from": "gpt",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq; \n\nnamespace Glimpse.Web\n{\n public class DefaultRequestAuthorizerProvider : IRequestAuthorizerProvider\n {\n ... | c# | chosen |
[
{
"from": "human",
"value": "Create polygon out of selectet lines and arcs"
},
{
"from": "gpt",
"value": "//-----------------------------------------------------------------------------------\r\n// PCB-Investigator Automation Script\r\n// Created on 2014-04-24\r\n// Autor support@easylogix.de\r\... | c# | chosen |
[
{
"from": "human",
"value": "Add test coverage of score importing\n"
},
{
"from": "gpt",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing System.Linq;\nusing NUnit.Framework;\n... | c# | chosen |
[
{
"from": "human",
"value": "Create User Module Ninject Commit\n"
},
{
"from": "gpt",
"value": "using Microsoft.AspNet.Identity;\nusing Microsoft.AspNet.Identity.EntityFramework;\nusing NeedDotNet.Server.Domain.Entities;\nusing NeedDotNet.Web.Infrastructure;\nusing NeedDotNet.Web.Services;\nusin... | c# | chosen |
[
{
"from": "human",
"value": "Check emptyness of an XDocument\n"
},
{
"from": "gpt",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Data;\nusing System.IO;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing System.Xml.Linq;\n\nnamespace Granit... | c# | chosen |
[
{
"from": "system",
"value": "Allow scenario class to take properties\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Threading.Tasks;\n\nusing NuGet;\n\nnamespace NuProj.Tests.Infrastructure\n{\n public ... | c# | chosen |
[
{
"from": "human",
"value": "Add failing test showing the issue of DHO lifetime\n"
},
{
"from": "gpt",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing NUnit.Framework;\nusing ... | c# | chosen |
[
{
"from": "human",
"value": "Create tests for grouped filters\n"
},
{
"from": "gpt",
"value": "using SqlKata.Compilers;\nusing SqlKata.Tests.Infrastructure;\nusing Xunit;\n\nnamespace SqlKata.Tests\n{\n public class WhereTests : TestSupport\n {\n [Fact]\n public void GroupedW... | c# | chosen |
[
{
"from": "human",
"value": "Add base class for all realtime multiplayer classes\n"
},
{
"from": "gpt",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing JetBrains.Annotations;\... | c# | chosen |
[
{
"from": "system",
"value": "Remove NumPages, Total, and LastPageUri from ListBase\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\n\nnamespace Twilio\n{\n\t/// <summary>\n\t/// Base class for list resource data\n\t/// </summary>\n\tpublic class TwilioListBas... | c# | chosen |
[
{
"from": "human",
"value": "Add missing enum for wood.\n"
},
{
"from": "gpt",
"value": "namespace Decent.Minecraft.Client\n{\n public enum Orientation : ushort\n {\n UpDown = 0x0,\n EastWest = 0x4,\n NorthSouth = 0x8,\n None = 0xC\n }\n}\n"
}
] | c# | chosen |
[
{
"from": "human",
"value": "Add some test coverage for Ensure"
},
{
"from": "gpt",
"value": "using System;\nusing Burr.Helpers;\nusing FluentAssertions;\nusing Xunit;\nusing Xunit.Extensions;\n\nnamespace Burr.Tests.Helpers\n{\n public class EnsureTests\n {\n public class TheArgum... | c# | chosen |
[
{
"from": "human",
"value": "Add an infraction search command\n"
},
{
"from": "gpt",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Discord;\nusing Discord.Commands;\nusing Discord.WebSocket;\nusing Modix.... | c# | chosen |
[
{
"from": "human",
"value": "Add swuber icon to gmaps marker and switch views to satelite\n"
},
{
"from": "gpt",
"value": "\n@{\n ViewBag.Title = \"UserDashBoard\";\n Layout = \"~/Views/Shared/_Layout.cshtml\";\n}\n\n<h2>UserDashBoard</h2>\n\n<fieldset>\n\n@if (Session[\"NNumber\"] != nul... | c# | chosen |
[
{
"from": "human",
"value": "Add partial class for retry settings (compatibility)\n"
},
{
"from": "gpt",
"value": "// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You ... | c# | chosen |
[
{
"from": "human",
"value": "Add integration tests for Empiria Oracle Data Handler and Empiria ORM\n"
},
{
"from": "gpt",
"value": "/* Empiria Extensions ****************************************************************************************\n* ... | c# | chosen |
[
{
"from": "human",
"value": "Move extensions to appropriate project\n"
},
{
"from": "gpt",
"value": "using System;\r\n\r\nnamespace Grobid.PdfToXml\r\n{\r\n public static class Extensions\r\n {\r\n // Same rules as pdftoxml.\r\n\r\n // Max difference in primary font sizes on... | c# | chosen |
[
{
"from": "system",
"value": "Add some sample console output\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace ConsoleApplicationSample\n{\n class Program\n {\n sta... | c# | chosen |
[
{
"from": "human",
"value": "Add dto for Teacher's list item\n"
},
{
"from": "gpt",
"value": "namespace DiplomContentSystem.Dto\n{\n public class TeacherListItem\n {\n public int Id {get;set;}\n public string FIO {get;set;}\n public string Position {get;set;}\n ... | c# | chosen |
[
{
"from": "human",
"value": "Add test scene for hitcircles and combo changes\n"
},
{
"from": "gpt",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing osu.Framework.Bindables;\nu... | c# | chosen |
[
{
"from": "human",
"value": "Add basic multiplayer gameplay test coverage\n"
},
{
"from": "gpt",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing System.Linq;\nusing NUnit.Fram... | c# | chosen |
[
{
"from": "human",
"value": "Add Storage function unit test\n\nThis demonstrates the use of MemoryLogger in unit tests.\n"
},
{
"from": "gpt",
"value": "// Copyright 2020 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in... | c# | chosen |
[
{
"from": "human",
"value": "Add labelled enum dropdown variant\n"
},
{
"from": "gpt",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing System;\nusing osu.Game.Graphics.UserInt... | c# | chosen |
[
{
"from": "human",
"value": "Add visual test case for report button\n\nMakes it much easier to test button/popover design changes\n"
},
{
"from": "gpt",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for fu... | c# | chosen |
[
{
"from": "human",
"value": "Add entry point.\nTechnically not really needed, but fixes a ReSharper warning.\n"
},
{
"from": "gpt",
"value": "using System;\n\nnamespace HelloCoreClrApp.Test\n{\n public static class Program\n {\n // Entry point for the application.\n public s... | c# | chosen |
[
{
"from": "human",
"value": "Add missing file (to b7f3a06 and later)\n"
},
{
"from": "gpt",
"value": "//\n// UniversityPortalConfig.cs\n//\n// Author:\n// Roman M. Yagodin <roman.yagodin@gmail.com>\n//\n// Copyright (c) 2016 Roman M. Yagodin\n//\n// Permission is hereby granted, free of c... | c# | chosen |
[
{
"from": "human",
"value": "Implement show-version command referred to in PROCESSES.md\n"
},
{
"from": "gpt",
"value": "// Copyright 2020 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n/... | c# | chosen |
[
{
"from": "human",
"value": "TEST Transaction: no DB connection if not needed, possible to pass DB connection."
},
{
"from": "gpt",
"value": "// \r\n// Copyright (c) 2014 Piotr Fusik <piotr@fusik.info>\r\n// \r\n// All rights reserved.\r\n// \r\n// Redistribution and use in source and binary for... | c# | chosen |
[
{
"from": "human",
"value": "Test that the container can resolve\nTest that the container can resolve the engine root object\nHaving this test would have saved some time recently\n"
},
{
"from": "gpt",
"value": "using System;\nusing NuKeeper.Configuration;\nusing NuKeeper.Engine;\nusing NUnit.F... | c# | chosen |
[
{
"from": "human",
"value": "Add default implementation for RequestProfilers provider\n"
},
{
"from": "gpt",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq; \n\nnamespace Glimpse.Agent.Web\n{\n public class DefaultRequestProfilerProvider : IRequestProfilerProvi... | c# | chosen |
[
{
"from": "human",
"value": "[red] Add failing test for assertion of concurrent calls\n"
},
{
"from": "gpt",
"value": "namespace FakeItEasy.Tests\r\n{\r\n using System.Threading;\r\n using System.Threading.Tasks;\r\n using FluentAssertions;\r\n using Xunit;\r\n using Xunit.Abstrac... | c# | chosen |
[
{
"from": "human",
"value": "Add tests for the ValidatorFixtureAttribute\n"
},
{
"from": "gpt",
"value": "using NUnit.Framework;\r\nusing System;\r\nusing System.Reflection;\r\n\r\nnamespace NValidate.Tests\r\n{\r\n [TestFixture]\r\n public class ValidatorFixtureAttributeTest\r\n {\r\n... | c# | chosen |
[
{
"from": "human",
"value": "Include DTO pretty printer extensions\n"
},
{
"from": "gpt",
"value": "using System;\nusing System.Text;\n\nnamespace CIAPI\n{\n ///<summary>\n /// Useful logging and debugging extensions\n ///</summary>\n public static class PrettyPrinterExtensions\n ... | c# | chosen |
[
{
"from": "human",
"value": "Add new tests for Choose Function\n"
},
{
"from": "gpt",
"value": "using System;\r\nusing System.IO;\r\nusing EPPlusTest.FormulaParsing.TestHelpers;\r\nusing Microsoft.VisualStudio.TestTools.UnitTesting;\r\nusing OfficeOpenXml;\r\nusing OfficeOpenXml.FormulaParsing;... | c# | chosen |
[
{
"from": "human",
"value": "Add a benchmark case for affects render.\n"
},
{
"from": "gpt",
"value": "using Avalonia.Controls;\nusing Avalonia.Media;\nusing BenchmarkDotNet.Attributes;\n\nnamespace Avalonia.Benchmarks.Visuals;\n\n[MemoryDiagnoser]\npublic class VisualAffectsRenderBenchmarks\n{... | c# | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.