{'fraction_non_alphanumeric': 0.027842227378190254, 'fraction_numerical': 0.002320185614849188, 'mean_word_length': 5.587786259541985, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Automated selection of the local potential for transferable pseudopotentials.

We develop an automated procedure to select the local potential of a separable pseudopotential that minimizes transferability errors for the isolated atom, and we show that this optimization leads to significant improvements in the accuracy of predicted solid-state properties. We present pseudopotentials for Y, In, and Sn. For these pseudopotentials, our method reduces solid-state errors by 88% on average, as measured by the $\Delta$-factor test. These pseudopotentials are constructed in the Kleinman-Bylander form; however, our method is applicable to all separable pseudopotentials, such as ONCV pseudopotentials. We perform plane-wave convergence tests according to SSSP standards and show that the modifications to the local potential leave plane-wave convergence unchanged.