Files
Geniusia_v2/rpa_vision_v3/test_matching_tools.sh
2026-03-05 00:20:25 +01:00

157 lines
5.6 KiB
Bash

it 0
ex*.txt
/tmp/test_ge
rm -fettoya
# N
echo "".md"_READMETCHING_TOOLSMAn: tio "Documenta ""
echoply"
echoy --apching.p_improve_mat ./autorez:" 4. Amélio"
echo tches.py_mae_failedalyzz: ./anse 3. Analyo "
echchecs"nérer des égéions pour actuez des 2. Effect
echo "run.sh"tème: ./ez le sys1. Lanccho "
e:"étapesProchaines "
echo " "hoement"
ecnt correcttionne fonc les outils TousEEN}✓${NC}"${GR "
echo -eo "
ech═╝"═════════════════════════════════════════════════════════════ho "╚ec ║"
TS ESÉSUMÉ DES T R ""
echo ╗══════════════════════════════════════════════════════════════"
echo "╔ho "# Résumé
ec
fi
1it exove.txt
t_imprtest /tmp/"
caationorméli de l'a✗${NC} Échec{RED}o -e " $echlse
fi
eplète"comration inamélioAnalyse d'}⚠${NC} ${YELLOW-e " echo else
recte"
corélioration e d'amC} Analys${GREEN}✓${N -e " echo hen
t; tt_improve.txp/tes" /tmsaireécesation naméliore q "Aucun grep - || \
ve.txt/test_improNS" /tmpTIORAMÉLIORÉSUMÉ DES Aq "if grep -oin
as bes en a p n'yées ou qu'ilt proposons son améliorati que desifier Vér
# "
ion)mulat (siien réusslioratioC} AméGREEN}✓${N" ${ echo -e then
txt 2>&1;mprove./tmp/test_i> ng.py ove_matchito_imprthon3 auif py."
..tiqueutoman aamélioratioest de l'{NC} TOW}[4/4]$ -e "${YELL"
echo
echo "mulation) sie (modequmatiautotion : Améliora# Test 3it 1
fi
ext.txmonitorst_p/tecat /tm
ring"itou monC} Échec dD}✗${N " ${REo -ese
echfi
el"
d incompletshboar Da{NC} W}⚠$" ${YELLO -e echo else
"
rd correctboa DashEN}✓${NC}" ${GREo -e ech n
r.txt; theest_monito" /tmp/tMétriquesrep -q " gxt && \
nitor.ttmp/test_mo SANTÉ" /BOARD DEep -q "DASHs
if gruemétriqs contient lehboarde le dasier qu # Vérif
ssi"
ing réuC} Monitor{N ${GREEN}$-e " echo en
txt 2>&1; thitor.st_mony > /tmp/te_health.phingor_matc monitif python3
e santé..."onitoring dt du m4]${NC} TesW}[3/ "${YELLO -echo""
e
echo anténg de s: Monitori 2i
# Test
fxit 1xt
ealyze.ttmp/test_an
cat /se"l'analyc de }✗${NC} ÉcheRED-e " ${cho
else
ei
fplet"com inporte rapormat dOW}⚠${NC} F " ${YELL echo -e se
elorrect"port cape rmat d{NC} For ${GREEN}$-e " echo
txt; thenanalyze./test_tmp" /alesiques Génértist "Sta grep -q
xt && \analyze.ttest_/tmp/SE" NALY"RAPPORT D'Af grep -q is
dueenattctions ient les serapport cont le que # Vérifier
e"
ussise réAnaly}✓${NC} EN " ${GREho -e
ec 2>&1; thennalyze.txttmp/test_a--last 5 > /s.py matcheiled_e_fa analyz
if python3s..."d'échecl'analyseur est de ${NC} T[2/4]OW}"${YELLcho -e o ""
eechhecs
yse des éc 1: Analest
# Tiouvés"
fecs trL_COUNT éch} $FAI${NC ${GREEN}✓-e "ho
ecl)es | wc -chfailed_matls -1 data/L_COUNT=$(se
FAI
eléées"es crnées fictiv✓${NC} Don" ${GREEN}cho -e
e
n(512))"random.randng.npy', np.tate_embeddi140000/s51123_h_202matced_fails/heailed_matce('data/favs np; np.srt numpy a"impo -c hon3 pytictif
g finun embedd # Créer
}
EOFpe"
]totydu proe à jour mis, considéreror Main'alculatvec node 'C aoche (0.782)té primilariATE_NODE: S "UPDns": [
estiosugg },
" ]
}
: falsematched"
".850,hold": 0 "thres
": 0.782,ity"similar
Main","Calculator ": abel"node_l
e_001",d": "nod "node_i {
ies": [
similarit 3,
"ndidates":cam_ "nu0.850,
reshold": "th
82,": 0.7ceidennfest_co "b": {
esults"matching_r },
15
":ountts_c"ui_elemen
hot.png",/screens000123_140tch_20251iled_mamatches/fafailed_": "data/shot_path"screen or",
Calculattitle": " "window_{
": "state
3_140000",ch_2025112d_mat"faile": atch_id"failed_m",
040000251123_1"2mestamp": '
{
"ti'EOF.json << 0/report23_1400011_match_2025es/failedtchta/failed_macat > datif
N ficrt JSOn rappoer uré # C
23_140000match_202511ailed_s/fled_matcheata/fai mkdir -p d est
if pour le thec fict éc Créer un
#
ives..."onnées ficttion de dstant, créa l'in" Pourecho o ""
ch
ee script"z cce 3. Relan echo "
g"hinatcu mnt aoue échactions quies ctuez d 2. Effecho "sh"
eme: ./run.tèez le sysnc" 1. La echo "
:nnéesies do avec de vratester 💡 Pour echo "tré"
nregis eun échec " ⚠️ Aucecho
]; thennull)" v/hes 2>/ded_matc/failels -A data -z "$(" ] || [iled_matchesfad "data/
if [ ! -e test..."données dation des Prépar1/4]${NC} "${YELLOW}[re
echo -e nécessaist site de donnéesdes
# Créer
fiit 1 exion_v3/"
pa_vis rcript depuis scexécutez reur: E} Er{NCe "${RED}✗$ -hohen
ec; t.py" ]matchesyze_failed_-f "anal
if [ ! rtoire le bon répemmes dansso nous r queifie
# Vér0m'='\033[;31m'
NCED='\033[01;33m'
R3['\03LOW=ELm'
Y3[0;32'\03urs
GREEN=Coule"
# echo ""
═════════╝═══════════════════════════════════════════════════o "╚══
ech ║"NG MATCHIRATION DU D'AMÉLIOLS OUTIDES TEST "║
echo ════════╗"═════════════════════════════════════════════════════
echo "╔═
set -e
#
matchingation du éliorls d'amt des outit de tes#
# Scrip!/bin/bash
#