Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copy to .env (never commit .env)
FIRECRAWL_API_KEY=fc-your-key-here
UNPLUG_API_KEYS=
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,10 @@ activemq-data/
*.sage.py

# Environments
# Secrets — never commit
.env
.env.*
!.env.example
.envrc
.venv
env/
Expand Down
95 changes: 95 additions & 0 deletions context/product/plans/unplug-exp-repo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
# unplug_exp — Private Experimentation Repo

**Purpose:** Keep dataset downloads, eval runs, training scripts, cost ledgers, and pilot notebooks **out of** the public SDK repo.

**GitHub:** `chiruu12/unplug_exp` (private) — create if not exists.

**Local path (Conductor workspace):** `unplug-v1/repos/unplug_exp/`

---

## What lives here vs `jakarta` (Unplug SDK)

| unplug_exp | jakarta (chiruu12/Unplug) |
|------------|---------------------------|
| HF dataset probe/download scripts | `sdk/benchmarks/` — lightweight eval entrypoints |
| Synthetic data generation jobs | Product spec only |
| Training / Fireworks / MLX notebooks | Production guard code |
| Cost ledger JSONL | `.env.example` |
| Raw `datasets/` (gitignored) | No raw data in git |
| Model checkpoints (gitignored) | ONNX/classifier integration when ready |
| OWASP + neuralchemy eval reports | `context/product/plans/unplug-span-pipeline-spec.md` |

---

## Directory layout

```
unplug_exp/
├── README.md
├── pyproject.toml # uv project, depends on unplug SDK editable
├── .gitignore
├── .env.example
├── configs/
│ ├── eval.yaml
│ └── taxonomy/map_hf_to_unplug.yaml
├── scripts/
│ ├── probe_hf_datasets.py
│ ├── download_all.py
│ ├── eval_category_report.py
│ └── pilot_pg_base64.py
├── datasets/ # gitignored
│ ├── raw/
│ ├── processed/
│ └── manifests/
├── experiments/
│ └── 2026-05-21_pilot_a/
│ ├── manifest.json
│ └── cost_ledger.jsonl
├── training/ # later
│ └── deberta_bioes/
└── reports/ # gitignored or summary-only in git
```

---

## Setup

```bash
cd unplug_exp
uv sync
# Link local SDK:
uv add --editable ../jakarta/sdk
cp .env.example .env # API keys local only
```

---

## Experiment manifest (required per run)

```json
{
"experiment_id": "2026-05-21_pilot_a",
"spec_version": "unplug-span-pipeline-spec@v0.3",
"generator_model": "gpt-5.x-nano",
"judge_model": "claude-sonnet-4",
"datasets": ["neuralchemy", "owasp-v2"],
"row_counts": { "train": 0, "eval": 500 },
"usd_budget": 50
}
```

---

## First scripts (P0)

1. `probe_hf_datasets.py` — metadata only (size, license, columns).
2. `eval_category_report.py` — calls `benchmarks.evaluate` via editable `unplug`.
3. `pilot_pg_base64.py` — encoding extract → PG 22/86 → mask metrics on neuralchemy encoding categories.

---

## Secrets

- Never commit `datasets/`, `.env`, checkpoints, or API keys.
- Synthetic generators use placeholder credentials only.
Loading