Dataset Viewer
Auto-converted to Parquet Duplicate
code
stringlengths
0
21.5M
repo_name
stringlengths
4
92
path
stringlengths
1
189
language
stringlengths
0
26
license
stringclasses
11 values
size
int64
0
21.5M
/build/ /install/ /release/ /sources/ /libreboot.conf .version .revision .tarfiles .epoch push *.vim /TODO/ /docs/version /bucts/ /coreboot/ /crossgcc/ /flashrom/ /grub/ /memtest86plus/ /seabios/ /bin/ /resources/utilities/ich9deblob/*.rom /resources/utilities/ich9deblob/*.bin /resources/utilities/ich9deblob/ich9deblob...
intermsofthewhole/libreboot
.gitignore
Git
mit
795
Paper Build System ================== Entry Point ----------- The entry point for using the paper build system is the main script in the root directory, named after the build system (paper, libreboot, etc). Running the main script with no argument will show its general usage. Configuration ------------- The paper b...
intermsofthewhole/libreboot
BUILD_HOWTO
none
mit
5,832
Libreboot project Libreboot documentation is under docs/ The website is https://libreboot.org/ License can be found in COPYING and through parts of the source tree. Libreboot is a free BIOS or UEFI replacement (free as in freedom); libre boot firmware that initializes the hardware and starts a bootloader for your o...
intermsofthewhole/libreboot
README
none
mit
2,159
Libreboot 20160907 For existing boards, there are no new board specific changes. This release adds one new mainboard to libreboot: * Intel D945GCLF desktop motherboard (thanks to Arthur Heymans) Other bugfixes: * Various improvements to the documentation * re-added "unset superusers" to the grub.cfg, which was neede...
intermsofthewhole/libreboot
RELEASE
none
mit
5,279
--- title: How to install FreeBSD on a libreboot system ... This section relates to preparing, booting and installing FreeBSD on your libreboot system, using nothing more than a USB flash drive (and *dd*). They've only been tested on a Lenovo ThinkPad x200. It is expected that you use text mode in libreboot (txtmode ...
intermsofthewhole/libreboot
docs/bsd/freebsd.md
Markdown
mit
4,880
--- title: BSD projects ... This section relates to dealing with BSD projects: preparing bootable USB drives, changing the default GRUB menu and so on. **This section is only for the \*GRUB\* payload. For depthcharge, instructions have yet to be written.** - [How to install NetBSD on a libreboot system](netbsd.ht...
intermsofthewhole/libreboot
docs/bsd/index.md
Markdown
mit
590
--- title: How to install NetBSD on a libreboot system ... This section relates to preparing, booting and installing NetBSD on your libreboot system, using nothing more than a USB flash drive (and *dd*). They've only been tested on a librebooted ThinkPad X60. It is expected that you use text mode in libreboot (txtmod...
intermsofthewhole/libreboot
docs/bsd/netbsd.md
Markdown
mit
5,441
--- title: How to install LibertyBSD or OpenBSD on a libreboot system ... NOTE: This guide was written for OpenBSD by the person who contributed it, but the libreboot project recommends LibertyBSD. LibertyBSD is a version of OpenBSD without proprietary software in the repositories (OpenBSD distributes firmware blobs f...
intermsofthewhole/libreboot
docs/bsd/openbsd.md
Markdown
mit
6,901
Attribution-ShareAlike 4.0 International ======================================================================= Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or ...
intermsofthewhole/libreboot
docs/cc-by-sa-4.0.txt
Text
mit
20,133
--- title: Depthcharge payload ... This section relates to the depthcharge payload used in libreboot. - [CrOS security model](#cros_security_model) - [Developer mode screen](#developer_mode_screen) - Holding the developer mode screen - Booting normally - Booting from different mediums - S...
intermsofthewhole/libreboot
docs/depthcharge/index.md
Markdown
mit
7,366
diff --git a/src/mainboard/apple/macbook21/mainboard.c b/src/mainboard/apple/macbook21/mainboard.c index 9a025dd..a2adb76 100644 --- a/src/mainboard/apple/macbook21/mainboard.c +++ b/src/mainboard/apple/macbook21/mainboard.c @@ -40,6 +40,12 @@ extern const u32 *cim_verb_data; extern u32 cim_verb_data_size; +static ...
intermsofthewhole/libreboot
docs/future/donotusethis_macbook_acpi.diff
diff
mit
911
/* * This file is part of the coreboot project. * * Copyright (C) 2008-2009 coresystems GmbH * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * This program...
intermsofthewhole/libreboot
docs/future/dumps/5320_7c0000_gma.c
C++
mit
15,747
coreboot-4.0-6196-g1aa8cbd-7BETC7WW (2.08 ) Tue Jun 3 22:16:33 BST 2014 starting... Mobile Intel(R) 82945GM/GME Express Chipset (G)MCH capable of up to FSB 800 MHz (G)MCH capable of up to DDR2-667 Setting up static southbridge registers... GPIOS... done. Disabling Watchdog reboot... done. Setting up static northbri...
intermsofthewhole/libreboot
docs/future/dumps/5927_cbmemc
none
mit
64,109
# # Automatically generated file; DO NOT EDIT. # coreboot configuration # # # General setup # CONFIG_EXPERT=y CONFIG_LOCALVERSION="7BETC7WW (2.08 )" CONFIG_CBFS_PREFIX="fallback" CONFIG_COMPILER_GCC=y # CONFIG_COMPILER_LLVM_CLANG is not set # CONFIG_ANY_TOOLCHAIN is not set # CONFIG_CCACHE is not set # CONFIG_SCONFIG_...
intermsofthewhole/libreboot
docs/future/dumps/5927_config
none
mit
12,735
Time: 1401830541 s 274954 us Kernel: 3.14.4-gnuowen PCI ID: 0x27a2 EIR: 0x00000010 IER: 0x00028053 PGTBL_ER: 0x00000013 FORCEWAKE: 0x00000000 DERRMR: 0x00000000 CCID: 0x00000000 Missed interrupts: 0x00000000 fence[0] = 00000000 fence[1] = 00000000 fence[2] = 00000000 fence[3] = 00000000 fence[4] = 00000000 ...
intermsofthewhole/libreboot
docs/future/dumps/5927_crashdump
none
mit
1,419
End of preview. Expand in Data Studio

NotaBug Code Dataset

A comprehensive code dataset compiled from NotaBug.org, a free code hosting platform that emphasizes software freedom, privacy, and fully open-source infrastructure. This dataset is specifically designed to support training code models using code from freedom-conscious developers and the free software community.


Overview

The NotaBug Code Dataset represents a significant code corpus from a platform dedicated to software freedom and developer privacy. Built on a fully free software stack, it captures diverse open-source projects across thousands of programming languages and file types. This dataset serves as a valuable resource for developing code models that reflect free software practices and principles.

Key Statistics

Metric Value
Total Files 12,622,961
Total Repositories 11,660
Compressed Size 12 GB (Parquet with Zstd)
File Types/Languages 6,306 (by file extension)
File Format 12 Parquet files

Dataset Characteristics

Scope and Coverage

This dataset captures code from over 11,600 repositories hosted on NotaBug.org, including:

  • Free software focused community: Extensive coverage of code from developers committed to software freedom and open-source principles
  • Diverse language ecosystem: Support for 6,306 distinct file types identified by file extension
  • Rich metadata: Repository names, file paths, license information, and file sizes
  • Free software stack: Code hosted on a platform built entirely on free and open-source software
  • Quality-assured: Filtered to exclude files with excessively long lines

File Types and Languages

The dataset encompasses files across 6,306 different types. The 30 most represented file types by file count are:

Rank File Type File Count
1 C++ 2,219,208
2 po 2,022,441
3 none 1,572,451
4 PHP 951,354
5 patch 637,317
6 svg 547,170
7 XML 502,139
8 Python 392,476
9 Text 296,953
10 JavaScript 233,368
11 JSON 198,981
12 Scheme 192,409
13 Markdown 182,342
14 info 155,078
15 slackbuild 154,859
16 HTML 149,824
17 Shell 133,325
18 log 127,393
19 Makefile 112,989
20 INI 110,537
21 Lua 84,303
22 in 75,138
23 Assembly 74,519
24 list 58,346
25 Java 48,781
26 CSS 48,112
27 mk 47,373
28 dtsi 43,825
29 diff 42,125
30 el 41,017

License Distribution

Files are distributed across various open-source licenses, with MIT being predominant:

License File Count
MIT 10,029,349
MPL 2.0 1,178,420
Unknown 888,840
GPL 2.0 333,538
GPL 3.0 158,975
Unlicense 11,805
CC-BY 4.0 8,367
BSD-2-Clause 4,718
AGPL 3.0 3,055
CC-BY-SA 4.0 2,309
WTFPL 1,314
CC0 1.0 1,188
BSD-3-Clause 601
CC-BY-NC 4.0 269
LGPL 3.0 137
LGPL 2.1 76

Dataset Structure

Data Fields

Each record contains six fields providing comprehensive metadata and content information:

Field Type Description
code string The complete source file content in UTF-8 encoding
repo_name string Repository identifier in the format username/repository_name
path string File path relative to the repository root
language string File type/language inferred from file extension
license string Repository license (SPDX identifier or "unknown")
size int64 File size in bytes

Sample Record

{
    "code": "#!/usr/bin/env python2\n# -*- coding: utf-8 -*-\n# Copyright (C) 2014...",
    "repo_name": "intermsofthewhole/libreboot",
    "path": "resources/utilities/i945gpu/intel-regs.py",
    "language": "Python",
    "license": "mit",
    "size": 3733
}

File Format

  • Format: Apache Parquet with Zstd compression
  • Structure: 12 consolidated files (notabug_0000.parquet to notabug_0011.parquet)
  • Encoding: UTF-8
  • Split: All examples are included in a single training split (no validation or test splits)

Data Creation Process

Language Detection Methodology

Programming languages and file types are identified by file extension inference. This approach captures the intended purpose of each file while maintaining broad language coverage across the platform.

Source Data

All data originates from public repositories hosted on NotaBug.org, a platform built on fully free and open-source software infrastructure.

License Detection

License identification follows a systematic approach:

  1. Scan repositories for license files and declarations
  2. Match license text against known license patterns
  3. Default to "unknown" if no license can be detected

Quality Filtering

The dataset has undergone systematic filtering to ensure quality:

Line Length Constraints

  • Files with any line exceeding 1,000 characters are excluded
  • This ensures compatibility with text processing pipelines

Deduplication Policy

  • No deduplication was performed on the dataset
  • All files from public repositories are included as-is

Content Inclusion

  • UTF-8 encoded files are retained
  • All public repository content is preserved

Usage Considerations

Data Privacy and Security

The dataset may contain sensitive information that requires careful handling:

  • Email Addresses: Present in code comments, documentation, or configuration files
  • Credentials: Accidentally committed API keys or authentication tokens
  • Personal Information: Names, phone numbers, and other identifiable data in comments or documentation

Users should implement appropriate filtering and anonymization when preparing data for model training.

Licensing and Attribution

This dataset aggregates source code from repositories with diverse licenses. Any use of code or data derived from this dataset must comply with the original repository licenses, including attribution requirements where applicable.

The license field in each record indicates the license of the source repository. Users are responsible for:

  • Reviewing applicable license terms
  • Providing proper attribution when required
  • Ensuring compliance with license restrictions
  • Respecting the software freedom principles of the original projects

Free Software Principles

Users of this dataset should be mindful of the free software values of the NotaBug.org community:

  • Respect developer privacy and freedom
  • Support open-source software development
  • Consider contributing improvements back to the community
  • Use the dataset ethically and transparently

Technical Details

Source: Public repositories hosted on NotaBug.org

Annotations: Machine-generated (file type detection, license identification)

Language Detection: File extension-based inference

Task Categories: Text generation, code modeling, language understanding

Tags: Code, free software, open-source, software freedom

Platform Stack: Built on fully free and open-source software (GNU/Linux, GitLab Community Edition, etc.)


Downloads last month
48

Collection including Ujjwal-Tyagi/notabug