add existing TS BO#6
Conversation
removed obsolete comment
*anonymized data file names *changed naming custom process to custom input *update requirements.txt *removed notebooks *replaced assertion with try except
add .venv variants to ignore
fixed import naming
Codecov Report
@@ Coverage Diff @@
## main #6 +/- ##
==========================================
+ Coverage 89.57% 89.73% +0.15%
==========================================
Files 52 53 +1
Lines 2034 2084 +50
==========================================
+ Hits 1822 1870 +48
- Misses 212 214 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
To do: -errors from type checker -testing all anomaly types -document working of the TS input file path -(optional) second path for train data
Previous to dos + creating updated dummy data + create test config representing all custom input compatible anomaly types
+ add dummy input
+ document input file path structure
remaining to dos: - test all anomaly types - resolve type checking errors
visualizations to verify correctness of adding anomaly types
dbroeh
left a comment
There was a problem hiding this comment.
Hi VANRIJNA,
thanks for providing this PR. From my end, this looks good 👍 I did spot only a few minor things. I did not run this though.
Cheers, David
|
@gezelligheid Thank you very much for the effort you put into this PR! There are still some tests failing. However, I think despite the mentioned minor issues, this PR reached a good state. Let's try to fix the failing tests and type checks and, then, we can merge this into You can also run the tests locally: python setup.py typecheck
python setup.py test |
|
typecheck won't run giving the following message: Which puzzles me as I believe I run 3.11.2 |
This might be the problem and solution likewise. We perform our type checks in Python 3.7 to ensure backwards-compatibility. |
typechecking
supevised parameters
typechecking Co-authored-by: Sebastian Schmidl <CodeLionX@users.noreply.github.com>
*Reset file mode of pycharm-create-schema-mapping.png to 755 *Remove unused generation configs *Add custom_input unittest
|
Please fix the CI issues. |
|
Thank you for your patience and support @CodeLionX . Is it ok like this? |
Yes, this looks like it fixed the typing and test issues. 👍🏼 However, your latest commit 3211be3 also changed the line ending of many files. Please revert to standard |
|
I forgot to save al CRLF to LF changes before I committed and then corrupted my repo with a reckless bash command. I hope to get to doing it right later today |
SebastianSchmidl
left a comment
There was a problem hiding this comment.
Please check the line endings again. I still found the following files with CRLF:
- gutenTAG/config/parser.py
- gutenTAG/config/schema/anomaly.guten-tag-generation-config.schema.yaml
- gutenTAG/config/schema/oscillation.guten-tag-generation-config.schema.yaml
- gutenTAG/utils/compatibility.py
- gutenTAG/utils/default_values.py
- gutenTAG/utils/global_variables.py
One can now add synthetic anomalies to existing univariate TS.