Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,308 +1,81 @@
|
|
| 1 |
# API
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
**Category:** POLICE CIVIC · **Upstream:** https://github.com/dingo/api · **Upstream pin:** `42b6afa6e20a27f938a45e676665e57d26422cea` · **Vendor:** Anticloud FZ LLE
|
| 8 |
-
|
| 9 |
-
---
|
| 10 |
|
| 11 |
## What This Project Does
|
| 12 |
|
| 13 |
-
# Hacker News API
|
| 14 |
-
|
| 15 |
-
## Overview
|
| 16 |
-
|
| 17 |
In partnership with [Firebase](https://firebase.google.com/), we're making the public Hacker News data available in near real time. Firebase enables easy access from [Android](https://firebase.google.com/docs/android/setup), [iOS](https://firebase.google.com/docs/ios/setup) and the [web](https://firebase.google.com/docs/web/setup). [Servers](https://firebase.google.com/docs/server/setup) aren't left out.
|
| 18 |
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
Please email api@ycombinator.com if you find any bugs.
|
| 22 |
-
|
| 23 |
-
## URI and Versioning
|
| 24 |
-
|
| 25 |
-
We hope to improve the API over time. The changes won't always be backward compatible, so we're going to use versioning. This first iteration will have URIs prefixed with `https://hacker-news.firebaseio.com/v0/` and is structured as described below. There is currently no rate limit.
|
| 26 |
-
|
| 27 |
-
For versioning purposes, only removal of a non-optional field or alteration of an existing field will be considered incompatible changes. *Clients should gracefully handle additional fields they don't expect, and simply ignore them.*
|
| 28 |
-
|
| 29 |
-
## Design
|
| 30 |
-
|
| 31 |
-
The v0 API is essentially a dump of our in-memory data structures. We know, what works great locally in memory isn't so hot over the network. Many of the awkward things are just the way HN works internally. Want to know the total number of comments on an article? Traverse the tree and count. Want to know the children of an item? Load the item and get their IDs, then load them. The newest page? Starts at item maxid and walks backward, keeping only the top level stories. Same for Ask, Show, etc.
|
| 32 |
-
|
| 33 |
-
I'm not saying this to defend it - It's not the ideal public API, but it's the one we could release in the time we had. While awkward, it's possible to implement most of HN using it.
|
| 34 |
-
|
| 35 |
-
## Items
|
| 36 |
-
|
| 37 |
-
Stories, comments, jobs, Ask HNs and even polls are just items. They're identified by their ids, which are unique integers, and live under `/v0/item/<id>.json`.
|
| 38 |
-
|
| 39 |
-
All items have some of the following properties, with required properties in bold:
|
| 40 |
-
|
| 41 |
-
Field | Description
|
| 42 |
-
------|------------
|
| 43 |
-
**id** | The item's unique id.
|
| 44 |
-
deleted | `true` if the item is deleted.
|
| 45 |
-
type | The type of item. One of "job", "story", "comment", "poll", or "pollopt".
|
| 46 |
-
by | The username of the item's author.
|
| 47 |
-
time | Creation date of the item, in [Unix Time](http://en.wikipedia.org/wiki/Unix_time).
|
| 48 |
-
text | The comment, story or poll text. HTML.
|
| 49 |
-
dead | `true` if the item is dead.
|
| 50 |
-
parent | The comment's parent: either another comment or the relevant story.
|
| 51 |
-
poll | The pollopt's associated poll.
|
| 52 |
-
kids | The ids of the item's comments, in ranked display order.
|
| 53 |
-
url | The URL of the story.
|
| 54 |
-
score | The story's score, or the votes for a pollopt.
|
| 55 |
-
title | The title of the story, poll or job. HTML.
|
| 56 |
-
parts | A list of related pollopts, in display order.
|
| 57 |
-
descendants | In the case of stories or polls, the total comment count.
|
| 58 |
-
|
| 59 |
-
For example, a story: https://hacker-news.firebaseio.com/v0/item/8863.json?print=pretty
|
| 60 |
-
|
| 61 |
-
```javascript
|
| 62 |
-
{
|
| 63 |
-
"by" : "dhouston",
|
| 64 |
-
"descendants" : 71,
|
| 65 |
-
"id" : 8863,
|
| 66 |
-
"kids" : [ 8952, 9224, 8917, 8884, 8887, 8943, 8869, 8958, 9005, 9671, 8940, 9067, 8908, 9055, 8865, 8881, 8872, 8873, 8955, 10403, 8903, 8928, 9125, 8998, 8901, 8902, 8907, 8894, 8878, 8870, 8980, 8934, 8876 ],
|
| 67 |
-
"score" : 111,
|
| 68 |
-
"time" : 1175714200,
|
| 69 |
-
"title" : "My YC app: Dropbox - Throw away your USB drive",
|
| 70 |
-
"type" : "story",
|
| 71 |
-
"url" : "http://www.getdropbox.com/u/2/screencast.html"
|
| 72 |
-
}
|
| 73 |
-
```
|
| 74 |
-
|
| 75 |
-
comment: https://hacker-news.firebaseio.com/v0/item/2921983.json?print=pretty
|
| 76 |
-
|
| 77 |
-
```javascript
|
| 78 |
-
{
|
| 79 |
-
"by" : "norvig",
|
| 80 |
-
"id" : 2921983,
|
| 81 |
-
"kids" : [ 2922097, 2922429, 2924562, 2922709, 2922573, 2922140, 2922141 ],
|
| 82 |
-
"parent" : 2921506,
|
| 83 |
-
"text" : "Aw shucks, guys ... you make me blush with your compliments.<p>Tell you what, Ill make a deal: I'll keep writing if you keep reading. K?",
|
| 84 |
-
"time" : 1314211127,
|
| 85 |
-
"type" : "comment"
|
| 86 |
-
}
|
| 87 |
-
```
|
| 88 |
-
|
| 89 |
-
ask: https://hacker-news.firebaseio.com/v0/item/121003.json?print=pretty
|
| 90 |
-
|
| 91 |
-
```javascript
|
| 92 |
-
{
|
| 93 |
-
"by" : "tel",
|
| 94 |
-
"descendants" : 16,
|
| 95 |
-
"id" : 121003,
|
| 96 |
-
"kids" : [ 121016, 121109, 121168 ],
|
| 97 |
-
"score" : 25,
|
| 98 |
-
"text" : "<i>or</i> HN: the Next Iteration<p>I get the impression that with Arc being released a lot of people who never had time for HN before are suddenly dropping in more often. (PG: what are the numbers on this? I'm envisioning a spike.)<p>Not to say that isn't great, but I'm wary of Diggification. Between links comparing programming to sex and a flurry of gratuitous, ostentatious adjectives in the headlines it's a bit concerning.<p>80% of the stuff that makes the front page is still pretty awesome, but what's in place to keep the signal/noise ratio high? Does the HN model still work as the community scales? What's in store for (++ HN)?",
|
| 99 |
-
"time" : 1203647620,
|
| 100 |
-
"title" : "Ask HN: The Arc Effect",
|
| 101 |
-
"type" : "story"
|
| 102 |
-
}
|
| 103 |
-
```
|
| 104 |
-
|
| 105 |
-
job: https://hacker-news.firebaseio.com/v0/item/192327.json?print=pretty
|
| 106 |
-
|
| 107 |
-
```javascript
|
| 108 |
-
{
|
| 109 |
-
"by" : "justin",
|
| 110 |
-
"id" : 192327,
|
| 111 |
-
"score" : 6,
|
| 112 |
-
"text" : "Justin.tv is the biggest live video site online. We serve hundreds of thousands of video streams a day, and have supported up to 50k live concurrent viewers. Our site is growing every week, and we just added a 10 gbps line to our colo. Our unique visitors are up 900% since January.<p>There are a lot of pieces that fit together to make Justin.tv work: our video cluster, IRC server, our web app, and our monitoring and search services, to name a few. A lot of our website is dependent on Flash, and we're looking for talented Flash Engineers who know AS2 and AS3 very well who want to be leaders in the development of our Flash.<p>Responsibilities<p><pre><code> * Contribute to product design and implementation discussions\n * Implement projects from the idea phase to production\n * Test and iterate code before and after pr
|
| 113 |
-
|
| 114 |
-
*(excerpt; full text in `UPSTREAM_CLONE/`)*
|
| 115 |
-
|
| 116 |
-
*Quoted from the upstream `README.md` file in `UPSTREAM_CLONE/`.*
|
| 117 |
-
Project-specific facts detected in this directory:
|
| 118 |
-
|
| 119 |
-
- Ecosystem: **Unknown (no standard manifest detected)** (manifests: none detected; scanned in UPSTREAM_CLONE)
|
| 120 |
-
- Snapshot size: **2 files**, **0 lines of code** (measured; see Benchmarks)
|
| 121 |
-
- Primary languages: `(none)` (1), `.md` (1)
|
| 122 |
-
- Upstream commit pinned for this packaging: `42b6afa6e20a27f938a45e676665e57d26422cea`
|
| 123 |
-
|
| 124 |
-
---
|
| 125 |
|
| 126 |
## Installation
|
| 127 |
|
| 128 |
-
If you can use one of the many [Firebase client libraries](https://firebase.google.com/docs/libraries/), you really should. The libraries handle networking efficiently and can raise events when things change. Be sure to check them out.
|
| 129 |
-
|
| 130 |
-
Please email api@ycombinator.com if you find any bugs.
|
| 131 |
-
|
| 132 |
-
*Section quoted from the upstream readme.*
|
| 133 |
-
Overlay install (this project):
|
| 134 |
-
|
| 135 |
-
```sh
|
| 136 |
-
python -m pip install -e anticloud/ # overlay package with the 12 improvements
|
| 137 |
-
python anticloud/cli.py --help # 13 subcommands, JSON stdout
|
| 138 |
```
|
| 139 |
-
|
| 140 |
-
|
| 141 |
|
| 142 |
## Usage
|
| 143 |
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
*Section quoted from the upstream readme.*
|
| 147 |
-
Anticloud overlay CLI (available in every project):
|
| 148 |
-
|
| 149 |
-
```sh
|
| 150 |
-
python anticloud/cli.py --help # 13 subcommands, JSON stdout
|
| 151 |
-
python anticloud/cli.py checks # run the 16-check suite
|
| 152 |
-
```
|
| 153 |
-
|
| 154 |
-
---
|
| 155 |
|
| 156 |
## API
|
| 157 |
|
| 158 |
-
The
|
| 159 |
-
|
| 160 |
-
- 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.
|
| 161 |
-
|
| 162 |
-
---
|
| 163 |
|
| 164 |
-
## Dependencies
|
| 165 |
-
|
| 166 |
-
| Metric | Value |
|
| 167 |
-
|--------|-------|
|
| 168 |
-
| Ecosystem | Unknown (no standard manifest detected) |
|
| 169 |
-
| Manifests detected | none |
|
| 170 |
-
| Files in snapshot | 2 |
|
| 171 |
-
| Lines of code | 0 |
|
| 172 |
-
| Dependency references | 0 |
|
| 173 |
-
| Upstream license | MIT |
|
| 174 |
-
| Overlay license | Anticommons 0.1.0 |
|
| 175 |
-
|
| 176 |
-
Pinned lockfile: `anticloud/requirements.lock` (hash-pinned, PEP 508). SBOM: `sbom.cdx.json` (CycloneDX 1.5, pinned to the upstream SHA).
|
| 177 |
-
|
| 178 |
-
---
|
| 179 |
-
|
| 180 |
-
## Configuration
|
| 181 |
-
|
| 182 |
-
No configuration section was found in the upstream readme. Configuration-relevant files detected in this project directory:
|
| 183 |
-
|
| 184 |
-
- None detected at the snapshot root; consult the upstream documentation link in the Upstream section.
|
| 185 |
-
|
| 186 |
-
Overlay configuration (Anticloud):
|
| 187 |
-
|
| 188 |
-
- `anticloud/` - improvement overlay; environment-driven, no cloud dependency
|
| 189 |
-
- `LEDGERS/` - aioss tamper-evident chain files (per-project, verified with `aioss verify --live`)
|
| 190 |
-
- `ISOLATED_LAB_RESULTS/` - reproducibility record (environment, reproduction steps, result register, evidence)
|
| 191 |
-
- `OFFICIAL_BENCHMARKS/` - 26 framework assessments for this project
|
| 192 |
-
|
| 193 |
-
---
|
| 194 |
-
|
| 195 |
-
## Contributing
|
| 196 |
-
|
| 197 |
-
Upstream contributions: fork the `API` 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.
|
| 198 |
-
|
| 199 |
-
Overlay contributions: run the 16-check suite before opening a pull request:
|
| 200 |
-
|
| 201 |
-
```sh
|
| 202 |
-
python anticloud/bench/runner.py --cwd anticloud
|
| 203 |
```
|
| 204 |
-
|
| 205 |
-
---
|
| 206 |
-
|
| 207 |
-
## License
|
| 208 |
-
|
| 209 |
-
**Upstream license: MIT** (evidence: `LICENSE` in the upstream snapshot).
|
| 210 |
-
|
| 211 |
-
License file excerpt:
|
| 212 |
-
|
| 213 |
-
```text
|
| 214 |
-
The MIT License (MIT)
|
| 215 |
-
|
| 216 |
-
Copyright (c) 2025 Y Combinator Hacker News
|
| 217 |
-
|
| 218 |
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 219 |
-
of this software and associated documentation files (the "Software"), to deal
|
| 220 |
-
in the Software without restriction, including without limitation the rights
|
| 221 |
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 222 |
-
copies of the Software, and to permit persons to whom the Software is
|
| 223 |
-
furnished to do so, subject to the following conditions:
|
| 224 |
-
|
| 225 |
-
The above copyright notice and this permission notice shall be included in all
|
| 226 |
-
copies or substantial portions of the Software.
|
| 227 |
-
|
| 228 |
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 229 |
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 230 |
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 231 |
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 232 |
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 233 |
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 234 |
```
|
| 235 |
|
| 236 |
-
##
|
| 237 |
|
| 238 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 239 |
|
| 240 |
-
|
| 241 |
|
| 242 |
-
|
| 243 |
|
| 244 |
## Upstream
|
| 245 |
|
| 246 |
-
-
|
| 247 |
-
- **Upstream URL:** https://github.com/dingo/api
|
| 248 |
-
- **Pinned commit (SHA):** `42b6afa6e20a27f938a45e676665e57d26422cea`
|
| 249 |
-
- **Branch:** master
|
| 250 |
-
- **Pin provenance:** GitHub API commits/master. The parent-project stamp is explicitly rejected for this project.
|
| 251 |
-
- **Snapshot location:** `UPSTREAM_CLONE/` (vendored, not shipped as-is)
|
| 252 |
-
- **Benchmark snapshot:** `BENCH.json`
|
| 253 |
-
|
| 254 |
-
---
|
| 255 |
|
| 256 |
-
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
project's `BENCH.json`, produced by a real run — the SHA3-256 of that file is
|
| 260 |
-
`c23098350ffe2180ffd0df5e818cdf3519b19b4b2db2dc8995ceb99fcd8ed7ca`.
|
| 261 |
-
|
| 262 |
-
| Framework | Controls | Evidence | Coverage | Result |
|
| 263 |
-
|---|---|---|---|---|
|
| 264 |
-
| OWASP Top 10 for LLM Applications | 10 controls mapped | 10 with evidence | 100.0% | PASS |
|
| 265 |
-
| OWASP Top 10 (2021) | 9 controls mapped | 9 with evidence | 100.0% | PASS |
|
| 266 |
-
| SOC 2 Type II readiness | 9 controls mapped | 9 with evidence | 100.0% | PASS |
|
| 267 |
-
| NIST AI Risk Management Framework | 8 controls mapped | 8 with evidence | 100.0% | PASS |
|
| 268 |
-
| NIST SP 800-53 Rev. 5 | 12 controls mapped | 12 with evidence | 100.0% | PASS |
|
| 269 |
-
| NIST Cybersecurity Framework 2.0 | 8 controls mapped | 8 with evidence | 100.0% | PASS |
|
| 270 |
-
| FedRAMP Rev. 5 | 10 controls mapped | 10 with evidence | 100.0% | PASS |
|
| 271 |
-
| PCI DSS v4.0.1 | 11 controls mapped | 11 with evidence | 100.0% | PASS |
|
| 272 |
-
| ISO/IEC 27001:2022 | 9 controls mapped | 9 with evidence | 100.0% | PASS |
|
| 273 |
-
| MITRE ATT&CK v16 | 12 controls mapped | 12 with evidence | 100.0% | PASS |
|
| 274 |
-
| ML Technology Readiness Level | TRL 8 | 8/8 criteria | | PASS |
|
| 275 |
-
|
| 276 |
-
**Overall: 16/16 checks passing.**
|
| 277 |
-
|
| 278 |
-
See `ISOLATED_LAB_RESULTS/03_Result_Register.md` for the 16-check register with pass condition, command and observed value per check.
|
| 279 |
|
| 280 |
-
|
| 281 |
-
evidence source bound to each control. This project does not claim an audit
|
| 282 |
-
opinion, a SOC report, a FedRAMP authorisation or a PCI attestation — those are
|
| 283 |
-
issued by an independent assessor.
|
| 284 |
|
| 285 |
|
|
|
|
| 286 |
|
| 287 |
-
|
| 288 |
|
| 289 |
-
| Platform | Identifier | Volume |
|
| 290 |
-
|---|---|---|
|
| 291 |
-
| Harvard Dataverse | DOI 10.7910/DVN/YMJKOG | 145 citable datasets |
|
| 292 |
-
| AIOSS verification kit | DOI 10.7910/DVN/OORKNJ | Offline hash verification |
|
| 293 |
-
| Zenodo (CERN) | — | 146 records, DOI-registered |
|
| 294 |
-
| OSF | — | 144 preregistered records |
|
| 295 |
-
| Figshare | author 20849885 | Research data and figures |
|
| 296 |
-
| Internet Archive | aioss-format, Anticode | Permanent binary specification |
|
| 297 |
-
| ORCID | 0009-0009-2233-6107 | Permanent researcher ID |
|
| 298 |
-
| Kaggle | pax-millennium-20 | Reproducible T4 benchmark run |
|
| 299 |
|
|
|
|
| 300 |
|
|
|
|
| 301 |
|
| 302 |
-
## Press and Independent Publication
|
| 303 |
|
| 304 |
-
|
| 305 |
-
(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.
|
| 306 |
-
Wire distribution makes the announcement dated, public, and indexed, which
|
| 307 |
-
makes the claim checkable.
|
| 308 |
|
|
|
|
|
|
| 1 |
# API
|
| 2 |
|
| 3 |
+
> In partnership with [Firebase](https://firebase.google.com/), we're making the public Hacker News data available in near real time. Firebase enables easy access from [Android](https://firebase.google.com/docs/android/setup), [iOS](https://firebase.google.com/docs/ios/setup) and the [web](https://firebase.google.com/docs/web/setup). [Servers](https://firebase.google.com/docs/server/setup) aren't left out.
|
| 4 |
|
| 5 |
+
**Category:** POLICE_CIVIC · **Ecosystem:** unknown · **Vendored upstream:** https://github.com/dingo/api · **Pinned commit:** `42b6afa6e20a27f938a45e676665e57d26422cea` · **Vendor:** Anticloud FZ LLE
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
## What This Project Does
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
In partnership with [Firebase](https://firebase.google.com/), we're making the public Hacker News data available in near real time. Firebase enables easy access from [Android](https://firebase.google.com/docs/android/setup), [iOS](https://firebase.google.com/docs/ios/setup) and the [web](https://firebase.google.com/docs/web/setup). [Servers](https://firebase.google.com/docs/server/setup) aren't left out.
|
| 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 |
+
8d0033760edd4e0dd1015b0d536df3adf5e7438fa2bf66c52f27d0949e944018
|
| 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.
|