Bitsage commited on
Commit ·
d129d02
1
Parent(s): 3b331ee
feat: README ultra-geniale + GitHub Action automazione Oracle ogni 6h
Browse files- .github/workflows/oracle_scanner.yml +67 -0
- README.md +44 -6
.github/workflows/oracle_scanner.yml
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: 🔮 Oracle Scanner
|
| 2 |
+
|
| 3 |
+
on:
|
| 4 |
+
schedule:
|
| 5 |
+
- cron: '0 */6 * * *' # Every 6 hours
|
| 6 |
+
workflow_dispatch: # Manual trigger
|
| 7 |
+
push:
|
| 8 |
+
branches: [main]
|
| 9 |
+
paths:
|
| 10 |
+
- 'open/forensic/badge_generator.py'
|
| 11 |
+
|
| 12 |
+
env:
|
| 13 |
+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 14 |
+
|
| 15 |
+
jobs:
|
| 16 |
+
scan:
|
| 17 |
+
name: 🔍 Scan Top Models
|
| 18 |
+
runs-on: ubuntu-latest
|
| 19 |
+
|
| 20 |
+
steps:
|
| 21 |
+
- name: 📥 Checkout
|
| 22 |
+
uses: actions/checkout@v4
|
| 23 |
+
with:
|
| 24 |
+
fetch-depth: 0
|
| 25 |
+
token: ${{ secrets.HF_TOKEN }}
|
| 26 |
+
|
| 27 |
+
- name: 🐍 Setup Python
|
| 28 |
+
uses: actions/setup-python@v5
|
| 29 |
+
with:
|
| 30 |
+
python-version: '3.11'
|
| 31 |
+
|
| 32 |
+
- name: 📦 Install Dependencies
|
| 33 |
+
run: |
|
| 34 |
+
pip install huggingface_hub pyyaml
|
| 35 |
+
|
| 36 |
+
- name: 🔮 Run Oracle Scanner
|
| 37 |
+
run: |
|
| 38 |
+
cd open/forensic
|
| 39 |
+
python badge_generator.py --all
|
| 40 |
+
env:
|
| 41 |
+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 42 |
+
|
| 43 |
+
- name: 📊 Update Ledger Status
|
| 44 |
+
run: |
|
| 45 |
+
cd open/forensic
|
| 46 |
+
python ledger_status.py
|
| 47 |
+
|
| 48 |
+
- name: 📝 Commit Results
|
| 49 |
+
run: |
|
| 50 |
+
git config user.name "Crovia Oracle Bot"
|
| 51 |
+
git config user.email "oracle@croviatrust.com"
|
| 52 |
+
|
| 53 |
+
git add badges/ cards/ open/signal/
|
| 54 |
+
|
| 55 |
+
if git diff --staged --quiet; then
|
| 56 |
+
echo "No changes to commit"
|
| 57 |
+
else
|
| 58 |
+
git commit -m "🔮 Oracle scan: $(date -u +%Y-%m-%dT%H:%M:%SZ)"
|
| 59 |
+
git push
|
| 60 |
+
fi
|
| 61 |
+
|
| 62 |
+
- name: 🚀 Sync to HuggingFace
|
| 63 |
+
run: |
|
| 64 |
+
pip install huggingface_hub
|
| 65 |
+
huggingface-cli upload Crovia/global-ai-training-omissions . . --repo-type dataset --token $HF_TOKEN
|
| 66 |
+
env:
|
| 67 |
+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
README.md
CHANGED
|
@@ -22,20 +22,58 @@ configs:
|
|
| 22 |
|
| 23 |
<div align="center">
|
| 24 |
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
-
|
| 28 |
|
| 29 |
-
[](https://huggingface.co/spaces/Crovia/omission-oracle)
|
| 41 |
+
[](https://huggingface.co/datasets/Crovia/global-ai-training-omissions)
|
| 42 |
+
[](https://github.com/croviatrust)
|
| 43 |
|
| 44 |
+
<br>
|
| 45 |
+
|
| 46 |
+
**[🔮 Live Scanner](https://huggingface.co/spaces/Crovia/omission-oracle)** · **[📊 Leaderboard](#-live-leaderboard)** · **[🏅 Get Badge](#-your-trust-badge)**
|
| 47 |
|
| 48 |
</div>
|
| 49 |
|
| 50 |
---
|
| 51 |
|
| 52 |
+
<div align="center">
|
| 53 |
+
|
| 54 |
+
### ⚠️ WHAT WE TRACK
|
| 55 |
+
|
| 56 |
+
</div>
|
| 57 |
+
|
| 58 |
+
```
|
| 59 |
+
┌────────────────────────────────────────────────────────────────────────────┐
|
| 60 |
+
│ │
|
| 61 |
+
│ Every 6 hours, the Oracle scans the most popular AI models. │
|
| 62 |
+
│ We detect what's MISSING — not what's claimed. │
|
| 63 |
+
│ │
|
| 64 |
+
│ 📊 No data provenance? We see it. │
|
| 65 |
+
│ 📜 No license declared? We see it. │
|
| 66 |
+
│ 🎯 No usage scope? We see it. │
|
| 67 |
+
│ 👤 No accountable entity? We see it. │
|
| 68 |
+
│ │
|
| 69 |
+
│ The results are PUBLIC. The badges are AUTOMATIC. │
|
| 70 |
+
│ There is nowhere to hide. │
|
| 71 |
+
│ │
|
| 72 |
+
└────────────────────────────────────────────────────────────────────────────┘
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
---
|
| 76 |
+
|
| 77 |
## 🏅 Embed Your Trust Badge
|
| 78 |
|
| 79 |
Add a Crovia Trust Badge to your model's README:
|