Testing (without holmes)#12
Conversation
There was a problem hiding this comment.
Remove this if we don't need it.
There was a problem hiding this comment.
Do we need this entire directory?
| # AWE Workbench Install Script Template | ||
| # Author: Caleb Scott | ||
|
|
||
| # This script shows how to use the command-line arguments for the fresh_install.sh scripts. |
There was a problem hiding this comment.
The cases below could be further defined. I'm not really sure I follow the different cases. Additinoally, I see conda which is a little bit of a red-flag as the normal build process for the Learning Observer uses pip.
|
|
||
| echo "============================ WARNING ==============================" | ||
| echo "\nYou are about to install AWE on this system." | ||
| echo "\n* Ensure that you are using a python3.12 version." |
There was a problem hiding this comment.
Is Python 3.12 a requirement for this?
There was a problem hiding this comment.
This file looks super similar to venv_fresh_install.sh. How do they differ from one another? How do I know which one to use? Do I have to use conda for installation?
|
|
||
| Set of corresponding tests for document features found in awe_nlp.py of writingobserver. | ||
|
|
||
| Author: Caleb Scott (cwscott3@ncsu.edu) |
There was a problem hiding this comment.
All the other files in this directory are moved from the tests to here. I assume these are all to be deleted. Why does this file show changes instead of a move as well? Will we still be using this file?
The file being in old_tests makes me assume it should be deleted, which is causing some confusion.
| ----------------------------------------------------------------------------------------- | ||
| """ | ||
|
|
||
| # --- [ IMPORTS ] ----------------------------------------------------------------------- |
There was a problem hiding this comment.
I'm not really the biggest fan of these types of comments. I understand that it helps break up the code a little bit, but especially in smaller files, I don't see the need for them. Even in large files, the code already does this to some degree (all the imports say import or from ... import, all the classes start with class, etc.).
|
This needs documentation on how to install and run tests. Much of the original documentation is not very clean (no code-blocks for commands and a bunch of unneeded I tried to go and test this code to make sure it works on my machine as well and immediately ran into issues regarding installation. The AWE_SpellCorrect @ git+https://github.com/ETS-Next-Gen/AWE_SpellCorrect.git
AWE_Components @ git+https://github.com/ETS-Next-Gen/AWE_Components.git
AWE_Lexica @ git+https://github.com/ETS-Next-Gen/AWE_Lexica.git
AWE_LanguageTool @ git+https://github.com/ETS-Next-Gen/AWE_LanguageTool.git |
|
Yeah tbh I'm not sure why the Additionally, a numpy update has stopped the |
removed branch designations
|
Whenever I try to install the workbench, it winds up checking a bunch of different spacy versions. The download and installation of each one takes a bit (which heavily adds up over time). This should be investigated so the installation immediately installs an appropriate version. |
|
@duckduckdoof any update on the spacy versioning? Do you also experience this when running |
I went ahead and tried a fresh install of workbench on a new python environment -- I only saw it attempt to install spacy3.8.2 first, then 3.5.4: Of course, this may be quick because it's going for my cached versions? Should I elevate the verbosity to see if it's running through more than this? |
|
I assume its also iterating through my cached versions of |
| aenum | ||
| statistics | ||
| srsly | ||
| awe_languagetool @ git+https://github.com/ArgLab/AWE_LanguageTool.git |
There was a problem hiding this comment.
Do we need this file? Everything should probably be in the setup.cfg file instead for easier installation.
* Added gitignore * Removed typo * Added missing test for lexical features * consolidated AWE_Info declarations for better readability * Added AWE_NLP tests from WO * Fixed typo * Added install script for conda * Updated install script * Updated install script * Added protobuf patch * Added baseline tests for WritingObserver * Updated gitignore * Added install scripts for conda and venv envs * Cleaned install scripts * Moved old tests, updated web files * Updated main test to work without holmes * Updated main test, added essay 'chooser' * Updated essay 'chooser' * Updates to parserServer * Updated parserServer stubs & pipeline * Removed coreferee from test; covered in pipeline.py * No-holmes baseline tests * Updated modules * Removed holmes dependency * Removed git conflict text * Attempted removal of holmes from parserServer.py * attempting removal of holmes from parserServer * refactored to (mostly) use a local dict for document storage * refactored to (mostly) use a local dict for document storage * Update parserServer.py * Update batch_summary.py Added synchronization to batchSummary to make merging dataframes work right * no meaningful changes, just removed unused imports * Removed unecessary files * Updated test name; requirements; docs * Update old requirements * Removed lexica to install; components already does this * Removed old parser server code * Update setup.cfg removed branch designations * Removed requirements in favor of setup.cfg --------- Co-authored-by: Caleb Scott <goose@the-pond-11.lan> Co-authored-by: cwscott3 <cwscott3@ncsu.edu> Co-authored-by: arsalaan <arsalaankhan022@gmail.com> Co-authored-by: askhan6 <askhan6@ncsu.edu> Co-authored-by: ArsalaanK7 <132946619+ArsalaanK7@users.noreply.github.com>


Changes involve:
test_awe_nlp_no_holmes.pyto not include holmesparserServer.py