Usage
Basic verification
SARIF scanning (security dashboard)
QWED automatically outputs SARIF reports that integrate with GitHub Advanced Security.Inputs
| Input | Description | Required | Default |
|---|---|---|---|
action | Mode: verify (single check) or scan (audit files) | No | verify |
verification_type | npv, irr, ytm, sharpe | Yes (for verify) | - |
llm_output | The value claimed by the LLM (e.g., “15.4%“) | Yes (for verify) | - |
scan_target | Directory to scan for logic files | Yes (for scan) | - |
Supported verification types
| Type | Params (env vars) | Description |
|---|---|---|
npv | INPUT_CASHFLOWS, INPUT_RATE | Net present value |
irr | INPUT_CASHFLOWS | Internal rate of return |
ytm | INPUT_FACE_VALUE, INPUT_COUPON_RATE, INPUT_PRICE, INPUT_YEARS | Yield to maturity |
sharpe | INPUT_RETURN, INPUT_RISK_FREE, INPUT_VOLATILITY | Sharpe ratio |
scan mode, the action automatically generates qwed-results.sarif. No extra configuration needed.
:::
Related extensions
Use these actions to expand verification coverage across other QWED extensions.| Icon | Extension action | When to use it |
|---|---|---|
| ⚖️ | QWED Legal Verification | You validate contracts, policy text, or legal citations in CI. |
| 🧾 | QWED Protocol Verification | You enforce protocol rules and deterministic behavior checks. |
| 🛒 | QWED Commerce Auditor | You audit checkout and transaction logs for commerce workflows. |