Package evaluation of RAGTools on Julia 1.13.0-DEV.974 (7bbb213719*) started at 2025-08-12T17:17:18.249 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 9.71s ################################################################################ # Installation # Installing RAGTools... Resolving package versions... Installed HTML_Entities ─ v1.0.2 Updating `~/.julia/environments/v1.13/Project.toml` [16ddad29] + RAGTools v0.5.0 Updating `~/.julia/environments/v1.13/Manifest.toml` [1520ce14] + AbstractTrees v0.4.5 [d1d4a3ce] + BitFlags v0.1.9 [944b1d66] + CodecZlib v0.7.8 [f0e56b4a] + ConcurrentUtilities v2.5.0 [124859b0] + DataDeps v0.7.13 [460bff9d] + ExceptionUnwrapping v0.1.11 [7693890a] + HTML_Entities v1.0.2 [cd3eb016] + HTTP v1.10.17 [692b3bcd] + JLLWrappers v1.7.1 [682c06a0] + JSON v0.21.4 [0f8b85d8] + JSON3 v1.14.3 [8ef0a80b] + Languages v0.4.6 [e6f89c97] + LoggingExtras v1.1.0 [739be429] + MbedTLS v1.1.9 ⌅ [e9f21f70] + OpenAI v0.9.1 [4d8831e6] + OpenSSL v1.5.0 [69de0a69] + Parsers v2.8.3 [aea7be01] + PrecompileTools v1.3.2 [21216c6a] + Preferences v1.5.0 [92933f4c] + ProgressMeter v1.10.4 ⌅ [670122d1] + PromptingTools v0.76.0 [16ddad29] + RAGTools v0.5.0 [189a3867] + Reexport v1.2.2 [05181044] + RelocatableFolders v1.0.1 [6c6a2e73] + Scratch v1.3.0 [777ac1f9] + SimpleBufferStream v1.2.0 [fb8f903a] + Snowball v0.1.1 [9700d1a9] + StrTables v1.0.1 [c1b9e933] + StreamCallbacks v0.6.2 [856f2bd8] + StructTypes v1.11.0 [3bb67fe8] + TranscodingStreams v0.11.3 [5c2747f8] + URIs v1.6.1 [796a5d58] + WordTokenizers v0.5.6 [c8ffd9c3] + MbedTLS_jll v2.28.6+2 [88f46535] + Snowball_jll v2.2.0+0 [0dad84c5] + ArgTools v1.1.2 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [8ba89e20] + Distributed v1.11.0 [f43a241f] + Downloads v1.7.0 [7b1f6079] + FileWatching v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [ac6e5ff7] + JuliaSyntaxHighlighting v1.12.0 [b27032c2] + LibCURL v0.6.4 [76f85450] + LibGit2 v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.13.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [a63ad114] + Mmap v1.11.0 [ca575930] + NetworkOptions v1.3.0 [44cfe95a] + Pkg v1.13.0 [de0858da] + Printf v1.11.0 [3fa0cd96] + REPL v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization v1.11.0 [6462fe0b] + Sockets v1.11.0 [2f01184e] + SparseArrays v1.13.0 [f489334b] + StyledStrings v1.11.0 [fa267f1f] + TOML v1.0.3 [a4e569a6] + Tar v1.10.0 [8dfed614] + Test v1.11.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.3.0+1 [deac9b47] + LibCURL_jll v8.15.0+1 [e37daf67] + LibGit2_jll v1.9.1+0 [29816b5a] + LibSSH2_jll v1.11.3+1 [14a3606d] + MozillaCACerts_jll v2025.7.15 [4536629a] + OpenBLAS_jll v0.3.29+0 [458c3c95] + OpenSSL_jll v3.5.2+0 [efcefdf7] + PCRE2_jll v10.45.0+0 [bea87d4a] + SuiteSparse_jll v7.10.1+0 [83775a58] + Zlib_jll v1.3.1+2 [3161d3a3] + Zstd_jll v1.5.7+1 [8e850b90] + libblastrampoline_jll v5.13.1+0 [8e850ede] + nghttp2_jll v1.65.0+0 [3f19e933] + p7zip_jll v17.5.0+2 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Building HTML_Entities → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/781d638b8892cd1a1e867f51863d8881c0a62834/build.log` Installation completed after 7.1s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 182.3s ################################################################################ # Testing # Testing RAGTools Status `/tmp/jl_9rzrHO/Project.toml` [1520ce14] AbstractTrees v0.4.5 [4c88cf16] Aqua v0.8.14 [cd3eb016] HTTP v1.10.17 [0f8b85d8] JSON3 v1.14.3 [92933f4c] ProgressMeter v1.10.4 ⌅ [670122d1] PromptingTools v0.76.0 [16ddad29] RAGTools v0.5.0 [fb8f903a] Snowball v0.1.1 [37e2e46d] LinearAlgebra v1.13.0 [9a3f8284] Random v1.11.0 [2f01184e] SparseArrays v1.13.0 [8dfed614] Test v1.11.0 [4ec0a83e] Unicode v1.11.0 Status `/tmp/jl_9rzrHO/Manifest.toml` [1520ce14] AbstractTrees v0.4.5 [4c88cf16] Aqua v0.8.14 [d1d4a3ce] BitFlags v0.1.9 [944b1d66] CodecZlib v0.7.8 [34da2185] Compat v4.18.0 [f0e56b4a] ConcurrentUtilities v2.5.0 [124859b0] DataDeps v0.7.13 [460bff9d] ExceptionUnwrapping v0.1.11 [7693890a] HTML_Entities v1.0.2 [cd3eb016] HTTP v1.10.17 [692b3bcd] JLLWrappers v1.7.1 [682c06a0] JSON v0.21.4 [0f8b85d8] JSON3 v1.14.3 [8ef0a80b] Languages v0.4.6 [e6f89c97] LoggingExtras v1.1.0 [739be429] MbedTLS v1.1.9 ⌅ [e9f21f70] OpenAI v0.9.1 [4d8831e6] OpenSSL v1.5.0 [69de0a69] Parsers v2.8.3 [aea7be01] PrecompileTools v1.3.2 [21216c6a] Preferences v1.5.0 [92933f4c] ProgressMeter v1.10.4 ⌅ [670122d1] PromptingTools v0.76.0 [16ddad29] RAGTools v0.5.0 [189a3867] Reexport v1.2.2 [05181044] RelocatableFolders v1.0.1 [6c6a2e73] Scratch v1.3.0 [777ac1f9] SimpleBufferStream v1.2.0 [fb8f903a] Snowball v0.1.1 [9700d1a9] StrTables v1.0.1 [c1b9e933] StreamCallbacks v0.6.2 [856f2bd8] StructTypes v1.11.0 [3bb67fe8] TranscodingStreams v0.11.3 [5c2747f8] URIs v1.6.1 [796a5d58] WordTokenizers v0.5.6 [c8ffd9c3] MbedTLS_jll v2.28.6+2 [88f46535] Snowball_jll v2.2.0+0 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [8ba89e20] Distributed v1.11.0 [f43a241f] Downloads v1.7.0 [7b1f6079] FileWatching v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0 [b27032c2] LibCURL v0.6.4 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.13.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.3.0 [44cfe95a] Pkg v1.13.0 [de0858da] Printf v1.11.0 [3fa0cd96] REPL v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.13.0 [f489334b] StyledStrings v1.11.0 [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.3.0+1 [deac9b47] LibCURL_jll v8.15.0+1 [e37daf67] LibGit2_jll v1.9.1+0 [29816b5a] LibSSH2_jll v1.11.3+1 [14a3606d] MozillaCACerts_jll v2025.7.15 [4536629a] OpenBLAS_jll v0.3.29+0 [458c3c95] OpenSSL_jll v3.5.2+0 [efcefdf7] PCRE2_jll v10.45.0+0 [bea87d4a] SuiteSparse_jll v7.10.1+0 [83775a58] Zlib_jll v1.3.1+2 [3161d3a3] Zstd_jll v1.5.7+1 [8e850b90] libblastrampoline_jll v5.13.1+0 [8e850ede] nghttp2_jll v1.65.0+0 [3f19e933] p7zip_jll v17.5.0+2 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... ┌ Warning: OPENAI_API_KEY variable not set! OpenAI models will not be available - set API key directly via `PromptingTools.OPENAI_API_KEY=`! └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:189 ┌ Warning: OPENAI_API_KEY variable not set! OpenAI models will not be available - set API key directly via `PromptingTools.OPENAI_API_KEY=`! └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:189 ┌ Warning: OPENAI_API_KEY variable not set! OpenAI models will not be available - set API key directly via `PromptingTools.OPENAI_API_KEY=`! └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:189 [ Info: Embedding 2 documents... [ Info: Done embedding. Total cost: $0.0 [ Info: Embedding 2 documents... [ Info: Truncate_dimension set to 0. Skipping truncation [ Info: Done embedding. Total cost: $0.0 [ Info: Embedding 2 documents... [ Info: Done embedding. Total cost: $0.0 [ Info: Embedding 2 documents... [ Info: Done embedding. Total cost: $0.0 [ Info: Done processing DocumentTermMatrix. [ Info: Done processing DocumentTermMatrix. [ Info: Done processing DocumentTermMatrix. [ Info: Done processing DocumentTermMatrix. [ Info: Done processing DocumentTermMatrix. [ Info: Done processing DocumentTermMatrix. [ Info: Done processing DocumentTermMatrix. [ Info: Extracting metadata from 1 documents... [ Info: Done extracting the tags. Total cost: $0.0 ┌ Warning: Model `mock-emb` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 ┌ Warning: Model `mock-meta` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 build_index: Error During Test at /home/pkgeval/.julia/packages/RAGTools/bZMsT/test/preparation.jl:285 Got exception outside of a @test ArgumentError: api_key cannot be empty Stacktrace: [1] auth_header @ ~/.julia/packages/OpenAI/eRtbq/src/OpenAI.jl:40 [inlined] [2] auth_header @ ~/.julia/packages/PromptingTools/XSraD/src/llm_openai_schema_defs.jl:19 [inlined] [3] _request(api::String, provider::PromptingTools.CustomProvider, api_key::String; method::String, query::Nothing, http_kwargs::@NamedTuple{retry_non_idempotent::Bool, retries::Int64, readtimeout::Int64}, streamcallback::Nothing, additional_headers::Vector{Pair{String, String}}, kwargs::@Kwargs{model::String, input::SubArray{SubString{String}, 1, Vector{SubString{String}}, Tuple{UnitRange{Int64}}, true}}) @ OpenAI ~/.julia/packages/OpenAI/eRtbq/src/OpenAI.jl:158 ┌ [4] _request │ @ ~/.julia/packages/OpenAI/eRtbq/src/OpenAI.jl:140 [inlined] ╰──── repeated 2 times [6] #openai_request#19 @ ~/.julia/packages/OpenAI/eRtbq/src/OpenAI.jl:219 [inlined] [7] openai_request @ ~/.julia/packages/OpenAI/eRtbq/src/OpenAI.jl:213 [inlined] [8] #create_embeddings#328 @ ~/.julia/packages/PromptingTools/XSraD/src/llm_openai_schema_defs.jl:470 [inlined] [9] create_embeddings @ ~/.julia/packages/PromptingTools/XSraD/src/llm_openai_schema_defs.jl:465 [inlined] [10] #create_embeddings#319 @ ~/.julia/packages/PromptingTools/XSraD/src/llm_openai_schema_defs.jl:342 [inlined] [11] create_embeddings @ ~/.julia/packages/PromptingTools/XSraD/src/llm_openai_schema_defs.jl:333 [inlined] [12] macro expansion @ ./timing.jl:461 [inlined] [13] aiembed(prompt_schema::PromptingTools.CustomOpenAISchema, doc_or_docs::SubArray{SubString{String}, 1, Vector{SubString{String}}, Tuple{UnitRange{Int64}}, true}, postprocess::typeof(normalize); verbose::Bool, api_key::String, model::String, http_kwargs::@NamedTuple{retry_non_idempotent::Bool, retries::Int64, readtimeout::Int64}, api_kwargs::@NamedTuple{url::String}, kwargs::@Kwargs{}) @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/llm_openai.jl:458 [14] kwcall(::@NamedTuple{model::String, verbose::Bool, api_kwargs::@NamedTuple{url::String}}, ::typeof(aiembed), prompt_schema::PromptingTools.CustomOpenAISchema, doc_or_docs::SubArray{SubString{String}, 1, Vector{SubString{String}}, Tuple{UnitRange{Int64}}, true}, postprocess::typeof(normalize)) @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/llm_openai.jl:445 [15] aiembed(doc_or_docs::SubArray{SubString{String}, 1, Vector{SubString{String}}, Tuple{UnitRange{Int64}}, true}, args::Function; model::String, kwargs::@Kwargs{verbose::Bool, api_kwargs::@NamedTuple{url::String}}) @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/llm_interface.jl:516 [16] aiembed @ ~/.julia/packages/PromptingTools/XSraD/src/llm_interface.jl:513 [inlined] [17] (::RAGTools.var"#138#139"{Bool, String, Base.Threads.Atomic{Float64}, @Kwargs{api_kwargs::@NamedTuple{url::String}}, ProgressMeter.Progress})(docs_chunk::SubArray{SubString{String}, 1, Vector{SubString{String}}, Tuple{UnitRange{Int64}}, true}) @ RAGTools ~/.julia/packages/RAGTools/bZMsT/src/preparation.jl:295 [18] (::Base.var"#952#953"{RAGTools.var"#138#139"{Bool, String, Base.Threads.Atomic{Float64}, @Kwargs{api_kwargs::@NamedTuple{url::String}}, ProgressMeter.Progress}})(r::Base.RefValue{Any}, args::Tuple{SubArray{SubString{String}, 1, Vector{SubString{String}}, Tuple{UnitRange{Int64}}, true}}) @ Base ./asyncmap.jl:96 [19] (::Base.var"#start_worker_task!##0#start_worker_task!##1"{Base.var"#952#953"{RAGTools.var"#138#139"{Bool, String, Base.Threads.Atomic{Float64}, @Kwargs{api_kwargs::@NamedTuple{url::String}}, ProgressMeter.Progress}}, Channel{Any}, Nothing})() @ Base ./asyncmap.jl:230 Stacktrace: [1] (::Base.var"#maptwice##0#maptwice##1")(x::Task) @ Base ./asyncmap.jl:173 [2] foreach(f::Base.var"#maptwice##0#maptwice##1", itr::Vector{Any}) @ Base ./abstractarray.jl:3202 [3] maptwice(wrapped_f::Function, chnl::Channel{Any}, worker_tasks::Vector{Any}, c::Base.Iterators.PartitionIterator{Vector{SubString{String}}}) @ Base ./asyncmap.jl:173 [4] wrap_n_exec_twice @ ./asyncmap.jl:149 [inlined] [5] async_usemap(f::RAGTools.var"#138#139"{Bool, String, Base.Threads.Atomic{Float64}, @Kwargs{api_kwargs::@NamedTuple{url::String}}, ProgressMeter.Progress}, c::Base.Iterators.PartitionIterator{Vector{SubString{String}}}; ntasks::Int64, batch_size::Nothing) @ Base ./asyncmap.jl:99 [6] async_usemap @ ./asyncmap.jl:80 [inlined] [7] #asyncmap#937 @ ./asyncmap.jl:77 [inlined] [8] asyncmap @ ./asyncmap.jl:76 [inlined] [9] get_embeddings(embedder::BatchEmbedder, docs::Vector{SubString{String}}; verbose::Bool, model::String, truncate_dimension::Nothing, cost_tracker::Base.Threads.Atomic{Float64}, target_batch_size_length::Int64, ntasks::Int64, kwargs::@Kwargs{api_kwargs::@NamedTuple{url::String}}) @ RAGTools ~/.julia/packages/RAGTools/bZMsT/src/preparation.jl:294 [10] get_embeddings @ ~/.julia/packages/RAGTools/bZMsT/src/preparation.jl:273 [inlined] [11] build_index(indexer::SimpleIndexer, files_or_docs::Vector{String}; verbose::Int64, extras::Nothing, index_id::Symbol, chunker::FileChunker, chunker_kwargs::@NamedTuple{max_length::Int64}, embedder::BatchEmbedder, embedder_kwargs::@NamedTuple{model::String}, tagger::NoTagger, tagger_kwargs::@NamedTuple{model::String}, api_kwargs::@NamedTuple{url::String}, cost_tracker::Base.Threads.Atomic{Float64}) @ RAGTools ~/.julia/packages/RAGTools/bZMsT/src/preparation.jl:722 [12] kwcall(::@NamedTuple{chunker::FileChunker, chunker_kwargs::@NamedTuple{max_length::Int64}, embedder_kwargs::@NamedTuple{model::String}, tagger_kwargs::@NamedTuple{model::String}, api_kwargs::@NamedTuple{url::String}}, ::typeof(build_index), indexer::SimpleIndexer, files_or_docs::Vector{String}) @ RAGTools ~/.julia/packages/RAGTools/bZMsT/src/preparation.jl:701 [13] top-level scope @ ~/.julia/packages/RAGTools/bZMsT/test/preparation.jl:287 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [15] macro expansion @ ~/.julia/packages/RAGTools/bZMsT/test/preparation.jl:342 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ ~/.julia/packages/RAGTools/bZMsT/test/runtests.jl:13 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [19] macro expansion @ ~/.julia/packages/RAGTools/bZMsT/test/runtests.jl:17 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [21] macro expansion @ ~/.julia/packages/RAGTools/bZMsT/test/runtests.jl:22 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [26] _start() @ Base ./client.jl:553 ┌ Warning: Model `mock-gen` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 [ Info: Tokens: 3 in 0.0 seconds [ Info: Tokens: 3 in 0.0 seconds [ Info: Tokens: 3 in 0.0 seconds ┌ Warning: Model `mock-gen` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 [ Info: Tokens: 3 in 0.0 seconds ┌ Warning: Model `mock-gen` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 [ Info: Tokens: 3 in 0.0 seconds ┌ Warning: Model `mock-gen` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 [ Info: Tokens: 3 in 0.0 seconds ┌ Warning: Model `mock-gen` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 [ Info: Ranking chunks in positions 1 to 2 [ Info: Tokens: 3 in 0.0 seconds [ Info: Ranking chunks in positions 1 to 3 [ Info: Tokens: 3 in 0.0 seconds [ Info: Ranking chunks in positions 2 to 4 [ Info: Tokens: 3 in 0.0 seconds ┌ Warning: Model `mock-gen` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 [ Info: Ranking chunks in positions 1 to 3 [ Info: Tokens: 3 in 0.0 seconds ┌ Warning: Model `mock-gen` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 [ Info: Ranking chunks in positions 1 to 3 [ Info: Tokens: 3 in 0.0 seconds ┌ Warning: Model `mock-gen` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 [ Info: Ranking chunks in positions 1 to 3 [ Info: Tokens: 3 in 0.0 seconds ┌ Warning: Model `mock-gen` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 [ Info: Round 1 of 1 of ranking process. [ Info: Final ranking done. Tokens: 3, Cost: 0.0, Time: 0.0s [ Info: Round 1 of 1 of ranking process. [ Info: Final ranking done. Tokens: 3, Cost: 0.0, Time: 0.0s [ Info: Round 1 of 1 of ranking process. [ Info: Final ranking done. Tokens: 3, Cost: 0.0, Time: 0.0s [ Info: Round 1 of 1 of ranking process. [ Info: Final ranking done. Tokens: 3, Cost: 0.0, Time: 0.0s ┌ Warning: Model `mock-gen` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 [ Info: Round 1 of 1 of ranking process. [ Info: Final ranking done. Tokens: 3, Cost: 0.0, Time: 0.0s ┌ Warning: Model `mock-gen` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 [ Info: Round 1 of 1 of ranking process. [ Info: Final ranking done. Tokens: 3, Cost: 0.0, Time: 0.0s ┌ Warning: Model `mock-gen` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 [ Info: Round 1 of 1 of ranking process. [ Info: Final ranking done. Tokens: 3, Cost: 0.0, Time: 0.0s ┌ Warning: Model `mock-gen` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 [ Info: Tokens: 3 in 0.0 seconds [ Info: Tokens: 3 in 0.0 seconds ┌ Warning: BM25: `max_score` is zero, so scores are not normalized. Returning unnormalized scores (all zero). └ @ RAGTools ~/.julia/packages/RAGTools/bZMsT/src/bm25.jl:198 ┌ Warning: BM25: `max_score` is zero, so scores are not normalized. Returning unnormalized scores (all zero). └ @ RAGTools ~/.julia/packages/RAGTools/bZMsT/src/bm25.jl:198 find_closest: Error During Test at /home/pkgeval/.julia/packages/RAGTools/bZMsT/test/retrieval.jl:358 Test threw exception Expression: result.positions == [1, 2] FieldError: type Array has no field `positions`, available fields: `ref`, `size` Stacktrace: [1] getproperty(x::Vector{CandidateChunks{Int64, Float32}}, f::Symbol) @ Base ./Base_compiler.jl:57 [2] top-level scope @ ~/.julia/packages/RAGTools/bZMsT/test/retrieval.jl:293 [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] macro expansion @ ~/.julia/packages/RAGTools/bZMsT/test/retrieval.jl:358 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] find_closest: Error During Test at /home/pkgeval/.julia/packages/RAGTools/bZMsT/test/retrieval.jl:359 Test threw exception Expression: isapprox(result.scores, [1.0, 0.965], atol = 0.01) FieldError: type Array has no field `scores`, available fields: `ref`, `size` Stacktrace: [1] getproperty(x::Vector{CandidateChunks{Int64, Float32}}, f::Symbol) @ Base ./Base_compiler.jl:57 [2] top-level scope @ ~/.julia/packages/RAGTools/bZMsT/test/retrieval.jl:293 [3] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [4] macro expansion @ ~/.julia/packages/RAGTools/bZMsT/test/retrieval.jl:359 [inlined] [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] find_closest: Test Failed at /home/pkgeval/.julia/packages/RAGTools/bZMsT/test/retrieval.jl:363 Expression: isempty(result) Evaluated: isempty(CandidateChunks{Int64, Float32}[CandidateChunks{Int64, Float32} index_id: Symbol TestChunkIndex1 positions: Array{Int64}((0,)) Int64[] scores: Array{Float32}((0,)) Float32[] , CandidateChunks{Int64, Float32} index_id: Symbol TestChunkIndex1 positions: Array{Int64}((0,)) Int64[] scores: Array{Float32}((0,)) Float32[] ]) Stacktrace: [1] top-level scope @ ~/.julia/packages/RAGTools/bZMsT/test/retrieval.jl:293 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [3] macro expansion @ ~/.julia/packages/RAGTools/bZMsT/test/retrieval.jl:363 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:745 [inlined] ┌ Warning: Model `mock-emb` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 ┌ Warning: Model `mock-meta` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 ┌ Warning: Model `mock-gen` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 retrieve: Error During Test at /home/pkgeval/.julia/packages/RAGTools/bZMsT/test/retrieval.jl:773 Got exception outside of a @test ArgumentError: api_key cannot be empty Stacktrace: [1] auth_header @ ~/.julia/packages/OpenAI/eRtbq/src/OpenAI.jl:40 [inlined] [2] auth_header @ ~/.julia/packages/PromptingTools/XSraD/src/llm_openai_schema_defs.jl:19 [inlined] [3] _request(api::String, provider::PromptingTools.CustomProvider, api_key::String; method::String, query::Nothing, http_kwargs::@NamedTuple{retry_non_idempotent::Bool, retries::Int64, readtimeout::Int64}, streamcallback::Nothing, additional_headers::Vector{Pair{String, String}}, kwargs::@Kwargs{model::String, input::SubArray{String, 1, Vector{String}, Tuple{UnitRange{Int64}}, true}}) @ OpenAI ~/.julia/packages/OpenAI/eRtbq/src/OpenAI.jl:158 ┌ [4] _request │ @ ~/.julia/packages/OpenAI/eRtbq/src/OpenAI.jl:140 [inlined] ╰──── repeated 2 times [6] #openai_request#19 @ ~/.julia/packages/OpenAI/eRtbq/src/OpenAI.jl:219 [inlined] [7] openai_request @ ~/.julia/packages/OpenAI/eRtbq/src/OpenAI.jl:213 [inlined] [8] #create_embeddings#328 @ ~/.julia/packages/PromptingTools/XSraD/src/llm_openai_schema_defs.jl:470 [inlined] [9] create_embeddings @ ~/.julia/packages/PromptingTools/XSraD/src/llm_openai_schema_defs.jl:465 [inlined] [10] #create_embeddings#319 @ ~/.julia/packages/PromptingTools/XSraD/src/llm_openai_schema_defs.jl:342 [inlined] [11] create_embeddings @ ~/.julia/packages/PromptingTools/XSraD/src/llm_openai_schema_defs.jl:333 [inlined] [12] macro expansion @ ./timing.jl:461 [inlined] [13] aiembed(prompt_schema::PromptingTools.CustomOpenAISchema, doc_or_docs::SubArray{String, 1, Vector{String}, Tuple{UnitRange{Int64}}, true}, postprocess::typeof(normalize); verbose::Bool, api_key::String, model::String, http_kwargs::@NamedTuple{retry_non_idempotent::Bool, retries::Int64, readtimeout::Int64}, api_kwargs::@NamedTuple{url::String}, kwargs::@Kwargs{}) @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/llm_openai.jl:458 [14] kwcall(::@NamedTuple{model::String, verbose::Bool, api_kwargs::@NamedTuple{url::String}}, ::typeof(aiembed), prompt_schema::PromptingTools.CustomOpenAISchema, doc_or_docs::SubArray{String, 1, Vector{String}, Tuple{UnitRange{Int64}}, true}, postprocess::typeof(normalize)) @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/llm_openai.jl:445 [15] aiembed(doc_or_docs::SubArray{String, 1, Vector{String}, Tuple{UnitRange{Int64}}, true}, args::Function; model::String, kwargs::@Kwargs{verbose::Bool, api_kwargs::@NamedTuple{url::String}}) @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/llm_interface.jl:516 [16] aiembed @ ~/.julia/packages/PromptingTools/XSraD/src/llm_interface.jl:513 [inlined] [17] (::RAGTools.var"#138#139"{Bool, String, Base.Threads.Atomic{Float64}, @Kwargs{api_kwargs::@NamedTuple{url::String}}, ProgressMeter.Progress})(docs_chunk::SubArray{String, 1, Vector{String}, Tuple{UnitRange{Int64}}, true}) @ RAGTools ~/.julia/packages/RAGTools/bZMsT/src/preparation.jl:295 [18] (::Base.var"#952#953"{RAGTools.var"#138#139"{Bool, String, Base.Threads.Atomic{Float64}, @Kwargs{api_kwargs::@NamedTuple{url::String}}, ProgressMeter.Progress}})(r::Base.RefValue{Any}, args::Tuple{SubArray{String, 1, Vector{String}, Tuple{UnitRange{Int64}}, true}}) @ Base ./asyncmap.jl:96 [19] (::Base.var"#start_worker_task!##0#start_worker_task!##1"{Base.var"#952#953"{RAGTools.var"#138#139"{Bool, String, Base.Threads.Atomic{Float64}, @Kwargs{api_kwargs::@NamedTuple{url::String}}, ProgressMeter.Progress}}, Channel{Any}, Nothing})() @ Base ./asyncmap.jl:230 Stacktrace: [1] (::Base.var"#maptwice##0#maptwice##1")(x::Task) @ Base ./asyncmap.jl:173 [2] foreach(f::Base.var"#maptwice##0#maptwice##1", itr::Vector{Any}) @ Base ./abstractarray.jl:3202 [3] maptwice(wrapped_f::Function, chnl::Channel{Any}, worker_tasks::Vector{Any}, c::Base.Iterators.PartitionIterator{Vector{String}}) @ Base ./asyncmap.jl:173 [4] wrap_n_exec_twice @ ./asyncmap.jl:149 [inlined] [5] async_usemap(f::RAGTools.var"#138#139"{Bool, String, Base.Threads.Atomic{Float64}, @Kwargs{api_kwargs::@NamedTuple{url::String}}, ProgressMeter.Progress}, c::Base.Iterators.PartitionIterator{Vector{String}}; ntasks::Int64, batch_size::Nothing) @ Base ./asyncmap.jl:99 [6] async_usemap @ ./asyncmap.jl:80 [inlined] [7] #asyncmap#937 @ ./asyncmap.jl:77 [inlined] [8] asyncmap @ ./asyncmap.jl:76 [inlined] [9] get_embeddings(embedder::BatchEmbedder, docs::Vector{String}; verbose::Bool, model::String, truncate_dimension::Nothing, cost_tracker::Base.Threads.Atomic{Float64}, target_batch_size_length::Int64, ntasks::Int64, kwargs::@Kwargs{api_kwargs::@NamedTuple{url::String}}) @ RAGTools ~/.julia/packages/RAGTools/bZMsT/src/preparation.jl:294 [10] get_embeddings @ ~/.julia/packages/RAGTools/bZMsT/src/preparation.jl:273 [inlined] [11] retrieve(retriever::SimpleRetriever, index::ChunkEmbeddingsIndex{String, Matrix{Float32}, Nothing, Nothing}, question::String; verbose::Int64, top_k::Int64, top_n::Int64, api_kwargs::@NamedTuple{url::String}, rephraser::NoRephraser, rephraser_kwargs::@NamedTuple{model::String}, embedder::BatchEmbedder, embedder_kwargs::@NamedTuple{model::String}, processor::NoProcessor, processor_kwargs::@NamedTuple{}, finder::CosineSimilarity, finder_kwargs::@NamedTuple{}, tagger::NoTagger, tagger_kwargs::@NamedTuple{model::String}, filter::NoTagFilter, filter_kwargs::@NamedTuple{}, reranker::NoReranker, reranker_kwargs::@NamedTuple{}, cost_tracker::Base.Threads.Atomic{Float64}, kwargs::@Kwargs{}) @ RAGTools ~/.julia/packages/RAGTools/bZMsT/src/retrieval.jl:1289 [12] kwcall(::@NamedTuple{rephraser_kwargs::@NamedTuple{model::String}, embedder_kwargs::@NamedTuple{model::String}, tagger_kwargs::@NamedTuple{model::String}, api_kwargs::@NamedTuple{url::String}}, ::typeof(retrieve), retriever::SimpleRetriever, index::ChunkEmbeddingsIndex{String, Matrix{Float32}, Nothing, Nothing}, question::String) @ RAGTools ~/.julia/packages/RAGTools/bZMsT/src/retrieval.jl:1254 [13] top-level scope @ ~/.julia/packages/RAGTools/bZMsT/test/retrieval.jl:775 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [15] macro expansion @ ~/.julia/packages/RAGTools/bZMsT/test/retrieval.jl:840 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [17] top-level scope @ ~/.julia/packages/RAGTools/bZMsT/test/runtests.jl:13 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [19] macro expansion @ ~/.julia/packages/RAGTools/bZMsT/test/runtests.jl:17 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [21] macro expansion @ ~/.julia/packages/RAGTools/bZMsT/test/runtests.jl:24 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [26] _start() @ Base ./client.jl:553 ┌ Warning: Model `mock-gen` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 [ Info: Done generating the answer. Cost: $0.0 ┌ Warning: Model `mock-gen` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 [ Info: Done refining the answer. Cost: $0.0 ┌ Warning: Model `mock-gen` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 ┌ Warning: Model `mock-emb` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 ┌ Warning: Model `mock-meta` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 ┌ Warning: Model `mock-gen` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 airag: Error During Test at /home/pkgeval/.julia/packages/RAGTools/bZMsT/test/generation.jl:213 Got exception outside of a @test ArgumentError: api_key cannot be empty Stacktrace: [1] auth_header @ ~/.julia/packages/OpenAI/eRtbq/src/OpenAI.jl:40 [inlined] [2] auth_header @ ~/.julia/packages/PromptingTools/XSraD/src/llm_openai_schema_defs.jl:19 [inlined] [3] _request(api::String, provider::PromptingTools.CustomProvider, api_key::String; method::String, query::Nothing, http_kwargs::@NamedTuple{retry_non_idempotent::Bool, retries::Int64, readtimeout::Int64}, streamcallback::Nothing, additional_headers::Vector{Pair{String, String}}, kwargs::@Kwargs{model::String, input::Vector{String}}) @ OpenAI ~/.julia/packages/OpenAI/eRtbq/src/OpenAI.jl:158 ┌ [4] _request │ @ ~/.julia/packages/OpenAI/eRtbq/src/OpenAI.jl:140 [inlined] ╰──── repeated 2 times [6] #openai_request#19 @ ~/.julia/packages/OpenAI/eRtbq/src/OpenAI.jl:219 [inlined] [7] openai_request @ ~/.julia/packages/OpenAI/eRtbq/src/OpenAI.jl:213 [inlined] [8] #create_embeddings#328 @ ~/.julia/packages/PromptingTools/XSraD/src/llm_openai_schema_defs.jl:470 [inlined] [9] create_embeddings @ ~/.julia/packages/PromptingTools/XSraD/src/llm_openai_schema_defs.jl:465 [inlined] [10] #create_embeddings#319 @ ~/.julia/packages/PromptingTools/XSraD/src/llm_openai_schema_defs.jl:342 [inlined] [11] create_embeddings @ ~/.julia/packages/PromptingTools/XSraD/src/llm_openai_schema_defs.jl:333 [inlined] [12] macro expansion @ ./timing.jl:461 [inlined] [13] aiembed(prompt_schema::PromptingTools.CustomOpenAISchema, doc_or_docs::Vector{String}, postprocess::typeof(identity); verbose::Bool, api_key::String, model::String, http_kwargs::@NamedTuple{retry_non_idempotent::Bool, retries::Int64, readtimeout::Int64}, api_kwargs::@NamedTuple{url::String}, kwargs::@Kwargs{}) @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/llm_openai.jl:458 [14] aiembed @ ~/.julia/packages/PromptingTools/XSraD/src/llm_openai.jl:445 [inlined] [15] kwcall(::@NamedTuple{model::String, api_kwargs::@NamedTuple{url::String}}, ::typeof(aiembed), prompt_schema::PromptingTools.CustomOpenAISchema, doc_or_docs::Vector{String}) @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/llm_openai.jl:445 [16] aiembed(::Vector{String}; model::String, kwargs::@Kwargs{api_kwargs::@NamedTuple{url::String}}) @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/llm_interface.jl:516 [17] kwcall(::@NamedTuple{model::String, api_kwargs::@NamedTuple{url::String}}, ::typeof(aiembed), ::Vector{String}) @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/llm_interface.jl:513 [18] top-level scope @ ~/.julia/packages/RAGTools/bZMsT/test/generation.jl:215 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [20] macro expansion @ ~/.julia/packages/RAGTools/bZMsT/test/generation.jl:270 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [22] top-level scope @ ~/.julia/packages/RAGTools/bZMsT/test/runtests.jl:13 [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [24] macro expansion @ ~/.julia/packages/RAGTools/bZMsT/test/runtests.jl:17 [inlined] [25] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [26] macro expansion @ ~/.julia/packages/RAGTools/bZMsT/test/runtests.jl:25 [inlined] [27] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [28] top-level scope @ none:6 [29] eval(m::Module, e::Any) @ Core ./boot.jl:489 [30] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [31] _start() @ Base ./client.jl:553 WARNING: Method definition (::Type{Main.Random123Annotater})() in module Main at /home/pkgeval/.julia/packages/RAGTools/bZMsT/test/annotation.jl:127 overwritten at /home/pkgeval/.julia/packages/RAGTools/bZMsT/test/annotation.jl:184. WARNING: Method definition (::Type{Main.Random123Annotater})() in module Main at /home/pkgeval/.julia/packages/RAGTools/bZMsT/test/annotation.jl:184 overwritten at /home/pkgeval/.julia/packages/RAGTools/bZMsT/test/annotation.jl:271. WARNING: Method definition (::Type{Main.Random123AnnotatedNode})() in module Main at /home/pkgeval/.julia/packages/RAGTools/bZMsT/test/annotation.jl:52 overwritten at /home/pkgeval/.julia/packages/RAGTools/bZMsT/test/annotation.jl:272. WARNING: Method definition (::Type{Main.Random123Annotater})() in module Main at /home/pkgeval/.julia/packages/RAGTools/bZMsT/test/annotation.jl:271 overwritten at /home/pkgeval/.julia/packages/RAGTools/bZMsT/test/annotation.jl:353. ┌ Warning: Model `mock-emb` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 ┌ Warning: Model `mock-meta` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 ┌ Warning: Model `mock-gen` already registered! It will be overwritten. └ @ PromptingTools ~/.julia/packages/PromptingTools/XSraD/src/user_preferences.jl:367 ┌ Warning: ArgumentError("api_key cannot be empty") └ @ RAGTools ~/.julia/packages/RAGTools/bZMsT/src/evaluation.jl:129 ┌ Warning: ArgumentError("api_key cannot be empty") └ @ RAGTools ~/.julia/packages/RAGTools/bZMsT/src/evaluation.jl:129 ┌ Warning: ArgumentError("api_key cannot be empty") └ @ RAGTools ~/.julia/packages/RAGTools/bZMsT/src/evaluation.jl:129 [ Info: Q&A Sets built! (cost: $0.0) build_qa_evals: Test Failed at /home/pkgeval/.julia/packages/RAGTools/bZMsT/test/evaluation.jl:177 Expression: length(qa_evals) == length(chunks(index)) Evaluated: 0 == 3 Stacktrace: [1] top-level scope @ ~/.julia/packages/RAGTools/bZMsT/test/evaluation.jl:79 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [3] macro expansion @ ~/.julia/packages/RAGTools/bZMsT/test/evaluation.jl:177 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:745 [inlined] build_qa_evals: Test Failed at /home/pkgeval/.julia/packages/RAGTools/bZMsT/test/evaluation.jl:179 Expression: all(getproperty.(qa_evals, :context) == ["a", "b", "c"]) Evaluated: all(false) Stacktrace: [1] top-level scope @ ~/.julia/packages/RAGTools/bZMsT/test/evaluation.jl:79 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [3] macro expansion @ ~/.julia/packages/RAGTools/bZMsT/test/evaluation.jl:179 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:745 [inlined] build_qa_evals: Error During Test at /home/pkgeval/.julia/packages/RAGTools/bZMsT/test/evaluation.jl:77 Got exception outside of a @test BoundsError: attempt to access 0-element Vector{QAEvalItem} at index [1] Stacktrace: [1] throw_boundserror(A::Vector{QAEvalItem}, I::Tuple{Int64}) @ Base ./essentials.jl:15 [2] checkbounds @ ./essentials.jl:387 [inlined] [3] getindex(A::Vector{QAEvalItem}, i::Int64) @ Base ./essentials.jl:966 [4] top-level scope @ ~/.julia/packages/RAGTools/bZMsT/test/evaluation.jl:79 [5] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [6] macro expansion @ ~/.julia/packages/RAGTools/bZMsT/test/evaluation.jl:197 [inlined] [7] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [8] top-level scope @ ~/.julia/packages/RAGTools/bZMsT/test/runtests.jl:13 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [10] macro expansion @ ~/.julia/packages/RAGTools/bZMsT/test/runtests.jl:17 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:1929 [inlined] [12] macro expansion @ ~/.julia/packages/RAGTools/bZMsT/test/runtests.jl:27 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:312 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:489 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:286 [17] _start() @ Base ./client.jl:553 Test Summary: | Pass Fail Error Total Time RAGTools.jl | 1038 3 6 1047 6m47.9s Code quality (Aqua.jl) | 11 11 2m11.1s Core | 1027 3 6 1036 4m36.8s _check_aiextract_capability | 2 2 0.7s vcat_labeled_matrices | 29 29 16.0s hcat_labeled_matrices | 10 10 4.6s hcat_truncate | 26 26 10.4s tokenize | 9 9 0.2s trigrams | 8 8 0.1s trigrams_hashed | 8 8 0.8s token_with_boundaries | 8 8 0.0s text_to_trigrams | 7 7 0.5s text_to_trigrams_hashed | 7 7 0.5s split_into_code_and_sentences | 9 9 0.3s getpropertynested | 8 8 0.8s setpropertynested | 5 5 1.9s merge_kwargs_nested | 6 6 1.2s pack_bits,unpack_bits | 15 15 1.3s preprocess_tokens | 11 11 0.9s reciprocal_rank_fusion | 43 43 3.5s score_to_unit_scale | 6 6 1.3s CandidateChunks | 26 26 11.2s MultiCandidateChunks | 22 22 3.6s DocumentTermMatrix | 55 55 15.6s ChunkEmbeddingsIndex | 30 30 4.1s ChunkKeywordsIndex | 23 23 5.7s SubChunkIndex | 99 99 14.4s MultiIndex | 15 15 1.7s getindex-CandidateChunks | 38 38 6.7s getindex-MultiCandidateChunks | 23 23 0.3s RAGResult | 15 15 13.7s load_text | 5 5 0.1s get_chunks | 6 6 1.1s get_embeddings | 13 13 11.3s get_keywords | 19 19 2.1s tags_extract | 9 9 0.3s get_tags | 5 5 15.4s build_tags | 15 15 2.3s build_index | 1 1 7.7s RankGPTResult | 19 19 0.8s create_permutation_instruction | 20 20 0.5s extract_ranking | 10 10 0.8s receive_permutation! | 10 10 0.5s permutation_step! | 6 6 4.1s rank_sliding_window! | 9 9 0.5s rank_gpt | 11 11 0.3s rephrase | 4 4 1.7s hamming_distance | 21 21 1.3s bm25 | 28 28 3.7s find_closest | 25 1 2 28 31.4s find_closest-MultiIndex | 30 30 5.6s find_tags | 34 34 10.4s reciprocal_rank_fusion | 22 22 4.3s rerank | 9 9 1.2s retrieve | 1 1 6.0s build_context! | 7 7 1.5s answer! | 3 3 1.8s refine! | 5 5 1.8s postprocess! | 2 2 0.0s generate! | 6 6 2.3s airag | 1 1 1.0s AnnotatedNode | 19 19 0.7s AnnotatedNode-pprint | 3 3 0.4s set_node_style! | 15 15 0.3s align_node_styles! | 7 7 0.3s trigram_support! | 11 11 0.6s add_node_metadata! | 10 10 0.6s annotate_support | 19 19 0.5s print_html | 6 6 1.7s QAEvalItem | 2 2 0.1s Base.show,JSON3.write | 6 6 11.9s score_retrieval_hit,score_retrieval_rank | 8 8 1.8s build_qa_evals | 5 2 1 8 9.0s RNG of the outermost testset: Xoshiro(0x2e487ba212274469, 0x4111c41b60602fd4, 0xe73796f52973507c, 0x532ec32b0f40a244, 0xbbdb10eb6d4cd62d) ERROR: LoadError: Some tests did not pass: 1038 passed, 3 failed, 6 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/RAGTools/bZMsT/test/runtests.jl:12 Testing failed after 450.2s ERROR: LoadError: Package RAGTools errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.13/Pkg/src/Types.jl:68 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.13/Pkg/src/Operations.jl:2672 [3] test @ /opt/julia/share/julia/stdlib/v1.13/Pkg/src/Operations.jl:2521 [inlined] [4] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::IOContext{IO}}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:538 [5] kwcall(::@NamedTuple{julia_args::Cmd, io::IOContext{IO}}, ::typeof(Pkg.API.test), ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:515 [6] test(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:168 [7] kwcall(::@NamedTuple{julia_args::Cmd}, ::typeof(Pkg.API.test), pkgs::Vector{PackageSpec}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:157 [8] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:156 [9] test @ /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:156 [inlined] [10] kwcall(::@NamedTuple{julia_args::Cmd}, ::typeof(Pkg.API.test), pkg::String) @ Pkg.API /opt/julia/share/julia/stdlib/v1.13/Pkg/src/API.jl:155 [11] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 [12] include(mod::Module, _path::String) @ Base ./Base.jl:311 [13] exec_options(opts::Base.JLOptions) @ Base ./client.jl:320 [14] _start() @ Base ./client.jl:553 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 670.7s: package tests unexpectedly errored