Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

fix(ci): the eval matrix's non-floor leg uses the checker's own deliberate-comparison flag (#1465)

Beenu Arorad27b19730bf1
diff --git a/.github/workflows/live-agent-eval.yml b/.github/workflows/live-agent-eval.yml
index a7c54a1b7..c7d858121 100644
--- a/.github/workflows/live-agent-eval.yml
+++ b/.github/workflows/live-agent-eval.yml
@@ -186,7 +186,24 @@ jobs:
# records the runs it was derived from, so the number cannot be edited
# apart from its evidence.
- name: The measured groundedness floor
- run: python3 scripts/check_live_agent_floor.py --report live-agent-eval.wet.json
+ env:
+ # The model the committed floor was derived against, from
+ # services/agents/tests/eval_data/live_agent_floor.json. The matrix
+ # deliberately also grades the shipped default model (parity 3.2),
+ # and the checker's designed mechanism for that comparison is
+ # --allow-model: the wrong-model refusal is waived, the comparison
+ # is printed rather than assumed, and the 0.40 floor still applies.
+ # Without it the non-floor leg was born failing — both scheduled
+ # runs since the matrix landed failed it with the same message
+ # while its mean (0.7862) cleared the floor comfortably.
+ FLOOR_MODEL: qwen2.5:0.5b
+ run: |
+ set -euo pipefail
+ if [ "${OLLAMA_MODEL}" = "${FLOOR_MODEL}" ]; then
+ python3 scripts/check_live_agent_floor.py --report live-agent-eval.wet.json
+ else
+ python3 scripts/check_live_agent_floor.py --report live-agent-eval.wet.json --allow-model
+ fi
- name: Summarise
if: always()