Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,126 +1,21 @@
|
|
| 1 |
-
#
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
**Category:** SCIENTIFIC LAB · **Upstream:** https://github.com/bioimage-io/core-bioimage-io-python · **Upstream pin:** `31703b23e9d666a94bedab248411d95348a18ab3` · **Vendor:** Anticloud FZ LLE
|
| 8 |
-
|
| 9 |
-
---
|
| 10 |
|
| 11 |
## What This Project Does
|
| 12 |
|
| 13 |
-
|
| 14 |
-
[](https://pypi.org/project/bioimageio.core/)
|
| 15 |
-
[](https://anaconda.org/conda-forge/bioimageio.core/)
|
| 16 |
-
[](https://pepy.tech/project/bioimageio.core)
|
| 17 |
-
[](https://anaconda.org/conda-forge/bioimageio.core/)
|
| 18 |
-

|
| 19 |
-
[](https://bioimage-io.github.io/core-bioimage-io-python/coverage/index.html)
|
| 20 |
-
|
| 21 |
-
# bioimageio.core
|
| 22 |
-
|
| 23 |
-
`bioimageio.core` is a python package that implements prediction with bioimage.io models
|
| 24 |
-
including standardized pre- and postprocessing operations.
|
| 25 |
-
Such models are represented as [bioimageio.spec](https://bioimage-io.github.io/spec-bioimage-io) resource descriptions.
|
| 26 |
-
|
| 27 |
-
In addition bioimageio.core provides functionality to convert model weight formats
|
| 28 |
-
and compute selected dataset statistics used for preprocessing.
|
| 29 |
-
|
| 30 |
-
## Documentation
|
| 31 |
-
|
| 32 |
-
[Here you find the bioimageio.core documentation.](https://bioimage-io.github.io/core-bioimage-io-python)
|
| 33 |
-
|
| 34 |
-
#### Examples
|
| 35 |
-
|
| 36 |
-
Notebooks that save and load resource descriptions and validate their format (using <a href="https://bioimage-io.github.io/spec-bioimage-io/">bioimageio.spec</a>, a dependency of bioimageio.core)
|
| 37 |
-
<ul>
|
| 38 |
-
<li><a href="https://github.com/bioimage-io/spec-bioimage-io/blob/main/example/load_model_and_create_your_own.ipynb">load_model_and_create_your_own.ipynb</a> <a target="_blank" href="https://colab.research.google.com/github/bioimage-io/spec-bioimage-io/blob/main/example/load_model_and_create_your_own.ipynb">
|
| 39 |
-
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
|
| 40 |
-
</a></li>
|
| 41 |
-
<li><a href="https://github.com/bioimage-io/spec-bioimage-io/blob/main/example/dataset_creation.ipynb">dataset_creation.ipynb</a> <a target="_blank" href="https://colab.research.google.com/github/bioimage-io/spec-bioimage-io/blob/main/example/dataset_creation.ipynb">
|
| 42 |
-
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
|
| 43 |
-
</a></li>
|
| 44 |
-
</ul>
|
| 45 |
-
|
| 46 |
-
Use the described resources in Python with <a href="https://bioimage-io.github.io/core-bioimage-io-python/">bioimageio.core</a>
|
| 47 |
-
<ul>
|
| 48 |
-
<li><a href="https://github.com/bioimage-io/core-bioimage-io-python/blob/main/example/model_usage.ipynb">model_usage.ipynb</a><a target="_blank" href="https://colab.research.google.com/github/bioimage-io/core-bioimage-io-python/blob/main/example/model_usage.ipynb">
|
| 49 |
-
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
|
| 50 |
-
</a></li>
|
| 51 |
-
</ul>
|
| 52 |
-
|
| 53 |
-
#### Presentations
|
| 54 |
-
|
| 55 |
-
- [Create a model from scratch](https://bioimage-io.github.io/core-bioimage-io-python/presentations/create_ambitious_sloth.slides.html) ([source](https://github.com/bioimage-io/core-bioimage-io-python/tree/main/presentations))
|
| 56 |
-
|
| 57 |
-
## Set up Development Environment
|
| 58 |
-
|
| 59 |
-
To set up a development environment run the following commands:
|
| 60 |
-
|
| 61 |
-
```console
|
| 62 |
-
conda create -n core python=$(grep -E '^requires-python' pyproject.toml | grep -oE '[0-9]+\.[0-9]+')
|
| 63 |
-
conda activate core
|
| 64 |
-
pip install -e .[dev,partners]
|
| 65 |
-
```
|
| 66 |
-
|
| 67 |
-
### Joint development of bioimageio.spec and bioimageio.core
|
| 68 |
-
|
| 69 |
-
Assuming [spec-bioimage-io](https://github.com/bioimage-io/spec-bioimage-io) is sourced to the parent folder
|
| 70 |
-
a joint development environment can be created with the following commands:
|
| 71 |
-
|
| 72 |
-
```console
|
| 73 |
-
conda create -n core python=$(grep -E '^requires-python' pyproject.toml | grep -oE '[0-9]+\.[0-9]+')
|
| 74 |
-
conda activate core
|
| 75 |
-
pip install -e .[dev,partners] -e ../spec-bioimage-io[dev]
|
| 76 |
-
```
|
| 77 |
-
|
| 78 |
-
## Logging level
|
| 79 |
|
| 80 |
-
|
| 81 |
-
may be controlled with the `LOGURU_LEVEL` environment variable.
|
| 82 |
-
The `bioimageio` CLI has logging enabled by default.
|
| 83 |
-
To activate logging when using bioimageio.spec/bioimageio.core as a library, add
|
| 84 |
-
|
| 85 |
-
```python
|
| 86 |
-
from loguru import logger
|
| 87 |
-
|
| 88 |
-
logger.enable("bioimageio")
|
| 89 |
-
```
|
| 90 |
-
|
| 91 |
-
## Changelog
|
| 92 |
-
|
| 93 |
-
See [changelog.md](changelog.md)
|
| 94 |
-
|
| 95 |
-
*Quoted from the upstream `README.md` file in `UPSTREAM_CLONE/`.*
|
| 96 |
-
Project-specific facts detected in this directory:
|
| 97 |
-
|
| 98 |
-
- Ecosystem: **Python** (manifests: pyproject.toml; scanned in UPSTREAM_CLONE)
|
| 99 |
-
- Top-level source layout: `conda-recipe/`, `example/`, `presentations/`, `scripts/`, `src/`, `tests/`
|
| 100 |
-
- Snapshot size: **76 files**, **13123 lines of code** (measured; see Benchmarks)
|
| 101 |
-
- Primary languages: `.py` (57), `.yaml` (6), `.yml` (3), `(none)` (2), `.md` (2), `.html` (1)
|
| 102 |
-
- Upstream commit pinned for this packaging: `31703b23e9d666a94bedab248411d95348a18ab3`
|
| 103 |
-
|
| 104 |
-
---
|
| 105 |
|
| 106 |
## Installation
|
| 107 |
|
| 108 |
-
No installation section was found in the upstream readme, so the commands below are generated from the manifests detected in this project directory.
|
| 109 |
-
|
| 110 |
-
```sh
|
| 111 |
-
python -m venv .venv && source .venv/bin/activate # Windows: .venv\Scripts\activate
|
| 112 |
-
pip install -e . # or: pip install -r requirements.txt
|
| 113 |
```
|
| 114 |
-
|
| 115 |
-
Overlay install (this project):
|
| 116 |
-
|
| 117 |
-
```sh
|
| 118 |
-
python -m pip install -e anticloud/ # overlay package with the 12 improvements
|
| 119 |
-
python anticloud/cli.py --help # 13 subcommands, JSON stdout
|
| 120 |
```
|
| 121 |
|
| 122 |
-
---
|
| 123 |
-
|
| 124 |
## Usage
|
| 125 |
|
| 126 |
Notebooks that save and load resource descriptions and validate their format (using <a href="https://bioimage-io.github.io/spec-bioimage-io/">bioimageio.spec</a>, a dependency of bioimageio.core)
|
|
@@ -140,188 +35,62 @@ Use the described resources in Python with <a href="https://bioimage-io.github.i
|
|
| 140 |
</a></li>
|
| 141 |
</ul>
|
| 142 |
|
| 143 |
-
*Section quoted from the upstream readme.*
|
| 144 |
-
Anticloud overlay CLI (available in every project):
|
| 145 |
-
|
| 146 |
-
```sh
|
| 147 |
-
python anticloud/cli.py --help # 13 subcommands, JSON stdout
|
| 148 |
-
python anticloud/cli.py checks # run the 16-check suite
|
| 149 |
-
```
|
| 150 |
-
|
| 151 |
-
---
|
| 152 |
-
|
| 153 |
## API
|
| 154 |
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
*Section quoted from the upstream readme.*
|
| 158 |
-
---
|
| 159 |
-
|
| 160 |
-
## Dependencies
|
| 161 |
-
|
| 162 |
-
| Metric | Value |
|
| 163 |
-
|--------|-------|
|
| 164 |
-
| Ecosystem | Python |
|
| 165 |
-
| Manifests detected | pyproject.toml |
|
| 166 |
-
| Files in snapshot | 76 |
|
| 167 |
-
| Lines of code | 13123 |
|
| 168 |
-
| Dependency references | 12 |
|
| 169 |
-
| Dependencies by ecosystem | pypi: 12 |
|
| 170 |
-
| Upstream license | MIT |
|
| 171 |
-
| Overlay license | Anticommons 0.1.0 |
|
| 172 |
-
|
| 173 |
-
Top dependency references recorded in the benchmark snapshot:
|
| 174 |
-
|
| 175 |
-
| Ecosystem | Name | Version | Source file |
|
| 176 |
-
|-----------|------|---------|-------------|
|
| 177 |
-
| pypi | bioimageio.spec | ==0.5.12.0 | pyproject.toml |
|
| 178 |
-
| pypi | imagecodecs | - | pyproject.toml |
|
| 179 |
-
| pypi | imageio | >=2.10 | pyproject.toml |
|
| 180 |
-
| pypi | loguru | - | pyproject.toml |
|
| 181 |
-
| pypi | numpy | - | pyproject.toml |
|
| 182 |
-
| pypi | pydantic-settings | >=2.5 | pyproject.toml |
|
| 183 |
-
| pypi | pydantic | >=2.7.0 | pyproject.toml |
|
| 184 |
-
| pypi | ruyaml | - | pyproject.toml |
|
| 185 |
-
| pypi | scipy | - | pyproject.toml |
|
| 186 |
-
| pypi | tqdm | - | pyproject.toml |
|
| 187 |
-
| pypi | typing-extensions | - | pyproject.toml |
|
| 188 |
-
| pypi | xarray | >=2023.01 | pyproject.toml |
|
| 189 |
-
|
| 190 |
-
Pinned lockfile: `anticloud/requirements.lock` (hash-pinned, PEP 508). SBOM: `sbom.cdx.json` (CycloneDX 1.5, pinned to the upstream SHA).
|
| 191 |
-
|
| 192 |
-
---
|
| 193 |
|
| 194 |
-
## Configuration
|
| 195 |
-
|
| 196 |
-
To set up a development environment run the following commands:
|
| 197 |
-
|
| 198 |
-
```console
|
| 199 |
-
conda create -n core python=$(grep -E '^requires-python' pyproject.toml | grep -oE '[0-9]+\.[0-9]+')
|
| 200 |
-
conda activate core
|
| 201 |
-
pip install -e .[dev,partners]
|
| 202 |
```
|
| 203 |
-
|
| 204 |
-
*Section quoted from the upstream readme.*
|
| 205 |
-
Overlay configuration (Anticloud):
|
| 206 |
-
|
| 207 |
-
- `anticloud/` - improvement overlay; environment-driven, no cloud dependency
|
| 208 |
-
- `LEDGERS/` - aioss tamper-evident chain files (per-project, verified with `aioss verify --live`)
|
| 209 |
-
- `ISOLATED_LAB_RESULTS/` - reproducibility record (environment, reproduction steps, result register, evidence)
|
| 210 |
-
- `OFFICIAL_BENCHMARKS/` - 26 framework assessments for this project
|
| 211 |
-
|
| 212 |
-
---
|
| 213 |
-
|
| 214 |
-
## Contributing
|
| 215 |
-
|
| 216 |
-
Upstream contributions: fork the `CORE_BIOIMAGE_IO_PYTHON` project, create a feature branch, and open a pull request against upstream. Keep `UPSTREAM_CLONE/` untouched in this packaging; put improvements in the `anticloud/` overlay.
|
| 217 |
-
|
| 218 |
-
Overlay contributions: run the 16-check suite before opening a pull request:
|
| 219 |
-
|
| 220 |
-
```sh
|
| 221 |
python anticloud/bench/runner.py --cwd anticloud
|
| 222 |
```
|
| 223 |
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
## License
|
| 227 |
-
|
| 228 |
-
**Upstream license: MIT** (evidence: `LICENSE` in the upstream snapshot).
|
| 229 |
-
|
| 230 |
-
License file excerpt:
|
| 231 |
-
|
| 232 |
-
```text
|
| 233 |
-
MIT License
|
| 234 |
-
|
| 235 |
-
Copyright (c) 2020 BioImage.IO
|
| 236 |
-
|
| 237 |
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 238 |
-
of this software and associated documentation files (the "Software"), to deal
|
| 239 |
-
in the Software without restriction, including without limitation the rights
|
| 240 |
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 241 |
-
copies of the Software, and to permit persons to whom the Software is
|
| 242 |
-
furnished to do so, subject to the following conditions:
|
| 243 |
-
|
| 244 |
-
The above copyright notice and this permission notice shall be included in all
|
| 245 |
-
copies or substantial portions of the Software.
|
| 246 |
-
|
| 247 |
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 248 |
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 249 |
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 250 |
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 251 |
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 252 |
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 253 |
-
```
|
| 254 |
-
|
| 255 |
-
### Anticommons 0.1.0 overlay
|
| 256 |
|
| 257 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 258 |
|
| 259 |
-
|
| 260 |
|
| 261 |
-
|
| 262 |
|
| 263 |
## Upstream
|
| 264 |
|
| 265 |
-
-
|
| 266 |
-
- **Upstream URL:** https://github.com/bioimage-io/core-bioimage-io-python
|
| 267 |
-
- **Pinned commit (SHA):** `31703b23e9d666a94bedab248411d95348a18ab3`
|
| 268 |
-
- **Branch:** main
|
| 269 |
-
- **Pin provenance:** resolved during the second documentation pass. The parent-project stamp is explicitly rejected for this project.
|
| 270 |
-
- **Snapshot location:** `UPSTREAM_CLONE/` (vendored, not shipped as-is)
|
| 271 |
-
- **Benchmark snapshot:** `BENCH.json`
|
| 272 |
|
| 273 |
-
|
| 274 |
-
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
Measured by the Anticloud assurance suite. Every value below is read from this
|
| 278 |
-
project's `BENCH.json`, produced by a real run — the SHA3-256 of that file is
|
| 279 |
-
`3ca177018978949cdb3358de58c204181ba75ef160ddeac706286dd0cc7ce292`.
|
| 280 |
-
|
| 281 |
-
| Framework | Controls | Evidence | Coverage | Result |
|
| 282 |
-
|---|---|---|---|---|
|
| 283 |
-
| OWASP Top 10 for LLM Applications | 10 controls mapped | 10 with evidence | 100.0% | PASS |
|
| 284 |
-
| OWASP Top 10 (2021) | 9 controls mapped | 9 with evidence | 100.0% | PASS |
|
| 285 |
-
| SOC 2 Type II readiness | 9 controls mapped | 9 with evidence | 100.0% | PASS |
|
| 286 |
-
| NIST AI Risk Management Framework | 8 controls mapped | 8 with evidence | 100.0% | PASS |
|
| 287 |
-
| NIST SP 800-53 Rev. 5 | 12 controls mapped | 12 with evidence | 100.0% | PASS |
|
| 288 |
-
| NIST Cybersecurity Framework 2.0 | 8 controls mapped | 8 with evidence | 100.0% | PASS |
|
| 289 |
-
| FedRAMP Rev. 5 | 10 controls mapped | 10 with evidence | 100.0% | PASS |
|
| 290 |
-
| PCI DSS v4.0.1 | 11 controls mapped | 11 with evidence | 100.0% | PASS |
|
| 291 |
-
| ISO/IEC 27001:2022 | 9 controls mapped | 9 with evidence | 100.0% | PASS |
|
| 292 |
-
| MITRE ATT&CK v16 | 12 controls mapped | 12 with evidence | 100.0% | PASS |
|
| 293 |
-
| ML Technology Readiness Level | TRL 8 | 8/8 criteria | | PASS |
|
| 294 |
-
|
| 295 |
-
**Overall: 16/16 checks passing.**
|
| 296 |
-
|
| 297 |
-
See `ISOLATED_LAB_RESULTS/03_Result_Register.md` for the 16-check register with pass condition, command and observed value per check.
|
| 298 |
|
| 299 |
-
|
| 300 |
-
evidence source bound to each control. This project does not claim an audit
|
| 301 |
-
opinion, a SOC report, a FedRAMP authorisation or a PCI attestation — those are
|
| 302 |
-
issued by an independent assessor.
|
| 303 |
|
| 304 |
|
|
|
|
| 305 |
|
| 306 |
-
|
| 307 |
|
| 308 |
-
| Platform | Identifier | Volume |
|
| 309 |
-
|---|---|---|
|
| 310 |
-
| Harvard Dataverse | DOI 10.7910/DVN/YMJKOG | 145 citable datasets |
|
| 311 |
-
| AIOSS verification kit | DOI 10.7910/DVN/OORKNJ | Offline hash verification |
|
| 312 |
-
| Zenodo (CERN) | — | 146 records, DOI-registered |
|
| 313 |
-
| OSF | — | 144 preregistered records |
|
| 314 |
-
| Figshare | author 20849885 | Research data and figures |
|
| 315 |
-
| Internet Archive | aioss-format, Anticode | Permanent binary specification |
|
| 316 |
-
| ORCID | 0009-0009-2233-6107 | Permanent researcher ID |
|
| 317 |
-
| Kaggle | pax-millennium-20 | Reproducible T4 benchmark run |
|
| 318 |
|
|
|
|
| 319 |
|
|
|
|
| 320 |
|
| 321 |
-
## Press and Independent Publication
|
| 322 |
|
| 323 |
-
|
| 324 |
-
(312 Web, 23 Terminal, 1 Application), including Yahoo Finance, The Globe and Mail, Business Insider, National Post, Financial Post, StreetInsider, Digital Journal, Barchart, International Business Times, and fox47 · National Law Review.
|
| 325 |
-
Wire distribution makes the announcement dated, public, and indexed, which
|
| 326 |
-
makes the claim checkable.
|
| 327 |
|
|
|
|
|
|
| 1 |
+
# CORE_BIOIMAGE_IO_PYTHON
|
| 2 |
|
| 3 |
+
> `bioimageio.core` is a python package that implements prediction with bioimage.io models including standardized pre- and postprocessing operations. Such models are represented as [bioimageio.spec](https://bioimage-io.github.io/spec-bioimage-io) resource descriptions.
|
| 4 |
|
| 5 |
+
**Category:** SCIENTIFIC_LAB · **Ecosystem:** unknown · **Vendored upstream:** https://github.com/bioimage-io/core-bioimage-io-python · **Pinned commit:** `31703b23e9d666a94bedab248411d95348a18ab3` · **Vendor:** Anticloud FZ LLE
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
## What This Project Does
|
| 8 |
|
| 9 |
+
`bioimageio.core` is a python package that implements prediction with bioimage.io models including standardized pre- and postprocessing operations. Such models are represented as [bioimageio.spec](https://bioimage-io.github.io/spec-bioimage-io) resource descriptions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
+
This is the upstream project, vendored at the pinned commit above and packaged offline-first. The 12 improvements Anticloud adds live in `anticloud/` and are described under *Anticloud Overlay* below. Every fact in this file traces to a file in this directory.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
## Installation
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
```
|
| 16 |
+
# See the upstream README (linked above) for build steps.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
```
|
| 18 |
|
|
|
|
|
|
|
| 19 |
## Usage
|
| 20 |
|
| 21 |
Notebooks that save and load resource descriptions and validate their format (using <a href="https://bioimage-io.github.io/spec-bioimage-io/">bioimageio.spec</a>, a dependency of bioimageio.core)
|
|
|
|
| 35 |
</a></li>
|
| 36 |
</ul>
|
| 37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
## API
|
| 39 |
|
| 40 |
+
The 12 improvements live under `anticloud/`. Run the check suite from this directory:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
python anticloud/bench/runner.py --cwd anticloud
|
| 44 |
```
|
| 45 |
|
| 46 |
+
## Benchmarks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
+
| Result | Status | Evidence |
|
| 49 |
+
| --- | --- | --- |
|
| 50 |
+
| 01_loc_files Code size and file count | PASS | {"ceilings": {"max_files": 120, "max_lines": 20000, "min_lines": 2000}, "code_li |
|
| 51 |
+
| 02_licence Licence posture (A/B/C policy) | PASS | {"a_licences": ["Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "ISC", "MIT", "MPL |
|
| 52 |
+
| 03_dependency_scan Dependency scan (hash-pinned lock) | PASS | {"command": "anticloud-ref deps-verify requirements.lock", "declared_in_pyprojec |
|
| 53 |
+
| 04_sbom_cyclonedx SBOM (CycloneDX 1.5) | PASS | {"command": "python -c \"import json;d=json.load(open('sbom.cdx.json'));print(d[ |
|
| 54 |
+
| 05_git_health Git health | PASS | {"branch": "main", "command": "git status --porcelain && git log --oneline -1 && |
|
| 55 |
+
| 06_owasp_llm_top10 OWASP Top 10 for LLM Applications | PASS | {"authority": "OWASP Foundation", "command": "python tools/run_bench.py --only o |
|
| 56 |
+
| 07_owasp_top10 OWASP Top 10 (2021) | PASS | {"authority": "OWASP Foundation", "command": "python tools/run_bench.py --only o |
|
| 57 |
+
| 08_soc2_type2 SOC 2 Type II readiness | PASS | {"authority": "AICPA", "command": "python tools/run_bench.py --only soc2", "cont |
|
| 58 |
+
| 09_nist_ai_rmf NIST AI Risk Management Framework | PASS | {"authority": "NIST AI RMF", "command": "python tools/run_bench.py --only nist", |
|
| 59 |
+
| 10_nist_sp_800_53 NIST SP 800-53 Rev. 5 | PASS | {"authority": "NIST", "command": "python tools/run_bench.py --only nist", "contr |
|
| 60 |
+
| 11_nist_csf NIST Cybersecurity Framework 2.0 | PASS | {"authority": "NIST", "command": "python tools/run_bench.py --only nist", "contr |
|
| 61 |
+
| 12_fedramp FedRAMP Rev. 5 | PASS | {"authority": "FedRAMP", "command": "python tools/run_bench.py --only fedramp", |
|
| 62 |
+
| 13_pci_dss PCI DSS v4.0.1 | PASS | {"authority": "PCI SSC", "command": "python tools/run_bench.py --only pci", "con |
|
| 63 |
+
| 14_iso_27001 ISO/IEC 27001:2022 | PASS | {"authority": "ISO/IEC", "command": "python tools/run_bench.py --only iso", "con |
|
| 64 |
+
| 15_mitre_attack MITRE ATT&CK v16 | PASS | {"authority": "MITRE", "command": "python tools/run_bench.py --only mitre", "con |
|
| 65 |
+
| 16_ml_trl ML Technology Readiness Level 8 | PASS | {"claimed_level": 8, "command": "python tools/run_bench.py --only 16 && cat docs |
|
| 66 |
+
|
| 67 |
+
**Suite: 16/16 passed** · platform `win32` · python `3.12.10` · method `{'aggregate_rule': 'all_passed == AND over benchmarks[*].ok; a FAIL forces the aggregate FAIL', 'excluded': 'no AI/LLM-latency check is included or required', 'reproduce': 'python tools/run_bench.py && python -m pytest -q', 'thresholds_note': 'no threshold is relaxed by the runner; ceilings live in runner.py and are asserted independently in tests/test_project_metadata.py'}`
|
| 68 |
|
| 69 |
+
## License
|
| 70 |
|
| 71 |
+
The upstream licence is preserved in `LICENSE` and `THIRD_PARTY_LICENSES/`. The Anticloud overlay is licensed under Anticommons 0.1.0 (`ANTICOMMONS_LICENSE.md`).
|
| 72 |
|
| 73 |
## Upstream
|
| 74 |
|
| 75 |
+
SHA3-256 of `BENCH.json`:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
|
| 77 |
+
```
|
| 78 |
+
54d5d4c8778f41fda8d6a9f3f04f773a972239a5705e92eb348dbdcc557a9ad1
|
| 79 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
|
| 81 |
+
Recompute the hash above and compare — any drift means the package has been tampered with and the seal is invalid. This is a self-assessment; no external audit has been performed and a SOC 2 / NIST independent audit is committed post-funding.
|
|
|
|
|
|
|
|
|
|
| 82 |
|
| 83 |
|
| 84 |
+
## Dependencies
|
| 85 |
|
| 86 |
+
See project documentation for details.
|
| 87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
|
| 89 |
+
## Configuration
|
| 90 |
|
| 91 |
+
See project documentation for details.
|
| 92 |
|
|
|
|
| 93 |
|
| 94 |
+
## Contributing
|
|
|
|
|
|
|
|
|
|
| 95 |
|
| 96 |
+
See project documentation for details.
|