CodeSearchNet Java permissive-only: 334,367 rows
Browse filesFiles changed (16)
- README.mdAdded+80
- apply_licenses.pyAdded+163
- audit_licenses.pyAdded+115
- build_csn_java.pyAdded+146
- checksums.jsonAdded+16
- code_search_net_java.parquetAdded+3
- code_search_net_java_permissive.build.jsonAdded+30
- code_search_net_java_permissive.sample.jsonlAdded+12
- filter_open.pyAdded+140
- filter_permissive.pyAdded+117
- finalize_permissive.pyAdded+169
- license_summary.jsonAdded+24
- manifest.jsonAdded+64
- repo_licenses.jsonlAdded
- repos.txtAdded
- sample_licenses.jsonAdded+14
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980---
license: other
language:
- en
tags:
- code
- java
- code-search-net
- permissive
- function-documentation
pretty_name: CodeSearchNet Java (permissive licences only)
size_categories:
- 100K<n<1M
configs:
- config_name: default
data_files:
- split: train
path: code_search_net_java.parquet
---
# CodeSearchNet Java — permissive licences only
Working copy (2026-12-05). Subset of
[`PiotrSty/code-search-net-java`](https://huggingface.co/datasets/PiotrSty/code-search-net-java)
keeping only repositories whose audited SPDX licence is permissive
(MIT, Apache-2.0, BSD-2/3-Clause, ISC, Zlib, WTFPL, Artistic-2.0).
- **334,367 rows**, **3,880 repositories**
- **299,132,516 characters**, **63,689,933 tokens**
(tiktoken `cl100k_base`)
- parquet `163,300,781` bytes (zstd), 20 columns
- splits: train 303,622 · validation 12,828 · test 17,917
- removed **114,492** weak/strong-copyleft rows and
**47,818** rows without a detected licence.
## Licences (rows)
| SPDX | rows | % |
|---|---:|---:|
| `Apache-2.0` | 264,874 | 79.2% |
| `MIT` | 52,732 | 15.8% |
| `BSD-3-Clause` | 10,322 | 3.1% |
| `BSD-2-Clause` | 5,480 | 1.6% |
| `ISC` | 772 | 0.2% |
| `Zlib` | 117 | 0.0% |
| `WTFPL` | 57 | 0.0% |
| `Artistic-2.0` | 13 | 0.0% |
## Schema
```
id, repo, path, func_name, url, split, language, docstring, code, text,
token_count, doc_chars, code_chars, license_basis, source, added,
record_sha256, license, license_class, license_source
```
`text` = docstring + `\n\n` + code. `id` is unique. `record_sha256` is the
canonical per-row SHA-256.
## Provenance and audit
- Upstream: official CodeSearchNet Java shards.
- Filters: code ≥ 20 chars, text ≥ 100 chars, exact-code dedup, open-licence
filter, then `license_class == "permissive"`.
- Per-repo audit: GitHub REST `/repos/{owner}/{repo}/license` over 4,769
repositories (2026-12-05); full table in `repo_licenses.jsonl`.
## Rights
- Every retained row has an audited permissive SPDX licence in `license`
(`license_class == "permissive"`, `license_source` = GitHub licence URL).
- No copyleft rows (LGPL/EPL/GPL/AGPL) and no `NOASSERTION`/`unknown`.
- Permissive is not obligation-free: Apache-2.0 requires NOTICE/attribution and
BSD/MIT require the copyright notice. This is not legal advice.
## Not checked
- Whether GitHub's LICENSE-file detection matches the repo's actual terms.
- Notice/attribution preservation for Apache-2.0/BSD rows.
- Cross-corpus dedup against other code corpora.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163#!/usr/bin/env python"""Join repo_licenses.jsonl into the parquet and update stats/sample.
Adds `license` (SPDX id, NOASSERTION, or unknown) and `license_source`(GitHub licence API URL), recomputes `record_sha256`, updates build.json andthe 12-row sample's licence field."""import gcimport hashlibimport jsonimport osimport timefrom collections import Counterfrom pathlib import Path
import pyarrow as paimport pyarrow.parquet as pq
HERE = Path(__file__).resolve().parentSRC = HERE / "code_search_net_java.parquet"TMP = HERE / "code_search_net_java.licensed.parquet"AUDIT = HERE / "repo_licenses.jsonl"BUILD = HERE / "code_search_net_java.build.json"SAMPLE = HERE / "code_search_net_java.sample.jsonl"SAMPLE_LIC = HERE / "sample_licenses.json"
BASE_COLS = [ ("id", pa.string()), ("repo", pa.string()), ("path", pa.string()), ("func_name", pa.string()), ("url", pa.string()), ("split", pa.string()), ("language", pa.string()), ("docstring", pa.string()), ("code", pa.string()), ("text", pa.string()), ("token_count", pa.int32()), ("doc_chars", pa.int32()), ("code_chars", pa.int32()), ("license_basis", pa.string()), ("source", pa.string()), ("added", pa.string()), ("record_sha256", pa.string()),]SCHEMA = pa.schema(BASE_COLS + [("license", pa.string()), ("license_class", pa.string()), ("license_source", pa.string())])
PERMISSIVE = { "MIT", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "ISC", "0BSD", "Unlicense", "Zlib", "BSL-1.0", "CC0-1.0", "PostgreSQL", "X11", "WTFPL", "Artistic-2.0", "Python-2.0",}
def lic_class(spdx): if not spdx or spdx in ("NOASSERTION", "unknown"): return "unknown" if spdx in PERMISSIVE: return "permissive" if spdx.startswith(("GPL-", "AGPL-")): return "strong-copyleft" if spdx.startswith(("LGPL-", "EPL-", "MPL-", "CDDL-", "CPL-", "OSL-")): return "weak-copyleft" return "other"
def canon(row): return json.dumps(row, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode("utf-8")
def main(): audit = {} for line in AUDIT.open(encoding="utf-8"): j = json.loads(line) audit[j["repo"]] = j
def lic_for(repo): a = audit.get(repo) if a and a["status"] == "ok" and a.get("spdx") and a["spdx"] != "NOASSERTION": spdx = a["spdx"] return spdx, (a.get("license_url") or ""), lic_class(spdx) if a and a["status"] == "no_license": return "NOASSERTION", "", "unknown" return "unknown", "", "unknown"
row_dist = Counter() class_dist = Counter() n = 0 pf = pq.ParquetFile(SRC) writer = pq.ParquetWriter(TMP, SCHEMA, compression="zstd") for batch in pf.iter_batches(batch_size=8192): rows = batch.to_pylist() for r in rows: lic, src, cls = lic_for(r["repo"]) r["license"] = lic r["license_class"] = cls r["license_source"] = src payload = {k: v for k, v in r.items() if k != "record_sha256"} r["record_sha256"] = hashlib.sha256(canon(payload)).hexdigest() row_dist[lic] += 1 class_dist[cls] += 1 n += 1 writer.write_table(pa.Table.from_pylist(rows, schema=SCHEMA)) writer.close() # release the read handle; on Windows an open ParquetFile blocks os.replace try: pf.close() except Exception: pass del pf gc.collect()
for attempt in range(5): try: os.replace(TMP, SRC) break except PermissionError: time.sleep(1) else: raise SystemExit("could not replace parquet (locked)")
repo_dist = Counter() repo_class_dist = Counter() status_dist = Counter() for a in audit.values(): status_dist[a["status"]] += 1 if a["status"] == "ok" and a.get("spdx") and a["spdx"] != "NOASSERTION": repo_dist[a["spdx"]] += 1 repo_class_dist[lic_class(a["spdx"])] += 1 elif a["status"] == "no_license": repo_dist["NOASSERTION"] += 1 repo_class_dist["unknown"] += 1 else: repo_dist["unknown"] += 1 repo_class_dist["unknown"] += 1
build = json.loads(BUILD.read_text(encoding="utf-8")) build.update({ "rows": n, "bytes": SRC.stat().st_size, "license_distribution_rows": dict(row_dist.most_common()), "license_class_rows": dict(class_dist.most_common()), "license_distribution_repos": dict(repo_dist.most_common()), "license_class_repos": dict(repo_class_dist.most_common()), "license_audit_status": dict(status_dist.most_common()), "license_audit_repos": len(audit), }) BUILD.write_text(json.dumps(build, indent=2, ensure_ascii=False), encoding="utf-8")
# sample: refresh licence from the audit if SAMPLE.exists(): recs = [json.loads(l) for l in SAMPLE.open(encoding="utf-8")] cache = {} for r in recs: lic, _, _ = lic_for(r["author"]) r["license"] = lic if lic != "unknown" else "other" cache[r["author"]] = r["license"] SAMPLE.write_text("".join(json.dumps(r, ensure_ascii=False) + "\n" for r in recs), encoding="utf-8") SAMPLE_LIC.write_text(json.dumps(cache, indent=2, ensure_ascii=False), encoding="utf-8")
print("rows:", n) print("rows by licence:", row_dist.most_common()) print("repos by licence:", repo_dist.most_common()) print("audit status:", status_dist.most_common()) print("bytes:", SRC.stat().st_size)
if __name__ == "__main__": main()123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115#!/usr/bin/env python"""Per-repo GitHub licence audit for the CodeSearchNet Java repos.
Reads repos.txt, calls GET /repos/{owner}/{repo}/license, appends JSONLincrementally (resume-safe). Token is read from ~/.git-credentials; never logged."""import jsonimport threadingimport timefrom concurrent.futures import ThreadPoolExecutor, as_completedfrom pathlib import Pathfrom urllib.parse import urlparse
import requests
HERE = Path(__file__).resolve().parentOUT = HERE / "repo_licenses.jsonl"REPOS = [l.strip() for l in (HERE / "repos.txt").read_text().splitlines() if l.strip()]
def token(): line = [l for l in (Path.home() / ".git-credentials").read_text(errors="ignore").splitlines() if "github.com" in l][0] p = urlparse(line) return p.password or p.username
S = requests.Session()S.headers.update({ "Authorization": f"Bearer {token()}", "Accept": "application/vnd.github+json", "User-Agent": "csn-license-audit",})
class Limiter: def __init__(self, rate): self.rate = rate self.next = time.time() self.lock = threading.Lock()
def wait(self): with self.lock: now = time.time() t = max(self.next, now) self.next = t + 1.0 / self.rate if t > now: time.sleep(t - now)
LIM = Limiter(8.0)WRITE = threading.Lock()TODAY = time.strftime("%Y-%m-%d")
def audit(repo): url = f"https://api.github.com/repos/{repo}/license" for _ in range(6): LIM.wait() try: r = S.get(url, timeout=30) except requests.RequestException: time.sleep(5) continue if r.status_code == 200: j = r.json() lic = j.get("license") or {} return {"repo": repo, "status": "ok", "spdx": lic.get("spdx_id"), "name": lic.get("name"), "license_url": j.get("html_url"), "checked_at": TODAY} if r.status_code == 404: return {"repo": repo, "status": "no_license", "spdx": None, "name": None, "license_url": None, "checked_at": TODAY} if r.status_code in (403, 429): retry = r.headers.get("Retry-After") reset = r.headers.get("X-RateLimit-Reset") if retry: wait = float(retry) elif reset: wait = max(1.0, float(reset) - time.time()) else: wait = 60.0 time.sleep(min(wait, 300.0)) continue return {"repo": repo, "status": f"http_{r.status_code}", "spdx": None, "name": None, "license_url": None, "checked_at": TODAY} return {"repo": repo, "status": "rate_limited", "spdx": None, "name": None, "license_url": None, "checked_at": TODAY}
def main(): done = set() if OUT.exists(): for line in OUT.open(encoding="utf-8"): try: done.add(json.loads(line)["repo"]) except Exception: pass todo = [r for r in REPOS if r not in done] print(f"repos={len(REPOS)} done={len(done)} todo={len(todo)}", flush=True)
with OUT.open("a", encoding="utf-8") as f, ThreadPoolExecutor(max_workers=8) as ex: futs = {ex.submit(audit, r): r for r in todo} for i, fut in enumerate(as_completed(futs), 1): rec = fut.result() with WRITE: f.write(json.dumps(rec, ensure_ascii=False) + "\n") f.flush() if i % 250 == 0: print(f"{i}/{len(todo)}", flush=True) print("audit done", flush=True)
if __name__ == "__main__": main()123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146#!/usr/bin/env python"""Build a viewer-friendly Java dataset from CodeSearchNet Java.
Input : raw/java/{train,validation,test}-00000-of-00001.parquetOutput: code_search_net_java.parquet + code_search_net_java.build.json
Filters: non-empty code, text >= 100 chars, exact-code dedup (global).Per-row record_sha256 is stored in the parquet (no giant JSON manifest)."""import hashlibimport jsonimport timefrom collections import Counterfrom pathlib import Path
import pyarrow as paimport pyarrow.parquet as pqimport tiktoken
HERE = Path(__file__).resolve().parentRAW = HERE / "raw" / "java"OUT = HERE / "code_search_net_java.parquet"STATS = HERE / "code_search_net_java.build.json"
enc = tiktoken.get_encoding("cl100k_base")
SCHEMA = pa.schema([ ("id", pa.string()), ("repo", pa.string()), ("path", pa.string()), ("func_name", pa.string()), ("url", pa.string()), ("split", pa.string()), ("language", pa.string()), ("docstring", pa.string()), ("code", pa.string()), ("text", pa.string()), ("token_count", pa.int32()), ("doc_chars", pa.int32()), ("code_chars", pa.int32()), ("license_basis", pa.string()), ("source", pa.string()), ("added", pa.string()), ("record_sha256", pa.string()),])
COLS = ["repository_name", "func_path_in_repository", "func_name", "func_code_string", "func_documentation_string", "func_code_url"]LICENSE_BASIS = "CodeSearchNet permissive-repo filter (dataset-level; per-row license absent)"
def canon(row): return json.dumps(row, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode("utf-8")
def main(): writer = pq.ParquetWriter(OUT, SCHEMA, compression="zstd") seen = set() stats = Counter() repos = set() splits = Counter() chars = tokens = kept = 0 t0 = time.time()
for split in ("train", "validation", "test"): f = RAW / f"{split}-00000-of-00001.parquet" table = pq.read_table(f, columns=COLS) stats["read"] += table.num_rows for batch in table.to_batches(max_chunksize=8192): d = batch.to_pydict() rows, texts = [], [] for i in range(len(d["repository_name"])): code = (d["func_code_string"][i] or "").strip() doc = (d["func_documentation_string"][i] or "").strip() if len(code) < 20: stats["drop_empty"] += 1 continue text = (doc + "\n\n" + code).strip() if doc else code if len(text) < 100: stats["drop_short"] += 1 continue h = hashlib.sha256(code.encode("utf-8")).hexdigest() if h in seen: stats["drop_dup"] += 1 continue seen.add(h) rid = hashlib.sha1( f"{d['repository_name'][i]}|{d['func_path_in_repository'][i]}|{d['func_name'][i]}".encode() ).hexdigest()[:16] rows.append({ "id": rid, "repo": d["repository_name"][i] or "", "path": d["func_path_in_repository"][i] or "", "func_name": d["func_name"][i] or "", "url": d["func_code_url"][i] or "", "split": split, "language": "java", "docstring": doc, "code": code, "text": text, "token_count": 0, "doc_chars": len(doc), "code_chars": len(code), "license_basis": LICENSE_BASIS, "source": "code_search_net", "added": "2026-12-05", "record_sha256": "", }) texts.append(text)
toks = enc.encode_batch(texts) if texts else [] for r, tk in zip(rows, toks): r["token_count"] = len(tk) payload = {k: v for k, v in r.items() if k != "record_sha256"} r["record_sha256"] = hashlib.sha256(canon(payload)).hexdigest() chars += len(r["text"]) tokens += r["token_count"] kept += 1 repos.add(r["repo"]) splits[split] += 1
if rows: writer.write_table(pa.Table.from_pylist(rows, schema=SCHEMA)) print(f"{split}: read={table.num_rows:,} kept={kept:,} " f"elapsed={time.time()-t0:.1f}s", flush=True)
writer.close() summary = dict(stats) summary.update({ "kept": kept, "chars": chars, "tokens": tokens, "repos": len(repos), "splits": dict(splits), "secs": round(time.time() - t0, 1), "tokenizer": "tiktoken:cl100k_base", "output": OUT.name, "bytes": OUT.stat().st_size, }) STATS.write_text(json.dumps(summary, indent=2, ensure_ascii=False), encoding="utf-8") print(json.dumps(summary, indent=2, ensure_ascii=False))
if __name__ == "__main__": main()12345678910111213141516{
"code_search_net_java.parquet": "bbe2dba2f9e206b848ed996d4ea02d41e9259c4067d6358fef8e9815cfc4c83c",
"code_search_net_java_permissive.sample.jsonl": "8626400443246781f6ba42787954c2659d19938276944c256c686b5372ac644d",
"code_search_net_java_permissive.build.json": "80adcabe8af8de9b9d978e694dc1ce350c713c1c6dd522d3cbd22940cf1e0507",
"README.md": "e992d0d7f751c2dc7366fee235a311901d6335142e428c780c279643b21a49e1",
"build_csn_java.py": "fdd95cfabb97f226423a6fa2751183c43dd4b963aea90e0f39643e48d0c83c22",
"audit_licenses.py": "09b983e3adc123c6685c6477b03cb119794b3aee29342e1f8a466a6f30cbdcbb",
"apply_licenses.py": "28439c4b98f00ee75829d322342dd5971a85da34aaf7610a376d65d53217d9b4",
"filter_open.py": "449be3cc4f77145d013aa49167d5772f0bc1a38d4924bf0386db0eb86955efdf",
"filter_permissive.py": "b2df0cdbf59a86a574a25bc89ad44556117b0ad39cf4d58155ded1bec57f2d36",
"finalize_permissive.py": "a06941789f56ed74f90e4c03df14ad84477f6034fc3ed6184497a95a0e1a9dff",
"repos.txt": "b7d3030cbc4fa8e052511011d111b18b165d95a5a09159e035739e95444594aa",
"repo_licenses.jsonl": "316d39924b57531fdbfb82f2b6d640106e2fdeaca7ce4321e79522a6552891d8",
"license_summary.json": "d85b536168368de19c8a1852933267c4e83ce4d0ca9bd5d5eed072691f2e9c6c",
"sample_licenses.json": "d7806f9719f3d9f84b62f491846176dd491f3c915299a942be7172afc46548ea"
}123version https://git-lfs.github.com/spec/v1oid sha256:bbe2dba2f9e206b848ed996d4ea02d41e9259c4067d6358fef8e9815cfc4c83csize 163300781123456789101112131415161718192021222324252627282930{
"read": 448859,
"kept": 334367,
"removed_not_permissive": 114492,
"source": "code-search-net/code_search_net (java), open-licence build",
"filter": "keep license_class == permissive",
"chars": 299132516,
"tokens": 63689933,
"repos": 3880,
"splits": {
"train": 303622,
"validation": 12828,
"test": 17917
},
"bytes": 163300781,
"licenses": {
"Apache-2.0": 264874,
"MIT": 52732,
"BSD-3-Clause": 10322,
"BSD-2-Clause": 5480,
"ISC": 772,
"Zlib": 117,
"WTFPL": 57,
"Artistic-2.0": 13
},
"license_class_rows": {
"permissive": 334367
},
"tokenizer": "tiktoken:cl100k_base"
}123456789101112{"added": "2026-12-05", "author": "thelinmichael/spotify-web-api-java", "created": "2019", "id": "5822a8070aeccfea7efa241d", "license": "MIT", "source": "code_search_net", "text": "Get a playlist's tracks.\n\n@return A playlist's tracks.\n@throws IOException In case of networking issues.\n@throws SpotifyWebApiException The Web API returned an error further specified in this exception's root cause.\n\n@SuppressWarnings(\"unchecked\")\n public Paging<PlaylistTrack> execute() throws\n IOException,\n SpotifyWebApiException {\n return new PlaylistTrack.JsonUtil().createModelObjectPaging(getJson());\n }", "token_count": 85}
{"added": "2026-12-05", "author": "codahale/shamir", "created": "2019", "id": "f8eacfc65739989fc8bb5845", "license": "Apache-2.0", "source": "code_search_net", "text": "Splits the given secret into {@code n} parts, of which any {@code k} or more can be combined to\nrecover the original secret.\n\n@param secret the secret to split\n@return a map of {@code n} part IDs and their values\n\npublic Map<Integer, byte[]> split(byte[] secret) {\n // generate part values\n final byte[][] values = new byte[n][secret.length];\n for (int i = 0; i < secret.length; i++) {\n // for each byte, generate a random polynomial, p\n final byte[] p = GF256.generate(random, k - 1, secret[i]);\n for (int x = 1; x <= n; x++) {\n // each part's byte is p(partId)\n values[x - 1][i] = GF256.eval(p, (byte) x);\n }\n }\n\n // return as a set of objects\n final Map<Integer, byte[]> parts = new HashMap<>(n());\n for (int i = 0; i < values.length; i++) {\n parts.put(i + 1, values[i]);\n }\n return Collections.unmodifiableMap(parts);\n }", "token_count": 246}
{"added": "2026-12-05", "author": "apiman/apiman", "created": "2019", "id": "524e76a59c0435c79168fc1b", "license": "Apache-2.0", "source": "code_search_net", "text": "Discover the location of the apiman.properties (for example) file by checking\nin various likely locations.\n\nprivate static URL discoverConfigFileUrl(String configFileName, String customConfigPropertyName) {\n URL rval;\n\n // User Defined\n ///////////////////////////////////\n String userConfig = System.getProperty(customConfigPropertyName);\n if (userConfig != null) {\n // Treat it as a URL\n try {\n rval = new URL(userConfig);\n return rval;\n } catch (Exception t) {\n }\n // Treat it as a file\n try {\n File f = new File(userConfig);\n if (f.isFile()) {\n rval = f.toURI().toURL();\n return rval;\n }\n } catch (Exception t) {\n }\n throw new RuntimeException(\"Apiman configuration provided at [\" + userConfig + \"] but could not be loaded.\"); //$NON-NLS-1$ //$NON-NLS-2$\n }\n \n // Wildfly/EAP\n ///////////////////////////////////\n String jbossConfigDir = System.getProperty(\"jboss.server.config.dir\"); //$NON-NLS-1$\n String jbossConfigUrl = System.getProperty(\"jboss.server.config.url\"); //$NON-NLS-1$\n if (jbossConfigDir != null) {\n File dirFile = new File(jbossConfigDir);\n rval = findConfigUrlInDirectory(dirFile, configFileName);\n if (rval != null) {\n return rval;\n }\n }\n if (jbossConfigUrl != null) {\n File dirFile = new File(jbossConfigUrl);\n rval = findConfigUrlInDirectory(dirFile, configFileName);\n if (rval != null) {\n return rval;\n }\n }\n\n // Apache Tomcat\n ///////////////////////\n String tomcatHomeDir = System.getProperty(\"catalina.home\"); //$NON-NLS-1$\n if (tomcatHomeDir != null) {\n File dirFile = new File(tomcatHomeDir, \"conf\"); //$NON-NLS-1$\n rval = findConfigUrlInDirectory(dirFile, configFileName);\n if (rval != null) {\n return rval;\n }\n }\n\n // If not found, use an empty file.\n ////////////////////////////////////////\n return ConfigFileConfiguration.class.getResource(\"empty.properties\"); //$NON-NLS-1$\n }", "token_count": 484}
{"added": "2026-12-05", "author": "yan74/afplib", "created": "2019", "id": "b1bfcc1ca96c1227d1f4c12d", "license": "Apache-2.0", "source": "code_search_net", "text": "<!-- begin-user-doc -->\n<!-- end-user-doc -->\n@generated\n\n@Override\n\tpublic boolean eIsSet(int featureID) {\n\t\tswitch (featureID) {\n\t\t\tcase AfplibPackage.MGO__RG:\n\t\t\t\treturn rg != null && !rg.isEmpty();\n\t\t}\n\t\treturn super.eIsSet(featureID);\n\t}", "token_count": 66}
{"added": "2026-12-05", "author": "Gagravarr/VorbisJava", "created": "2019", "id": "3de1b45390a1c4671f827a1b", "license": "Apache-2.0", "source": "code_search_net", "text": "Returns the contents, including the sync header\n\n@Override\n public byte[] getData() {\n byte[] data = new byte[frameData.length+2];\n\n int first2 = (FRAME_SYNC<<2);\n if (blockSizeVariable) first2++;\n\n IOUtils.putInt2BE(data, 0, first2);\n System.arraycopy(frameData, 0, data, 2, frameData.length);\n\n return data;\n }", "token_count": 90}
{"added": "2026-12-05", "author": "apache/incubator-heron", "created": "2019", "id": "ed327fc66bb05e80a41dc314", "license": "Apache-2.0", "source": "code_search_net", "text": "Construct all required command line options\n\nprivate static Options constructOptions() {\n Options options = new Options();\n\n Option topName = Option.builder(\"t\")\n .desc(\"Name of the topology\")\n .longOpt(\"topologyname\")\n .hasArgs()\n .argName(\"topologyname\")\n .required()\n .build();\n\n Option topId = Option.builder(\"i\")\n .desc(\"Id of the topology\")\n .longOpt(\"topologyid\")\n .hasArgs()\n .argName(\"topologyid\")\n .required()\n .build();\n\n Option ckptMgrId = Option.builder(\"c\")\n .desc(\"Id of the checkpoint manager\")\n .longOpt(\"ckptmgrid\")\n .hasArgs()\n .argName(\"ckptmgrid\")\n .required()\n .build();\n\n Option ckptMgrPort = Option.builder(\"p\")\n .desc(\"Port of the checkpoint manager\")\n .longOpt(\"ckptmgrport\")\n .hasArgs()\n .argName(\"ckptmgrport\")\n .required()\n .build();\n\n Option ckptMgrConfig = Option.builder(\"f\")\n .desc(\"Config name of the checkpoint manager\")\n .longOpt(\"ckptmgrconfig\")\n .hasArgs()\n .argName(\"ckptmgrconfig\")\n .required()\n .build();\n\n Option ckptMgrOverridenConfig = Option.builder(\"o\")\n .desc(\"Config name of the checkpoint manager\")\n .longOpt(\"ckptMgrOverridenConfig\")\n .hasArgs()\n .argName(\"ckptMgrOverridenConfig\")\n .build();\n\n Option heronInternalConfig = Option.builder(\"g\")\n .desc(\"Heron internal config filename\")\n .longOpt(\"heroninternalconfig\")\n .hasArgs()\n .argName(\"heroninternalconfig\")\n .required()\n .build();\n\n options.addOption(topName);\n options.addOption(topId);\n options.addOption(ckptMgrId);\n options.addOption(ckptMgrPort);\n options.addOption(ckptMgrConfig);\n options.addOption(ckptMgrOverridenConfig);\n options.addOption(heronInternalConfig);\n\n return options;\n }", "token_count": 464}
{"added": "2026-12-05", "author": "fcrepo4/fcrepo4", "created": "2019", "id": "0beb74ab084ebc53c8f61671", "license": "Apache-2.0", "source": "code_search_net", "text": "/*\n(non-Javadoc)\n@see org.fcrepo.kernel.api.models.FedoraBinary#getProxyURL()\n\n@Override\n public String getProxyURL() {\n try {\n if (hasProperty(PROXY_FOR)) {\n return getProperty(PROXY_FOR).getString();\n }\n return null;\n } catch (final RepositoryException e) {\n throw new RepositoryRuntimeException(e);\n }\n }", "token_count": 80}
{"added": "2026-12-05", "author": "rometools/rome", "created": "2019", "id": "7b8467ebc6929597b3927532", "license": "Apache-2.0", "source": "code_search_net", "text": "Returns the value of an attribute on the outline or null.\n\n@param name name of the attribute.\n\npublic String getAttributeValue(final String name) {\n final List<Attribute> attributes = Collections.synchronizedList(getAttributes());\n for (int i = 0; i < attributes.size(); i++) {\n final Attribute a = attributes.get(i);\n\n if (a.getName() != null && a.getName().equals(name)) {\n return a.getValue();\n }\n }\n return null;\n }", "token_count": 100}
{"added": "2026-12-05", "author": "cfmobile/arca-android", "created": "2019", "id": "a4d6730238eafe013f8e4d3a", "license": "BSD-3-Clause", "source": "code_search_net", "text": "================================================\n\npublic static <T> List<T> getList(final ContentValues[] values, final Class<T> klass) {\n final List<T> objects = new ArrayList<T>();\n for (int i = 0; i < values.length; i++) {\n final T object = getObject(values[i], klass);\n if (object != null) {\n objects.add(object);\n }\n }\n return objects;\n }", "token_count": 85}
{"added": "2026-12-05", "author": "linkedin/linkedin-utils", "created": "2019", "id": "a4926b067a28ae123f5719a9", "license": "Apache-2.0", "source": "code_search_net", "text": "Converts the object into a timespan. If already a timespan then simply return the object.\nOtherwise call {@link Timespan#parse(String)} on <code>t.toString()</code>. Works well for\nlong and <code>String</code>\n\n@return a timespan (<code>null</code> if t is <code>null</code>)\n\npublic static Timespan toTimespan(Object t)\n {\n if(t == null)\n return null;\n\n if(t instanceof Timespan)\n {\n return (Timespan) t;\n }\n\n return Timespan.parse(t.toString());\n }", "token_count": 122}
{"added": "2026-12-05", "author": "EMCECS/nfs-client-java", "created": "2019", "id": "048be50e4204bebd54f450c0", "license": "Apache-2.0", "source": "code_search_net", "text": "/*\n(non-Javadoc)\n\n@see com.emc.ecs.nfsclient.nfs.NfsFile#mknod(com.emc.ecs.nfsclient.nfs.\nNfsType, com.emc.ecs.nfsclient.nfs.NfsSetAttributes, long[])\n\npublic NfsMknodResponse mknod(NfsType type, NfsSetAttributes attributes, long[] rdev) throws IOException {\n NfsMknodResponse response = getNfs().wrapped_sendMknod(makeMknodRequest(type, attributes, rdev));\n setFileHandle(response.getFileHandle());\n return response;\n }", "token_count": 129}
{"added": "2026-12-05", "author": "artikcloud/artikcloud-java", "created": "2019", "id": "5407dc792b0078214665251b", "license": "Apache-2.0", "source": "code_search_net", "text": "@param qos Quality of Service (0, 1, or 2) used for publishing a message to ARTIK Cloud\n@param payload the payload of the published message\n@throws ArtikCloudMqttException\n\npublic void publish(int qos, String payload) throws ArtikCloudMqttException {\n MqttMessage mqttMessage = new MqttMessage(payload.getBytes());\n mqttMessage.setQos(qos);\n// System.out.println(\"****** Thread: \" + Thread.currentThread().getName()+ \"; MqttSession publishing : \"+ \"topic: \" + publishTopic +\"; payload: \" + payload);\n try {\n mqttClient.publish(publishMessageTopicPath, mqttMessage, String.valueOf(OperationMode.PUBLISH), operationListener);\n } catch (MqttException e) {\n throw new ArtikCloudMqttException(e);\n }\n }", "token_count": 172}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140#!/usr/bin/env python"""Drop rows whose repository has no detected open licence.
Keeps every detected SPDX licence (permissive, weak/strong copyleft, otheropen licences such as MulanPSL/EUPL); removes NOASSERTION/unknown.Rebuilds the 12-row sample and the stats/summary files."""import gcimport jsonimport osimport randomimport timefrom collections import Counterfrom pathlib import Path
import pyarrow as paimport pyarrow.parquet as pq
HERE = Path(__file__).resolve().parentSRC = HERE / "code_search_net_java.parquet"TMP = HERE / "code_search_net_java.open.parquet"BUILD = HERE / "code_search_net_java.build.json"SAMPLE = HERE / "code_search_net_java.sample.jsonl"SAMPLE_LIC = HERE / "sample_licenses.json"SUMMARY = HERE / "license_summary.json"
DROP = {"unknown", "NOASSERTION", ""}
def main(): pf = pq.ParquetFile(SRC) schema = pf.schema_arrow writer = pq.ParquetWriter(TMP, schema, compression="zstd")
read = kept = removed = chars = tokens = 0 repos, splits = set(), Counter() lic_dist, class_dist = Counter(), Counter()
for batch in pf.iter_batches(batch_size=8192): out = [] for r in batch.to_pylist(): read += 1 lic = r.get("license") if not lic or lic in DROP: removed += 1 continue out.append(r) kept += 1 chars += len(r["text"]) tokens += r["token_count"] repos.add(r["repo"]) splits[r["split"]] += 1 lic_dist[lic] += 1 class_dist[r["license_class"]] += 1 if out: writer.write_table(pa.Table.from_pylist(out, schema=schema))
writer.close() try: pf.close() except Exception: pass del pf gc.collect()
for attempt in range(8): try: os.replace(TMP, SRC) break except PermissionError: gc.collect() time.sleep(1) else: raise SystemExit("could not replace parquet (locked)")
build = json.loads(BUILD.read_text(encoding="utf-8")) build.update({ "rows": kept, "chars": chars, "tokens": tokens, "repos": len(repos), "splits": dict(splits), "bytes": SRC.stat().st_size, "unique_ids": kept, "filtered_out_unknown_rows": removed, "filtered_out_unknown_repos": build.get("license_class_repos", {}).get("unknown", 0), "license_distribution_rows": dict(lic_dist.most_common()), "license_class_rows": dict(class_dist.most_common()), "filter": "keep rows with a detected SPDX open licence; drop NOASSERTION/unknown", }) BUILD.write_text(json.dumps(build, indent=2, ensure_ascii=False), encoding="utf-8")
# rebuild the 12-row sample from the filtered parquet pf2 = pq.ParquetFile(SRC) groups = list(range(pf2.num_row_groups)) random.Random(0).shuffle(groups) picked, seen = [], set() for g in groups: if len(picked) >= 12: break t = pf2.read_row_group(g, columns=["id", "repo", "text", "token_count", "license"]) for r in t.to_pylist(): if r["repo"] not in seen: seen.add(r["repo"]) picked.append(r) break pf2.close()
with SAMPLE.open("w", encoding="utf-8") as f: for r in picked: f.write(json.dumps({ "added": "2026-12-05", "author": r["repo"], "created": "2019", "id": r["id"], "license": r["license"], "source": "code_search_net", "text": r["text"], "token_count": r["token_count"], }, ensure_ascii=False) + "\n") SAMPLE_LIC.write_text(json.dumps({r["repo"]: r["license"] for r in picked}, indent=2, ensure_ascii=False), encoding="utf-8")
summary = json.loads(SUMMARY.read_text(encoding="utf-8")) if SUMMARY.exists() else {} summary.update({ "filtered": True, "removed_rows": removed, "removed_repos": build["filtered_out_unknown_repos"], "rows": kept, "repos": len(repos), "rows_by_class": build["license_class_rows"], "rows_by_license": build["license_distribution_rows"], "splits": build["splits"], }) SUMMARY.write_text(json.dumps(summary, indent=2, ensure_ascii=False), encoding="utf-8")
print(f"read={read:,} kept={kept:,} removed={removed:,}") print("rows by class:", build["license_class_rows"]) print("repos:", len(repos), "splits:", dict(splits)) print("chars:", chars, "tokens:", tokens, "bytes:", SRC.stat().st_size) print("sample:", [(r["repo"], r["license"]) for r in picked])
if __name__ == "__main__": main()123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117#!/usr/bin/env python"""Build the permissive-only subset from the open-licence CSN Java parquet."""import gcimport jsonimport randomfrom collections import Counterfrom pathlib import Path
import pyarrow as paimport pyarrow.parquet as pq
HERE = Path(__file__).resolve().parentSRC = Path(r"C:\Users\pstyl\AppData\Local\Temp\csn-java\code_search_net_java.parquet")OUT = HERE / "code_search_net_java.parquet"BUILD = HERE / "code_search_net_java_permissive.build.json"SAMPLE = HERE / "code_search_net_java_permissive.sample.jsonl"SAMPLE_LIC = HERE / "sample_licenses.json"SUMMARY = HERE / "license_summary.json"
def main(): pf = pq.ParquetFile(SRC) schema = pf.schema_arrow writer = pq.ParquetWriter(OUT, schema, compression="zstd")
read = kept = removed = chars = tokens = 0 repos, splits, lic_dist = set(), Counter(), Counter()
for batch in pf.iter_batches(batch_size=8192): out = [] for r in batch.to_pylist(): read += 1 if r.get("license_class") != "permissive": removed += 1 continue out.append(r) kept += 1 chars += len(r["text"]) tokens += r["token_count"] repos.add(r["repo"]) splits[r["split"]] += 1 lic_dist[r["license"]] += 1 if out: writer.write_table(pa.Table.from_pylist(out, schema=schema))
writer.close() try: pf.close() except Exception: pass del pf gc.collect()
build = { "read": read, "kept": kept, "removed_not_permissive": removed, "source": "code-search-net/code_search_net (java), open-licence build", "filter": "keep license_class == permissive", "chars": chars, "tokens": tokens, "repos": len(repos), "splits": dict(splits), "bytes": OUT.stat().st_size, "licenses": dict(lic_dist.most_common()), "license_class_rows": {"permissive": kept}, "tokenizer": "tiktoken:cl100k_base", } BUILD.write_text(json.dumps(build, indent=2, ensure_ascii=False), encoding="utf-8")
# 12-row sample: distinct repos, seeded row groups pf2 = pq.ParquetFile(OUT) groups = list(range(pf2.num_row_groups)) random.Random(0).shuffle(groups) picked, seen = [], set() for g in groups: if len(picked) >= 12: break t = pf2.read_row_group(g, columns=["id", "repo", "text", "token_count", "license"]) for r in t.to_pylist(): if r["repo"] not in seen: seen.add(r["repo"]) picked.append(r) break pf2.close()
with SAMPLE.open("w", encoding="utf-8") as f: for r in picked: f.write(json.dumps({ "added": "2026-12-05", "author": r["repo"], "created": "2019", "id": r["id"], "license": r["license"], "source": "code_search_net", "text": r["text"], "token_count": r["token_count"], }, ensure_ascii=False) + "\n") SAMPLE_LIC.write_text(json.dumps({r["repo"]: r["license"] for r in picked}, indent=2, ensure_ascii=False), encoding="utf-8")
SUMMARY.write_text(json.dumps({ "filter": "permissive only (license_class == permissive)", "rows": kept, "repos": len(repos), "rows_by_license": dict(lic_dist.most_common()), "removed_not_permissive": removed, "removed_from_total": 496677 - kept, "splits": dict(splits), "checked_at": "2026-12-05", "source": "GitHub REST /repos/{owner}/{repo}/license", }, indent=2, ensure_ascii=False), encoding="utf-8")
print(f"read={read:,} kept={kept:,} removed={removed:,}") print("licences:", dict(lic_dist.most_common())) print("repos:", len(repos), "splits:", dict(splits)) print("chars:", chars, "tokens:", tokens, "bytes:", OUT.stat().st_size) print("sample:", [(r["repo"], r["license"]) for r in picked])
if __name__ == "__main__": main()123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169#!/usr/bin/env python"""README/manifest/checksums + upload for the permissive-only dataset."""import hashlibimport jsonfrom datetime import datetime, timezonefrom pathlib import Path
import pyarrow.parquet as pqfrom huggingface_hub import HfApi
HERE = Path(__file__).resolve().parentRID = "PiotrSty/code-search-net-java-permissive"PARQUET = HERE / "code_search_net_java.parquet"BUILD = HERE / "code_search_net_java_permissive.build.json"README = HERE / "README.md"MANIFEST = HERE / "manifest.json"CHECKSUMS = HERE / "checksums.json"
FILES = [ "code_search_net_java.parquet", "code_search_net_java_permissive.sample.jsonl", "code_search_net_java_permissive.build.json", "README.md", "build_csn_java.py", "audit_licenses.py", "apply_licenses.py", "filter_open.py", "filter_permissive.py", "finalize_permissive.py", "repos.txt", "repo_licenses.jsonl", "license_summary.json", "sample_licenses.json",]
def sha(b): return hashlib.sha256(b).hexdigest()
def readme(b): rows = b["kept"] lic = sorted(b["licenses"].items(), key=lambda x: -x[1]) table = "\n".join(f"| `{k}` | {v:,} | {100*v/rows:.1f}% |" for k, v in lic) splits = " · ".join(f"{k} {v:,}" for k, v in b["splits"].items()) return f"""---license: otherlanguage:- entags:- code- java- code-search-net- permissive- function-documentationpretty_name: CodeSearchNet Java (permissive licences only)size_categories:- 100K<n<1Mconfigs:- config_name: default data_files: - split: train path: code_search_net_java.parquet---
# CodeSearchNet Java — permissive licences only
Working copy (2026-12-05). Subset of[`PiotrSty/code-search-net-java`](https://huggingface.co/datasets/PiotrSty/code-search-net-java)keeping only repositories whose audited SPDX licence is permissive(MIT, Apache-2.0, BSD-2/3-Clause, ISC, Zlib, WTFPL, Artistic-2.0).
- **{rows:,} rows**, **{b['repos']:,} repositories**- **{b['chars']:,} characters**, **{b['tokens']:,} tokens** (tiktoken `cl100k_base`)- parquet `{b['bytes']:,}` bytes (zstd), 20 columns- splits: {splits}- removed **{b['removed_not_permissive']:,}** weak/strong-copyleft rows and **47,818** rows without a detected licence.
## Licences (rows)
| SPDX | rows | % ||---|---:|---:|{table}
## Schema
```id, repo, path, func_name, url, split, language, docstring, code, text,token_count, doc_chars, code_chars, license_basis, source, added,record_sha256, license, license_class, license_source```
`text` = docstring + `\\n\\n` + code. `id` is unique. `record_sha256` is thecanonical per-row SHA-256.
## Provenance and audit
- Upstream: official CodeSearchNet Java shards.- Filters: code ≥ 20 chars, text ≥ 100 chars, exact-code dedup, open-licence filter, then `license_class == "permissive"`.- Per-repo audit: GitHub REST `/repos/{{owner}}/{{repo}}/license` over 4,769 repositories (2026-12-05); full table in `repo_licenses.jsonl`.
## Rights
- Every retained row has an audited permissive SPDX licence in `license` (`license_class == "permissive"`, `license_source` = GitHub licence URL).- No copyleft rows (LGPL/EPL/GPL/AGPL) and no `NOASSERTION`/`unknown`.- Permissive is not obligation-free: Apache-2.0 requires NOTICE/attribution and BSD/MIT require the copyright notice. This is not legal advice.
## Not checked
- Whether GitHub's LICENSE-file detection matches the repo's actual terms.- Notice/attribution preservation for Apache-2.0/BSD rows.- Cross-corpus dedup against other code corpora."""
def main(): b = json.loads(BUILD.read_text(encoding="utf-8")) README.write_text(readme(b), encoding="utf-8")
cols = [f.name for f in pq.read_schema(PARQUET)] manifest = { "dataset": "code_search_net_java_permissive", "schema_version": "1.0", "generated_at": datetime.now(timezone.utc).isoformat(timespec="seconds"), "source": { "dataset": "code-search-net/code_search_net", "config": "java", "derived_from": "PiotrSty/code-search-net-java", "license": "other", "filter": "license_class == permissive", }, "dataset_file": PARQUET.name, "dataset_sha256": sha(PARQUET.read_bytes()), "dataset_bytes": PARQUET.stat().st_size, "rows": b["kept"], "columns": cols, "splits": b["splits"], "chars": b["chars"], "tokens": b["tokens"], "repos": b["repos"], "license_distribution_rows": b["licenses"], "license_class_rows": b["license_class_rows"], "removed_not_permissive": b["removed_not_permissive"], "tokenizer": b["tokenizer"], "per_row_hashes": "record_sha256 column", "checksums_file": "checksums.json", } MANIFEST.write_text(json.dumps(manifest, indent=2, ensure_ascii=False), encoding="utf-8")
checks = {f: sha((HERE / f).read_bytes()) for f in FILES} CHECKSUMS.write_text(json.dumps(checks, indent=2), encoding="utf-8") manifest["checksums_sha256"] = sha(CHECKSUMS.read_bytes()) MANIFEST.write_text(json.dumps(manifest, indent=2, ensure_ascii=False), encoding="utf-8")
api = HfApi() api.create_repo(RID, repo_type="dataset", private=False, exist_ok=True) api.upload_folder(folder_path=str(HERE), repo_id=RID, repo_type="dataset", ignore_patterns=["__pycache__/**"], commit_message="CodeSearchNet Java permissive-only: 334,367 rows") info = api.repo_info(RID, repo_type="dataset") print("private:", info.private, "| sha:", info.sha) for it in api.list_repo_tree(RID, repo_type="dataset", recursive=True): if getattr(it, "path", "") == "code_search_net_java.parquet": lfs = getattr(it, "lfs", None) remote = getattr(lfs, "sha256", None) if lfs else None print("remote parquet sha:", remote) print("MATCH:", remote == checks["code_search_net_java.parquet"]) print("rows:", b["kept"], "repos:", b["repos"], "tokens:", b["tokens"])
if __name__ == "__main__": main()123456789101112131415161718192021222324{
"filter": "permissive only (license_class == permissive)",
"rows": 334367,
"repos": 3880,
"rows_by_license": {
"Apache-2.0": 264874,
"MIT": 52732,
"BSD-3-Clause": 10322,
"BSD-2-Clause": 5480,
"ISC": 772,
"Zlib": 117,
"WTFPL": 57,
"Artistic-2.0": 13
},
"removed_not_permissive": 114492,
"removed_from_total": 162310,
"splits": {
"train": 303622,
"validation": 12828,
"test": 17917
},
"checked_at": "2026-12-05",
"source": "GitHub REST /repos/{owner}/{repo}/license"
}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{
"dataset": "code_search_net_java_permissive",
"schema_version": "1.0",
"generated_at": "2026-12-05T06:35:52+00:00",
"source": {
"dataset": "code-search-net/code_search_net",
"config": "java",
"derived_from": "PiotrSty/code-search-net-java",
"license": "other",
"filter": "license_class == permissive"
},
"dataset_file": "code_search_net_java.parquet",
"dataset_sha256": "bbe2dba2f9e206b848ed996d4ea02d41e9259c4067d6358fef8e9815cfc4c83c",
"dataset_bytes": 163300781,
"rows": 334367,
"columns": [
"id",
"repo",
"path",
"func_name",
"url",
"split",
"language",
"docstring",
"code",
"text",
"token_count",
"doc_chars",
"code_chars",
"license_basis",
"source",
"added",
"record_sha256",
"license",
"license_class",
"license_source"
],
"splits": {
"train": 303622,
"validation": 12828,
"test": 17917
},
"chars": 299132516,
"tokens": 63689933,
"repos": 3880,
"license_distribution_rows": {
"Apache-2.0": 264874,
"MIT": 52732,
"BSD-3-Clause": 10322,
"BSD-2-Clause": 5480,
"ISC": 772,
"Zlib": 117,
"WTFPL": 57,
"Artistic-2.0": 13
},
"license_class_rows": {
"permissive": 334367
},
"removed_not_permissive": 114492,
"tokenizer": "tiktoken:cl100k_base",
"per_row_hashes": "record_sha256 column",
"checksums_file": "checksums.json",
"checksums_sha256": "63d181c60b02625c6a5f99b26b6186b63b67313e065379fb945183a32662e9c4"
}1234567891011121314{
"thelinmichael/spotify-web-api-java": "MIT",
"codahale/shamir": "Apache-2.0",
"apiman/apiman": "Apache-2.0",
"yan74/afplib": "Apache-2.0",
"Gagravarr/VorbisJava": "Apache-2.0",
"apache/incubator-heron": "Apache-2.0",
"fcrepo4/fcrepo4": "Apache-2.0",
"rometools/rome": "Apache-2.0",
"cfmobile/arca-android": "BSD-3-Clause",
"linkedin/linkedin-utils": "Apache-2.0",
"EMCECS/nfs-client-java": "Apache-2.0",
"artikcloud/artikcloud-java": "Apache-2.0"
}README.mdAdded+80
apply_licenses.pyAdded+163
audit_licenses.pyAdded+115
build_csn_java.pyAdded+146
checksums.jsonAdded+16
code_search_net_java.parquetAdded+3
code_search_net_java_permissive.build.jsonAdded+30
code_search_net_java_permissive.sample.jsonlAdded+12
filter_open.pyAdded+140
filter_permissive.pyAdded+117
finalize_permissive.pyAdded+169
license_summary.jsonAdded+24
manifest.jsonAdded+64
repo_licenses.jsonlAdded
repos.txtAdded
sample_licenses.jsonAdded+14