HF RL Explorer

singularize() corrupts words ending in double s ( glass , boss , address , etc.)

singularize() corrupts words ending in double s ( glass , boss , address , etc.): a task in repo2rlenv-swe-next (Harbor dataset). When calling singularize() on words that are already singular and end in a double s , the function incorrectly strips the trailing s , producing a corrupted result:

The task

When calling `singularize()` on words that are already singular and end in a double `s`, the function incorrectly strips the trailing `s`, producing a corrupted result:

Part of FineEnvs/repo2rlenv-swe-next.