If you add duplicates to the Vocabulary table, refreshing deletes them. The first entry persists.
If the table contains duplicates created by the user and the script, both entries display in the table. The extraction uses the entry created by the script, and it’s weight value overrides the entry created by the user.
If the script adds duplicates, the validation uses the final one added.