mirror of
				https://github.com/astral-sh/ruff.git
				synced 2025-11-04 13:39:07 +00:00 
			
		
		
		
	This is still early days, but I hope the framework introduced here makes it very easy to add new truth data. Truth data should be seen as a form of regression test for non-ideal ranking of completion suggestions. I think it would help to read `crates/ty_completion_eval/README.md` first to get an idea of what you're reviewing.
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			330 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			330 B
		
	
	
	
		
			Python
		
	
	
	
	
	
class Quux:
 | 
						|
    def __init__(self): pass
 | 
						|
    def lion(self): pass
 | 
						|
    def tiger(self): pass
 | 
						|
    def bear(self): pass
 | 
						|
    def chicken(self): pass
 | 
						|
    def turkey(self): pass
 | 
						|
    def wasp(self): pass
 | 
						|
    def rabbit(self): pass
 | 
						|
    def squirrel(self): pass
 | 
						|
 | 
						|
quux = Quux()
 | 
						|
quux.tur<CURSOR: turkey>
 | 
						|
 | 
						|
quux = Quux()
 | 
						|
quux.be<CURSOR: bear>
 |