Skip to content

Commit a97042f

Browse files
authored
Update rank_leads.py command with entity config
Added entity config parameter to rank_leads script.
1 parent 8c3019b commit a97042f

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/pipeline.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,17 @@ jobs:
150150
- name: Step 3 — Rank leads + update history
151151
run: |
152152
# rank_leads exits 0 even with zero leads (fail-closed content)
153-
python alert/scripts/rank_leads.py \
154-
--input work/leads \
155-
--output work/ranked \
156-
--history work/history \
157-
--rules alert/rules/ranking_v0.1.yaml
153+
    python alert/scripts/rank_leads.py \
154+
155+
            --input work/leads \
156+
157+
            --output work/ranked \
158+
159+
            --history work/history \
160+
161+
            --rules alert/rules/ranking_v0.1.yaml \
162+
163+
            --entity-config alert/config/entity_names.yaml
158164
ls -la work/ranked/ work/history/ || true
159165
if [ -f work/ranked/ranked_leads.json ]; then
160166
python -c "

0 commit comments

Comments
 (0)