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
38 changes: 38 additions & 0 deletions unit-circle-benchmark/ZIP_SAFE_REPLIT_STARTER.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Zip-safe Replit starter

This scaffold is now generated by a runnable script (tested in this environment):

```bash
bash unit-circle-benchmark/scripts/bootstrap_replit_starter.sh /path/to/target
```

If you omit the target path, it scaffolds the current directory:

```bash
bash unit-circle-benchmark/scripts/bootstrap_replit_starter.sh
```

## What it creates

- `README.md`
- `requirements.txt`
- `pyproject.toml`
- `.replit`
- `src/{main,config,data,embed,transforms,benchmark,metrics,utils}.py`
- `data/{corpus,queries,qrels}.jsonl`
- `outputs/{runs,metrics,plots}/`
- `notebooks/sanity_checks.ipynb`

## Safety behavior

- Refuses to scaffold into a non-empty target by default.
- Use `FORCE=1` if you intentionally want to overwrite.

## Verification commands (used)

```bash
tmpdir=$(mktemp -d)
bash unit-circle-benchmark/scripts/bootstrap_replit_starter.sh "$tmpdir"
cd "$tmpdir"
python -m compileall src
```
Loading
Loading