- 14 5月, 2021 1 次提交
-
-
由 Ren Wei (任卫) 提交于
use the `required` instruction to determine if the environment fits the sample code's required. (#32766) * add unittests * add find_last_future_line_end * extract_code_blocks_from_docstr and its testcases * test_codeblock_before_examples_is_ignored * sampcd_extract_to_file 拆为两步 * update the codeblock element's format * code-block directive has no value options * insert the CODES_INTERTED_INTO_FRONTEND * using the new func insert_codes_into_codeblock * get_test_capacity and is_required_match * using the new funcitons in sampcd_extract_to_file * add some comments and refactor functions * using logger instead of all the print * remote wlist * collect summary info, and print them * call get capacity * update summary format * print the apis that don't have sample codes. * print the samples the consumed time more than 10s. print time * update unittest testcases * solve ResourceWarning: unclosed file * run tools test seperately * python2 does not have nonlocal keyword, using dict variable instead * remove unused import, rearrange a series of conditional statements. * remove wlist.json and its check approval * remove wlist.json and its check approval
-
- 25 4月, 2021 1 次提交
-
-
由 Ren Wei (任卫) 提交于
* update testcases * remove unused codes * update the docstring for samcd_processor * no need to import the six module * 我也不知道为何有一个前导空格,但现在有单元测试,取消这个空格没啥问题 * add unittests for print_signatures; add the first case for 'required' mechanism when executing sample code testing * there is no paddle installed in PR-CI-APPROVAL test=document_fix
-
- 24 4月, 2021 1 次提交
-
-
由 Ren Wei (任卫) 提交于
* print the real name for Functions instead of the ArgSpec class function method * some API's name is not __module__ + __name__ so, we disard them temporarily. * update the logging format for console * ommit the top level of paddle package. * these APIs have been removed. test=document_fix * Another Error occerd * print_signatures.py 's stdout is redirect to spec file, so should not print any other info. so sad. * print the error msg to stderr * disable the __init__ magic method * update unittest for sampcd_processor.py update unittest for sampcd_processor.py * PR-CI-APPROVAL 's python interpreter name is not 'python3'. it's a python3.9; it does not have paddle installed yet. 此句在CI流水线竟然不可以用。报python3找不到 此句在CI流水线竟然不可以用。因为环境没有安装paddle * testing only extract api from __all__ paddle module(the top module) does not have __add__ test=document_fix * should import paddle here * update the mechanism of extractiong and executing for the sample-codes test. 更新抽取代码和执行代码的逻辑 优化输出打印 * good code style
-
- 19 4月, 2021 1 次提交
-
-
由 Ren Wei (任卫) 提交于
* get_api_md5 should prefer use the real name rather than the alias names * case for ArgSpec style. update the unittests test=document_fix
-
- 13 4月, 2021 1 次提交
-
-
由 Ren Wei (任卫) 提交于
* skip paddle.Tensor.<lambda> * some file may not exists. such as version.py, it's generated by setup.py * debug mode * add unittests for sampcd_processor.py * add test cases for sampcd_processor * add test cases for sampcd_processor * add testcases * add test cases * add testcases * add testcases * refactor, add testcases * add import * all files map to pool. dont split manually * __all__ += another list * add testcases * add testcases * handle个锤子啊 * this line should not removed https://github.com/wadefelix/Paddle/commit/882e7f7c3be6c2415f58550f82be338b84f0c0ef#diff-cb0679475bf60202fd803ae05b9146989437c3f787d1502616be6c71c69d0fb1 * print -> logger * regulate the logging infomation * regulate the logging infomation * logger to file * logger * threads or subprocesses number config * follow the good code style don't touch wlist.json * run test_sampcd_processor.py, it's a unittest for sampcd_processor.py * update unittest for sampcd_processor.py test=document_fix
-
- 24 11月, 2020 1 次提交
-
-
由 Leo Chen 提交于
* upgrade comment string to raw string * fix string in * fix string with ' ' * revert update on comments * upgrade only necessary * fix sample code checker * fix comments with '''
-
- 25 9月, 2020 1 次提交
-
-
由 chentianyu03 提交于
* modify ci api white list, add annotation * modify ci api white list, add annotation * move gpu_not_white list to wlist.json * add null line
-
- 25 8月, 2020 1 次提交
-
-
由 zhangchunle 提交于
-
- 28 7月, 2020 1 次提交
-
-
由 zhangchunle 提交于
-
- 29 6月, 2020 1 次提交
-
-
由 zhangchunle 提交于
-
- 07 5月, 2020 1 次提交
-
-
由 zhangchunle 提交于
-
- 09 4月, 2020 1 次提交
-
-
由 zhangchunle 提交于
-
- 27 3月, 2020 1 次提交
-
-
由 zhangchunle 提交于
This reverts commit 23baf865.
-
- 24 3月, 2020 1 次提交
-
-
由 zhangchunle 提交于
-
- 10 3月, 2020 1 次提交
-
-
由 zhangchunle 提交于
-
- 06 3月, 2020 1 次提交
-
-
由 zhangchunle 提交于
-
- 25 2月, 2020 1 次提交
-
-
由 zhangchunle 提交于
-
- 11 2月, 2020 1 次提交
-
-
由 WangXi 提交于
-
- 04 12月, 2019 1 次提交
-
-
由 Yucheng 提交于
-
- 04 11月, 2019 1 次提交
-
-
由 Yucheng 提交于
* test=develop
-
- 23 10月, 2019 1 次提交
-
-
由 Tao Luo 提交于
* mv sampcd_processor.py to tools test=develop test=document_fix * update example script test=develop test=document_fix
-
- 19 9月, 2019 1 次提交
-
-
由 flame 提交于
-
- 15 8月, 2019 1 次提交
-
-
由 Hao Wang 提交于
* add exception exit on error example codes test=develop
-
- 10 7月, 2019 1 次提交
-
-
由 tianshuo78520a 提交于
* test api example * update python * add sampcd_processor.py * add if 0 * sort * test paddle * test paddle * test paddle * add whitelist * change sampcd_processor.py * change sampcd_processor.py * change sampcd_processor.py * add exit * test=develop * test=develop
-