一键导入
coverage-report
Run transformation coverage tests. Use compact mode when iterating on fixes, full mode when planning or documenting bugs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run transformation coverage tests. Use compact mode when iterating on fixes, full mode when planning or documenting bugs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Add support for a new LLM provider format to Lingua. Follow the test-first workflow with payload snapshots.
Lingua's testing tools for transformation coverage and end-to-end SDK validation.
Add support for a new LLM provider format to Lingua. Follow the test-first workflow with payload snapshots.
Run transformation coverage tests. Use compact mode when iterating on fixes, full mode when planning or documenting bugs.
Lingua's testing tools for transformation coverage and end-to-end SDK validation.
| name | coverage-report |
| description | Run transformation coverage tests. Use compact mode when iterating on fixes, full mode when planning or documenting bugs. |
Run cross-provider transformation coverage tests for Lingua.
-f compact) - Use When IteratingUse compact mode to save tokens (~95% smaller output) when:
# Quick check after a code change
cargo run --bin coverage-report -- -f compact
# Filter to specific providers
cargo run --bin coverage-report -- -f compact -p anthropic,responses
# Filter to specific test case
cargo run --bin coverage-report -- -f compact -t seedParam
Use full mode (default) when:
.Codex/BUGS.md or .Codex/*_bugs.md# Full report for planning
cargo run --bin coverage-report
# Save to bug tracking file
cargo run --bin coverage-report -- -p anthropic > .Codex/anthropic_bugs.md
| Option | Short | Description |
|---|---|---|
--coverage | requests, responses, streaming, roundtrip, all | |
--test-cases | -t | Test case patterns (glob: * any chars, ? single char) |
--providers | -p | Provider filter (both source AND target must match) |
--source | Filter source providers only | |
--target | Filter target providers only | |
--format | -f | markdown (default), compact |
# Only request transformations
cargo run --bin coverage-report -- -f compact --coverage requests
# Test cases matching pattern
cargo run --bin coverage-report -- -f compact -t "reasoning*"
cargo run --bin coverage-report -- -f compact -t "*Param"
# Specific direction
cargo run --bin coverage-report -- -f compact --source anthropic --target responses
In compact output, providers are abbreviated:
oai = ChatCompletions (OpenAI)ant = Anthropicggl = Googlebed = Bedrockrsp = Responses (OpenAI Responses API)# Coverage (compact)
Stats: 669/1704 (39.3%) [512+157lim] 1035fail
req:617/836 res:32/424 str:20/444
## Failures (79 patterns, 1035 total)
[P1] L:usage.prompt_cache_creation_tokens (123)
ant→ggl: cacheControl1hParam (response)...(+44)
L: = Lost fields (present in source, missing after transform)A: = Added fields (not in source, appeared after transform)C: = Changed fields (value differs after transform)(123) = Number of test cases with this pattern...(+44) = 44 more test cases not shownInitial investigation (full mode):
cargo run --bin coverage-report -- -p anthropic,responses > .Codex/ant_rsp_bugs.md
Implement fix and iterate (compact mode):
cargo run --bin coverage-report -- -f compact -p anthropic,responses
Verify fix and update documentation (full mode):
cargo run --bin coverage-report -- -p anthropic,responses
# Update .Codex/BUGS.md with results