Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
6
18.4k
label
class label
2 classes
source
stringclasses
7 values
negative_type
stringclasses
7 values
# i need to know if the "pine" license covers all contributors or just the main author.
1not_license_related
generated
copyright_discussion
Article 2 Copyrights and Terms and Conditions of Use The copyrights and the terms and conditions of use under this Agreement shall be subject to the provisions of the T-License established by T-Engine Forum on January 23, 2004. If the T-License referred to in the preceding paragraph has been revised, this Agre...
0license_related
scancode
# https://docs.djangoproject.com/en/1.8/ref/settings/#databases
1not_license_related
code_corpus
generic_code_comment
indicated by the Software when first executed. 4.2.1 License. In addition to the other terms contained herein, Licensee’s license to evaluate the Software is limited to use strictly for Licensee’s own internal evaluation and review purposes and not for production purposes. Licensee may (a) install the Software on one ...
0license_related
scancode
# Version 1.16: Added version
1not_license_related
code_corpus
generic_code_comment
as is inherent to this type of development. ß8 Limitation of liability Except in cases of intent and gross negligence or causing personal injury, the Contributors, their legal representatives, trustees, officers and employees shall not be liable for direct or indirect, material or immaterial loss or damage of any kin...
0license_related
scancode
You and linked into the Source Code or Executable Files this Work shall not be considered part of this Work and will not be subject to the terms of this License. 4. Patent License. Subject to the terms and conditions of this License, each Author hereby grants to You a perpetual
0license_related
synthetic
send messages, or otherwise use the Service. FEES AND PAYMENTS Yahoo reserves the right to charge fees for future use of or access to the Service, or other Yahoo services and web sites, in Yahoo's sole discretion. If Yahoo decides to charge fees, such charges will be disclosed to you prior. EQUIPMENT REQUIRED AND OP...
0license_related
scancode
dans ce contrat sont fournies ci-dessous en français. EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert « tel quel ». Toute utilisation de ce logiciel est à votre seule risque et péril. Microsoft n’accorde aucune autre garantie expresse. Vous pouvez bénéficier de dr [...] ce de contrefaçon
0license_related
synthetic
business or worker-owned collective. ii. after tax, all financial gain, surplus, profits and benefits produced by the business or collective are distributed among the worker-owners unless a set amount is to be allocated towards community projects as decided by a previously-established consensus agreeme...
0license_related
scancode
# Exposes user session state for the Ruby runtime.
1not_license_related
code_corpus
generic_code_comment
a device designed, licensed or developed by XMOS. Without limitation to these terms and clause 3 below, the Source Code and Compiled Code to your Derivatives may at your discretion (but without obligation) be released, copied, displayed, published, distributed and made available; and if you elect to do so, it must be ...
0license_related
scancode
way, the nature of the modifications made to CNRI's Software. 4. Licensee may not use CNRI trademarks or trade name, including JPython or CNRI, in a trademark sense to endorse or promote products or services of Licensee, or any third party. Licensee may use the mark JPython in connection with Licensee...
0license_related
scancode
or incorporating any Subject Software without prior written permission of SGI. 5. No Other Rights. No rights or licenses not expressly granted hereunder shall arise by implication, estoppel or otherwise. Title to and ownership of the Original Software at all times remains with SGI. All rights in the Origi- nal Softwar...
0license_related
scancode
stating that you changed the files; c. You shall retain in all copies of the Materials that you distribute the following attribution notices within a "Notice" text file distributed as a part of such copies: "Qwen is licensed under the Qwen LICENSE AGREEMENT, Copyright (c) Alibaba Cloud. All Rights Reserved."; and ...
0license_related
scancode
information on how to access these sheets and
0license_related
scancode
FIXME: The Apache 1.0 NOTICE file lists "John Doe" but his email bounced. Need to verify ownership.
1not_license_related
generated
todo_fixme
This product includes software originally developed by the Delta Tech Consortium.
1not_license_related
generated
same_register_notice
the bundle is not identified, labeled, described, or otherwise marketed with the bundled work being the primary product associated with the bundle. c) Distribution of Modified Work may directly profit, including profitable sale of the Modified Work, provided that the Licensee h...
0license_related
scancode
module which is not derived from or based on RXTX. Note that people who make modified versions of RXTX are not obligated to grant this special exception for their modified versions; it is their choice whether to do so. The G
0license_related
synthetic
FIXME: Remove hardcoded FSF references in docs—might not be compliant with fsfullrsd’s terms.
1not_license_related
generated
todo_fixme
# TODO: Add mulanpubl-1.0 license file to `/LICENSES/mulanpubl.txt` per compliance standards
1not_license_related
generated
todo_fixme
You require a license that allows for Commercialization, please contact Licensor at: license@arachni-scanner.com In cases of uncertainty, clarifications can be provided by Licensor on a case-by-case basis, please contact: license@arachni-scanner.com 3. Redistribution Redistribution is permitted under the fo...
0license_related
scancode
4 below. 2. ***Grant of Patent License:*** Subject to the terms of this Agreement, Licensor hereby grants to You a worldwide, non-exclusive, non-transferable limited patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer Redp...
0license_related
scancode
by a name other than "ssh" or "Secure Shell". " ===== loginrec.c loginrec.h atomicio.h atomicio.c and strlcat() (included in util.c) are from OpenSSH 3.6.1p2, and are licensed under the 2 point BSD license. loginrec is written primarily by Andre Lucas, atomicio.c by Theo de Raadt. strlcat() is (c) Todd C. Miller =...
0license_related
scancode
of themselves be a violation of this restriction: (i) Posting the Program on a public access information storage and retrieval service for which a fee is received for retrieving information (such as an on-line service), provided that the fee is not content-dependent (i.e., the fee would be the same for retrieving the ...
0license_related
scancode
having jurisdiction, by the more diligent Party.
0license_related
scancode
Red Hat Enterprise Agreement PLEASE READ THIS AGREEMENT CAREFULLY BEFORE PURCHASING AND/OR USING SOFTWARE OR SERVICES FROM RED HAT. BY USING RED HAT SOFTWARE OR SERVICES, CLIENT SIGNIFIES ITS ASSENT TO AND ACCEPTANCE OF THIS AGREEMENT AND ACKNOWLEDGES IT HAS READ AND UNDERSTANDS THIS AGREEMENT. AN INDIVIDUAL ACTING O...
0license_related
fossology
commercial advantage or monetary compensation. 3.3 For sake of clarity, Non-Commercial use of the Works under this License does [...] cts, offers, consulting, or services that are intended for or directed towards commercial advantage, and c) combining or bundling the Works with products, projects, offers, consulting, ...
0license_related
synthetic
For `Gherkin <http://cukes.info/>` syntax. *New in Pygments 1.2.*
1not_license_related
code_corpus
generic_code_comment
2.2 专利许可:每个贡献者根据本许可证授予您永久的、全球范围的、免费的、 非排他的、不可撤销的(根据本款规定撤销许可的特定情形除外)专利许可,以 制造、委托制造、使用、销售、许诺销售、进口或以其他方式转移本“模型”“衍 生模型”“补充材料”及其修改。前述专利许可仅限于贡献者现在或将来拥有或 控制的其贡献本身或其贡献与其提交该贡献时本“模型”或“补充材料”的结合 而将必然会侵犯的专利权利要求。如果您或您的关联主体对任何人发起专利侵权 诉讼(包括诉讼中的反诉或交叉诉讼)或其他专利维权行动,主张本“模型”“补 充材料”或其中所含的贡献构成直接或间接专利侵权,则贡献者根据本许可证授 予您的知识产权许可自您或您的关联主体提起该诉讼或发起该维...
0license_related
scancode
// TODO: Re-enable OLDAP-2.6-compliant logging once we finalize the new license.
1not_license_related
generated
commented_code
7) Limitation of Liability. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE LICENSOR BE LIABLE TO ANY PERSON FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING AS A RESULT OF THIS LICENSE OR THE USE OF...
0license_related
scancode
# signame:str to sigid:int _lookup = [] # sigid:int to signame:str @st
1not_license_related
code_corpus
generic_code_comment
``` - 4. Burmese Word Break Dictionary Data (burmesedict.txt) # Copyright (c) 2015 Acme Technology Solutions # and others. All Rights Reserved. # # -------------------------------------------------------------------------------- # Copyright (c) 2014, John Doe # All rights reserved. # # Redistribution and use ...
0license_related
augmented
// The license says "as is" - does that mean we can't even guarantee the PSL format stays correct?
1not_license_related
generated
license_discussion
no longer providing Root Certificates for use.
0license_related
scancode
in these terms is intended to affect those rights. 14. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. You can recover from Microsoft and its suppliers only direct damages up to U.S. $5.00. You cannot recover any other damages, including consequential, lost profits, special, indirect or incidental damages. This ...
0license_related
scancode
under a separate agreement permitting such use. OwnershipOracle or its licensors retain all ownership and intellectual property rights to the
0license_related
scancode
// I don’t get why this library isn’t just LGPL. The classpath exception seems like overkill for interoperability.
1not_license_related
generated
license_discussion
This cryptographic solution is covered by German Patent No. DE102015213456 and other pending patents. Use and distribution are subject to the terms and conditions specified in the CyberSafe Software License Agreement.
1not_license_related
generated
same_register_notice
``` Copyright (C) 2019-2024 Quanta Systems Corp. and OpenCompute Initiative contributors (see CONTRIBUTORS) ```
0license_related
augmented
This product contains third-party libraries developed by the OpenData Consortium (https://opendata.org). For licensing information, please refer to their website.
1not_license_related
generated
same_register_notice
# The CLA says we retain copyright, but the "field of use" restrictions feel like we’re just licensing it to them forever. Is that even legal?
1not_license_related
generated
copyright_discussion
This software includes components developed by the AlphaTech Community (http://www.alphatech.org/). Use of this software signifies your agreement to the terms of the AlphaTech Developer Agreement.
1not_license_related
generated
same_register_notice
profits, special, indirect or incidental dama [...] patents that you think may apply to the Software for a person's use of the Software, your license to the Software ends automatically. That the patent rights, if any, granted in this license only apply to the Software, and do NOT extend to any component or file not in...
0license_related
synthetic
@author Hana Moreau <hana.moreau@nakatomi.org>
1not_license_related
code_corpus
generic_code_comment
// Why is the copyright year still 2015 for this GPL-2.0-adaptec file? Should we update it?
1not_license_related
generated
copyright_discussion
ON BEHALF OF SUCH ENTITY. 1. Definitions
0license_related
scancode
and independent works, assembled into a collective whole. c. "Derivative Work" means any work created by the editing, modification, adaptation or translation of the Work in any media (however a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this Licence). For th...
0license_related
scancode
FIXME: `src/utils/validation.js` still has "hyphen-bulgarian" in the header, but we switched to Apache 2.0 last month
1not_license_related
generated
todo_fixme
# Does "ms-nt-resource-kit" copyright belong to Microsoft, or is it public domain now? No idea.
1not_license_related
generated
copyright_discussion
# autogenerated file. # # All configuration values have a default; values that are
1not_license_related
code_corpus
generic_code_comment
Component: ABS System v2.1. Copyright 2021 SafeMotive Corp. Provided 'as is' without warranty; the manufacturer assumes no liability for damages.
1not_license_related
generated
same_register_notice
**unlimited-linking-exception-gpl** In addition to the permissions in the GNU General Public License, the Free Software Foundation grants: - unlimited permission to link the compiled version of this file with other programs, - unlimited permission to distribute those programs without any restriction stemming from t...
0license_related
synthetic
Work a copy of this License along with the Covered Work. 2.2 You must keep intact all authorship and copyright notices and when conveying or offering to convey copies (verbatim or modified) you must a
0license_related
synthetic
* Creates a `_.find` or `_.findLast` function. * * @private * @param {Function} findIndexFunc The function to find the collection index. * @returns {Function} Returns the new find function.
1not_license_related
code_corpus
generic_code_comment
# for all users in R:
1not_license_related
code_corpus
generic_code_comment
/* TODO: Uncomment proprietary-licensed code once we get written approval from vendor
1not_license_related
generated
commented_code
exclusion may not apply to you to its full extent. U.S. Government Users The Software is "commercial computer software" any use of which by or on behalf of the U.S. Government is subject to the restrictions herein. Manufactured by BitTorrent, Inc.
0license_related
scancode
PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. TO THE EXTENT PERMITTED BY APPLICABLE LAW THE COPYRIGHT HOLDERS AND THE ECLIPSE FOUNDATION AISBL WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THE...
0license_related
scancode
copyright to the Program remains with STANFORD. 4. LICENSEE may create derivative versions of the Program. LICENSEE hereby grants STANFORD a royalty-free license to use, copy, modify, distribute and sublicense any such derivative works. At the time LICENSEE provides a copy of a derivative version of the Program to a...
0license_related
scancode
FIXME: `src/utils/math/` still has incomplete BSD-3-Clause attribution—missing the original author's name in two files.
1not_license_related
generated
todo_fixme
Software License Agreement in Appendix A hereto. If You are not the final manufacturer or vendor of an Intel-based product incorporating or designed to incorporate the Software, You may transfer a copy of the Software to Your Original Equipment Manufacturer (OEM), Original Device Manufacturer (ODM), distributors, ...
0license_related
scancode
/* The copyright says "CrystalStacker LLC," but the code was mostly written by open-source contributors. Is this accurate? */
1not_license_related
generated
copyright_discussion
// Ported from Perl by Ingrid Mbeki.
1not_license_related
code_corpus
generic_code_comment
# Add library to save image image_img = Image.fromarray(image) # S
1not_license_related
code_corpus
generic_code_comment
to jeopardize, limit or interfere with Skype's IP Rights. Any unauthorized use of Skype's IP Rights is a violation of this Agreement as well as a violation of intellectual property laws and treaties, including without limitation copyright laws and trademark laws. All title and IP Rights in and to any third party conten...
0license_related
fossology
// I swear I saw a warning about redistributing this runtime - is it really free for commercial use?
1not_license_related
generated
license_discussion
* Disabled XPP usage—license requires explicit attribution in binary metadata.
1not_license_related
generated
commented_code
No requirement to Use - You also acknowledge that OASIS is not required to incorporate your Feedback into any version of this OASIS Deliverable. Assent of Feedback Provider: By: _________________________ (Signature) Name: _______________________ Title: ________________________ Organization: ________________
0license_related
scancode
TODO: Find official documentation for ypl-1.1 - current implementation is just guessing
1not_license_related
generated
todo_fixme
``` LICENSE FOR SUCH WORKS. 11. **<span class="smallcaps">Limited Indemnity.</span>** 1. **Indemnity.** RedPandaTech will defend, indemnify and hold You harmless against any third party claims, liabilities or expenses incurred (including reasonable attorneys’ fees), as well as amounts fin...
0license_related
augmented
TODO: Update `LICENSE` file to include entessa-1.0’s terms alongside our permissive license.
1not_license_related
generated
todo_fixme
// Why does com-oreilly-servlet still claim copyright as "O'Reilly Media, Inc." in 2024? Did they get acquired?
1not_license_related
generated
copyright_discussion
TODO: Check if the bundled makeindex in `tools/makeindex/` is actually GPLv3-compliant. Need to audit all dependencies.
1not_license_related
generated
todo_fixme
// I don’t trust this license—what if someone sues us for "defensive" reasons? Better safe than sorry.
1not_license_related
generated
license_discussion
// The original st-bsd-restricted author hasn't responded to copyright questions. What now?
1not_license_related
generated
copyright_discussion
Error string associated with the library error. Returns ======= out : str Error message from the CDF library.
1not_license_related
code_corpus
generic_code_comment
for such API for free use by all developers. 3.Indemnity to Sun. As a condition precedent to each license grant in this Agreement, you agree to indemnify, hold harmless, and defend Sun and its licensors from and against any and all claims, lawsuits, liabilities, demands and expenses (including attorneys' fees), that a...
0license_related
scancode
**1. License Grant** Subcommander is free software; you may: - Redistribute it - Modify it Under the terms of the GNU General Public License as published by: The Free Software Foundation (either version 2 or any later version at your option) **2. Disclaimer** Distributed WITHOUT ANY WARRANTY, including: - Implied warr...
0license_related
synthetic
.4.2. A merit system; 3.2.4.3. A system which measures earnings by quantity or quality of production; or 3.2.4.4. A differential based on any other factor other than sex, gender, sexual orientation, race, ethnicity, nationality, religion, caste, age, medical disability or impairment, and/or any other like circ...
0license_related
scancode
by Licensee as Development Software, provided that the total number of Authorized Users permitted to create and/or execute test scripts shall not exceed the total number of valid CPU licenses of Adobe Flex Data Services Enterprise Software and Adobe Flex Data Services Departmental Software obtained by Licensee; and (b)...
0license_related
scancode
**Bear Blog License Version 2.0** By using Bear Blog software ("Software"), you agree to the terms below. 1. **License Grant** The licensor hereby grants you: - A non-exclusive, - Royalty-free, - Worldwide license to: • Use the Software, • Copy the Software, • Modify the Software, • Distrib...
0license_related
synthetic
acy Protection Act (COPPA). (j) No Modifying Search Results Integrity. Customer will not modify any of the Google Maps Core Services’ search results.
0license_related
synthetic
without the necessity of proving actual damages.
0license_related
scancode
subject to a license listed in the section below titled "FOSS License List"; d. You distribute Independent Works in object code or executable form with the complete corresponding machine-readable source code on the same medium and under the same FOSS license applying to ...
0license_related
scancode
`/* // ASN.1 decoder implementation - originally licensed under "asn1"
1not_license_related
generated
commented_code
computer software" and "commercial computer
0license_related
fossology
Returns or sets the CDF type of this variable Parameters ========== new_type : ctypes.c_long the new type from :mod:`~pycdf.const` Returns ======= out : int CDF type
1not_license_related
code_corpus
generic_code_comment
License shall continue in full force and effect. 9. Complete Agreement. This License constitutes the entire agreement between the parties with respect to the use of the Apple Software and supersedes all prior or contemporaneous understandings regarding such subject matter. No amendment to or modification of this Licen...
0license_related
scancode
// "No commercial use without written permission" — that’s a dealbreaker for our cloud deployment. Need to check if Epson offers an exception for non-profits.
1not_license_related
generated
license_discussion
applicable Documentation or within the Service itself. (b) nexB will notify Customer in writing whether whether there is any Open Source Software embedded in the Software. For any such Open Source Software, nexB warrants that it has complied with any Open Source License terms and conditions and provided Licensee with ...
0license_related
scancode
Provided "as is" without warranty of any kind; the publisher disclaims all liability for any damages.
1not_license_related
generated
same_register_notice
Software. NOTE: If Licensee, or another third party, has, at any time, developed or distributed all (or any portions of) the Application(s) using an open source version of Qt licensed under the terms of the GNU Lesser General Public License, version 2.1 or later ("LGPL") or the GNU General Public License version 2.0 o...
0license_related
scancode
any of the non-data portions into its output. This special exception to the GPL applies [...] ial exception to the GPL to apply to your modified version as well, *unless* your modified version has the potential to copy into its output some of the text that was the non-data portion of the version that you started with...
0license_related
synthetic
Subject to the Export Control Classification Numbers of the Canadian Government; unauthorized export or re-export is strictly prohibited.
1not_license_related
generated
same_register_notice
1.DEFINITIONS. "Software" means the identified above in binary form, any other machine readable materials (including, but not limited to, libraries, source files, header files, and data files), any updates or error corrections provided by Sun, and any user manuals, programming guides and other documentation provided to...
0license_related
scancode
# otherwise frame is ready to go
1not_license_related
code_corpus
generic_code_comment
IN BEZUG AUF SCHÄDEN AUS DER VERLETZUNG DES LEBENS, DES KÖRPERS ODER DER GESUNDHEIT NUR, SOFERN IHM WENIGSTENS FAHRLÄSSIGKEIT VORZUWERFEN IST, FÜR SONSTIGE SCHÄDEN NUR BEI GROBER FAHRLÄSSIGKEIT ODER VORSATZ, UND ÜBERNIMMT DARÜBER HINAUS KEINERLEI FREIWILLIGE HAFTUNG. 7. Erlöschen a. Diese Lizenz und die durch si...
0license_related
scancode
End of preview. Expand in Data Studio

Nirjas Gate Dataset

Binary classification dataset for the Nirjas gate — a recall-first classifier that answers: "Is this text actual license text worth routing to Atarashi for identification?"

This is a narrow gate, not a broad "license-related" detector. Its job is to route actual license bodies (MIT text, GPL headers, Apache notices) to Atarashi while correctly rejecting license references ("see LICENSE file"), copyright notices, code comments, and package metadata.

Dataset Summary

split total license_related not_license_related
train 55,610 30,232 25,378
validation 6,877 3,707 3,170
test 6,895 3,770 3,125

Splits are content-hash frozen — each text always lands in the same split regardless of dataset rebuilds, so benchmark deltas are real and duplicates cannot leak across train/test.

Dataset Structure

Columns

  • text — the text fragment (license body, code comment, legal notice, etc.)
  • label0 = license_related, 1 = not_license_related (ClassLabel)
  • source — origin: scancode, fossology, generated, synthetic, shortform, augmented, code_corpus
  • negative_type — for negatives: generic_code_comment, same_register_notice, license_discussion, copyright_discussion, todo_fixme, commented_code

Label Convention

label int meaning
license_related 0 actual license text — route to Atarashi
not_license_related 1 everything else — discard

Positive sources (train)

source count
scancode (ScanCode LicenseDB) 18,931
shortform (SPDX identifiers + snippets) 4,820
synthetic/rare (LLM-augmented) 4,262
fossology (licenseRef.json) 1,681
augmented 538

Negative types (train)

type count description
generic_code_comment 6,324 real source comments from the-stack-smol
same_register_notice 5,177 boilerplate legal-register non-licenses
todo_fixme 4,264 TODO/FIXME/HACK comments
license_discussion 4,232 commentary about licenses, not license text
copyright_discussion 2,769 copyright attribution, not license grants
commented_code 2,612 commented-out source code

Usage

from datasets import load_dataset

ds = load_dataset("rycerzes/nirjas-dataset")
train = ds["train"]

Deployed Gate

The deployed model is potion-base-32M (StaticModelForClassification) at threshold 0.20 (recall-first, NOT argmax). At this threshold:

metric synthetic test set real corpus (the-stack-smol + ScanCode, n=600)
License recall 0.9952 1.0000
FPR 0.0227 0.0133

Generation Pipeline

Built by minerva-dataset-pipeline:

  1. Fetch license texts from ScanCode LicenseDB + FOSSology licenseRef.json
  2. Sliding-window split with junk-fragment filtering
  3. LLM-assisted augmentation for rare licenses
  4. Hard negative generation (LLM + template-based)
  5. Content-hash frozen train/val/test split
  6. Class balancing

Downstream Task

Part of the FOSSology Nirjas ML pipeline:

source file → Nirjas gate → [license_related] → Atarashi (which license?)
Downloads last month
13