Step 2: Data validation

Store accepted salary research unchanged, without verifying market claims or calculating targets.

Flow

Workflow diagram for Step 2: Data validation
View full-size diagram

Required data

Each country needs both employer tiers and their sources. Other sections or quoted examples cannot supply missing tier fields.

Missing visa rules or evidence grades do not reject a country; an absent grade stays “not provided”. Malformed/incomplete blocks are reported and skipped. Duplicates preserve stored originals. The agent checks older labels for equivalent meaning.

Country boundaries

Generated blocks use top-level Country: fields. Ambiguity needs clarification. Helpers save accepted research exactly as supplied and check for missing countries. If saving fails or finishes only partly, progress stays paused until the agent checks which files were saved and resolves the failure.

What happens next

  • salary-calculator-02-validated-data.md: accepted data.
  • salary-calculator-01-research.md: raw findings and separate Validation report.

The report retains rejection and missing-country reasons. A duplicate with a retained original is not a failed country.

With stored countries, continue to International adjustment. If none remain usable, save the no-result outcome and end without a research-retry, manual-evidence or career-ladder question.