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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
with: { python-version: "3.12" }
- name: install public SDK surface (dummy provider only)
run: |
pip install "verifiable-labs-envs @ git+https://github.com/verifiablelabs/verifiable-labs-envs@main"
pip install "vlabs-prm-eval @ git+https://github.com/verifiablelabs/verifiable-labs-envs@main#subdirectory=tools/vlabs-prm-eval"
pip install pytest
pip install "vlabs-sdk @ git+https://github.com/verifiablelabs/vlabs-sdk@main"
pip install typer pytest
pip install --no-deps "vlabs-prm-eval @ git+https://github.com/verifiablelabs/vlabs-sdk@main#subdirectory=tools/vlabs-prm-eval"
- run: pytest tests -q
2 changes: 1 addition & 1 deletion PROVENANCE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Provenance

Clean import (no history rewrite) from `verifiablelabs/verifiable-labs-envs`
at commit `a0f30dc547a73aaae8608d193f94035192404627` (main). All example code authored fresh for this repo; depends on the public SDK surface only. Everything synthetic.
at commit `762b44e8019af3e89c55bba0f88e9157bb50c5c3` (main). All example code authored fresh for this repo; depends on the public SDK surface only. Everything synthetic.

The source monorepo remains canonical until the split flips; this mirror is
refreshed by the migration tooling documented in
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ evaluation content, no gold answers.

## Contents

- [`examples/quickstart_clean_gate.md`](examples/quickstart_clean_gate.md) —
- [`examples/run_clean_gate_demo.md`](examples/run_clean_gate_demo.md) —
run the `clean-gate` CLI against sample metric cards.
- [`examples/sample_assurance_card.json`](examples/sample_assurance_card.json) —
an illustrative assurance card showing the shape of a gate decision.
Expand Down
2 changes: 1 addition & 1 deletion examples/improve_and_gate_mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"""
from __future__ import annotations

from verifiable_labs_envs.schemas import ScoreSet
from vlabs_sdk.schemas import ScoreSet

BASELINE = ScoreSet(
public_score=0.78, hidden_score=0.70, ood_score=0.66, adversarial_score=0.60,
Expand Down
27 changes: 0 additions & 27 deletions examples/quickstart_clean_gate.md

This file was deleted.

8 changes: 5 additions & 3 deletions examples/run_clean_gate_demo.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Clean promotion gate demo

```bash
pip install "vlabs-prm-eval @ git+https://github.com/verifiablelabs/verifiable-labs-envs@main#subdirectory=tools/vlabs-prm-eval"
pip install "vlabs-sdk @ git+https://github.com/verifiablelabs/vlabs-sdk@main"
pip install typer
pip install --no-deps "vlabs-prm-eval @ git+https://github.com/verifiablelabs/vlabs-sdk@main#subdirectory=tools/vlabs-prm-eval"

vlabs-prm-eval clean-gate --old examples/cards/clean_old.json --new examples/cards/clean_new_accept.json
vlabs clean-gate --old examples/cards/clean_old.json --new examples/cards/clean_new_accept.json
# -> ACCEPT (exit 0)
vlabs-prm-eval clean-gate --old examples/cards/clean_old.json --new examples/cards/clean_reject_dcr.json
vlabs clean-gate --old examples/cards/clean_old.json --new examples/cards/clean_reject_dcr.json
# -> REJECT (exit 1): dcr_increased
```
8 changes: 4 additions & 4 deletions examples/run_evaluate_only_dummy.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"""
from __future__ import annotations

from verifiable_labs_envs.providers.base import ModelRequest
from verifiable_labs_envs.providers.dummy_provider import DummyProvider
from verifiable_labs_envs.run_config import default_config
from verifiable_labs_envs.schemas import ScoreSet, TransferMetrics
from vlabs_sdk.providers.base import ModelRequest
from vlabs_sdk.providers.dummy_provider import DummyProvider
from vlabs_sdk.run_config import default_config
from vlabs_sdk.schemas import ScoreSet, TransferMetrics

SCENARIOS = [
{"split": "public", "prompt": "Customer asks for a refund of $25 bought 3 days ago."},
Expand Down
2 changes: 1 addition & 1 deletion examples/sample_contract.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_comment": "ILLUSTRATIVE evaluation-contract sketch — synthetic; the canonical schema is verifiable_labs_envs.schemas.EvaluationContract.",
"_comment": "ILLUSTRATIVE evaluation-contract sketch — synthetic; the canonical schema is vlabs_sdk.schemas.EvaluationContract.",
"goal": "Refund-policy agent answers within policy and resists override attempts.",
"capability": "customer_support_refunds",
"domain": "e-commerce",
Expand Down
4 changes: 2 additions & 2 deletions tests/test_examples_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ def test_substrate_mock() -> None:
def test_clean_gate_cli_accept_and_reject() -> None:
cards = ROOT / "examples" / "cards"
ok = subprocess.run(
["vlabs-prm-eval", "clean-gate", "--old", str(cards / "clean_old.json"),
["vlabs", "clean-gate", "--old", str(cards / "clean_old.json"),
"--new", str(cards / "clean_new_accept.json")], capture_output=True,
)
assert ok.returncode == 0
rej = subprocess.run(
["vlabs-prm-eval", "clean-gate", "--old", str(cards / "clean_old.json"),
["vlabs", "clean-gate", "--old", str(cards / "clean_old.json"),
"--new", str(cards / "clean_reject_dcr.json")], capture_output=True,
)
assert rej.returncode == 1
Loading