-
Notifications
You must be signed in to change notification settings - Fork 41
Description
Before we make further improvement, i would suggest to tackle the following two small issues from TODO.md
Development Infrastructure
P3 - Low Priority
- [P3, small] Move
typeagentintosrc/ - [P3, tiny] Move
test/totests/
The idea would be to migrate to a python standard project layout:
- no semantic code changes
- follow python standard project layout (for ML/AI projects)
- if necessary adopt config files, scripts etc to
- preserve history via git mv commands
migration for typeagent-py
typeagent-py/
├─ pyproject.toml (etc)
├─ README.md (etc)
├─ Makefile (etc)
├─ data/
│ ├─ demo.db (etc)
├─ docs/
│ └─ spec/
├─ src/
│ └─ typeagent/
│ ├─ init.py
│ ├─ dataset.py
│ ├─ model.py
│ └─ train.py
├─ examples/
│ └─ demo/
│ └─ examples/
├─ tests/
│ └─ test_model.py
│ └─ testdata
├─ tools/
│ └─ gmail/
migration steps
-
introduce src 125 src-create
mkdir src
git add src
git mv typeagent src/typeagent -
move test 125-tests
git mv test tests
git mv testdata tests/testdata -
consolidate examples 125-examples
git mv demo examples/demo
git mv samples examples/samples
git mv gmail tools/gmail -
afterwards we decide which are outdated or should be updated/removed/new added
-
move spec-to-docs 125-spec
git mv spec docs/spec
questions
- shoud we move *.db to data/ (and adopt .gitignore)
- should we move some of the .md files to doc/ (which one)
- we should have a .env-template file (as example for .env) only containing names of the API-KEYS...