added
string
created
string
id
string
metadata
dict
source
string
text
string
code-score
float64
md5
string
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850812
{ "extension": "c-sharp", "max_stars_count": "4841.0", "max_stars_repo_name": "mizhhieudo-it/FluentValidationASPnetCore", "max_stars_repo_path": "src/FluentValidation.Tests/TestValidatorWithPreValidate.cs", "provenance": "train-00027-of-00045.jsonl.gz:170032" }
starcoder
<reponame>mizhhieudo-it/FluentValidationASPnetCore using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FluentValidation.Tests { using Results; public class TestValidatorWithPreValidate : InlineValidator<Person> { public TestValid...
2.044293
a533b2cb7359332f4c9fdb5bf0d6e112
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850813
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "LT156809593/IceInk", "max_stars_repo_path": "IceInk/Tools/10.Abp/Login/Companies/AbpCompanyDto.cs", "provenance": "train-00027-of-00045.jsonl.gz:170033" }
starcoder
using System; namespace IceInkAbp.Login { /// <summary> /// 公司信息 /// </summary> public class AbpCompanyDto { public Guid Id { get; set; } /// <summary> /// 公司类型id /// </summary> public int CompanyTypeId { get; set; } /// <summary> /// 公司类型名...
2.11142
f84db5a8a15cd2671dcb299d01c927b9
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850814
{ "extension": "c-sharp", "max_stars_count": "15.0", "max_stars_repo_name": "amccool/patient-generator", "max_stars_repo_path": "PatientGenerator.Messaging/Validation/ValidationUtil.cs", "provenance": "train-00027-of-00045.jsonl.gz:170034" }
starcoder
/* * Copyright 2016-2017 Mohawk College of Applied Arts and Technology * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You may * obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
2.307358
cddd403a665002ff02fc38c918e3424a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850815
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "emipa606/VanillaFriendlyTraitExpansion", "max_stars_repo_path": "Source/More Traits/Thing_PostApplyDamage_Patch.cs", "provenance": "train-00027-of-00045.jsonl.gz:170035" }
starcoder
using HarmonyLib; using Verse; namespace Garthor_More_Traits { // Token: 0x0200000C RID: 12 [HarmonyPatch(typeof(Thing), "PostApplyDamage")] public static class Thing_PostApplyDamage_Patch { // Token: 0x06000010 RID: 16 RVA: 0x00002498 File Offset: 0x00000698 private static bool Prefix...
1.950255
1f9115671b8e77714a0778cbc6d81f4c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850816
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "azuresdkci1x/azure-sdk-for-net-1722", "max_stars_repo_path": "src/SDKs/Resource/Management.ResourceManager/Generated/Models/ResourceLinkFilter.cs", "provenance": "train-00027-of-00045.jsonl.gz:170036" }
starcoder
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. ...
1.975999
15345948022987ef69d96d0e6b2e00e9
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850817
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Gibe/Gibe.Navigation", "max_stars_repo_path": "Gibe.Navigation.Umbraco/NodeTypes/HomeNodeType.cs", "provenance": "train-00027-of-00045.jsonl.gz:170037" }
starcoder
using System.Collections.Generic; using Gibe.UmbracoWrappers; using Moq; using NUnit.Framework; using Umbraco.Core.Models.PublishedContent; using Umbraco.Web.PublishedCache; namespace Gibe.Navigation.Umbraco.NodeTypes { public class HomeNodeType : INodeType { private readonly IPublishedContentCache _publishedCont...
2.180241
0d3c74062b6ef1372f00dd9ef80d5f8c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850818
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "yooce/TradingChart", "max_stars_repo_path": "TradingChart/Plotters/AtrPlotter.cs", "provenance": "train-00027-of-00045.jsonl.gz:170038" }
starcoder
<filename>TradingChart/Plotters/AtrPlotter.cs<gh_stars>1-10 using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms.DataVisualization.Charting; namespace MagicalNuts.Plotters { /// <summary> /// ATRインジ...
2.938205
b509b093dafed3d68af8f99cf42d83a5
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850819
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "SNBnani/Xian", "max_stars_repo_path": "Desktop/Validation/ValidationAttributeException.cs", "provenance": "train-00027-of-00045.jsonl.gz:170039" }
starcoder
#region License // Copyright (c) 2011, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0 #endregion using System; namespace ClearCanvas.Desktop.Va...
2.192436
07bba5c34dc721132b354406be363b00
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850820
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Sweaty-Chair/SC-Essentials", "max_stars_repo_path": "Assets/SweatyChair/Essentials/UI/Transition/TransitionCanvas.cs", "provenance": "train-00027-of-00045.jsonl.gz:170040" }
starcoder
using SweatyChair.UI; using System.Collections; using UnityEngine; using UnityEngine.UI; namespace SweatyChair { public class TransitionCanvas : MonoBehaviour { #region Variables [Header("General")] [SerializeField] private UIFader _canvasFader; [SerializeField] private Image _mainImage; private Trans...
2.289973
9071cdcc119817a95d76e1ada2a64491
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850821
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "andysummers/CareWei", "max_stars_repo_path": "src/GardenHelper.Services.Azure/AzureVisionService.cs", "provenance": "train-00027-of-00045.jsonl.gz:170041" }
starcoder
<filename>src/GardenHelper.Services.Azure/AzureVisionService.cs using GardenHelper.Interfaces; using Microsoft.Cognitive.CustomVision; using Microsoft.Cognitive.CustomVision.Models; using Microsoft.ProjectOxford.Vision; using Microsoft.ProjectOxford.Vision.Contract; using System; using System.IO; using System.Linq; us...
2.689088
c32317d5534df8387336797e1d5c3220
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850822
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "JamesHuntCode/Rugby-League-App", "max_stars_repo_path": "RugbyLeagueMobileApp/RugbyLeagueMobileApp/ViewPlayerData.cs", "provenance": "train-00027-of-00045.jsonl.gz:170042" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; namespace RugbyLeagueMobileApp { [Activity(Label = "Loading...")] public class ViewPlayerData : A...
2.497672
4ba7a7498cdcd3f2d451d526b77ef146
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850823
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Tolkata99/NewFundamentalsLast", "max_stars_repo_path": "sELECT/sELECT/Program.cs", "provenance": "train-00027-of-00045.jsonl.gz:170043" }
starcoder
<reponame>Tolkata99/NewFundamentalsLast using System; using System.Linq; namespace sELECT { class Program { static void Main(string[] args) { string[] words = Console.ReadLine() .Split() .Select(w => w + "2wweaz") .ToArray(); ...
2.166262
b8540a0fa141fb235f3ac5e43443eceb
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850824
{ "extension": "c-sharp", "max_stars_count": "14.0", "max_stars_repo_name": "itdesigners/challenges", "max_stars_repo_path": "src/SubmissionEvaluation.Contracts/Data/Ranklist/SemesterPeriod.cs", "provenance": "train-00027-of-00045.jsonl.gz:170044" }
starcoder
namespace SubmissionEvaluation.Contracts.Data.Ranklist { public enum SemesterPeriod { SS, //Summer Semester WS //Winter Semester } }
1.606017
c5b6a09384c4d6a8f5100224d8c9db0c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850825
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "KvanTTT/Avalonia", "max_stars_repo_path": "src/Avalonia.ReactiveUI/Shims.cs", "provenance": "train-00027-of-00045.jsonl.gz:170045" }
starcoder
<filename>src/Avalonia.ReactiveUI/Shims.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; namespace System.Runtime.Serialization { class IgnoreDataMemberAttribute : Attribute { } class DataMemberAttribute : Attribute { } class OnDeserializedAttribute : At...
1.756717
efc36d9c5c30647d9a50f2d78f801dcb
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850826
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sehra/advent-of-code", "max_stars_repo_path": "AdventOfCode.Tests/Year2020/Day12Tests.cs", "provenance": "train-00027-of-00045.jsonl.gz:170046" }
starcoder
<gh_stars>0 namespace AdventOfCode.Year2020; [TestClass] public class Day12Tests { [DataTestMethod] [DataRow(25, "F10\nN3\nF7\nR90\nF11\n")] public void Part1(int expected, string input) { Assert.AreEqual(expected, new Day12(input).Part1()); } [DataTestMethod] [DataRow(286, "F10\nN3\nF7\nR90\nF11\n")] publi...
1.962608
76ccce9c4ea4467b525057bce2a4db80
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850827
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "edwardatki/unitycivclone", "max_stars_repo_path": "Assets/Scripts/CameraMouseControl.cs", "provenance": "train-00027-of-00045.jsonl.gz:170047" }
starcoder
<reponame>edwardatki/unitycivclone<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraMouseControl : MonoBehaviour { public bool mobile = false; public float maxZoom = 5f; public float minZoom = 15f; public Material invalidPathMat, validPa...
2.049228
36bfa57c27e2bae783d6fafec1055ed9
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850828
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "vordig/blackwood", "max_stars_repo_path": "Blackwood/Blackwood.Web/Contracts/Responses/ErrorWebResponse.cs", "provenance": "train-00027-of-00045.jsonl.gz:170048" }
starcoder
namespace Blackwood.Web.Contracts.Responses; public class ErrorWebResponse { public List<string> Errors { get; set; } = new(); public ErrorWebResponse() { } public ErrorWebResponse(string error) => Errors.Add(error); }
2.19483
28898b15de1b18d9c64965af143cdd83
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850829
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "cathode/gear", "max_stars_repo_path": "Gear.Net/Collections/NetworkedCollectionManager.cs", "provenance": "train-00027-of-00045.jsonl.gz:170049" }
starcoder
<filename>Gear.Net/Collections/NetworkedCollectionManager.cs using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Gear.Net.Collections { /// <summary> /// Provides a supervisory class that assists the ...
2.754286
9b5a35a9f5c9804f14ef277d202a524f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850830
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "isabella232/azure-render-hub", "max_stars_repo_path": "src/AzureRenderHub/AzureRenderHub.WebApp/Code/Extensions/ClaimsExtensions.cs", "provenance": "train-00027-of-00045.jsonl.gz:170050" }
starcoder
<reponame>isabella232/azure-render-hub<filename>src/AzureRenderHub/AzureRenderHub.WebApp/Code/Extensions/ClaimsExtensions.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; namespace WebApp.Code.Ex...
2.492152
dd49d0289579179f6e82201b39264109
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850831
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "snickroger/Totem", "max_stars_repo_path": "Source/Totem.Runtime/Timeline/IFlowScope.cs", "provenance": "train-00027-of-00045.jsonl.gz:170051" }
starcoder
<filename>Source/Totem.Runtime/Timeline/IFlowScope.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Totem.Runtime.Timeline { /// <summary> /// Describes the scope of a flow's activity on the timeline /// </summary> public interface IFlowScope : ICon...
2.290046
f62de5c81f607198ab2b3fae2caa9477
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850832
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "bulibilu/WingTip", "max_stars_repo_path": "WingTip/Site.Master.cs", "provenance": "train-00027-of-00045.jsonl.gz:170052" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using WingTip.Models; using WingTip.Logic; namespace WingTip { public partial class SiteMaster : MasterPage { protected void Page_Load(object sender, EventArgs e) { } pub...
2.182458
40945f89d3e30836fbd717fddddb7b67
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850833
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "chi-rei-den/Silverfish", "max_stars_repo_path": "cards/WILD_EVENT/WE1/Sim_WE1_039.cs", "provenance": "train-00027-of-00045.jsonl.gz:170053" }
starcoder
/* _BEGIN_TEMPLATE_ { "id": "WE1_039", "name": [ "索瑞森大帝", "<NAME>" ], "text": [ "在你的回合结束时,你所有手牌的法力值消耗减少(1)点。", "At the end of your turn, reduce the Cost of cards in your hand by (1)." ], "cardClass": "NEUTRAL", "type": "MINION", "cost": 6, "rarity": "LEGENDARY", "set": "WILD_EVENT", ...
1.588081
c490760ae7d498e5389b595ea2d30bf5
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850834
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "q2g/daVinci-wpf", "max_stars_repo_path": "src/ConfigData/Hub/TemplateItem.cs", "provenance": "train-00027-of-00045.jsonl.gz:170054" }
starcoder
namespace daVinci.ConfigData.Hub { using leonardo.Resources; #region Usings using System.ComponentModel; using System.Runtime.CompilerServices; using System.Windows.Input; #endregion public class TemplateItem : INotifyPropertyChanged { #region INotifyPropertyChanged pub...
2.601668
b1788559bc7a691c7c5867c30167f641
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850835
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "firatozbay/UnityLocalizationSystem", "max_stars_repo_path": "Assets/Scripts/ScriptableObjects/MultiLanguageVideoClip.cs", "provenance": "train-00027-of-00045.jsonl.gz:170055" }
starcoder
using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.Video; [Serializable] public struct LanguageVideoClipTuple { public Language Language; public VideoClip VideoClip; } [CreateAssetMenu( fileName = "New MultiLanguageVideoClip", menuName = "Localization/MultiLanguageVid...
2.374967
3c46ebbb3bfde05fce71d654522fbfc5
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8850836
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "gsgfintech/monitoring-aspnetcore", "max_stars_repo_path": "StratedgemeMonitor/Views/Alerts/SystemDetails.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:170056" }
starcoder
@using static Capital.GSG.FX.Data.Core.SystemData.SystemStatusLevel; @model StratedgemeMonitor.Models.Systems.SystemStatusModel @{ ViewBag.Title = Model.Name; } <div class="row"> <div class="col-xs-12" id="alertholder"> </div> </div> <div class="row"> <div class="col-lg-6 col-lg-offset-3"> <...
2.393744
4ae0941808f5eaafdc39acaac35039dd