Created
December 29, 2025 01:18
-
-
Save copyleftdev/757de632190cf2611d0e7ef17d1eb07e to your computer and use it in GitHub Desktop.
Proteus Deterministic Entropy Benchmark - Test Suite
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "id": "cards_structure_seed_100_low_entropy", | |
| "category": "structure", | |
| "description": "Verify minimal card count at low entropy", | |
| "url": "https://proteus-target.vercel.app/lab/cards?seed=100&entropy=0.1&profile=structure", | |
| "parameters": { | |
| "seed": 100, | |
| "entropy": 0.1, | |
| "profiles": [ | |
| "structure" | |
| ] | |
| }, | |
| "assertions": [ | |
| { | |
| "type": "element_count", | |
| "selector": ".bg-card", | |
| "value": 3, | |
| "operator": "equals" | |
| }, | |
| { | |
| "type": "text_match", | |
| "selector": ".bg-card:first-child h3", | |
| "value": "Card 7", | |
| "operator": "contains" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": "cards_structure_seed_999_high_entropy", | |
| "category": "structure", | |
| "description": "Verify increased card count at high entropy with different seed", | |
| "url": "https://proteus-target.vercel.app/lab/cards?seed=999&entropy=1.0&profile=structure", | |
| "parameters": { | |
| "seed": 999, | |
| "entropy": 1.0, | |
| "profiles": [ | |
| "structure" | |
| ] | |
| }, | |
| "assertions": [ | |
| { | |
| "type": "element_count", | |
| "selector": ".bg-card", | |
| "value": 6, | |
| "operator": "equals" | |
| }, | |
| { | |
| "type": "text_match", | |
| "selector": ".bg-card:first-child h3", | |
| "value": "Card 1", | |
| "operator": "contains" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": "cards_layout_seed_100", | |
| "category": "layout", | |
| "description": "Verify deterministic layout class generation for Seed 100", | |
| "url": "https://proteus-target.vercel.app/lab/cards?seed=100&entropy=1.0&profile=layout", | |
| "parameters": { | |
| "seed": 100, | |
| "entropy": 1.0, | |
| "profiles": [ | |
| "layout" | |
| ] | |
| }, | |
| "assertions": [ | |
| { | |
| "type": "class_match", | |
| "selector": "[data-entropy-wrapper='true']", | |
| "value": "grid-cols-1", | |
| "operator": "contains" | |
| }, | |
| { | |
| "type": "class_match", | |
| "selector": "[data-entropy-wrapper='true']", | |
| "value": "gap-2", | |
| "operator": "contains" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": "cards_layout_seed_999", | |
| "category": "layout", | |
| "description": "Verify deterministic layout class generation for Seed 999", | |
| "url": "https://proteus-target.vercel.app/lab/cards?seed=999&entropy=1.0&profile=layout", | |
| "parameters": { | |
| "seed": 999, | |
| "entropy": 1.0, | |
| "profiles": [ | |
| "layout" | |
| ] | |
| }, | |
| "assertions": [ | |
| { | |
| "type": "class_match", | |
| "selector": "[data-entropy-wrapper='true']", | |
| "value": "flex-col", | |
| "operator": "contains" | |
| }, | |
| { | |
| "type": "class_match", | |
| "selector": "[data-entropy-wrapper='true']", | |
| "value": "gap-6", | |
| "operator": "contains" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": "table_rows_seed_2024", | |
| "category": "structure", | |
| "description": "Verify deterministic row count for Data Table", | |
| "url": "https://proteus-target.vercel.app/lab/table?seed=2024&entropy=1.0", | |
| "parameters": { | |
| "seed": 2024, | |
| "entropy": 1.0, | |
| "profiles": [ | |
| "structure" | |
| ] | |
| }, | |
| "assertions": [ | |
| { | |
| "type": "element_count", | |
| "selector": "tbody tr", | |
| "value": 13, | |
| "operator": "equals" | |
| }, | |
| { | |
| "type": "text_match", | |
| "selector": "thead th", | |
| "value": "ID", | |
| "operator": "equals" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": "form_fields_seed_500", | |
| "category": "copy", | |
| "description": "Verify deterministic form field selection and label mutation", | |
| "url": "https://proteus-target.vercel.app/lab/form?seed=500&entropy=1.0&profile=copy", | |
| "parameters": { | |
| "seed": 500, | |
| "entropy": 1.0, | |
| "profiles": [ | |
| "copy" | |
| ] | |
| }, | |
| "assertions": [ | |
| { | |
| "type": "element_count", | |
| "selector": "input:not([type='submit'])", | |
| "value": 2, | |
| "operator": "equals" | |
| }, | |
| { | |
| "type": "text_match", | |
| "selector": "label", | |
| "value": "Your Full Name", | |
| "operator": "equals" | |
| } | |
| ] | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment