Skip to main content

Module corpus

Module corpus 

Source
Expand description

Validation helpers for the pproxy URI corpus and CLI fixture files.

tests/compat/fixtures/pproxy_uri_corpus.toml is the canonical pproxy URI input corpus. Each case must have all required fields so downstream tests can rely on the corpus structure.

tests/compat/fixtures/pproxy_cli_cases/*.toml are CLI translation fixtures validated by validate_cli_cases.

Tier taxonomy (from docs/PARITY_MATRIX.md):

  • compatible — eggress behavior matches pproxy for tested scenarios
  • supported — eggress supports the feature, pproxy equivalence not claimed
  • partial — usable subset exists but not full compatibility
  • intentional_non_parity — deliberately not replicated with rationale
  • unsupported — not implemented

Enums§

CorpusValidationError
Validation error from a corpus case check.

Functions§

validate_cli_cases
Validate every pproxy_cli_cases/*.toml fixture has the required schema.
validate_corpus_manifest_mapping
Validate corpus feature-to-manifest mapping.
validate_python_api_cases
Validate the Python API cases fixture at the given path.
validate_uri_corpus
Validate the corpus file at the given path.
validate_workspace_cli_cases
Validate the CLI cases at the canonical workspace location.
validate_workspace_corpus_full
Run the full workspace corpus validation suite:
validate_workspace_python_api_cases
Validate the Python API cases at the canonical workspace location.
validate_workspace_uri_corpus
Validate the corpus file at the canonical location relative to the workspace root.