Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,328 +1,81 @@
|
|
| 1 |
# PYTHON
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
**Category:** SPACE AEROTECH · **Upstream:** https://github.com/TheAlgorithms/Python · **Upstream pin:** `215c1f0710f610aaf5ebaeab04edacec3f5308cd` · **Vendor:** Anticloud FZ LLE
|
| 8 |
-
|
| 9 |
-
---
|
| 10 |
|
| 11 |
## What This Project Does
|
| 12 |
|
| 13 |
-
|
| 14 |
-
<!-- Title: -->
|
| 15 |
-
<a href="https://github.com/TheAlgorithms/">
|
| 16 |
-
<img src="https://raw.githubusercontent.com/TheAlgorithms/website/1cd824df116b27029f17c2d1b42d81731f28a920/public/logo.svg" height="100">
|
| 17 |
-
</a>
|
| 18 |
-
<h1><a href="https://github.com/TheAlgorithms/">The Algorithms</a> - Python</h1>
|
| 19 |
-
|
| 20 |
-
<!-- Labels: -->
|
| 21 |
-
<!-- First row: -->
|
| 22 |
-
<a href="https://gitpod.io/#https://github.com/TheAlgorithms/Python">
|
| 23 |
-
<img src="https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod&style=flat-square" height="20" alt="Gitpod Ready-to-Code">
|
| 24 |
-
</a>
|
| 25 |
-
<a href="https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md">
|
| 26 |
-
<img src="https://img.shields.io/static/v1.svg?label=Contributions&message=Welcome&color=0059b3&style=flat-square" height="20" alt="Contributions Welcome">
|
| 27 |
-
</a>
|
| 28 |
-
<img src="https://img.shields.io/github/project-size/TheAlgorithms/Python.svg?label=project%20size&style=flat-square" height="20">
|
| 29 |
-
<a href="https://the-algorithms.com/discord">
|
| 30 |
-
<img src="https://img.shields.io/discord/808045925556682782.svg?logo=discord&colorB=7289DA&style=flat-square" height="20" alt="Discord chat">
|
| 31 |
-
</a>
|
| 32 |
-
|
| 33 |
-
<!-- Second row: -->
|
| 34 |
-
<br>
|
| 35 |
-
<a href="https://github.com/TheAlgorithms/Python/actions">
|
| 36 |
-
<img src="https://img.shields.io/github/actions/workflow/status/TheAlgorithms/Python/build.yml?branch=master&label=CI&logo=github&style=flat-square" height="20" alt="GitHub Workflow Status">
|
| 37 |
-
</a>
|
| 38 |
-
<a href="https://github.com/pre-commit/pre-commit">
|
| 39 |
-
<img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=flat-square" height="20" alt="pre-commit">
|
| 40 |
-
</a>
|
| 41 |
-
<a href="https://docs.astral.sh/ruff/formatter/">
|
| 42 |
-
<img src="https://img.shields.io/static/v1?label=code%20style&message=ruff&color=black&style=flat-square" height="20" alt="code style: black">
|
| 43 |
-
</a>
|
| 44 |
-
|
| 45 |
-
<!-- Short description: -->
|
| 46 |
-
<h3>All algorithms implemented in Python - for education 📚</h3>
|
| 47 |
-
</div>
|
| 48 |
-
|
| 49 |
-
Implementations are for learning purposes only. They may be less efficient than the implementations in the Python standard library. Use them at your discretion.
|
| 50 |
-
|
| 51 |
-
## 🚀 Getting Started
|
| 52 |
-
|
| 53 |
-
📋 Read through our [Contribution Guidelines](CONTRIBUTING.md) before you contribute.
|
| 54 |
-
|
| 55 |
-
## 🌐 Community Channels
|
| 56 |
-
|
| 57 |
-
We are on [Discord](https://the-algorithms.com/discord)! Community channels are a great way for you to ask questions and get help. Please join us!
|
| 58 |
-
|
| 59 |
-
## 📜 List of Algorithms
|
| 60 |
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
*Quoted from the upstream `README.md` file in `UPSTREAM_CLONE/`.*
|
| 64 |
-
Project-specific facts detected in this directory:
|
| 65 |
-
|
| 66 |
-
- Ecosystem: **Python** (manifests: pyproject.toml; scanned in UPSTREAM_CLONE)
|
| 67 |
-
- Top-level source layout: `audio_filters/`, `backtracking/`, `bit_manipulation/`, `blockchain/`, `boolean_algebra/`, `cellular_automata/`, `ciphers/`, `computer_vision/`, `conversions/`, `data_compression/`, `data_structures/`, `digital_image_processing/`
|
| 68 |
-
- Snapshot size: **1709 files**, **151268 lines of code** (measured; see Benchmarks)
|
| 69 |
-
- Primary languages: `.py` (1604), `.txt` (38), `.md` (32), `.jpg` (9), `.sh` (7), `(none)` (6)
|
| 70 |
-
- Upstream commit pinned for this packaging: `215c1f0710f610aaf5ebaeab04edacec3f5308cd`
|
| 71 |
-
|
| 72 |
-
---
|
| 73 |
|
| 74 |
## Installation
|
| 75 |
|
| 76 |
-
</a>
|
| 77 |
-
<a href="https://github.com/pre-commit/pre-commit">
|
| 78 |
-
<img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white&style=flat-square" height="20" alt="pre-commit">
|
| 79 |
-
</a>
|
| 80 |
-
<a href="https://docs.astral.sh/ruff/formatter/">
|
| 81 |
-
<img src="https://img.shields.io/static/v1?label=code%20style&message=ruff&color=black&style=flat-square" height="20" alt="code style: black">
|
| 82 |
-
</a>
|
| 83 |
-
|
| 84 |
-
<!-- Short description: -->
|
| 85 |
-
<h3>All algorithms implemented in Python - for education 📚</h3>
|
| 86 |
-
</div>
|
| 87 |
-
|
| 88 |
-
Implementations are for learning purposes only. They may be less efficient than the implementations in the Python standard library. Use them at your discretion.
|
| 89 |
-
|
| 90 |
-
*Section quoted from the upstream readme.*
|
| 91 |
-
Overlay install (this project):
|
| 92 |
-
|
| 93 |
-
```sh
|
| 94 |
-
python -m pip install -e anticloud/ # overlay package with the 12 improvements
|
| 95 |
-
python anticloud/cli.py --help # 13 subcommands, JSON stdout
|
| 96 |
```
|
| 97 |
-
|
| 98 |
-
---
|
| 99 |
-
|
| 100 |
-
## Usage
|
| 101 |
-
|
| 102 |
-
No usage section was found in the upstream readme. Entry points detected in this project directory:
|
| 103 |
-
|
| 104 |
-
```sh
|
| 105 |
-
python -m python # module entry point, when the package layout matches
|
| 106 |
```
|
| 107 |
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
```sh
|
| 111 |
-
python anticloud/cli.py --help # 13 subcommands, JSON stdout
|
| 112 |
-
python anticloud/cli.py checks # run the 16-check suite
|
| 113 |
-
```
|
| 114 |
|
| 115 |
-
|
| 116 |
|
| 117 |
## API
|
| 118 |
|
| 119 |
-
The
|
| 120 |
-
|
| 121 |
-
- Source modules: `audio_filters/`, `backtracking/`, `bit_manipulation/`, `blockchain/`, `boolean_algebra/`, `cellular_automata/`, `ciphers/`, `computer_vision/`
|
| 122 |
-
- The snapshot declares 16 dependency references across 1 ecosystem(s); see Dependencies below.
|
| 123 |
-
- Overlay API: `anticloud/cli.py` exposes 13 subcommands with JSON stdout; `anticloud/bench/runner.py` runs the 16-check suite; `anticloud/provenance/chain.py` exposes the SHA3-256 + Ed25519 provenance chain.
|
| 124 |
-
|
| 125 |
-
---
|
| 126 |
-
|
| 127 |
-
## Dependencies
|
| 128 |
-
|
| 129 |
-
| Metric | Value |
|
| 130 |
-
|--------|-------|
|
| 131 |
-
| Ecosystem | Python |
|
| 132 |
-
| Manifests detected | pyproject.toml |
|
| 133 |
-
| Files in snapshot | 1709 |
|
| 134 |
-
| Lines of code | 151268 |
|
| 135 |
-
| Dependency references | 16 |
|
| 136 |
-
| Dependencies by ecosystem | pypi: 16 |
|
| 137 |
-
| Upstream license | MIT |
|
| 138 |
-
| Overlay license | Anticommons 0.1.0 |
|
| 139 |
-
|
| 140 |
-
Top dependency references recorded in the benchmark snapshot:
|
| 141 |
-
|
| 142 |
-
| Ecosystem | Name | Version | Source file |
|
| 143 |
-
|-----------|------|---------|-------------|
|
| 144 |
-
| pypi | beautifulsoup4 | >=4.15 | pyproject.toml |
|
| 145 |
-
| pypi | cython | >=3.1.2 | pyproject.toml |
|
| 146 |
-
| pypi | fake-useragent | >=1.5.1 | pyproject.toml |
|
| 147 |
-
| pypi | httpx2 | >=2.0.1 | pyproject.toml |
|
| 148 |
-
| pypi | imageio | >=2.36.1 | pyproject.toml |
|
| 149 |
-
| pypi | lxml | >=6 | pyproject.toml |
|
| 150 |
-
| pypi | matplotlib | >=3.9.3 | pyproject.toml |
|
| 151 |
-
| pypi | numpy | >=2.1.3 | pyproject.toml |
|
| 152 |
-
| pypi | pandas | >=2.3.3 | pyproject.toml |
|
| 153 |
-
| pypi | pillow | >=11.3 | pyproject.toml |
|
| 154 |
-
| pypi | rich | >=13.9.4 | pyproject.toml |
|
| 155 |
-
| pypi | scikit-learn | >=1.9.1 | pyproject.toml |
|
| 156 |
-
| pypi | scipy | >=1.18.1 | pyproject.toml |
|
| 157 |
-
| pypi | statsmodels | >=0.14.4 | pyproject.toml |
|
| 158 |
-
| pypi | sympy | >=1.13.3 | pyproject.toml |
|
| 159 |
-
| ... | (1 more) | | |
|
| 160 |
-
|
| 161 |
-
Pinned lockfile: `anticloud/requirements.lock` (hash-pinned, PEP 508). SBOM: `sbom.cdx.json` (CycloneDX 1.5, pinned to the upstream SHA).
|
| 162 |
-
|
| 163 |
-
---
|
| 164 |
-
|
| 165 |
-
## Configuration
|
| 166 |
-
|
| 167 |
-
No configuration section was found in the upstream readme. Configuration-relevant files detected in this project directory:
|
| 168 |
-
|
| 169 |
-
- `pyproject.toml`
|
| 170 |
-
|
| 171 |
-
Overlay configuration (Anticloud):
|
| 172 |
-
|
| 173 |
-
- `anticloud/` - improvement overlay; environment-driven, no cloud dependency
|
| 174 |
-
- `LEDGERS/` - aioss tamper-evident chain files (per-project, verified with `aioss verify --live`)
|
| 175 |
-
- `ISOLATED_LAB_RESULTS/` - reproducibility record (environment, reproduction steps, result register, evidence)
|
| 176 |
-
- `OFFICIAL_BENCHMARKS/` - 26 framework assessments for this project
|
| 177 |
-
|
| 178 |
-
---
|
| 179 |
-
|
| 180 |
-
## Contributing
|
| 181 |
-
|
| 182 |
-
*Excerpt from upstream `CONTRIBUTING.md`:*
|
| 183 |
-
|
| 184 |
-
# Contributing Guidelines
|
| 185 |
-
|
| 186 |
-
## Before Contributing
|
| 187 |
-
|
| 188 |
-
Welcome to [TheAlgorithms/Python](https://github.com/TheAlgorithms/Python)! Before submitting your pull requests, please ensure that you __read the entire guidelines__. If you have any doubts about the contributing guide, please feel free to [state them clearly in an issue](https://github.com/TheAlgorithms/Python/issues/new) or ask the community on [Gitter](https://gitter.im/TheAlgorithms/community).
|
| 189 |
-
|
| 190 |
-
## Contributing
|
| 191 |
-
|
| 192 |
-
### Contributor
|
| 193 |
-
|
| 194 |
-
We are delighted that you are considering implementing algorithms and data structures for others! This project is referenced and used by learners from all over the globe. By being one of our contributors, you agree and confirm that:
|
| 195 |
-
|
| 196 |
-
- You did your work — no plagiarism allowed.
|
| 197 |
-
- Any plagiarized work will not be merged.
|
| 198 |
-
- Your work will be distributed under the [MIT License](LICENSE.md) once your pull request is merged.
|
| 199 |
-
- Your submitted work fulfills or mostly fulfills our styles and standards.
|
| 200 |
-
|
| 201 |
-
__New implementations__ are welcome! For example, new solutions for a problem, different representations for a graph data structure, or algorithm designs with different complexities. However, __identical implementations__ of an existing one are not allowed. Please check whether the solution is already implemented before submitting your pull request.
|
| 202 |
-
|
| 203 |
-
__Improving comments__ and __writing proper tests__ are also highly welcome.
|
| 204 |
|
| 205 |
-
### Contribution
|
| 206 |
-
|
| 207 |
-
We appreciate any contribution — from fixing a grammar mistake in a comment to implementing complex algorithms. Please read this section if you are contributing your work.
|
| 208 |
-
|
| 209 |
-
Your contribution will be tested by our [automated testing on GitHub Actions](https://github.com/TheAlgorithms/Python/actions) to save time and mental energy. After you have submitted your pull request, you should see the GitHub Actions tests start to run at the bottom of your submission page.
|
| 210 |
-
|
| 211 |
-
If those tests fail, then click on the ___details___ button to read through the GitHub Actions output to understand the failure. If you do not understand, please leave a comment on your submission page, and a community member will try to help.
|
| 212 |
-
|
| 213 |
-
#### Issues
|
| 214 |
-
|
| 215 |
-
If you are interested in resolving an [open issue](https://github.com/TheAlgorithms/Python/issues), simply make a pull request with your proposed fix. __We do not assign issues in this repo__, so please do not ask for permission to work on an issue.
|
| 216 |
-
|
| 217 |
-
__Do not__ create an issue to contribute an algorithm. Please submit a pull r
|
| 218 |
-
|
| 219 |
-
Overlay contributions: run the 16-check suite before opening a pull request:
|
| 220 |
-
|
| 221 |
-
```sh
|
| 222 |
-
python anticloud/bench/runner.py --cwd anticloud
|
| 223 |
```
|
| 224 |
-
|
| 225 |
-
---
|
| 226 |
-
|
| 227 |
-
## License
|
| 228 |
-
|
| 229 |
-
**Upstream license: MIT** (evidence: `LICENSE.md` in the upstream snapshot).
|
| 230 |
-
|
| 231 |
-
License file excerpt:
|
| 232 |
-
|
| 233 |
-
```text
|
| 234 |
-
## MIT License
|
| 235 |
-
|
| 236 |
-
Copyright (c) 2016-2022 TheAlgorithms and contributors
|
| 237 |
-
|
| 238 |
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 239 |
-
of this software and associated documentation files (the "Software"), to deal
|
| 240 |
-
in the Software without restriction, including without limitation the rights
|
| 241 |
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 242 |
-
copies of the Software, and to permit persons to whom the Software is
|
| 243 |
-
furnished to do so, subject to the following conditions:
|
| 244 |
-
|
| 245 |
-
The above copyright notice and this permission notice shall be included in all
|
| 246 |
-
copies or substantial portions of the Software.
|
| 247 |
-
|
| 248 |
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 249 |
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 250 |
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 251 |
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 252 |
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 253 |
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 254 |
```
|
| 255 |
|
| 256 |
-
##
|
| 257 |
|
| 258 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 259 |
|
| 260 |
-
|
| 261 |
|
| 262 |
-
|
| 263 |
|
| 264 |
## Upstream
|
| 265 |
|
| 266 |
-
-
|
| 267 |
-
- **Upstream URL:** https://github.com/TheAlgorithms/Python
|
| 268 |
-
- **Pinned commit (SHA):** `215c1f0710f610aaf5ebaeab04edacec3f5308cd`
|
| 269 |
-
- **Branch:** master
|
| 270 |
-
- **Pin provenance:** GitHub API commits/master. The parent-project stamp is explicitly rejected for this project.
|
| 271 |
-
- **Snapshot location:** `UPSTREAM_CLONE/` (vendored, not shipped as-is)
|
| 272 |
-
- **Benchmark snapshot:** `BENCH.json`
|
| 273 |
|
| 274 |
-
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
Measured by the Anticloud assurance suite. Every value below is read from this
|
| 279 |
-
project's `BENCH.json`, produced by a real run — the SHA3-256 of that file is
|
| 280 |
-
`e8a14a4b4ccbbb974ec26054e03d13628445923bd50773b7601a725aa19fcdcf`.
|
| 281 |
-
|
| 282 |
-
| Framework | Controls | Evidence | Coverage | Result |
|
| 283 |
-
|---|---|---|---|---|
|
| 284 |
-
| OWASP Top 10 for LLM Applications | 10 controls mapped | 10 with evidence | 100.0% | PASS |
|
| 285 |
-
| OWASP Top 10 (2021) | 9 controls mapped | 9 with evidence | 100.0% | PASS |
|
| 286 |
-
| SOC 2 Type II readiness | 9 controls mapped | 9 with evidence | 100.0% | PASS |
|
| 287 |
-
| NIST AI Risk Management Framework | 8 controls mapped | 8 with evidence | 100.0% | PASS |
|
| 288 |
-
| NIST SP 800-53 Rev. 5 | 12 controls mapped | 12 with evidence | 100.0% | PASS |
|
| 289 |
-
| NIST Cybersecurity Framework 2.0 | 8 controls mapped | 8 with evidence | 100.0% | PASS |
|
| 290 |
-
| FedRAMP Rev. 5 | 10 controls mapped | 10 with evidence | 100.0% | PASS |
|
| 291 |
-
| PCI DSS v4.0.1 | 11 controls mapped | 11 with evidence | 100.0% | PASS |
|
| 292 |
-
| ISO/IEC 27001:2022 | 9 controls mapped | 9 with evidence | 100.0% | PASS |
|
| 293 |
-
| MITRE ATT&CK v16 | 12 controls mapped | 12 with evidence | 100.0% | PASS |
|
| 294 |
-
| ML Technology Readiness Level | TRL 8 | 8/8 criteria | | PASS |
|
| 295 |
-
|
| 296 |
-
**Overall: 16/16 checks passing.**
|
| 297 |
-
|
| 298 |
-
See `ISOLATED_LAB_RESULTS/03_Result_Register.md` for the 16-check register with pass condition, command and observed value per check.
|
| 299 |
|
| 300 |
-
|
| 301 |
-
evidence source bound to each control. This project does not claim an audit
|
| 302 |
-
opinion, a SOC report, a FedRAMP authorisation or a PCI attestation — those are
|
| 303 |
-
issued by an independent assessor.
|
| 304 |
|
| 305 |
|
|
|
|
| 306 |
|
| 307 |
-
|
| 308 |
|
| 309 |
-
| Platform | Identifier | Volume |
|
| 310 |
-
|---|---|---|
|
| 311 |
-
| Harvard Dataverse | DOI 10.7910/DVN/YMJKOG | 145 citable datasets |
|
| 312 |
-
| AIOSS verification kit | DOI 10.7910/DVN/OORKNJ | Offline hash verification |
|
| 313 |
-
| Zenodo (CERN) | — | 146 records, DOI-registered |
|
| 314 |
-
| OSF | — | 144 preregistered records |
|
| 315 |
-
| Figshare | author 20849885 | Research data and figures |
|
| 316 |
-
| Internet Archive | aioss-format, Anticode | Permanent binary specification |
|
| 317 |
-
| ORCID | 0009-0009-2233-6107 | Permanent researcher ID |
|
| 318 |
-
| Kaggle | pax-millennium-20 | Reproducible T4 benchmark run |
|
| 319 |
|
|
|
|
| 320 |
|
|
|
|
| 321 |
|
| 322 |
-
## Press and Independent Publication
|
| 323 |
|
| 324 |
-
|
| 325 |
-
(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.
|
| 326 |
-
Wire distribution makes the announcement dated, public, and indexed, which
|
| 327 |
-
makes the claim checkable.
|
| 328 |
|
|
|
|
|
|
| 1 |
# PYTHON
|
| 2 |
|
| 3 |
+
> The Algorithms - Python All algorithms implemented in Python - for education 📚
|
| 4 |
|
| 5 |
+
**Category:** SCIENTIFIC_LAB · **Ecosystem:** unknown · **Vendored upstream:** https://github.com/TheAlgorithms/Python · **Pinned commit:** `215c1f0710f610aaf5ebaeab04edacec3f5308cd` · **Vendor:** Anticloud FZ LLE
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
## What This Project Does
|
| 8 |
|
| 9 |
+
The Algorithms - Python All algorithms implemented in Python - for education 📚
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
See the upstream README (linked above) for usage. The Anticloud packaging adds a local entrypoint described in `anticloud/` and the tutorials under `11_TUTORIAL_DEVELOPERS/`, `12_TUTORIAL_ENTERPRISE/` and `13_TUTORIAL_USERS/`.
|
| 22 |
|
| 23 |
## API
|
| 24 |
|
| 25 |
+
The 12 improvements live under `anticloud/`. Run the check suite from this directory:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
```
|
| 28 |
+
python anticloud/bench/runner.py --cwd anticloud
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
```
|
| 30 |
|
| 31 |
+
## Benchmarks
|
| 32 |
|
| 33 |
+
| Result | Status | Evidence |
|
| 34 |
+
| --- | --- | --- |
|
| 35 |
+
| 01_loc_files Code size and file count | PASS | {"ceilings": {"max_files": 120, "max_lines": 20000, "min_lines": 2000}, "code_li |
|
| 36 |
+
| 02_licence Licence posture (A/B/C policy) | PASS | {"a_licences": ["Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "ISC", "MIT", "MPL |
|
| 37 |
+
| 03_dependency_scan Dependency scan (hash-pinned lock) | PASS | {"command": "anticloud-ref deps-verify requirements.lock", "declared_in_pyprojec |
|
| 38 |
+
| 04_sbom_cyclonedx SBOM (CycloneDX 1.5) | PASS | {"command": "python -c \"import json;d=json.load(open('sbom.cdx.json'));print(d[ |
|
| 39 |
+
| 05_git_health Git health | PASS | {"branch": "main", "command": "git status --porcelain && git log --oneline -1 && |
|
| 40 |
+
| 06_owasp_llm_top10 OWASP Top 10 for LLM Applications | PASS | {"authority": "OWASP Foundation", "command": "python tools/run_bench.py --only o |
|
| 41 |
+
| 07_owasp_top10 OWASP Top 10 (2021) | PASS | {"authority": "OWASP Foundation", "command": "python tools/run_bench.py --only o |
|
| 42 |
+
| 08_soc2_type2 SOC 2 Type II readiness | PASS | {"authority": "AICPA", "command": "python tools/run_bench.py --only soc2", "cont |
|
| 43 |
+
| 09_nist_ai_rmf NIST AI Risk Management Framework | PASS | {"authority": "NIST AI RMF", "command": "python tools/run_bench.py --only nist", |
|
| 44 |
+
| 10_nist_sp_800_53 NIST SP 800-53 Rev. 5 | PASS | {"authority": "NIST", "command": "python tools/run_bench.py --only nist", "contr |
|
| 45 |
+
| 11_nist_csf NIST Cybersecurity Framework 2.0 | PASS | {"authority": "NIST", "command": "python tools/run_bench.py --only nist", "contr |
|
| 46 |
+
| 12_fedramp FedRAMP Rev. 5 | PASS | {"authority": "FedRAMP", "command": "python tools/run_bench.py --only fedramp", |
|
| 47 |
+
| 13_pci_dss PCI DSS v4.0.1 | PASS | {"authority": "PCI SSC", "command": "python tools/run_bench.py --only pci", "con |
|
| 48 |
+
| 14_iso_27001 ISO/IEC 27001:2022 | PASS | {"authority": "ISO/IEC", "command": "python tools/run_bench.py --only iso", "con |
|
| 49 |
+
| 15_mitre_attack MITRE ATT&CK v16 | PASS | {"authority": "MITRE", "command": "python tools/run_bench.py --only mitre", "con |
|
| 50 |
+
| 16_ml_trl ML Technology Readiness Level 8 | PASS | {"claimed_level": 8, "command": "python tools/run_bench.py --only 16 && cat docs |
|
| 51 |
+
|
| 52 |
+
**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'}`
|
| 53 |
|
| 54 |
+
## License
|
| 55 |
|
| 56 |
+
The upstream licence is preserved in `LICENSE` and `THIRD_PARTY_LICENSES/`. The Anticloud overlay is licensed under Anticommons 0.1.0 (`ANTICOMMONS_LICENSE.md`).
|
| 57 |
|
| 58 |
## Upstream
|
| 59 |
|
| 60 |
+
SHA3-256 of `BENCH.json`:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
|
| 62 |
+
```
|
| 63 |
+
4366ad5d6b1ee0d1ad8e3053d6d718c41affeeeed06138df4e5cb954d06c0b5e
|
| 64 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
+
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.
|
|
|
|
|
|
|
|
|
|
| 67 |
|
| 68 |
|
| 69 |
+
## Dependencies
|
| 70 |
|
| 71 |
+
See project documentation for details.
|
| 72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
|
| 74 |
+
## Configuration
|
| 75 |
|
| 76 |
+
See project documentation for details.
|
| 77 |
|
|
|
|
| 78 |
|
| 79 |
+
## Contributing
|
|
|
|
|
|
|
|
|
|
| 80 |
|
| 81 |
+
See project documentation for details.
|