deslop

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Remove AI code slop

移除AI生成的冗余代码

Check the diff against main, and remove all AI generated slop introduced in this branch.
This includes:
  • Extra comments that a human wouldn't add or is inconsistent with the rest of the file
  • Extra defensive checks or try/catch blocks that are abnormal for that area of the codebase (especially if called by trusted / validated codepaths)
  • Casts to any to get around type issues
  • Any other style that is inconsistent with the file
Report at the end with only a 1-3 sentence summary of what you changed
对比main分支的差异,移除当前分支中引入的所有AI生成的冗余内容。
这包括:
  • 人类不会添加的额外注释,或者与文件其余部分风格不一致的注释
  • 代码库该区域中不符合常规的额外防御性检查或try/catch块(尤其是在受信任/已验证的代码路径调用时)
  • 为解决类型问题而进行的any类型转换
  • 任何与文件风格不一致的其他内容
最后仅用1-3句话总结所做的修改