Blame view

offline_tasks/count_dimensions.sh 572 Bytes
8b9ea8ee   tangwang   feat(recommendati...
1
2
3
4
5
6
7
8
9
10
11
12
13
  #!/bin/bash
  
  echo "=== Summary of new dimensions across all list types ==="
  echo ""
  
  for file in hot cart new global; do
      echo "【${file}】:"
      p1=$(grep -E "^platform:(essa|essaone);country_code:" /home/tw/recommendation/offline_tasks/output/interest_aggregation_${file}_20260113.txt | wc -l)
      p2=$(grep -E "^platform:(essa|essaone);country_code:.*;customer_type:" /home/tw/recommendation/offline_tasks/output/interest_aggregation_${file}_20260113.txt | wc -l)
      echo "  Platform+Country: $p1"
      echo "  Platform+Country+CustomerType: $p2"
      echo ""
  done