[
 {
  "cell": "langchain-chroma over chroma",
  "path": "similarity_search",
  "form": "filter= correct",
  "form_note": "the name langchain declares",
  "category": "honoured",
  "detail": {
   "n_returned": 10
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "langchain-chroma over chroma",
  "path": "similarity_search",
  "form": "where= chroma name",
  "form_note": "cross dialect",
  "category": "rejected",
  "detail": {
   "error": "TypeError: langchain_chroma.vectorstores.Chroma.__query_collection() got multiple values for keyword argument 'where'"
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "langchain-chroma over chroma",
  "path": "similarity_search",
  "form": "filters= llamaindex name",
  "form_note": "cross dialect",
  "category": "rejected",
  "detail": {
   "error": "TypeError: Collection.query() got an unexpected keyword argument 'filters'"
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "langchain-chroma over chroma",
  "path": "similarity_search",
  "form": "filter= misspelled field",
  "form_note": "degenerate",
  "category": "unknown",
  "detail": {
   "why": "empty filtered result, the filter may have matched nothing"
  },
  "degenerate": true,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "langchain-chroma over chroma",
  "path": "similarity_search",
  "form": "filter= wrong type",
  "form_note": "degenerate",
  "category": "unknown",
  "detail": {
   "why": "empty filtered result, the filter may have matched nothing"
  },
  "degenerate": true,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "langchain-chroma over chroma",
  "path": "similarity_search_with_score",
  "form": "filter= correct",
  "form_note": "with-score path",
  "category": "honoured",
  "detail": {
   "n_returned": 10
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "langchain-chroma over chroma",
  "path": "similarity_search_with_score",
  "form": "where= chroma name",
  "form_note": "cross dialect, with-score",
  "category": "rejected",
  "detail": {
   "error": "TypeError: langchain_chroma.vectorstores.Chroma.__query_collection() got multiple values for keyword argument 'where'"
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "langchain-chroma over chroma",
  "path": "similarity_search_with_score",
  "form": "filter= misspelled field",
  "form_note": "degenerate",
  "category": "unknown",
  "detail": {
   "why": "empty filtered result, the filter may have matched nothing"
  },
  "degenerate": true,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "langchain-chroma over chroma",
  "path": "max_marginal_relevance_search",
  "form": "filter= correct",
  "form_note": "MMR, documented name",
  "category": "honoured",
  "detail": {
   "n_returned": 10
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "full length, no foreign (re-ranking path)"
 },
 {
  "cell": "langchain-chroma over chroma",
  "path": "max_marginal_relevance_search",
  "form": "where= chroma name",
  "form_note": "MMR, cross dialect",
  "category": "silently_ignored",
  "detail": {
   "n_leaked": 7,
   "n_returned": 10,
   "leaked_sample": [
    "doc-0002",
    "doc-0019",
    "doc-0098",
    "doc-0038",
    "doc-0057"
   ],
   "sample_is_capped": true,
   "note": "accepted without error, foreign documents returned"
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "full length, no foreign (re-ranking path)"
 },
 {
  "cell": "langchain-chroma over chroma",
  "path": "max_marginal_relevance_search",
  "form": "filters= llamaindex name",
  "form_note": "MMR, cross dialect: PREDICTION 1",
  "category": "silently_ignored",
  "detail": {
   "n_leaked": 7,
   "n_returned": 10,
   "leaked_sample": [
    "doc-0002",
    "doc-0019",
    "doc-0098",
    "doc-0038",
    "doc-0057"
   ],
   "sample_is_capped": true,
   "note": "accepted without error, foreign documents returned"
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "full length, no foreign (re-ranking path)",
  "prediction": "P1"
 },
 {
  "cell": "langchain-chroma over chroma",
  "path": "max_marginal_relevance_search",
  "form": "filter= misspelled field",
  "form_note": "degenerate on the re-ranking path",
  "category": "unknown",
  "detail": {
   "why": "empty filtered result, the filter may have matched nothing"
  },
  "degenerate": true,
  "control2_run": true,
  "control4": "full length, no foreign (re-ranking path)"
 },
 {
  "cell": "langchain-chroma over chroma",
  "path": "max_marginal_relevance_search",
  "form": "filter= wrong type",
  "form_note": "degenerate on the re-ranking path",
  "category": "unknown",
  "detail": {
   "why": "empty filtered result, the filter may have matched nothing"
  },
  "degenerate": true,
  "control2_run": true,
  "control4": "full length, no foreign (re-ranking path)"
 },
 {
  "cell": "langchain-chroma over chroma",
  "path": "max_marginal_relevance_search_by_vector",
  "form": "where= chroma name",
  "form_note": "by_vector does forward kwargs: PREDICTION 2",
  "category": "rejected",
  "detail": {
   "error": "TypeError: langchain_chroma.vectorstores.Chroma.__query_collection() got multiple values for keyword argument 'where'"
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "full length, no foreign (re-ranking path)",
  "prediction": "P2"
 },
 {
  "cell": "langchain-chroma over chroma",
  "path": "max_marginal_relevance_search_by_vector",
  "form": "filter= correct",
  "form_note": "by_vector, documented name",
  "category": "honoured",
  "detail": {
   "n_returned": 10
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "full length, no foreign (re-ranking path)"
 },
 {
  "cell": "langchain-chroma over chroma",
  "path": "as_retriever.invoke",
  "form": "search_kwargs filter=",
  "form_note": "retriever, similarity",
  "category": "honoured",
  "detail": {
   "n_returned": 10
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "langchain-chroma over chroma",
  "path": "as_retriever.invoke",
  "form": "search_kwargs where=",
  "form_note": "retriever, similarity, cross dialect",
  "category": "rejected",
  "detail": {
   "error": "TypeError: langchain_chroma.vectorstores.Chroma.__query_collection() got multiple values for keyword argument 'where'"
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "langchain-chroma over chroma",
  "path": "as_retriever.invoke",
  "form": "search_kwargs filter= misspelled",
  "form_note": "degenerate on retriever",
  "category": "unknown",
  "detail": {
   "why": "empty filtered result, the filter may have matched nothing"
  },
  "degenerate": true,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "langchain-chroma over chroma",
  "path": "as_retriever.invoke:mmr",
  "form": "search_kwargs where=, search_type mmr",
  "form_note": "the path an application uses: PREDICTION 3",
  "category": "silently_ignored",
  "detail": {
   "n_leaked": 7,
   "n_returned": 10,
   "leaked_sample": [
    "doc-0002",
    "doc-0019",
    "doc-0098",
    "doc-0038",
    "doc-0057"
   ],
   "sample_is_capped": true,
   "note": "accepted without error, foreign documents returned"
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "full length, no foreign (re-ranking path)",
  "prediction": "P3"
 },
 {
  "cell": "langchain-chroma over chroma",
  "path": "as_retriever.invoke:mmr",
  "form": "search_kwargs filter=, search_type mmr",
  "form_note": "retriever, mmr, documented",
  "category": "honoured",
  "detail": {
   "n_returned": 10
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "full length, no foreign (re-ranking path)"
 },
 {
  "cell": "langchain-chroma over chroma",
  "path": "as_retriever.invoke:mmr",
  "form": "search_kwargs filter= misspelled, mmr",
  "form_note": "degenerate on retriever mmr",
  "category": "unknown",
  "detail": {
   "why": "empty filtered result, the filter may have matched nothing"
  },
  "degenerate": true,
  "control2_run": true,
  "control4": "full length, no foreign (re-ranking path)"
 },
 {
  "cell": "langchain-community over chroma",
  "path": "similarity_search",
  "form": "filter= correct",
  "form_note": "the name langchain declares",
  "category": "honoured",
  "detail": {
   "n_returned": 10
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "langchain-community over chroma",
  "path": "similarity_search",
  "form": "where= chroma name",
  "form_note": "cross dialect",
  "category": "rejected",
  "detail": {
   "error": "TypeError: langchain_community.vectorstores.chroma.Chroma.__query_collection() got multiple values for keyword argument 'where'"
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "langchain-community over chroma",
  "path": "similarity_search",
  "form": "filters= llamaindex name",
  "form_note": "cross dialect",
  "category": "rejected",
  "detail": {
   "error": "TypeError: Collection.query() got an unexpected keyword argument 'filters'"
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "langchain-community over chroma",
  "path": "similarity_search",
  "form": "filter= misspelled field",
  "form_note": "degenerate",
  "category": "unknown",
  "detail": {
   "why": "empty filtered result, the filter may have matched nothing"
  },
  "degenerate": true,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "langchain-community over chroma",
  "path": "similarity_search",
  "form": "filter= wrong type",
  "form_note": "degenerate",
  "category": "unknown",
  "detail": {
   "why": "empty filtered result, the filter may have matched nothing"
  },
  "degenerate": true,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "langchain-community over chroma",
  "path": "similarity_search_with_score",
  "form": "filter= correct",
  "form_note": "with-score path",
  "category": "honoured",
  "detail": {
   "n_returned": 10
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "langchain-community over chroma",
  "path": "similarity_search_with_score",
  "form": "where= chroma name",
  "form_note": "cross dialect, with-score",
  "category": "rejected",
  "detail": {
   "error": "TypeError: langchain_community.vectorstores.chroma.Chroma.__query_collection() got multiple values for keyword argument 'where'"
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "langchain-community over chroma",
  "path": "similarity_search_with_score",
  "form": "filter= misspelled field",
  "form_note": "degenerate",
  "category": "unknown",
  "detail": {
   "why": "empty filtered result, the filter may have matched nothing"
  },
  "degenerate": true,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "langchain-community over chroma",
  "path": "max_marginal_relevance_search",
  "form": "filter= correct",
  "form_note": "MMR, documented name",
  "category": "honoured",
  "detail": {
   "n_returned": 10
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "full length, no foreign (re-ranking path)"
 },
 {
  "cell": "langchain-community over chroma",
  "path": "max_marginal_relevance_search",
  "form": "where= chroma name",
  "form_note": "MMR, cross dialect",
  "category": "silently_ignored",
  "detail": {
   "n_leaked": 7,
   "n_returned": 10,
   "leaked_sample": [
    "doc-0002",
    "doc-0019",
    "doc-0098",
    "doc-0038",
    "doc-0057"
   ],
   "sample_is_capped": true,
   "note": "accepted without error, foreign documents returned"
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "full length, no foreign (re-ranking path)"
 },
 {
  "cell": "langchain-community over chroma",
  "path": "max_marginal_relevance_search",
  "form": "filters= llamaindex name",
  "form_note": "MMR, cross dialect: PREDICTION 1",
  "category": "silently_ignored",
  "detail": {
   "n_leaked": 7,
   "n_returned": 10,
   "leaked_sample": [
    "doc-0002",
    "doc-0019",
    "doc-0098",
    "doc-0038",
    "doc-0057"
   ],
   "sample_is_capped": true,
   "note": "accepted without error, foreign documents returned"
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "full length, no foreign (re-ranking path)",
  "prediction": "P1"
 },
 {
  "cell": "langchain-community over chroma",
  "path": "max_marginal_relevance_search",
  "form": "filter= misspelled field",
  "form_note": "degenerate on the re-ranking path",
  "category": "unknown",
  "detail": {
   "why": "empty filtered result, the filter may have matched nothing"
  },
  "degenerate": true,
  "control2_run": true,
  "control4": "full length, no foreign (re-ranking path)"
 },
 {
  "cell": "langchain-community over chroma",
  "path": "max_marginal_relevance_search",
  "form": "filter= wrong type",
  "form_note": "degenerate on the re-ranking path",
  "category": "unknown",
  "detail": {
   "why": "empty filtered result, the filter may have matched nothing"
  },
  "degenerate": true,
  "control2_run": true,
  "control4": "full length, no foreign (re-ranking path)"
 },
 {
  "cell": "langchain-community over chroma",
  "path": "max_marginal_relevance_search_by_vector",
  "form": "where= chroma name",
  "form_note": "by_vector does forward kwargs: PREDICTION 2",
  "category": "rejected",
  "detail": {
   "error": "TypeError: langchain_community.vectorstores.chroma.Chroma.__query_collection() got multiple values for keyword argument 'where'"
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "full length, no foreign (re-ranking path)",
  "prediction": "P2"
 },
 {
  "cell": "langchain-community over chroma",
  "path": "max_marginal_relevance_search_by_vector",
  "form": "filter= correct",
  "form_note": "by_vector, documented name",
  "category": "honoured",
  "detail": {
   "n_returned": 10
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "full length, no foreign (re-ranking path)"
 },
 {
  "cell": "langchain-community over chroma",
  "path": "as_retriever.invoke",
  "form": "search_kwargs filter=",
  "form_note": "retriever, similarity",
  "category": "honoured",
  "detail": {
   "n_returned": 10
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "langchain-community over chroma",
  "path": "as_retriever.invoke",
  "form": "search_kwargs where=",
  "form_note": "retriever, similarity, cross dialect",
  "category": "rejected",
  "detail": {
   "error": "TypeError: langchain_community.vectorstores.chroma.Chroma.__query_collection() got multiple values for keyword argument 'where'"
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "langchain-community over chroma",
  "path": "as_retriever.invoke",
  "form": "search_kwargs filter= misspelled",
  "form_note": "degenerate on retriever",
  "category": "unknown",
  "detail": {
   "why": "empty filtered result, the filter may have matched nothing"
  },
  "degenerate": true,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "langchain-community over chroma",
  "path": "as_retriever.invoke:mmr",
  "form": "search_kwargs where=, search_type mmr",
  "form_note": "the path an application uses: PREDICTION 3",
  "category": "silently_ignored",
  "detail": {
   "n_leaked": 7,
   "n_returned": 10,
   "leaked_sample": [
    "doc-0002",
    "doc-0019",
    "doc-0098",
    "doc-0038",
    "doc-0057"
   ],
   "sample_is_capped": true,
   "note": "accepted without error, foreign documents returned"
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "full length, no foreign (re-ranking path)",
  "prediction": "P3"
 },
 {
  "cell": "langchain-community over chroma",
  "path": "as_retriever.invoke:mmr",
  "form": "search_kwargs filter=, search_type mmr",
  "form_note": "retriever, mmr, documented",
  "category": "honoured",
  "detail": {
   "n_returned": 10
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "full length, no foreign (re-ranking path)"
 },
 {
  "cell": "langchain-community over chroma",
  "path": "as_retriever.invoke:mmr",
  "form": "search_kwargs filter= misspelled, mmr",
  "form_note": "degenerate on retriever mmr",
  "category": "unknown",
  "detail": {
   "why": "empty filtered result, the filter may have matched nothing"
  },
  "degenerate": true,
  "control2_run": true,
  "control4": "full length, no foreign (re-ranking path)"
 },
 {
  "cell": "llama-index over chroma",
  "path": "ChromaVectorStore.query",
  "form": "filters= correct",
  "form_note": "the documented form",
  "category": "honoured",
  "detail": {
   "n_returned": 10
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "llama-index over chroma",
  "path": "ChromaVectorStore.query",
  "form": "where= chroma name",
  "form_note": "documented as a chroma escape hatch",
  "category": "honoured",
  "detail": {
   "n_returned": 10
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "llama-index over chroma",
  "path": "ChromaVectorStore.query",
  "form": "filters= AND where= together",
  "form_note": "ambiguity: the docstring says this raises",
  "category": "rejected",
  "detail": {
   "error": "ValueError: Cannot specify metadata filters via both query and kwargs. Use kwargs only for chroma specific items that are not supported via the generic query interface."
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "llama-index over chroma",
  "path": "ChromaVectorStore.query",
  "form": "filters= misspelled field",
  "form_note": "degenerate",
  "category": "unknown",
  "detail": {
   "why": "empty filtered result, the filter may have matched nothing"
  },
  "degenerate": true,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "llama-index over chroma",
  "path": "ChromaVectorStore.query",
  "form": "filters= wrong type",
  "form_note": "degenerate",
  "category": "unknown",
  "detail": {
   "why": "empty filtered result, the filter may have matched nothing"
  },
  "degenerate": true,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "llama-index over chroma",
  "path": "ChromaVectorStore.query",
  "form": "where= misspelled field",
  "form_note": "degenerate on the kwarg path",
  "category": "unknown",
  "detail": {
   "why": "empty filtered result, the filter may have matched nothing"
  },
  "degenerate": true,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "lancedb direct",
  "path": "Table.search().where()",
  "form": "where sql, prefilter=True",
  "form_note": "documented",
  "category": "honoured",
  "detail": {
   "n_returned": 10
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "lancedb direct",
  "path": "Table.search().where()",
  "form": "where sql, prefilter=False",
  "form_note": "post filter after ANN",
  "category": "unknown",
  "detail": {
   "why": "short filtered result",
   "n_returned": 2,
   "n_expected": 10
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "lancedb direct",
  "path": "Table.search().where()",
  "form": "where sql, misspelled field",
  "form_note": "degenerate",
  "category": "rejected",
  "detail": {
   "error": "ValueError: Invalid input, Schema error: No field named owner_id. Valid fields are `id`, `vector`, `owner`, `text`."
  },
  "degenerate": true,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "lancedb direct",
  "path": "Table.search().where()",
  "form": "where sql, wrong type",
  "form_note": "degenerate",
  "category": "rejected",
  "detail": {
   "error": "ValueError: Invalid input, Error resolving filter expression owner = 1: Invalid user input: Received literal Int64(1) and could not convert to literal of type 'Utf8', /root/.cargo/re"
  },
  "degenerate": true,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "chroma direct, index mutated",
  "path": "Collection.query",
  "form": "after a second add",
  "form_note": "documents added later",
  "category": "honoured",
  "detail": {
   "n_returned": 10
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "chroma direct, index mutated",
  "path": "Collection.query",
  "form": "after owner changed INTO subject",
  "form_note": "the updated document should now be visible",
  "category": "honoured",
  "detail": {
   "n_returned": 10,
   "updated_doc_visible": false,
   "note": "ground truth for this id is deliberately stale, so the moved document is excluded from the leak judgement and reported separately"
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "chroma direct, index mutated",
  "path": "Collection.query",
  "form": "after owner changed back",
  "form_note": "the document must stop being visible",
  "category": "honoured",
  "detail": {
   "n_returned": 10,
   "reverted_doc_still_visible": false
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "chroma direct, index mutated",
  "path": "Collection.query",
  "form": "after deleting foreign documents",
  "form_note": "deleted documents must not return",
  "category": "honoured",
  "detail": {
   "n_returned": 10,
   "deleted_ids_returned": []
  },
  "degenerate": false,
  "control2_run": true,
  "control4": "exact set"
 },
 {
  "cell": "chroma direct",
  "path": "Collection.query",
  "form": "where= correct, query 0",
  "form_note": "coverage sweep, same code path",
  "category": "honoured",
  "detail": {
   "n_returned": 10
  },
  "degenerate": false,
  "control2_run": false,
  "control4": "exact set"
 }
]