Replace To Upper Middle Income Country

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

alias_name: replace_to_upper_middle_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_upper_middle_income_country:
    min_pass_rate: 0.7
  • min_pass_rate (float): Minimum pass rate to pass the test.

Examples

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