8adfc992e3 
								
							
								 
							
						 
						
							
							
								
								fix pytest tests ( #32867 )  
							
							... 
							
							
 
							
							* fix tests
* no dot
old-commit-hash: 6f10b8a209 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								86b6103657 
								
							
								 
							
						 
						
							
							
								
								test_*.py files are no longer executable ( #32610 )  
							
							... 
							
							
 
							
							* test_*.py files are no longer executable
* cleanup empty lines
* update precommit
* fixme
* enable
* build
old-commit-hash: c59887c810 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								639a634f7c 
								
							
								 
							
						 
						
							
							
								
								Unittest to pytest ( #32366 )  
							
							... 
							
							
 
							
							* add pytest-asyncio
* switch common
* switch selfdrive
* switch system
* switch tools
* small fixes
* fix setUp and valgrind pytest
* switch to setup
* fix random
* switch mock
* switch test_lateral_limits
* revert test_ui
* fix poetry.lock
* add unittest to banned-api
* add inline ignores to remaining unittest imports
* revert test_models
* revert check_can_parser_performance
* one more skip
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dd9d5d4528 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								b899592b18 
								
							
								 
							
						 
						
							
							
								
								cars: platform enums -> prepend brand name ( #31927 )  
							
							... 
							
							
 
							
							* with brand name
* migrate
* Fix
* fixes
* more
* passes
* fix
* fix the doc
* collects
* these too
* more stuff
* body exception :/
* more
* hardcode i guess
* update ref
* toyota
* more toyota
* and here
* final!
* fix notebooks and ccs
* move this here
old-commit-hash: b0eb3ba4f4 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								77d6d1a8f1 
								
							
								 
							
						 
						
							
							
								
								PlatformConfig: automatically get platform_str from the enum name ( #31868 )  
							
							... 
							
							
 
							
							* get platform_str from the enum name
* fix tests
* add migration table
* remove impossible todo
* Add link to PR in MIGRATION table
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Remove useless brand name comments and rename RAM_1500 to RAM_1500_5TH_GEN
* rename RAM_HD to RAM_HD_5TH_GEN
* rename references to RAM_HD and RAM_1500
* change "mock" to "MOCK" and rename torque data of Nissan Leaf 2018 IC
* remove MOCK from fingerprints.py
* change hard-coded car model in test_can_fingerprint.py/test_timing
* migration
* update ref
* space
* prius
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: justin newberry <justin@comma.ai>
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
old-commit-hash: 489528dcae 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								bc7664aa2b 
								
							
								 
							
						 
						
							
							
								
								LogReader: fix sort by time and union types ( #31565 )  
							
							... 
							
							
 
							
							* fix :(
* test_sort_by_time
* this isn't required
* not slow, and just compare sorted
* messy
* works
* clean up
* clean up
* not here
* clean up
* clean up
* clean up
* makes network call
---------
Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: e964c5944d 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								6f9f45182b 
								
							
								 
							
						 
						
							
							
								
								disable commaCarSegments tests ( #31632 )  
							
							... 
							
							
 
							
							disable this test too
old-commit-hash: f4a7e8eae6 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								c799790b9b 
								
							
								 
							
						 
						
							
							
								
								move with_http_server to selfdrive/test/helpers ( #31597 )  
							
							... 
							
							
 
							
							* move
* fix
old-commit-hash: 9d1cafd0fc 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								9bd90112d0 
								
							
								 
							
						 
						
							
							
								
								use pyupgrade to update to new typing syntax ( #31580 )  
							
							... 
							
							
 
							
							* add pyupgrade hook
* run pyupgrade (pre-commit run -a)
* ruff --fix
* Revert "add pyupgrade hook"
This reverts commit 56ec18bb6b995250ae49 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								b4479b4155 
								
							
								 
							
						 
						
							
							
								
								URLFile: default value test ( #31544 )  
							
							... 
							
							
 
							
							* URLFile: default value test
* cleanup
* fix env
* improvements
* fix GET response
* only delete cache dir if it exists
* env pop
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 43f64ec500 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								aeb904d5da 
								
							
								 
							
						 
						
							
							
								
								test_fw_query_on_routes: get first qlog ( #31496 )  
							
							... 
							
							
 
							
							* fast
* this isn't internal
* see
old-commit-hash: c5f1f4c676 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								8dbdd4736c 
								
							
								 
							
						 
						
							
							
								
								test_logreader: test internal scenarios ( #31484 )  
							
							... 
							
							
 
							
							* test source scenario
* test source scenario
* fix
old-commit-hash: 16d1339553 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								42f292b3ce 
								
							
								 
							
						 
						
							
							
								
								test_logreader: test interactive mode + fix typo in AUTO_INTERACTIVE ( #31481 )  
							
							... 
							
							
 
							
							* fix spelling
* test interactive
* remove that
* test taht
* move that
old-commit-hash: 8aee0d2af2 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								38fc6f9dd6 
								
							
								 
							
						 
						
							
							
								
								LogReader: retain old behavior for direct parsing of files ( #31419 )  
							
							... 
							
							
 
							
							* maintain exception
* test that head is not called
* annoying mock
* test with cache
old-commit-hash: 1436f576df 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								9d941a9682 
								
							
								 
							
						 
						
							
							
								
								SegmentRange: more explicit slice matching ( #31451 )  
							
							... 
							
							
 
							
							* more explicit
* fix it
* use non capturing group
* only needed for regex101
* make test_logreader.py executable
* fix
* stash
* passes test
* none
* type anotate
* test
* fix
* nice for syntax highlighting
old-commit-hash: 796671fe1a 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								5c16ae62d8 
								
							
								 
							
						 
						
							
							
								
								SegmentRange: simplify slice ( #31455 )  
							
							... 
							
							
 
							
							* simplify slicing
* rm
old-commit-hash: 8fe9bc7a69 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								ae65a01afd 
								
							
								 
							
						 
						
							
							
								
								SegmentRange: test API call ( #31456 )  
							
							... 
							
							
 
							
							* test
* better
* better
old-commit-hash: c4f7991bb6 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								7afdb2393d 
								
							
								 
							
						 
						
							
							
								
								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
old-commit-hash: 8276371009 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								4c7ad7f3b7 
								
							
								 
							
						 
						
							
							
								
								tools/lib: format code ( #31454 )  
							
							... 
							
							
 
							
							easier to read. pylint used to catch all this stuff, but it's mostly missing in ruff :'(
old-commit-hash: 0846175f44 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								02aea8b757 
								
							
								 
							
						 
						
							
							
								
								test_caching: use with_http_server ( #31393 )  
							
							... 
							
							
 
							
							use http server
old-commit-hash: 664a3c86ba 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								bcd22c1683 
								
							
								 
							
						 
						
							
							
								
								LogReader: test auto mode fallback ( #31390 )  
							
							... 
							
							
 
							
							* test auto mode
* better
* slow
* better
old-commit-hash: f873224235 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								3f934381fe 
								
							
								 
							
						 
						
							
							
								
								test_logreader: test run_across_segments ( #31305 )  
							
							... 
							
							
 
							
							* more logreader tests
* not in ci for now
* enable cache
old-commit-hash: b17f24d68e 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								16e0907129 
								
							
								 
							
						 
						
							
							
								
								LogReader: add ```.filter``` ( #31222 )  
							
							... 
							
							
 
							
							add filter
old-commit-hash: c782fbc34e 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								7d76ac8eba 
								
							
								 
							
						 
						
							
							
								
								LogReader: replace get_first_message with LogReader.first ( #31146 )  
							
							... 
							
							
 
							
							* first
* str
old-commit-hash: dd0c474e6c 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								67bb21219c 
								
							
								 
							
						 
						
							
							
								
								LogReader: no redownloading on multiple iterations ( #31141 )  
							
							... 
							
							
 
							
							* no redownload
* sort
old-commit-hash: 88dcaa51c4 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								8768be968b 
								
							
								 
							
						 
						
							
							
								
								LogReader: don't use route for max_segment ( #31129 )  
							
							... 
							
							
 
							
							* dont use route
* fix and cleanup
old-commit-hash: d574013d7b 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								0ae82f96c6 
								
							
								 
							
						 
						
							
							
								
								SegmentRange: __str__ get preferred format ( #31126 )  
							
							... 
							
							
 
							
							get canonical
old-commit-hash: 35e1e8ecd2 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								f447062b66 
								
							
								 
							
						 
						
							
							
								
								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>
old-commit-hash: caa9153974 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								a9676e7086 
								
							
								 
							
						 
						
							
							
								
								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
old-commit-hash: 2967cada71 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								35dcd7ccd8 
								
							
								 
							
						 
						
							
							
								
								LogReader: support lists of identifiers ( #31020 )  
							
							... 
							
							
 
							
							* support lists of logs
* mark as slow instead
old-commit-hash: 0739d5d7b2 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								96e9a7d3ce 
								
							
								 
							
						 
						
							
							
								
								CI: speedup unit test job ( #30995 )  
							
							... 
							
							
 
							
							* start
* mv to buildjet
* fix
old-commit-hash: e17e66180c 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								c8cc30112d 
								
							
								 
							
						 
						
							
							
								
								rename segmentrangereader to logreader ( #30981 )  
							
							... 
							
							
 
							
							* Replace multilogiterator
* replace logreader
* update readme
* fix from_Bytes
* new section
* reset before iter
* selector
* fix internal
* whitespace
old-commit-hash: 3d73512c07 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								1b65d5cd85 
								
							
								 
							
						 
						
							
							
								
								segmentrangereader: support direct parsing ( #30973 )  
							
							... 
							
							
 
							
							* use correct source
* revert
* cleanup imports
* clean
* direct parsing
* rename
* move up
* fixes
* fix that
* better error message
old-commit-hash: eb09294fc2 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								11449845e7 
								
							
								 
							
						 
						
							
							
								
								segmentrangereader: support more sources ( #30970 )  
							
							... 
							
							
 
							
							* support more sources
* remove this
old-commit-hash: fb994ae782 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								3b86243f1f 
								
							
								 
							
						 
						
							
							
								
								SegmentRangeReader: log type selector ( #30960 )  
							
							... 
							
							
 
							
							* log type selector
* test this too
* and this
* invalid selector
* use strenum
* don't hardcode size
* oneline
old-commit-hash: be814ed447 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								1f434b2714 
								
							
								 
							
						 
						
							
							
								
								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
old-commit-hash: 0d126e1e9e 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								7aecd2f91d 
								
							
								 
							
						 
						
							
							
								
								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>
old-commit-hash: fba521ecc6 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								a9153302a3 
								
							
								 
							
						 
						
							
							
								
								URLFile: don't cache non-existent file's lengths ( #30071 )  
							
							... 
							
							
 
							
							* urlfile empty
* simplify with mock
* better test name
* PR cleanup
* cleanup the length file
old-commit-hash: fa51bbc236 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								dc6078a6c3 
								
							
								 
							
						 
						
							
							
								
								System: use paths for download folders too ( #29818 )  
							
							... 
							
							
 
							
							* use paths for download folders too
* trailing slash
* reset that
old-commit-hash: 73eda51a11 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								3b91610c0b 
								
							
								 
							
						 
						
							
							
								
								Precommit: ensure executable bit is set ( #29784 )  
							
							... 
							
							
 
							
							* precommit ensure executable
* exclude tinygrad
* bump submodules
* exclude tinygrad globally
old-commit-hash: 4e69937d0d 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								1cc555c37b 
								
							
								 
							
						 
						
							
							
								
								Tests: expand temporary directory helpers for more directories ( #29735 )  
							
							... 
							
							
 
							
							* create helpers for testing
* document it
* fix other tests
old-commit-hash: 405d09714c 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								279bd020dc 
								
							
								 
							
						 
						
							
							
								
								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
old-commit-hash: 5dc7028f91 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								b08c5d7517 
								
							
								 
							
						 
						
							
							
								
								Tests: test_caching reduce global state ( #29681 )  
							
							... 
							
							
 
							
							old-commit-hash: dd9b0231c6 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								16ec56398c 
								
							
								 
							
						 
						
							
							
								
								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 db5e13b991a9626f95b6 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								d78ebfdc45 
								
							
								 
							
						 
						
							
							
								
								replay: new demo route ( #29215 )  
							
							... 
							
							
 
							
							* new demo route
* replace other references (except gps test)
* Apply suggestions from code review
* it's 13 segments
old-commit-hash: acc732efbb 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								0325a33752 
								
							
								 
							
						 
						
							
							
								
								add pyside2 package ( #25602 )  
							
							... 
							
							
 
							
							old-commit-hash: c6b749fb96 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								35ff65121e 
								
							
								 
							
						 
						
							
							
								
								pre-commit: add codespell ( #25571 )  
							
							... 
							
							
 
							
							old-commit-hash: 6590fb2b93 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								0a3fde5334 
								
							
								 
							
						 
						
							
							
								
								Tools: allow using plotjuggler on local data ( #24473 )  
							
							... 
							
							
 
							
							local juggler
old-commit-hash: 07f7570840 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								bd71c594a2 
								
							
								 
							
						 
						
							
							
								
								pylint: enforce indentation (W0311) ( #24039 )  
							
							... 
							
							
 
							
							* pylint: enforce indentation (W0311)
* few more
old-commit-hash: 8af20af66d 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a6c4c2768a 
								
							
								 
							
						 
						
							
							
								
								Fix test relying on SAFETY.md being in the root  
							
							... 
							
							
 
							
							old-commit-hash: 3a6c8d4678 
							
						 
						
							4 years ago