Home Explore Blog CI



11bcd4263-linux

result.json

total: 31, pass: 27, fail: 4

fix `ls-chunks`

It used to mix the query results from files and chunks. If a chunk and a
file it belongs to have the same uid prefix, the chunk could appear
twice.

Now it only shows chunks if the results contain both chunks and files.

TOC

  1. recover  
  2. clone  
  3. clone2  
  4. cli  
  5. ls  
  6. meta  
  7. ii  
  8. images  
  9. subdir  
  10. tfidf  
  11. merge  
  12. migrate  

Cases

cargo_tests
 

elapsed time: 1,434,978 ms

history

add_and_rm
 

elapsed time: 69,977 ms

history

recover
 

elapsed time: 8,569 ms

history

clone
 

elapsed time: 13,743 ms

Error

Command '['cargo', 'run', '--release', '--', 'clone', 'http://127.0.0.1/test-user/repo1']' returned non-zero exit status 1.
Traceback (most recent call last):
  File "/home/ubuntu/Documents/ci/ragit/tests/tests.py", line 332, in <module>
    test()
  File "/home/ubuntu/Documents/ci/ragit/tests/clone.py", line 50, in clone
    cargo_run(["clone", "http://127.0.0.1/test-user/repo1"])
  File "/home/ubuntu/Documents/ci/ragit/tests/utils.py", line 61, in cargo_run
    result = subprocess.run(args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cargo', 'run', '--release', '--', 'clone', 'http://127.0.0.1/test-user/repo1']' returned non-zero exit status 1.

history

clone2
 

elapsed time: 380,160 ms

history

cli
 

elapsed time: 7,404 ms

history

many_chunks
 

elapsed time: 278,415 ms

history

ls
 

elapsed time: 182,152 ms

history

meta
 

elapsed time: 5,470 ms

history

ii
 

elapsed time: 45,964 ms

history

cat_file
 

elapsed time: 18,246 ms

history

images
 

elapsed time: 6,152 ms

history

markdown_reader
 

elapsed time: 11,039 ms

history

csv_reader
 

elapsed time: 6,010 ms

history

subdir
 

elapsed time: 16,965 ms

history

tfidf
 

elapsed time: 19,970 ms

history

merge
 

elapsed time: 35,932 ms

history

external_bases
 

elapsed time: 69,467 ms

history

end_to_end dummy
 

elapsed time: 23,447 ms

Error

The build should have timed out
Traceback (most recent call last):
  File "/home/ubuntu/Documents/ci/ragit/tests/tests.py", line 332, in <module>
    test()
  File "/home/ubuntu/Documents/ci/ragit/tests/tests.py", line 288, in <lambda>
    ("end_to_end dummy", lambda: end_to_end(test_model="dummy")),
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/Documents/ci/ragit/tests/end_to_end.py", line 78, in end_to_end
    raise Exception("The build should have timed out")
Exception: The build should have timed out

history

end_to_end gpt-4o-mini
 

elapsed time: 84,162 ms

history

prompts dummy
 

elapsed time: 9,315 ms

history

prompts gpt-4o-mini
 

elapsed time: 81,185 ms

history

prompts claude-3.5-sonnet
 

elapsed time: 98,420 ms

history

empty dummy
 

elapsed time: 4,333 ms

history

empty gpt-4o-mini
 

elapsed time: 5,633 ms

history

images2 gpt-4o-mini
 

elapsed time: 15,566 ms

history

images2 claude-3.5-sonnet
 

elapsed time: 13,148 ms

history

ragit_api llama3.2-11b-groq
 

elapsed time: 8,944 ms

history

ragit_api command-r
 

elapsed time: 432 ms

Error

Command '['cargo', 'run', '--release', '--', '--model', 'command-r', '--input', 'hello_world.pdl']' returned non-zero exit status 101.
Traceback (most recent call last):
  File "/home/ubuntu/Documents/ci/ragit/tests/tests.py", line 332, in <module>
    test()
  File "/home/ubuntu/Documents/ci/ragit/tests/tests.py", line 302, in <lambda>
    ("ragit_api command-r", lambda: ragit_api(test_model="command-r")),
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/Documents/ci/ragit/tests/ragit_api.py", line 9, in ragit_api
    subprocess.run(["cargo", "run", "--release", '--', '--model', test_model, '--input', 'hello_world.pdl'], check=True)
  File "/usr/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cargo', 'run', '--release', '--', '--model', 'command-r', '--input', 'hello_world.pdl']' returned non-zero exit status 101.

history

ragit_api phi-3-14b-ollama
 

elapsed time: 326 ms

Error

Command '['cargo', 'run', '--release', '--', '--model', 'phi-3-14b-ollama', '--input', 'hello_world.pdl']' returned non-zero exit status 101.
Traceback (most recent call last):
  File "/home/ubuntu/Documents/ci/ragit/tests/tests.py", line 332, in <module>
    test()
  File "/home/ubuntu/Documents/ci/ragit/tests/tests.py", line 303, in <lambda>
    ("ragit_api phi-3-14b-ollama", lambda: ragit_api(test_model="phi-3-14b-ollama")),
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/Documents/ci/ragit/tests/ragit_api.py", line 9, in ragit_api
    subprocess.run(["cargo", "run", "--release", '--', '--model', test_model, '--input', 'hello_world.pdl'], check=True)
  File "/usr/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cargo', 'run', '--release', '--', '--model', 'phi-3-14b-ollama', '--input', 'hello_world.pdl']' returned non-zero exit status 101.

history

migrate
 

elapsed time: 500,696 ms

history


<< ea4dd6340-linux
bbc20ccd9-linux >>