The rule
This is the full text. Your agents read it before they write, and a critique checks the output against it.
name: salary-range-present description: Checks that the output states a concrete salary or salary range for the role it describes. metadata: version: 0.1.0 output: A job posting or similar job-related text, as it will be published
Salary range present
What is checked
The output is a job posting or similar job-related text, as it will be published.
Settings
- SALARY_EXAMPLES: wording that counts as a salary, such as "$85,000–$105,000 per year", "€60,000 annually", "£18 per hour", "85k–105k USD".
- VAGUE_EXAMPLES: wording that does not count as a salary, such as "competitive salary", "compensation commensurate with experience", "attractive package", "DOE".
Rule
- Salary presence
- The output states a concrete salary amount or salary range, written as a number with a currency indicator (symbol or code), such as the SALARY_EXAMPLES.
- Vague compensation wording with no figure, such as the VAGUE_EXAMPLES, does not count as a salary.
- Salary clarity
- A stated salary range gives both a lower and an upper figure.
- The stated salary says its pay period, such as per year, per month or per hour.
Checks
Each check gets Pass, Fail, Not covered or N/A. Not covered means the output does not show enough to decide.
C1. Salary stated (blocker) Fail if the output does not contain a concrete salary amount or salary range written as a number with a currency indicator, such as the SALARY_EXAMPLES. Vague compensation wording with no figure, such as the VAGUE_EXAMPLES, does not count as a salary.
C2. Range has both ends (minor) Flag if the output gives a salary range with only one bound, for example "from $90,000" or "up to $120,000" with no other figure. N/A if the output states a single salary figure rather than a range.
C3. Pay period stated (minor) Flag if the stated salary does not say its pay period, such as per year, per month or per hour.
Result
- Fail if any blocker or major check is Fail or Not covered.
- Otherwise Pass. Minor checks never cause Fail.
