Commit Graph
100 Commits
Author SHA1 Message Date
Arthur LuandGitHub fb1033e92c Merge branch 'databse-config' into superscript-v1
Former-commit-id: a64c2c71ca
2021-09-22 20:28:55 -07:00
Arthur Lu 16882a0a75 added debug option to usage description,
set generic error code to 1


Former-commit-id: 9163244e2c
2021-09-21 23:36:13 +00:00
Arthur Lu 2b8ecc5bee added databse config getter/setter to data.py,
fixed args for data.py functions


Former-commit-id: 74bcc116a2
2021-09-21 05:14:54 +00:00
Arthur Lu 8112effbce added debug option,
improved memory usage slightly,
changed errorlog.txt to errorlog.log,
updated .gitignore


Former-commit-id: bd51efc6c2
2021-09-21 04:43:32 +00:00
Arthur Lu 56d3a0adcd added event and time delay options
(event delay unimplemented)


Former-commit-id: fb4e5da1d4
2021-08-27 23:39:48 +00:00
Arthur Lu 9be9008ae1 fixed and properly named build action
Former-commit-id: 694733700a
2021-08-26 22:26:29 +00:00
Arthur Lu 097fd2836b reorganized imports in superscript
Former-commit-id: 18c26a00b6
2021-08-22 05:35:04 +00:00
Arthur Lu 052788afb9 fixed verbose/profile output options
Former-commit-id: ca399cf350
2021-08-19 20:58:35 +00:00
Arthur LuandGitHub e4eb824f51 Merge pull request #11 from titanscouting/daemonize-superscript
Merge changes in daemonize-superscript to refactor-superscript

Former-commit-id: 3e8d876f80
2021-08-18 17:36:55 -07:00
Arthur Lu 11d3db4b44 added profile option to superscript
Former-commit-id: ea07d7c709
2021-08-19 00:34:42 +00:00
Arthur Lu 76f78047b3 unified main_lin, main_win functions
Former-commit-id: 342dae3022
2021-08-18 22:35:42 +00:00
Arthur Lu 20f2040a1a changed websocket bind address to 0.0.0.0
Former-commit-id: e9258c831d
2021-08-18 05:58:21 +00:00
Arthur Lu ffead9e240 fixed daemon no start issue
Former-commit-id: efc353dafb
2021-08-18 05:13:25 +00:00
Arthur Lu 0287b5c0e2 temporary workaround for missing ssl cert
Former-commit-id: 739a2f36f8
2021-08-18 03:26:47 +00:00
Arthur Lu b6a1dfedb9 not working
Former-commit-id: e82177d17b
2021-08-18 03:04:01 +00:00
Arthur Lu cafb773d8b replaced profile to verbose option
Former-commit-id: 055c296c00
2021-08-18 00:43:00 +00:00
Arthur Lu 871b313d95 fixed linux only import in windows exec
Former-commit-id: 61ae377e97
2021-08-17 14:17:40 -07:00
Arthur Lu bcbb653696 daemonized, socketed superscript
improved runtime
removed superscript-socket.py


Former-commit-id: 6fa29f767d
2021-08-17 21:02:08 +00:00
Arthur Lu b4c7365bf0 added *.pid files to git ignore
Former-commit-id: f8f8d6bf27
2021-08-13 23:32:59 +00:00
Arthur Lu c2f35f4cb2 superscript v 0.9.2
Former-commit-id: e559ced751
2021-08-13 21:57:03 +00:00
Arthur Lu 2ebd2cba8a removed socket/daemon test scripts
Former-commit-id: d1a9e56703
2021-08-12 22:26:37 +00:00
Arthur Lu 6819aaf143 consolidated dataset/data imports
Former-commit-id: 6364746d7a
2021-08-12 21:58:41 +00:00
Arthur Lu b3ab9156db consolidated datraset.py into datas.py
removed unessasary time import in data.py
added missing import to processing.py


Former-commit-id: f74cfb3ae3
2021-08-12 21:53:03 +00:00
Arthur Lu 30641e43d8 fixed delay in daemon stopping
Former-commit-id: 1d9fa99058
2021-08-11 23:37:57 +00:00
Arthur Lu 3a068654ed added start/stop/restart argument functionality
slightly buggy


Former-commit-id: ba793140af
2021-08-11 23:26:52 +00:00
Arthur Lu 962061007b removed time-test
Former-commit-id: c09f4d0897
2021-08-11 22:54:24 +00:00
Arthur Lu 91f34a8d74 daemonized superscript socket example
added python-daemon to requirements.txt


Former-commit-id: 922095ebe0
2021-08-11 22:28:24 +00:00
Arthur Lu 19bca6967c added websockets to requirements.txt
Former-commit-id: d9ba7bcb24
2021-08-11 18:21:34 +00:00
Arthur Lu fb2ea60fea started socketing superscript statuses
Former-commit-id: a703fe4867
2021-08-11 18:10:04 +00:00
Arthur Lu 5d95913467 removed duplicate requirements
Former-commit-id: f258a768be
2021-08-11 00:33:06 +00:00
Arthur Lu 7e800c9004 added Pool.join to allow threads to exit safely
added keyboard interrupt signal ignore in threads


Former-commit-id: 836e9ca6be
2021-07-16 06:12:26 +00:00
Arthur Lu 3c7262498c superscript v 0.9.1
Former-commit-id: 246efd524b
2021-06-13 00:49:04 +00:00
Arthur Lu 4c65e88903 finished refactor
Former-commit-id: b2f2dfe2a4
2021-06-12 23:57:16 +00:00
Arthur Lu b3c26ce2cf renamed cli_interface.py to interface.py
Former-commit-id: b94c9125b3
2021-06-12 07:16:11 +00:00
Arthur Lu 089ff7ec01 separated gui and cli dev files
began refactoring superscript in cli application


Former-commit-id: ee309b9f8b
2021-06-12 07:09:26 +00:00
Arthur LuandGitHub b561c51d21 Merge pull request #10 from titanscouting/automate-build
Automate build

Former-commit-id: a8a70d67fa
2021-06-09 14:58:21 -07:00
Arthur Lu 40191aa6b5 fixed pathing for build-CLI.*
added temp directory to gitignore


Former-commit-id: 73888cbc9e
2021-04-27 07:26:14 +00:00
Arthur Lu 6c385b5bd3 removed ThreadPoolExecutor import
Former-commit-id: 139410f7f0
2021-04-25 06:05:33 +00:00
Arthur Lu 727398d32f added sample build-cli workflow
Former-commit-id: 36dad7b22d
2021-04-25 03:51:01 +00:00
Arthur Lu d16ef53457 added .gitattributes
Former-commit-id: 64cb232565
2021-04-15 19:41:10 +00:00
Arthur Lu a367e7254b added compiled binaries with no file endings
to gitignore


Former-commit-id: 9fb5ba7cc4
2021-04-13 04:05:46 +00:00
Arthur Lu 78f737d45f removed compiled binaries
added compiled binaries in /dist/ to gitignore


Former-commit-id: 11d3b49d82
2021-04-13 04:03:07 +00:00
Arthur Lu 651ae0c2db removed matplotlib import
removed plotting pit analysis
fixed warning supression for win exe
superscript v 0.8.6


Former-commit-id: 1b01ede161
2021-04-12 15:13:54 -07:00
Arthur Lu 2619f9a729 created batch script for windows compilation
Former-commit-id: 241f0a62ed
2021-04-12 14:39:00 -07:00
Arthur Lu 08292d5dc8 better fix for devcontainer.json
Former-commit-id: eb5d89ea35
2021-04-12 06:30:21 +00:00
Arthur Lu 75dde2171c quick patch for devcontainer.json
Former-commit-id: 1252865ced
2021-04-12 06:27:50 +00:00
Arthur Lu 014570930a superscript v 0.8.5
Former-commit-id: 4de011ef45
2021-04-10 06:08:18 +00:00
Arthur Lu 7abfb2d90a superscript v 0.8.4
Former-commit-id: 5ea2297017
2021-04-09 23:45:16 +00:00
Arthur Lu 8f79be68d4 superscript v 0.8.3
Former-commit-id: 7d85a18b4b
2021-04-03 20:47:45 +00:00
Arthur Lu 5a454e0e39 built and verified threading fixes
Former-commit-id: 06d0df00ee
2021-04-02 22:04:06 +00:00
Arthur Lu e6e0351288 fixed .gitignore
added build-CLI script
fixed threading in superscript


Former-commit-id: 1fa36e8694
2021-04-02 21:58:35 +00:00
Arthur Lu 70afd23f2c deleted config.json
changed superscript config lookup to relative path
added additional requirements to requirements.txt
added build spec file for superscript
2021-04-02 21:35:05 +00:00
Arthur Lu 8ede63ed04 fixed spelling in default config,
added config to git ignore
2021-04-02 01:28:25 +00:00
Arthur LuandGitHub d093cc2423 Merge branch 'master' into superscript-main 2021-04-01 11:34:44 -07:00
Arthur Lu b10bb7151f added:
.devcontainer
.github
CONTRIBUTING
MAINTAINERS
LICENSE
README
SECURITY
moved fiels into correct structure
deleted unessasary workflows
2021-04-01 18:31:41 +00:00
Arthur Lu b54ae2789c removed keys 2021-04-01 09:14:27 +00:00
Arthur LuandGitHub c33e75bec6 Merge branch 'superscriptGUI' into master-staged 2021-04-01 01:02:58 -07:00
Arthur LuandGitHub 5cbff90122 Merge pull request #65 from titanscouting/docker-fixes
Merge fixes from docker-fixes to GUI dev
2021-04-01 00:58:59 -07:00
Arthur Lu a084e4a74c removed GUI changes
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-01-31 01:52:27 +00:00
Arthur LuandGitHub 6762a1df4d Merge branch 'unit-tests' into docker-fixes 2020-11-04 18:45:09 -08:00
ltcptgeneral 4dd9786c04 migrated to ubuntu
Signed-off-by: ltcptgeneral <learthurgo@gmail.com>
2020-11-02 16:12:13 -08:00
Arthur Lu 8772ef38e3 added Kivy to requirements.txt
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-10-15 23:55:41 +00:00
Arthur Lu e3b4625ba2 added tra-analysis to data-analysis requirements
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-09-24 13:14:13 +00:00
Arthur Lu 5945db48f1 superscript.py v 0.8.2
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-09-26 20:57:39 +00:00
Arthur Lu 5b89825f0b superscript.py v 0.8.1
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-09-21 07:38:18 +00:00
Arthur Lu 71adc97277 added max-threads key in config
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-09-21 07:21:59 +00:00
Arthur Lu e6049502e9 superscript.py v 0.8.0
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-09-21 05:59:15 +00:00
Arthur Lu 6d7b48dca0 depreciated nonfunctional scripts in data-analysis
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-09-20 00:47:33 +00:00
Arthur Lu 53f204313d superscript.py v 0.7.0
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-09-20 00:45:38 +00:00
Arthur Lu 31e8a56d78 added depreciated config files to gitignore
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-09-16 21:24:50 +00:00
Arthur Lu cd9ff8224f readded old config files
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-08-10 23:32:50 +00:00
Arthur Lu 17a3165bf0 fixed analysis reference in superscript_old
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-08-10 23:20:43 +00:00
Arthur LuandGitHub 434b85cb5a Merge branch 'master' into tra-service 2020-08-10 16:11:38 -05:00
Arthur Lu 93e762c2dd made changes described in Issue#32
changed setup.py to also reflect versioning changes

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-07-30 19:05:07 +00:00
Arthur LuandGitHub 231a1a4a72 Merge pull request #31 from titanscout2022/master
merge changes from master into tra-service
2020-07-18 23:25:55 -05:00
Arthur Lu 2132533acd readded old superscript.py (v 0.0.5.002)
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-07-11 21:21:56 +00:00
Arthur Lu b7827ae493 analysis v 1.2.2.000
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-07-05 05:30:48 +00:00
Arthur Lu d39a4de079 readded tra.py as a fallback option
made changes to tra-cli.py

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-06-10 23:15:34 +00:00
Arthur Lu b33723d260 fixed more bugs with tra-cli.py
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-06-10 21:47:54 +00:00
Arthur Lu 960b1ce749 fixed bugs with tra-cli.py
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-06-10 21:32:43 +00:00
Arthur Lu d051cbd775 started on tra-cli.py
modified tasks.py to work properly

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-06-10 20:23:53 +00:00
Arthur Lu 5d01d54852 moved core functions in tasks.py to class Tasker
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-06-10 18:19:58 +00:00
Arthur Lu c08ad60100 renamed tra;py to tasks.py
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-06-10 17:46:40 +00:00
Arthur Lu defa06a6ac added help message to status command
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-05-26 01:34:47 +00:00
Arthur Lu f58ec851e2 populated tra.py to be a CLI application
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-05-25 22:17:08 +00:00
Arthur Lu 46ecc7e635 fixed naming in tra.py
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-05-23 22:51:58 -05:00
Arthur Lu 5fc492f43f another bug fix
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-05-23 22:49:38 -05:00
Arthur Lu dac46bf95d quick bug fix to tra.py
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-05-23 22:48:50 -05:00
Arthur Lu 7f689389d1 added test.py to .gitignore
prepared tra.py for threading implement

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-05-23 19:43:59 -05:00
Arthur LuandGitHub 5aae889fd7 Merge service-dev changes with master (#24)
* added config.json
removed old config files

Signed-off-by: Arthur <learthurgo@gmail.com>

* superscript.py v 0.0.6.000

Signed-off-by: Arthur <learthurgo@gmail.com>

* changed data.py

Signed-off-by: Arthur <learthurgo@gmail.com>

* changes to config.json

Signed-off-by: Arthur <learthurgo@gmail.com>

* removed cells from visualize_pit.py

Signed-off-by: Arthur <learthurgo@gmail.com>

* more changes to visualize_pit.py

Signed-off-by: Arthur <learthurgo@gmail.com>

* added analysis-master/metrics/__pycache__ to git ignore
moved pit configs in config.json to the borrom
superscript.py v 0.0.6.001

Signed-off-by: Arthur <learthurgo@gmail.com>

* removed old database key

Signed-off-by: Arthur <learthurgo@gmail.com>

* adjusted config files

Signed-off-by: Arthur <learthurgo@gmail.com>

* Delete config-pop.json

* fixed .gitignore

Signed-off-by: Arthur <learthurgo@gmail.com>

* analysis.py 1.2.1.003
added team kv pair to config.json

Signed-off-by: Arthur <learthurgo@gmail.com>

* superscript.py v 0.0.6.002

Signed-off-by: Arthur <learthurgo@gmail.com>

* finished app.py API
made minute changes to parentheses use in various packages

Signed-off-by: Arthur Lu <learthurgo@gmail.com>

* bug fixes in app.py

Signed-off-by: Arthur Lu <learthurgo@gmail.com>

* bug fixes in app.py

Signed-off-by: Arthur Lu <learthurgo@gmail.com>

* made changes to .gitignore

Signed-off-by: Arthur Lu <learthurgo@gmail.com>

* made changes to .gitignore

Signed-off-by: Arthur Lu <learthurgo@gmail.com>

* deleted a __pycache__ folder from metrics

Signed-off-by: Arthur Lu <learthurgo@gmail.com>

* more changes to .gitignore

Signed-off-by: Arthur Lu <learthurgo@gmail.com>

* additions to app.py

Signed-off-by: Arthur Lu <learthurgo@gmail.com>

* renamed app.py to api.py

Signed-off-by: Arthur Lu <learthurgo@gmail.com>

* removed extranneous files

Signed-off-by: Arthur Lu <learthurgo@gmail.com>

* renamed api.py to tra.py
removed rest api calls from tra.py

* renamed api.py to tra.py
removed rest api calls from tra.py

Signed-off-by: Arthur Lu <learthurgo@gmail.com>

* removed flask import from tra.py

Signed-off-by: Arthur Lu <learthurgo@gmail.com>

* changes to devcontainer.json

Signed-off-by: Arthur Lu <learthurgo@gmail.com>

* fixed unit tests to be correct
removed some tests regressions because of potential function overflow
removed trueskill unit test because of slight deviation chance

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-05-20 08:52:38 -05:00
Arthur Lu fb64a23e6a finally fixed issues
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-05-18 16:12:22 -05:00
Arthur Lu 6204e2fccf changes
superscript testing still refuses to collect any tests

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-05-18 16:07:02 -05:00
Arthur Lu 6001a7d35d still not working
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-05-18 16:01:02 -05:00
Arthur Lu 6dbbbc4eb5 removed flake8 import from unit tests
fixed superscript unit tests

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-05-18 15:58:17 -05:00
Arthur Lu a7058e0b52 excluded imports
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-05-18 15:49:52 -05:00
Arthur Lu ce5b52d49c more fixes
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-05-18 15:44:39 -05:00
Arthur Lu 5a7430affa Merge branch 'CI-tools' of https://github.com/titanscout2022/red-alliance-analysis into CI-tools
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-05-18 15:44:20 -05:00
Arthur Lu 2122a9c8e9 also ignored regression.py
added temporary unit test for superscript.py

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-05-18 15:43:53 -05:00
Arthur Lu edfbe9b646 also ignored regression.py
added temporary unit test for superscript.py

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-05-18 15:43:36 -05:00
Arthur Lu c2f28c2c4e added items to .gitignore
renamed pythonpackage.yml to ut-analysis.yml
populated ut-analysis.yml
fixed spelling
added ut-superscript.py

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2020-05-16 20:04:31 -05:00