File size: 2,319 Bytes
f22351b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c64ac01
 
f22351b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c64ac01
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1d17291
 
f22351b
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
---
license: other
license_name: per-file
license_link: LICENSE.md
pretty_name: Open Scientific Code Registry (OSCR) scripts
tags:
- neuroscience
- research-software
- code
- reproducibility
configs:
- config_name: scripts
  data_files: blocks/*.parquet
---

# Open Scientific Code Registry (OSCR): the authors' scripts

The code published by the authors of open-access neuroscience papers, as found and
verified by Open Scientific Code Registry (OSCR). Each file is here exactly as it is at the source, at the verified
commit, **under the license of its repository**.

- **136,878 unique files** (1,165 MB of text) from **2,737 repositories**,
  in 8 Parquet block(s).
- **Only files whose repository's license allows redistribution**, confirmed by the
  repository's own license file (or, for an archive without one, by its record). Files
  without such a license are never copied here: Open Scientific Code Registry (OSCR) links to them at the source.
- No text of any paper.

## Layout

- `blocks/NNNNN.parquet`: one row per unique file (SHA-256 of its text):
  `sha256`, `language`, `size`, `lines`, `content`. zstd page compression, 64 rows per
  row group: a single file can be read with HTTP range requests (for example with
  hyparquet in a browser). A published block never changes; new files go into new
  blocks.
- `manifests/<xx>/<repository>.json`: per repository, its URL, commit and license, and
  for each file its path, digest, and the (block, row) holding its text.

## Licenses

Each file keeps the license of its repository, given in the repository's manifest
(`license`, `license_confirmed_by`). Repositories by license:

| license | repositories |
|---|---|
| MIT | 1153 |
| CC-BY-4.0 | 639 |
| GPL-3.0 | 394 |
| Apache-2.0 | 211 |
| BSD-3-Clause | 125 |
| CC0-1.0 | 43 |
| GPL-2.0 | 30 |
| BSD-2-Clause | 27 |
| CC-BY-NC-4.0 | 23 |
| AGPL-3.0 | 23 |
| CC-BY-NC-SA-4.0 | 16 |
| LGPL-3.0 | 11 |
| other-open | 9 |
| CC-BY-SA-4.0 | 9 |
| CC-BY-NC-ND-4.0 | 9 |
| LGPL-2.1 | 5 |
| MPL-2.0 | 4 |
| Unlicense | 2 |
| Artistic-2.0 | 2 |
| EUPL-1.2 | 1 |
| CECILL-2.1 | 1 |

Files under a non-commercial license (CC BY-NC…) may only be reused non-commercially.

## Takedown

An author who wants a file removed: open an issue at
https://github.com/yannbellec/Open-Scientific-Code-Registry-OSCR-/issues.