Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -63,7 +63,7 @@ Each row is one spec version (4 specs × 2 versions). The `spec_yaml` field cont
|
|
| 63 |
|
| 64 |
```python
|
| 65 |
from datasets import load_dataset
|
| 66 |
-
specs = load_dataset("
|
| 67 |
|
| 68 |
# Get SupportOps v1
|
| 69 |
spec = specs["train"].filter(lambda x: x["spec_id"] == "supportops_v1")[0]
|
|
@@ -77,7 +77,7 @@ print(spec["spec_yaml"]) # Full YAML specification
|
|
| 77 |
Each row is a mutation intent: a description of a plausible behavioral failure that the test suite should detect.
|
| 78 |
|
| 79 |
```python
|
| 80 |
-
mutations = load_dataset("
|
| 81 |
|
| 82 |
# All critical mutations
|
| 83 |
critical = mutations["train"].filter(lambda x: x["severity"] == "critical")
|
|
@@ -92,7 +92,7 @@ Categories: `policy_violation`, `process_violation`, `business_logic_violation`,
|
|
| 92 |
Each row is one end-to-end TDAD pipeline run with metrics across all 4 evaluation dimensions.
|
| 93 |
|
| 94 |
```python
|
| 95 |
-
results = load_dataset("
|
| 96 |
|
| 97 |
for r in results["train"]:
|
| 98 |
print(f"{r['spec']}/{r['version']}: VPR={r['vpr_percent']}% HPR={r['hpr_percent']}% MS={r['mutation_score']}% ${r['total_cost_usd']:.2f}")
|
|
|
|
| 63 |
|
| 64 |
```python
|
| 65 |
from datasets import load_dataset
|
| 66 |
+
specs = load_dataset("f-labs-io/SpecSuite-Core", "specs")
|
| 67 |
|
| 68 |
# Get SupportOps v1
|
| 69 |
spec = specs["train"].filter(lambda x: x["spec_id"] == "supportops_v1")[0]
|
|
|
|
| 77 |
Each row is a mutation intent: a description of a plausible behavioral failure that the test suite should detect.
|
| 78 |
|
| 79 |
```python
|
| 80 |
+
mutations = load_dataset("f-labs-io/SpecSuite-Core", "mutations")
|
| 81 |
|
| 82 |
# All critical mutations
|
| 83 |
critical = mutations["train"].filter(lambda x: x["severity"] == "critical")
|
|
|
|
| 92 |
Each row is one end-to-end TDAD pipeline run with metrics across all 4 evaluation dimensions.
|
| 93 |
|
| 94 |
```python
|
| 95 |
+
results = load_dataset("f-labs-io/SpecSuite-Core", "results")
|
| 96 |
|
| 97 |
for r in results["train"]:
|
| 98 |
print(f"{r['spec']}/{r['version']}: VPR={r['vpr_percent']}% HPR={r['hpr_percent']}% MS={r['mutation_score']}% ${r['total_cost_usd']:.2f}")
|