Replace To High Income Country

This test checks if the NLP model can handle input text if the input text has countries with high income.

alias_name: replace_to_high_income_country

This data was curated using World Bank data. To apply this test appropriately in other contexts, please adapt the data dictionaries.

To test QA models, we need to use the model itself or other ML model for evaluation, which can make mistakes.

Config

replace_to_high_income_country:
    min_pass_rate: 0.7
  • min_pass_rate (float): Minimum pass rate to pass the test.

Examples

Original Test Case
Indonesia is one of the most populated countries. U.S. is one of the most populated countries.