АДРЕСНЫЙ РЕЖИМ - M2.3c тюнинг резолвинга и фильтров адресных запросов, поэтапная диагностика и аудит фильтрации по счету
This commit is contained in:
@@ -82,15 +82,22 @@ describe("address query limited taxonomy and stage diagnostics", () => {
|
||||
expect(result?.debug.rows_matched).toBeTypeOf("number");
|
||||
expect(["strict", "preferred"]).toContain(result?.debug.account_scope_mode);
|
||||
expect(result?.debug.account_scope_fallback_applied).toBeTypeOf("boolean");
|
||||
expect(result?.debug.mcp_call_status_legacy).toBeDefined();
|
||||
expect(result?.debug.match_failure_stage).toBeDefined();
|
||||
|
||||
expect([
|
||||
"no_raw_rows",
|
||||
"raw_rows_received_but_not_materialized",
|
||||
"materialized_but_not_anchor_matched",
|
||||
"materialized_but_filtered_out_by_recipe",
|
||||
"materialized_but_not_matched",
|
||||
"matched_non_empty"
|
||||
]).toContain(result?.debug.mcp_call_status);
|
||||
|
||||
expect(result?.debug.raw_row_keys_sample).toBeDefined();
|
||||
expect(result?.debug.materialization_drop_reason).toBeDefined();
|
||||
expect(result?.debug.account_scope_fields_checked).toBeDefined();
|
||||
expect(result?.debug.account_scope_match_strategy).toBe("account_code_regex_plus_alias_map_v1");
|
||||
expect(result?.debug.account_scope_drop_reason).toBeDefined();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user