-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
xubowen
committed
Feb 11, 2022
0 parents
commit cb893be
Showing
418 changed files
with
29,290 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
Tests/*.png | ||
*.pkl | ||
./utils/SparseLUT | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
wheels/ | ||
share/python-wheels/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
MANIFEST | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.nox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*.cover | ||
.hypothesis/ | ||
.pytest_cache/ | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
local_settings.py | ||
db.sqlite3 | ||
|
||
# Flask stuff: | ||
instance/ | ||
.webassets-cache | ||
|
||
# Scrapy stuff: | ||
.scrapy | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
target/ | ||
|
||
# Jupyter Notebook | ||
.ipynb_checkpoints | ||
|
||
# IPython | ||
profile_default/ | ||
ipython_config.py | ||
|
||
# pyenv | ||
.python-version | ||
|
||
# celery beat schedule file | ||
celerybeat-schedule | ||
|
||
# SageMath parsed files | ||
*.sage.py | ||
|
||
# Environments | ||
.env | ||
.venv | ||
env/ | ||
venv/ | ||
ENV/ | ||
env.bak/ | ||
venv.bak/ | ||
|
||
# Spyder project settings | ||
.spyderproject | ||
.spyproject | ||
|
||
# Rope project settings | ||
.ropeproject | ||
|
||
# mkdocs documentation | ||
/site | ||
|
||
# mypy | ||
.mypy_cache/ | ||
.dmypy.json | ||
dmypy.json | ||
|
||
# Pyre type checker | ||
.pyre/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,224 @@ | ||
{ | ||
// 使用 IntelliSense 了解相关属性。 | ||
// 悬停以查看现有属性的描述。 | ||
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Python: Pong", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "RL.Pong.main" | ||
}, | ||
{ | ||
"name": "Python: test_nal9", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_NAL.test_NAL9" | ||
}, | ||
{ | ||
"name": "Python: test_nal8", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_NAL.test_NAL8" | ||
}, | ||
{ | ||
"name": "Python: test_nal7", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_NAL.test_NAL7" | ||
}, | ||
{ | ||
"name": "Python: test_nal6", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_NAL.test_NAL6" | ||
}, | ||
{ | ||
"name": "Python: test_nal5", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_NAL.test_NAL5" | ||
}, | ||
{ | ||
"name": "Python: test_nal4", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_NAL.test_NAL4" | ||
}, | ||
{ | ||
"name": "Python: test_nal3", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_NAL.test_NAL3" | ||
}, | ||
{ | ||
"name": "Python: test_nal2", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_NAL.test_NAL2" | ||
}, | ||
{ | ||
"name": "Python: test_nal1", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_NAL.test_NAL1" | ||
}, | ||
{ | ||
"name": "Python: test_rule_lut", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_RuleMap.test_RuleLUT" | ||
}, | ||
{ | ||
"name": "Python: test_term_equal", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_Term_Equal" | ||
}, | ||
{ | ||
"name": "Python: test_terms", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_variable.test_Terms" | ||
}, | ||
{ | ||
"name": "Python: test_substitution", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_variable.test_Substitution" | ||
}, | ||
{ | ||
"name": "Python: test_variable", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_Variable" | ||
}, | ||
{ | ||
"name": "Python: test_compound", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_Compound" | ||
}, | ||
{ | ||
"name": "Python: test_inference_engine", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_InferenceEngine" | ||
}, | ||
{ | ||
"name": "Python: test_link", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_Link" | ||
}, | ||
{ | ||
"name": "Python: test_table", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_Table" | ||
}, | ||
{ | ||
"name": "Python: test_memory", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_Memory" | ||
}, | ||
{ | ||
"name": "Python: test_evidential_base", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_EvidentialBase" | ||
}, | ||
{ | ||
"name": "Python: test_rulemap", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_RuleMap" | ||
}, | ||
{ | ||
"name": "Python: test_rulemap_v2", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_RuleMap.test_RuleMap_v2" | ||
}, | ||
{ | ||
"name": "Python: test_examples", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_Examples" | ||
}, | ||
{ | ||
"name": "Python: test_copula", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_Copula" | ||
}, | ||
// { | ||
// "name": "Pypy: test_bag", | ||
// "type": "pypy", | ||
// "request": "launch", | ||
// "module": "Tests.test_Bag" | ||
// }, | ||
{ | ||
"name": "Python: test_bag", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_Bag" | ||
}, | ||
{ | ||
"name": "Python: test_sparse_lut", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_RuleMap.test_sparse_lut" | ||
}, | ||
{ | ||
"name": "Python: test_parser", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_Parser" | ||
}, | ||
{ | ||
"name": "Python: test_color", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_color" | ||
}, | ||
{ | ||
"name": "Python: test_parse_examples", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Tests.test_ParseExamples" | ||
}, | ||
{ | ||
"name": "Python: console", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "Console.py", | ||
"console": "integratedTerminal", | ||
"args": [ | ||
// "Tests/examples/single_step/nal7/nal7.7.nal" | ||
// "Tests/examples/single_step/nal5.query.nal" | ||
] | ||
}, | ||
{ | ||
"name": "Python: _generate_init_file", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "NAL._generate_init_file" | ||
}, | ||
{ | ||
"name": "Python: Parser test", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "Narsese.Parser._test" | ||
}, | ||
{ | ||
"name": "Python: 当前文件", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "${file}", | ||
"console": "integratedTerminal" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"restructuredtext.languageServer.disabled": true, | ||
"python.testing.unittestArgs": [ | ||
"-v", | ||
"-s", | ||
"${workspaceFolder}/Tests", | ||
"-p", | ||
"test_*.py" | ||
], | ||
"python.testing.pytestEnabled": false, | ||
"python.testing.unittestEnabled": true | ||
} |
Oops, something went wrong.