Dataset Viewer
Auto-converted to Parquet Duplicate
code
stringlengths
1
2.08M
repo_name
stringlengths
1
35
path
stringlengths
4
221
language
stringclasses
66 values
license
stringclasses
17 values
size
int64
1
2.08M
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Text.RegularExpressions; namespace FIS.iDET.Keygen { public partial class KeygenForm : Form { const string notV...
2atgroup
TiffBrowserTestCSharp/Keygen/KeygenForm.cs
C#
Microsoft Reciprocal License (Ms-RL)
1,259
namespace FIS.iDET.Keygen { partial class KeygenForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary>...
2atgroup
TiffBrowserTestCSharp/Keygen/KeygenForm.Designer.cs
C#
Microsoft Reciprocal License (Ms-RL)
8,209
using System; using System.Text; using System.Security.Cryptography; namespace FIS.iDET.Keygen { /// <summary> /// Calculate a serial number that matches a unique machine ID of a computer /// </summary> // Hoang add code ... public class LicenseService { public static str...
2atgroup
TiffBrowserTestCSharp/Keygen/LicenseService.cs
C#
Microsoft Reciprocal License (Ms-RL)
2,032
using System; using System.Collections.Generic; using System.Windows.Forms; namespace FIS.iDET.Keygen { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { A...
2atgroup
TiffBrowserTestCSharp/Keygen/Program.cs
C#
Microsoft Reciprocal License (Ms-RL)
492
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
2atgroup
TiffBrowserTestCSharp/Keygen/Properties/AssemblyInfo.cs
C#
Microsoft Reciprocal License (Ms-RL)
1,530
using System; using System.Drawing; namespace FIS.iDET.TemplateCreator { public class DataColumn { public DataColumn() { // set default values _width = 100; _type = DataTypeEnum.COLUMN_TYPE_TEXT; _header = "Untitled"; x =...
2atgroup
TiffBrowserTestCSharp/Template Creator/DataColumn.cs
C#
Microsoft Reciprocal License (Ms-RL)
2,632
using System; using System.Collections.Generic; using System.Text; namespace FIS.iDET.TemplateCreator { public static class DataTypeEnum { /* data type for datagridview column */ public const int COLUMN_TYPE_NUMBER = 0; public const int COLUMN_TYPE_DATE = 1; public c...
2atgroup
TiffBrowserTestCSharp/Template Creator/DataTypeEnum.cs
C#
Microsoft Reciprocal License (Ms-RL)
364
using System; using System.Collections.Generic; using System.Text; namespace FIS.iDET.TemplateCreator { /*class DoublePoint { public double X=0, Y=0; public DoublePoint(double X, double Y) { this. } }*/ public class DoubleRectangle { ...
2atgroup
TiffBrowserTestCSharp/Template Creator/DoubleRectangle.cs
C#
Microsoft Reciprocal License (Ms-RL)
669
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Diagnostics; namespace FIS.iDET.TemplateCreator { public partial class FormAbout : Form { public FormAbout() ...
2atgroup
TiffBrowserTestCSharp/Template Creator/FormAbout.cs
C#
Microsoft Reciprocal License (Ms-RL)
1,328
namespace FIS.iDET.TemplateCreator { partial class FormAbout { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </...
2atgroup
TiffBrowserTestCSharp/Template Creator/FormAbout.Designer.cs
C#
Microsoft Reciprocal License (Ms-RL)
10,104
using System; using System.Windows.Forms; using System.Drawing; namespace FIS.iDET.TemplateCreator { public partial class FormEdit : Form { public FormEdit() { InitializeComponent(); } private FormTemplateCreator parentForm; private bool editM...
2atgroup
TiffBrowserTestCSharp/Template Creator/FormEdit.cs
C#
Microsoft Reciprocal License (Ms-RL)
3,976
namespace FIS.iDET.TemplateCreator { partial class FormEdit { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </s...
2atgroup
TiffBrowserTestCSharp/Template Creator/FormEdit.Designer.cs
C#
Microsoft Reciprocal License (Ms-RL)
5,426
using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; namespace FIS.iDET.TemplateCreator { public partial class FormTemplateCreator : Form { public static double zoomFactor = 1; ImageService tifImage = null; public int count = 0;...
2atgroup
TiffBrowserTestCSharp/Template Creator/FormTemplateCreator.cs
C#
Microsoft Reciprocal License (Ms-RL)
29,774
namespace FIS.iDET.TemplateCreator { partial class FormTemplateCreator { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
2atgroup
TiffBrowserTestCSharp/Template Creator/FormTemplateCreator.Designer.cs
C#
Microsoft Reciprocal License (Ms-RL)
41,552
using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Windows.Forms; namespace FIS.iDET.TemplateCreator { public class GlobalConstants { /* VARIABLES */ // username public static string Username = "No Name"; //version ...
2atgroup
TiffBrowserTestCSharp/Template Creator/GlobalConstants.cs
C#
Microsoft Reciprocal License (Ms-RL)
1,488
using System; using System.Collections.Generic; using System.Text; namespace FIS.iDET.TemplateCreator { class GlobalVariables { public static string Version = "Version 2.1.0"; // current version of template creator public static string TemplateVersion = "2.0.6"; ...
2atgroup
TiffBrowserTestCSharp/Template Creator/GlobalVariables.cs
C#
Microsoft Reciprocal License (Ms-RL)
648
using System; using System.Drawing; using System.Drawing.Imaging; using System.Windows.Forms; namespace FIS.iDET.TemplateCreator { public class ImageService { string imageFileName; Bitmap tifImage; int totalFrames, currentFrame; ...
2atgroup
TiffBrowserTestCSharp/Template Creator/ImageService.cs
C#
Microsoft Reciprocal License (Ms-RL)
6,597
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using Microsoft.Win32; using System.Text.RegularExpressions; namespace FIS.iDET.TemplateCreator { public partial class LicenseKeyForm : F...
2atgroup
TiffBrowserTestCSharp/Template Creator/LicenseKeyForm.cs
C#
Microsoft Reciprocal License (Ms-RL)
2,617
namespace FIS.iDET.TemplateCreator { partial class LicenseKeyForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /...
2atgroup
TiffBrowserTestCSharp/Template Creator/LicenseKeyForm.Designer.cs
C#
Microsoft Reciprocal License (Ms-RL)
10,595
using System; using System.Security.Cryptography; using System.Text; namespace FIS.iDET.TemplateCreator { /// <summary> /// Generates a 16 byte Unique Identification code of a computer /// Example: 1234-8DB5-5763-69D3-FE52-8CF7-395D-2EA9 /// </summary> public class LicenseService ...
2atgroup
TiffBrowserTestCSharp/Template Creator/LicenseService.cs
C#
Microsoft Reciprocal License (Ms-RL)
8,446
using System; using System.Collections.Generic; using System.Windows.Forms; namespace FIS.iDET.TemplateCreator { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { ...
2atgroup
TiffBrowserTestCSharp/Template Creator/Program.cs
C#
Microsoft Reciprocal License (Ms-RL)
738
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
2atgroup
TiffBrowserTestCSharp/Template Creator/Properties/AssemblyInfo.cs
C#
Microsoft Reciprocal License (Ms-RL)
1,514
using System; using System.Collections.Generic; using System.Text; using Microsoft.Win32; using System.Windows.Forms; namespace FIS.iDET.TemplateCreator { public class RegistryService { private static RegistryKey appRegistryKey = Registry.CurrentUser.OpenSubKey(GlobalConstants.REGISTRY_PATH...
2atgroup
TiffBrowserTestCSharp/Template Creator/RegistryService.cs
C#
Microsoft Reciprocal License (Ms-RL)
3,516
using System; using System.Collections.Generic; using System.Xml; using System.IO; using System.Text; using System.Windows.Forms; namespace FIS.iDET.TemplateCreator { class XmlService { public static List<DataColumn> ReadXml(string fromFile) { try { ...
2atgroup
TiffBrowserTestCSharp/Template Creator/XmlService.cs
C#
Microsoft Reciprocal License (Ms-RL)
6,435
using System; using System.Windows.Forms; namespace FIS.iDET { public class ClipboardUtils { public static void OnDataGridPaste(object grid, KeyEventArgs e) { //MessageBox.Show(e.KeyCode.ToString()); if (e.Control ) if ( e.KeyCode =...
2atgroup
TiffBrowserTestCSharp/TiffBrowserTestCSharp/ClipboardUtils.cs
C#
Microsoft Reciprocal License (Ms-RL)
4,946
using System; using System.Collections.Generic; using System.Text; using System.Drawing; namespace FIS.iDET { public class DataColumn { public DataColumn() { // set default values _width = 100; _type = DataTypeEnum.COLUMN_TYPE_TEXT; ...
2atgroup
TiffBrowserTestCSharp/TiffBrowserTestCSharp/DataColumn.cs
C#
Microsoft Reciprocal License (Ms-RL)
3,001
using System; using System.Collections.Generic; using System.Text; namespace FIS.iDET { public static class DataTypeEnum { /* data type for datagridview column */ public const int COLUMN_TYPE_NUMBER = 0; public const int COLUMN_TYPE_DATE = 1; public const int COLUMN_...
2atgroup
TiffBrowserTestCSharp/TiffBrowserTestCSharp/DataTypeEnum.cs
C#
Microsoft Reciprocal License (Ms-RL)
348
using System; using System.Collections.Generic; using System.Text; namespace FIS.iDET { /*class DoublePoint { public double X=0, Y=0; public DoublePoint(double X, double Y) { this. } }*/ public class DoubleRectangle { public doubl...
2atgroup
TiffBrowserTestCSharp/TiffBrowserTestCSharp/DoubleRectangle.cs
C#
Microsoft Reciprocal License (Ms-RL)
653
End of preview. Expand in Data Studio

Microsoft CodePlex Archive Dataset

Dataset Description

Source code from the Microsoft CodePlex Archive on the Internet Archive. CodePlex was Microsoft's open-source project hosting service from 2006 to 2017, popular for .NET and Windows projects.

Dataset Summary

Statistic Value
Total Files 5,043,730
Total Repositories 38,087
Total Size 3.6 GB (compressed Parquet)
Programming Languages 91
File Format Parquet with Zstd compression (10 files)

Features

  • 38K repositories from the 2006-2017 period
  • 91 programming languages, dominated by C# and .NET
  • Metadata: repository name, file path, language, license, file size
  • Filtered to remove vendor code, build artifacts, and generated files

Languages

Top 30 of 91 languages by file count:

Rank Language File Count
1 C# 2,671,389
2 JavaScript 511,289
3 XML 210,627
4 HTML 203,106
5 C 200,427
6 CSS 192,974
7 HTML+Razor 150,753
8 C++ 149,283
9 ASP.NET 130,469
10 XAML 114,609
11 Visual Basic .NET 102,835
12 PHP 82,775
13 SQL 77,737
14 Java 70,745
15 INI 22,056
16 JSON 14,507
17 Less 12,785
18 Batchfile 12,327
19 Python 10,957
20 PowerShell 8,446
21 F# 7,879
22 Markdown 7,707
23 SCSS 7,594
24 Ruby 7,120
25 Objective-C 6,573
26 Swift 5,666
27 ActionScript 4,712
28 Java Server Pages 4,347
29 TypeScript 4,044
30 reStructuredText 3,597

Licenses

License File Count
Microsoft Public License (Ms-PL) 1,361,702
GNU General Public License version 2 (GPLv2) 757,005
Apache License 2.0 (Apache) 749,347
The MIT License (MIT) 577,346
Microsoft Reciprocal License (Ms-RL) 298,578
New BSD License (BSD) 240,622
GNU Library General Public License (LGPL) 204,837
GNU General Public License version 3 (GPLv3) 200,838
Common Development and Distribution License (CDDL) 165,029
GNU Lesser General Public License (LGPL) 132,699
Custom License 115,605
Mozilla Public License 2.0 (MPL-2.0) 62,260
Simplified BSD License (BSD) 58,250
Eclipse Public License (EPL) 46,882
Microsoft Permissive License (Ms-PL) v1.1 43,314
Mozilla Public License 1.1 (MPL) 26,129
Microsoft Community License (Ms-CL) v1.1 3,287

Dataset Structure

Data Fields

Field Type Description
code string File content (UTF-8)
repo_name string CodePlex project name
path string File path within repository
language string Programming language
license string Repository license
size int64 File size in bytes

Data Format

  • Format: Apache Parquet with Zstd compression
  • File Structure: 10 files (codeplex_0000.parquet to codeplex_0009.parquet)

Data Splits

Train split only.

Example Data Point

{
    "code": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel;\nusing System.Data;\nusing System.Drawing;\nusing System.Text;\nusing System.Windows.Forms;\n\nnamespace KeygenApp\n{\n    public partial class KeygenForm : Form\n    {\n        public KeygenForm()\n        {\n            InitializeComponent();\n        }\n    }\n}",
    "repo_name": "2atgroup",
    "path": "TiffBrowserTestCSharp/Keygen/KeygenForm.cs",
    "language": "C#",
    "license": "Microsoft Reciprocal License (Ms-RL)",
    "size": 1259
}

Dataset Creation

Pipeline

  1. Load project metadata from zips.csv (108,508 repositories)
  2. Extract 122 tar archives from the Internet Archive tars/ directory
  3. Extract source code from sourceCode/sourceCode.zip within each project
  4. Parse license/license.json for license metadata
  5. Filter non-code files
  6. Write to Parquet with Zstd compression

Language Detection

By file extension.

License Detection

Parsed from license/license.json in each project archive.

File Filtering

Size Limits

Limit Value
Max single file size 2 MB
Max line length 1,000 characters

Excluded Directories

  • Config: .git/, .github/, .gitlab/, .vscode/, .idea/, .vs/, .settings/, .eclipse/, .project/, .metadata/
  • Vendor: node_modules/, bower_components/, jspm_packages/, vendor/, third_party/, 3rdparty/, external/, packages/, deps/, lib/vendor/, target/dependency/, Pods/
  • Build: build/, dist/, out/, bin/, target/, release/, debug/, .next/, .nuxt/, _site/, _build/, __pycache__/, .pytest_cache/, cmake-build-*, .gradle/, .maven/, obj/
  • CodePlex metadata: discussions/, issues/, releases/, wiki/, wikiRender/
  • Tests: test/, tests/, spec/, specs/, __tests__/

Excluded Files

  • Lock files: package-lock.json, yarn.lock, pnpm-lock.yaml, Gemfile.lock, Cargo.lock, poetry.lock, Pipfile.lock, composer.lock, go.sum, mix.lock, packages.lock.json
  • Minified: files containing .min.
  • Hidden: files starting with . (except .htaccess)
  • Binary: .exe, .dll, .so, .dylib, .a, .lib, .o, .obj, .jar, .war, .ear, .class, .pyc, .pyo, .wasm, .bin, .dat, .pdf, .doc, .docx, .xls, .xlsx, .ppt, .pptx, .zip, .tar, .gz, .bz2, .7z, .rar, .jpg, .jpeg, .png, .gif, .bmp, .ico, .svg, .mp3, .mp4, .avi, .mov, .wav, .flac, .ttf, .otf, .woff, .woff2, .eot, .pdb, .nupkg, .snk
  • System: .DS_Store, thumbs.db

Content Filtering

  • UTF-8 Validation: must be valid UTF-8
  • Binary Detection: no null bytes, <30% non-printable characters in first 8KB
  • Generated Files: excluded if first 500 bytes contain generated by, do not edit, auto-generated, @generated, etc.
  • Empty Files: excluded
  • Long Lines: excluded if any line >1,000 characters in first 10 lines

Source Data

Microsoft CodePlex Archive on Internet Archive, tars/ directory (122 tar archives). 108,508 repositories accessible out of 108,516 listed.

Archive Structure

Each CodePlex project archive contains:

  • sourceCode/sourceCode.zip - source code (extracted)
  • license/license.json - license metadata (parsed)
  • discussions/, issues/, releases/, wiki/ - excluded

Considerations

Sensitive Information

May contain email addresses, accidentally committed credentials, or personal information in comments. Filter accordingly.

Licensing

Use must comply with the original repository licenses. The license field indicates each file's source license.

Downloads last month
59