Shane Smiskol
8fe9bc7a69
SegmentRange: simplify slice ( #31455 )
...
* simplify slicing
* rm
1 year ago
Shane Smiskol
c4f7991bb6
SegmentRange: test API call ( #31456 )
...
* test
* better
* better
1 year ago
Shane Smiskol
8276371009
SegmentRange: type annotations ( #31453 )
...
* type annotate SegmentRange
* proper formatting
* oops
* numpy?
format test too
* draft
* fixed
* clean up
* rm
* more
* clean up
* clean up
* rm
* not here
* revert
1 year ago
Shane Smiskol
0846175f44
tools/lib: format code ( #31454 )
...
easier to read. pylint used to catch all this stuff, but it's mostly missing in ruff :'(
1 year ago
Justin Newberry
664a3c86ba
test_caching: use with_http_server ( #31393 )
...
use http server
1 year ago
Justin Newberry
f873224235
LogReader: test auto mode fallback ( #31390 )
...
* test auto mode
* better
* slow
* better
1 year ago
Justin Newberry
b17f24d68e
test_logreader: test run_across_segments ( #31305 )
...
* more logreader tests
* not in ci for now
* enable cache
1 year ago
Justin Newberry
c782fbc34e
LogReader: add ```.filter``` ( #31222 )
...
add filter
1 year ago
Justin Newberry
dd0c474e6c
LogReader: replace get_first_message with LogReader.first ( #31146 )
...
* first
* str
1 year ago
Justin Newberry
88dcaa51c4
LogReader: no redownloading on multiple iterations ( #31141 )
...
* no redownload
* sort
1 year ago
Justin Newberry
d574013d7b
LogReader: don't use route for max_segment ( #31129 )
...
* dont use route
* fix and cleanup
1 year ago
Justin Newberry
35e1e8ecd2
SegmentRange: __str__ get preferred format ( #31126 )
...
get canonical
1 year ago
Justin Newberry
caa9153974
CommaCarSegments: public database of segments for each platform ( #31114 )
...
* comma car segments
* comma car segments for test_models
* oneliner
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* better name
* not used here
* sort
* remove print
* better comment
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
1 year ago
Justin Newberry
2967cada71
auto_source: optimize api calls and use head to determine if file exists ( #31025 )
...
* fast
* catch all
* source
* fix file_exists
* remove duplicate reset
* test multiple loops
* iterations
* cleanup imports
1 year ago
Justin Newberry
0739d5d7b2
LogReader: support lists of identifiers ( #31020 )
...
* support lists of logs
* mark as slow instead
1 year ago
Adeeb Shihadeh
e17e66180c
CI: speedup unit test job ( #30995 )
...
* start
* mv to buildjet
* fix
1 year ago
Justin Newberry
3d73512c07
rename segmentrangereader to logreader ( #30981 )
...
* Replace multilogiterator
* replace logreader
* update readme
* fix from_Bytes
* new section
* reset before iter
* selector
* fix internal
* whitespace
1 year ago
Justin Newberry
eb09294fc2
segmentrangereader: support direct parsing ( #30973 )
...
* use correct source
* revert
* cleanup imports
* clean
* direct parsing
* rename
* move up
* fixes
* fix that
* better error message
1 year ago
Justin Newberry
fb994ae782
segmentrangereader: support more sources ( #30970 )
...
* support more sources
* remove this
1 year ago
Justin Newberry
be814ed447
SegmentRangeReader: log type selector ( #30960 )
...
* log type selector
* test this too
* and this
* invalid selector
* use strenum
* don't hardcode size
* oneline
1 year ago
Justin Newberry
0d126e1e9e
SegmentRangeReader: new format for reading multiple segments ( #30940 )
...
* segment range reader
* rename that
* revert that
* cleanup
* revert this for now
* revert this for now
* Fix + test
* rm that
* rm that
* use for auto_fingerprint
* simpler
* for notebook too
* match numpy indexing
* just use numpy directly
* remove that
* spacing
* spacing
* use qlog for auto fingerprint
* add 'read mode'
* pass in read mode
* add test for modes
* numpy indexing
* fix that case
* more examples
* fix the notebook
* cleanup the notebook
* cleaner
* fix those
1 year ago
Justin Newberry
fba521ecc6
url_file: fix non-200 files being cached ( #30886 )
...
* fix + test
* fix unclosed
* easier to read
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* fix that
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
1 year ago
Justin Newberry
fa51bbc236
URLFile: don't cache non-existent file's lengths ( #30071 )
...
* urlfile empty
* simplify with mock
* better test name
* PR cleanup
* cleanup the length file
2 years ago
Justin Newberry
73eda51a11
System: use paths for download folders too ( #29818 )
...
* use paths for download folders too
* trailing slash
* reset that
2 years ago
Justin Newberry
4e69937d0d
Precommit: ensure executable bit is set ( #29784 )
...
* precommit ensure executable
* exclude tinygrad
* bump submodules
* exclude tinygrad globally
2 years ago
Justin Newberry
405d09714c
Tests: expand temporary directory helpers for more directories ( #29735 )
...
* create helpers for testing
* document it
* fix other tests
2 years ago
Justin Newberry
5dc7028f91
Tests: logmessaged reduce global state ( #29680 )
...
* reduce global state
* use a decorator here too
* use that one
* use base imports
* ipchandler in setup
* move to common dir
* move to helpers
* wip
* fix the decorator
2 years ago
Justin Newberry
dd9b0231c6
Tests: test_caching reduce global state ( #29681 )
2 years ago
Adeeb Shihadeh
a9626f95b6
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b991
.
* fix pm test
2 years ago
Shane Smiskol
acc732efbb
replay: new demo route ( #29215 )
...
* new demo route
* replace other references (except gps test)
* Apply suggestions from code review
* it's 13 segments
2 years ago
Adeeb Shihadeh
c6b749fb96
add pyside2 package ( #25602 )
3 years ago
Adeeb Shihadeh
6590fb2b93
pre-commit: add codespell ( #25571 )
3 years ago
ntegan1
07f7570840
Tools: allow using plotjuggler on local data ( #24473 )
...
local juggler
3 years ago
Adeeb Shihadeh
8af20af66d
pylint: enforce indentation (W0311) ( #24039 )
...
* pylint: enforce indentation (W0311)
* few more
3 years ago
George Hotz
3a6c8d4678
Fix test relying on SAFETY.md being in the root
4 years ago
Adeeb Shihadeh
59d7c5e64a
move to github container registry + CI speedup ( #19621 )
4 years ago
grekiki
05b64257df
FileReader: cache files locally ( #2170 )
...
* framework for updates
* File caching
* update .gitignore
* update .gitignore
* Store in home tmp directory
* fix bugs in old code, add tests
* add test
* revert bug
* Fixed some bugs, more testing
* doing some style fixes
* Update caching with lenghts
* doing some style fixes
* doing some style fixes
* doing some style fixes
* subrepositories
* try to fix the tests
* change submodules back
* doing some style fixes
* if we don't cache, we don't cache length either
* fix curls
* make sure tests run in ci
* Cleanup tests
* Use int for cache flag
* fix linter
Co-authored-by: Willem Melching <willem.melching@gmail.com>
5 years ago
Adeeb Shihadeh
f3dcf861c7
enable flake8 E303: too many blank lines
5 years ago
Andy
c4af05868b
Tools: Storage API ( #1161 )
...
* filereader
* support URLs in filereader, logreader
* unused
* use route files api; add auth file
* Implement browser auth
* Update readme, fix up cache paths
* Add tests, clear token on 401
* Factor out URLFile
* space
5 years ago
George Hotz
29ac3da7b8
merge in tools
5 years ago