Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task List #1

Open
MrXnneHang opened this issue Nov 16, 2024 · 4 comments
Open

Task List #1

MrXnneHang opened this issue Nov 16, 2024 · 4 comments

Comments

@MrXnneHang
Copy link
Owner

MrXnneHang commented Nov 16, 2024

任务背景

此次任务为 ✏️ Typo 清理计划 的后续。

自引入 Typos ,之后我们的 commit 都会伴随对拼写的自动检查。但是,同时也发现先前所遗留的大量拼写问题,为了防止阻塞日常开发,它们目前被记录在_typo.toml中作为定制词库,我们会在本 Issue 中逐步对遗留的拼写问题进行修复。

实施步骤

安装 typos

1.通过 pre-commit 安装:

我们的 pre-commit 中已经配置好了 typos ,你可以直接使用 pre-commit。

pip install pre-commit
pre-commit clean
pre-commit install
pre-commit run --all-file # 检查所有文件,里面包含typos的检查

2.通过 pip 安装:

pip install typos
typos --format brief --exclude build # 检查除了Build文件夹下的所有文件,日志级别brief
typos --format long --exclude build # 日志级别Long

Note

文件是否修改需要同学先自己判断,如果不是很清楚。可以在 Issue 中提问。

  • 原则 1:涉及 API 的改动,不应该修改。
  • 原则 2:不要修改专有名词的缩写,如果发现,请考虑添加到_typo.toml的特殊单词列表中。

问题复现

假设你领取的任务是修改recieve

打开_typo.toml,注释掉(recieve = 'recieve'行),然后运行上面的 typos 检查。它会报告所有错误拼写出现的地方。

lastest = 'lastest'
# recieves = 'recieves'
cann = 'cann'
(test) xnne@xnne-PC:~/code/Paddle-Local$ typos --format long --exclude build
error: `recieves` should be `receives`
  --> ./paddle/common/flags_native.cc:371:7
    |
371 |  * It recieves a list of flags name, and will find the corresponding environment
    |       ^^^^^^^^
    |
error: `recieves` should be `receives`
  --> ./paddle/common/flags.h:113:7
    |
113 |  * It recieves commandline arguments passed in argc and argv from main function,
    |       ^^^^^^^^
    |

问题修复

考虑是否修改拼写:

Note

  • 原则 1:涉及 API 的改动,不应该修改。
  • 原则 2:不要修改专有名词的缩写,如果发现,请考虑添加到_typo.toml的特殊单词列表中。

任务列表

A-List

任务 ID 正确拼写 错误拼写(出现次数) 是否需要修正 认领人 PR
🙋A-1 accesses Acceses(1) 🙋@MrXnneHang
🙋A-2 accessible accessable(1) 🙋@MrXnneHang
🙋A-3 access accesss(1) 🙋@MrXnneHang
🙋A-4 according accoding(1) 🙋@MrXnneHang
🙋A-5 accuracy,actuary accurary(2) 🙋@MrXnneHang
🙋A-6 accuracy Accuarcy(6) 🙋@MrXnneHang
🙋A-7 activated actived(2) 🙋@MrXnneHang
🙋A-8 active acitve(2) 🙋@MrXnneHang
🙋A-9 actually actualy(1) 🙋@MrXnneHang
🙋A-10 actual Actural(1)、actural(3) 🙋@MrXnneHang
🔵A-11 additional addtional(2)
🔵A-12 address addess(1)
🔵A-13 adjacent adjancent(1)
🔵A-14 admissible admissable(1)
🔵A-15 after afer(1)
🔵A-16 ages,tags Ags(1)
🔵A-17 aggregate aggragate(1)
🔵A-18 alas,alias,alms,axis alis(2)
🔵A-19 algorithm algorithem(1)、alogrithm(4)
🔵A-20 all,ole,old,olly,oil Oll(1)
🔵A-21 allocator alloctor(1)
🔵A-22 almost almostly(1)
🔵A-23 along alog(9)
🔵A-24 already Alread(1)
🔵A-25 always Allways(1)、alway(3)
🔵A-26 and ane(1)、anc(48)、adn(49)
🔵A-27 annotations annotaions(1)
🔵A-28 annotation annotaion(1)
🔵A-29 architecture architecure(1)、architecuture(2)
🔵A-30 are aer(1)
🔵A-31 arguments argumnets(1)、argmuments(2)
🔵A-32 argument argumet(1)
🔵A-33 arose arised(1)
🔵A-34 arranged aranged(2)
🔵A-35 array arrray(3)
🔵A-36 assigned assigend(1)、assined(2)
🔵A-37 assign assgin(3)
🔵A-38 asteroid astroid(6)
🔵A-39 attempts attemps(1)
🙋A-40 attributes,attribute attribtes(1) 🙋@MrXnneHang
🙋A-41 attribute attritube(3)、atrribute(9)、attribtue(10) 🙋@MrXnneHang
🙋A-42 automatically,automatic,automated automatical(1) 🙋@MrXnneHang
🙋A-43 automatically automaticly(2) 🙋@MrXnneHang
🙋A-44 auxiliary Auxillary(1) 🙋@MrXnneHang
🙋A-45 available availiable(1)、AVALIABLE(24) 🙋@MrXnneHang
🔵A-46 axes axises(28)、Axises(42)
🔵A-47 axis aixs(1)

B-List

任务 ID 正确拼写 错误拼写(出现次数) 是否需要修正 认领人 PR
🔵B-1 bead,been,beer,bees,beet beed(2)
🙋B-2 because becuase(1)、Becasue(3)、becasue(6)、beacuse(7) 🙋@MrXnneHang
🙋B-3 before befor(2)、befores(4) 🙋@MrXnneHang
🙋B-4 beginning begining(4) 🙋@MrXnneHang
🙋B-5 benefit benfit(6) 🙋@MrXnneHang
🙋B-6 between Betweent(1)、betweeen(2) 🙋@MrXnneHang
🙋B-7 bindings bindins(3) 🙋@MrXnneHang
🙋B-8 block,bloke blokc(1) 🙋@MrXnneHang
🔵B-9 block blcok(1)
🔵B-10 bottom bootom(1)
🔵B-11 boundary bondary(1)
🔵B-12 branches branchs(8)
🔵B-13 branch brach(1)
🔵B-14 broadcast Broardcast(1)、Bradcast(2)、Boardcast(3)
🔵B-15 buffer buffert(1)
🔵B-16 builder builer(1)
🔵B-17 builtin buitin(1)、buitlin(6)、Buitin(7)
🔵B-18 built builded(24)
🔵B-19 by,be ba(8)

C-List

任务 ID 正确拼写 错误拼写(出现次数) 是否需要修正 认领人 PR
🔵C-1 cache cahe(2)
🔵C-2 calculate Caculate(14)、caculate(16)
🔵C-3 calculations,calculation calcualtion(1)
🔵C-4 calc cacl(5)
🔵C-5 call cll(4)
🔵C-6 candidate cadidate(1)、candiate(5)
🔵C-7 cannot connot(2)
🔵C-8 can Cann(2)、cann(16)、CANN(20)
🔵C-9 cart,wart vart(2)
🔵C-10 catch,cache CACH(4)
🔵C-11 caught catched(2)
🔵C-12 cause cuase(2)
🔵C-13 channels channles(1)
🔵C-14 channel channnel(2)
🔵C-15 char cahr(1)
🔵C-16 checkins,checks checkings(2)
🔵C-17 children childs(25)
🔵C-18 chooses choses(1)
🔵C-19 choose choos(1)
🔵C-20 chose,chosen choosed(1)
🔵C-21 chosen choosen(2)
🔵C-22 chunk Chunck(4)
🔵C-23 clan,clean clen(3)
🔵C-24 class Clas(57)、clas(60)
🔵C-25 clipping cliping(8)
🔵C-26 close clos(16)
🔵C-27 coalesce coalesc(1)
🔵C-28 column coloumn(1)
🔵C-29 commercial commericial(1)
🔵C-30 committer commiter(2)
🔵C-31 comparison comparision(1)
🔵C-32 compatibility compatiblity(3)、compability(7)
🔵C-33 compatible compitable(4)、Compitable(34)、compatable(35)
🔵C-34 compiling compling(3)
🔵C-35 complete comple(1)
🔵C-36 completion complition(1)
🔵C-37 complex,complexity complext(2)
🔵C-38 composite compsite(1)
🔵C-39 configured configed(1)、configurated(2)
🔵C-40 conflict confict(1)
🔵C-41 conjunction conjuction(1)
🔵C-42 connect conect(1)
🔵C-43 consecutive consequtive(1)
🔵C-44 consistent consistant(1)
🔵C-45 constraints contraints(6)
🔵C-46 construction contruction(1)
🔵C-47 constructor consructor(1)
🔵C-48 consume comsume(2)
🔵C-49 container Continer(6)
🔵C-50 contents contenst(2)
🔵C-51 conteur,counter conter(1)
🔵C-52 context ontext(1)
🔵C-53 continuous Continous(6)
🔵C-54 contribute contibute(1)
🔵C-55 controlled controled(1)
🔵C-56 control contorl(1)
🔵C-57 converge,coverage Converage(1)、converage(6)
🔵C-58 conversion convertion(2)
🔵C-59 convert Conver(96)
🔵C-60 convince,convenience convience(3)
🔵C-61 coordinate coodinate(1)
🔵C-62 copied Copyed(9)、copyed(14)
🔵C-63 copies copys(6)
🔵C-64 corner,coroner corener(2)
🔵C-65 correct corrrect(1)
🔵C-66 corresponding Correspoding(1)
🔵C-67 could,count,found Cound(1)
🔵C-68 could coule(4)
🔵C-69 create,crate craete(2)
🔵C-70 created,crated craeted(1)
🔵C-71 creature,creator,crater creater(70)、Creater(110)
🔵C-72 currently Currenly(1)
🔵C-73 current currnt(1)、curent(21)
🔵C-74 custom,costume Costum(2)

D-List

任务 ID 正确拼写 错误拼写(出现次数) 是否需要修正 认领人 PR
🔵D-1 dataset dateset(1)
🔵D-2 data DATAS(4)、datas(261)、Datas(274)、dota(281)
🔵D-3 dealt dealed(22)、delt(23)
🔵D-4 decimals deciamls(6)
🔵D-5 declared decalared(1)
🔵D-6 decompose decompse(2)
🔵D-7 decomposing decompositing(2)
🔵D-8 default defalut(12)、defualt(13)、defaut(14)、Defaule(15)
🔵D-9 deferred defered(1)、Defered(7)
🔵D-10 defined,defund defind(4)
🔵D-11 define defeine(1)
🔵D-12 definition defition(1)、defination(2)
🔵D-13 delete delet(1)
🔵D-14 dependencies dependecies(1)
🔵D-15 dependency dependecy(1)
🔵D-16 deprecated decprecated(1)
🔵D-17 derived derivated(1)
🔵D-18 descriptor descripor(1)
🔵D-19 deserialize deserailize(1)
🔵D-20 destroy Destory(3)
🔵D-21 device DEIVCE(4)
🔵D-22 dictionary dictionnary(2)
🔵D-23 difference diffrence(1)
🔵D-24 different,deferent defferent(1)
🔵D-25 differentiation differenciation(1)
🔵D-26 different diffrent(3)、differnt(6)
🔵D-27 difficulties,difficult difficults(6)
🔵D-28 dimensional dimensinal(2)
🔵D-29 dimensions dimenstions(1)
🔵D-30 dimension demension(1)、dimention(13)、dimenstion(16)
🔵D-31 directly direcly(1)、Direcly(2)
🔵D-32 directory direcotry(1)、direcotory(2)
🔵D-33 disabled diabled(5)
🔵D-34 disable diable(1)
🔵D-35 distinguish distingusih(1)
🔵D-36 distributed distrubuted(1)、distibuted(20)
🔵D-37 ditto dito(1)
🔵D-38 divide,device devide(3)
🔵D-39 documentation documention(1)
🔵D-40 does,doesn doens(2)
🔵D-41 done,don,doesn doen(2)
🔵D-42 double dobule(1)、doubel(3)
🔵D-43 downloading Dowloading(1)
🔵D-44 downstream downsteram(3)

E-List

任务 ID 正确拼写 错误拼写(出现次数) 是否需要修正 认领人 PR
🔵E-1 efficiently effeciently(1)
🔵E-2 efficient effecient(1)
🔵E-3 elements elemenents(1)、elments(2)
🔵E-4 eliminate elimate(1)
🔵E-5 else,also,false alse(2)
🔵E-6 embedding embeding(1)
🔵E-7 emitted emited(2)
🔵E-8 enable enbale(5)、Enabel(8)
🔵E-9 encounter encouter(1)
🔵E-10 endianness endianess(1)
🔵E-11 enforce enfore(1)
🔵E-12 entries,entry entrys(24)
🔵E-13 environment envirnment(1)、environnement(2)
🔵E-14 epochs epoches(6)、EPOCHES(7)
🔵E-15 epsilon epslion(1)
🔵E-16 equal eqaul(1)
🔵E-17 error Errorr(1)
🔵E-18 example exmaple(1)
🔵E-19 exception,expectation expection(4)
🔵E-20 exception excption(1)
🔵E-21 execute execuate(39)
🔵E-22 exist,exit exsit(2)
🔵E-23 exists,exist exsits(3)
🔵E-24 expand,expanded,explained expaned(6)
🔵E-25 expand epxand(5)
🔵E-26 expected Expexted(1)
🔵E-27 exploitation expolitation(1)
🔵E-28 extreme extream(59)

F-List

任务 ID 正确拼写 错误拼写(出现次数) 是否需要修正 认领人 PR
🔵F-1 failed,fail,fails faild(6)
🔵F-2 false,flake,flame,flare,flash,flask Flase(1)
🔵F-3 feature featue(1)
🔵F-4 fed feeded(145)
🔵F-5 fetches fetchs(61)
🔵F-6 fields fileds(3)
🔵F-7 filtered filterd(3)
🔵F-8 filter fliter(2)
🔵F-9 find Fidn(1)
🔵F-10 fined,found,funded Finded(1)
🔵F-11 first fisrt(6)
🔵F-12 flattened Flattend(11)、flattend(16)
🔵F-13 flatten flattern(8)、Flattern(9)
🔵F-14 flipped filpped(1)
🔵F-15 float flaot(1)
🔵F-16 followed follwed(1)
🔵F-17 following folowing(2)
🔵F-18 for,fit,dot,rot,cot,got,tot,fog fot(2)
🔵F-19 formatter formater(1)
🔵F-20 formatting formating(1)
🔵F-21 format foramt(2)、formt(3)、formate(9)
🔵F-22 forward forwad(1)、forwrad(2)、forword(5)
🔵F-23 found founf(11)
🔵F-24 framework framwork(1)
🔵F-25 free fre(1)
🔵F-26 frequencies frequence(1)
🔵F-27 from,front fron(2)
🔵F-28 fulfill fullfill(3)
🔵F-29 full FUL(1)
🔵F-30 functions funcitons(1)、Funcitons(3)、funtions(4)
🔵F-31 function Fuction(7)、Funtion(8)、funcion(9)、funtion(14)、fuction(16)、Funcion(17)、fucntion(18)
🔵F-32 further futher(1)
🔵F-33 future furture(2)

G-List

任务 ID 正确拼写 错误拼写(出现次数) 是否需要修正 认领人 PR
🔵G-1 gaussian guassian(2)
🔵G-2 global gloabl(12)
🔵G-3 gradient graident(7)
🔵G-4 grammar grammer(3)
🔵G-5 graph grpah(27)
🔵G-6 greater,create,grate,great Greate(1)
🔵G-7 grouped groupped(1)
🔵G-8 guard GARD(7)、gard(24)

H-List

任务 ID 正确拼写 错误拼写(出现次数) 是否需要修正 认领人 PR
🔵H-1 halves Halfs(1)
🔵H-2 handler Hanlder(1)、hander(10)、Hander(12)、hadler(14)
🔵H-3 happened,happens,happen happend(3)
🔵H-4 hardware hardward(1)
🔵H-5 height,high hight(6)
🔵H-6 helper helpe(1)、hepler(3)
🔵H-7 he hge(11)
🔵H-8 homogeneous homogenous(1)
🔵H-9 horizontal horizonal(5)

I-List

任务 ID 正确拼写 错误拼写(出现次数) 是否需要修正 认领人 PR
🔵I-1 identify,identity identiy(1)
🔵I-2 identify indentify(1)
🔵I-3 implementation implemention(1)
🔵I-4 implemented implementd(2)、implementated(3)
🔵I-5 implement impliment(1)、implment(3)
🔵I-6 implicitly implicitely(3)
🔵I-7 improper Inproper(1)
🔵I-8 inconsistency inconsistence(2)
🔵I-9 incorrectly uncorrectly(1)
🔵I-10 index,indent Indext(8)
🔵I-11 indexes,indices indexs(286)、Indexs(307)
🔵I-12 indicates indiates(1)
🔵I-13 indices indeces(4)
🔵I-14 inference inferrence(2)
🔵I-15 inferred infered(2582)、Infered(2602)
🔵I-16 inferring infering(3)
🔵I-17 information imformation(1)、infomation(10)、informations(20)
🔵I-18 info Infor(2)、infor(11)
🔵I-19 inherited inheritted(1)
🔵I-20 initialization initilization(1)
🔵I-21 initialized initilized(1)、initalized(2)
🔵I-22 initialize initalize(1)、intialize(5)
🔵I-23 initial inital(1)
🔵I-24 inputs Inouts(3)、intputs(5)
🔵I-25 inputted inputed(4)
🔵I-26 input intput(16)、Intput(18)
🔵I-27 insert inser(2)
🔵I-28 inside insid(8)
🔵I-29 inspection insepection(3)
🔵I-30 install intall(1)
🔵I-31 instantiate instanciate(1)
🔵I-32 instruction INSTUCTION(1)、Instrution(2)
🔵I-33 integer interger(1)
🔵I-34 intermediate itermediate(21)、intermidiate(67)
🔵I-35 internal,interval,integral interal(3)
🔵I-36 internal internel(1)
🔵I-37 intrinsics instrinsics(4)
🔵I-38 intrinsic intristic(1)
🔵I-39 invalid invalied(1)、invalide(3)、Invaid(7)、invaild(10)
🔵I-40 iterable iteratable(1)
🔵I-41 iterated,interacted,integrated interated(1)
🔵I-42 iteration Iteraion(1)
🔵I-43 it iy(303)、IIT(305)

K-List

任务 ID 正确拼写 错误拼写(出现次数) 是否需要修正 认领人 PR
🔵K-1 kernel kerenl(1)、kenerl(2)、kernerl(4)、Kernal(10)
🔵K-2 keyword keyward(2)、Keyward(4)
🔵K-3 kind kinf(7)
🔵K-4 know kow(25)

L-List

任务 ID 正确拼写 错误拼写(出现次数) 是否需要修正 认领人 PR
🔵L-1 label lable(2)
🔵L-2 lambda lamda(1)、labmda(2)
🔵L-3 latest,last lastest(4)
🔵L-4 launch Lanuch(2)、lanuch(3)
🔵L-5 layer leyer(1)
🔵L-6 learning learing(1)
🔵L-7 leaves Leafs(3)、leafs(7)
🔵L-8 level levle(2)
🔵L-9 linked,like linke(1)
🔵L-10 list,slit,sit lsit(1)
🔵L-11 list lits(1)
🔵L-12 locally localy(1)、Localy(2)
🔵L-13 logarithmically logarithmical(3)
🔵L-14 login,logging Loggin(2)

M-List

任务 ID 正确拼写 错误拼写(出现次数) 是否需要修正 认领人 PR
🔵M-1 macro macor(1)
🔵M-2 maintain mantain(1)
🔵M-3 make,mask mak(1)
🔵M-4 manually manualy(2)、mannualy(3)
🔵M-5 mapping maping(18)
🔵M-6 maximum maxmium(1)、Maxinum(35)
🔵M-7 means menas(1)
🔵M-8 memory momory(1)
🔵M-9 metadata Meatadata(2)
🔵M-10 milliseconds miliseconds(4)
🔵M-11 minimum Minium(2)、minumum(14)、minimun(17)
🔵M-12 modification modication(1)
🔵M-13 modified modifed(1)
🔵M-14 modifying modifing(3)
🔵M-15 modify modifty(2)
🔵M-16 modules moduels(1)
🔵M-17 module Modul(1)
🔵M-18 moreover Morevoer(3)
🔵M-19 multiple mutiple(1)
🔵M-20 multiply Mutiply(14)、multipy(17)、Multiplie(18)、mutiply(19)
🔵M-21 multi Muti(2)、muti(8)
🔵M-22 mutexes mutexs(11)

N-List

任务 ID 正确拼写 错误拼写(出现次数) 是否需要修正 认领人 PR
🔵N-1 names namess(2)、nams(3)
🔵N-2 necessary neccessary(1)
🔵N-3 need,neat Neet(1)、neet(2)
🔵N-4 need,needed neeed(1)
🔵N-5 need nedd(1)
🔵N-6 negative negetive(1)、nagative(16)、negtive(19)
🔵N-7 neighbor,neighbour Neighboor(3)
🔵N-8 neighbors neigbhors(1)、Neigbors(7)
🔵N-9 neighbor neighor(2)
🔵N-10 network netwrok(1)
🔵N-11 normalized Normlized(2)、normlized(21)
🔵N-12 normalize normlize(1)
🔵N-13 normal noraml(4)
🔵N-14 number numer(4)
🔵N-15 numeric Numberic(2)

任务认领方式

⭐️ 提交 PR 模版 ⭐️:

  • // ------- PR 标题 --------
[CodeStyle][Typos][A-1] Fix typo(`recieves`)

或者多个任务:

[CodeStyle][Typos][A-1,A-2,A-3] Fix typo(`recieves`...)
[CodeStyle][Typos][A-[1-3]] Fix typo(`recieves`...)

Note

川大同学请注意在任务标题中添加 [SCU],如:

[CodeStyle][Typos][SCU][A-1] Fix typo(`recieves`...)
[CodeStyle][Typos][SCU][A-1,A-2,A-3] Fix typo(`recieves`...)

Warning

单个 PR 提交禁止修改超过 10 个文件, 否则会被 reviewer close。
如果单个单词超过 10 个文件的除外。

提交 PR 模版
<!-- TemplateReference: https://github.com/PaddlePaddle/Paddle/wiki/PULL-REQUEST-TEMPLATE--REFERENCE -->
<!-- Demo: https://github.com/PaddlePaddle/Paddle/pull/24810 -->

### PR Category

<!-- One of [ User Experience | Execute Infrastructure | Operator Mechanism | CINN | Custom Device | Performance Optimization | Distributed Strategy | Parameter Server | Communication Library | Auto Parallel | Inference | Environment Adaptation ] -->

User Experience

### PR Types

<!-- One of [ New features | Bug fixes | Improvements | Performance | BC Breaking | Deprecations | Docs | Devs | Not User Facing | Security | Deprecations | Others ] -->

Devs

### Description

<!-- Describe what you’ve done -->

修复如 typo 问题:

- recieves
- ...

未修复: # (单词/所在文件行数)。可以的话,尽量简短说明一下原因。

text:
- https://github.com/PFCCLab/dochooks/blob/main/.pre-commit-hooks.yaml#L12
...

### Related links

- #本 issue 的序号

@MrXnneHang

状态介绍
✅:已经完全迁移,所有单测都 OK!
🙋: 报名
🟢:审核完毕待合入,合入之后完成!
🔵:可认领!
🟡:当前阶段不需要人力继续跟进,下阶段推进
🚧:迁移中,单测还没有过,还没有审核完。

大致正常流程为:
🔵 -> 🙋 -> 🚧 -> 🟢 -> ✅

异常流程为:
🔵 -> 🙋 -> 🚧 -> 🟡

📊 任务数量 🔵 可认领 🚧 迁移中 🟢 待合入 ✅ 完成 🟡 下阶段推进 🏁 完成率
360 337 0 0 0 0 0.0%

排名不分先后

@MrXnneHang
Copy link
Owner Author

MrXnneHang commented Nov 17, 2024

【报名】:A-[40-45],A-[1-10]

@MrXnneHang
Copy link
Owner Author

【报名】:B-[2-8]

@MrXnneHang
Copy link
Owner Author

【报名】:C-[1,8],B-[10,12]

@MrXnneHang
Copy link
Owner Author

【报名】:A-[40-45]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant