Sampling Steps#
Hint
This series of mermaids has been delivered to Mehdi to illustrate the differents sampling steps.
Step 2 : Population selection
flowchart TD
%% Nodes
A[Population]
B[Lines selected\nfor testing]
%%Main
A----> Manual\nselection --->B
%%Styles
classDef class1 fill:#663399
A:::class1
classDef class2 fill:#3399cc
B:::class2
style A color:#ffffff
style B color:#ffffff
Step 2 : Population selection (Part 2)
flowchart TD
%% Nodes
A[Select all lines<br>marked with the<br>SUB FSA in FEC]
B{Duplicates<br>detected by<br>the automatic<br>detection?}
C[Operations not selected for the<br> sampling]
D[Population]
E[Lines copy and transfer in FSA<br>Duplicates for further<br>investigation]
%%Main
A-->B
B--->Yes
B--->No
Yes--->C
No--->D
C--->E
%%Styles
classDef class1 fill:#3399cc
B:::class1
C:::class1
E:::class1
classDef class2 fill:#9999cc
A:::class2
Yes:::class2
No:::class2
classDef class3 fill:#663399
D:::class3
style A color:#ffffff
style B color:#ffffff
style C color:#ffffff
style D color:#ffffff
style E color:#ffffff
style Yes color:#ffffff
style No color:#ffffff
Step 3 : Items over PM
flowchart TD
%%Nodes
sl[Selected lines]-->isovrPm{Is the line\n over the\n PM?}
isovrPm-->yes1[Yes] & no1[No]
no1-->stp4[Step 4 : Manual selection]
yes1-->stp3[Step 3 : Items\nover PM]
stp3-->dupli{Duplicates\ndetected by\nthe automatic\ndetection?}
dupli-->No & Yes
No-->overpm[Population items over PM]
Yes-->ope[Operations not selected for the\nsampling]
ope-->fsa[Lines copy and transfer in FSA\nDuplicates for further\ninvestigation]
%%Styles
classDef class1 fill:#3399cc
sl:::class1
classDef class2 fill:#9999cc
No:::class2
no1:::class2
stp4:::class2
overpm:::class2
classDef class3 fill:#663399
isovrPm:::class3
dupli:::class3
style dupli color:#ffffff
style isovrPm color:#ffffff
style No color:#ffffff
style no1 color:#ffffff
style stp4 color:#ffffff
style overpm color:#ffffff
style sl color:#ffffff
Step 3 : Items over PM (Part 2)
flowchart TD
%%Nodes
subgraph iupm[Items under PM]
subgraph nd[ \n\n\n\n\n\n\nNot duplicate\n\n\n\n\n\n\n\n ]
end
subgraph pd[ \n\n\n\n\n\n\n\n\n\n\n\n\n\nPotential duplicate ]
subgraph mand[Marked\nas\nNot\nduplicate]
end
mad( \nMarked\nas\nDuplicate\n\n )
end
end
%%Styles
classDef class1 fill:#3399cc
classDef class2 fill:#663399
classDef class3 fill:#9999cc
iupm:::class2
pd:::class3
nd:::class3
mad:::class1
mand:::class1
style nd color:#ffffff
style iupm color:#ffffff
style pd color:#ffffff
style mad color:#ffffff
style mand color:#ffffff
Step 3 : Items over PM (Part 2) suite
flowchart TD
%%Nodes
overpm((Population items over PM))
nd([Not\nduplicate])
pd{Potential\nDuplicate}
mand([Mark as not\nduplicate])
mad([Mark as\nduplicate])
ex{Exclude}
opno[Operations not selected\nfor the sampling]
fsa[Lines copy and transfer in FSA\nDuplicates for further\ninvestigation]
exPm[Lines automatically added exceed PM]
itm[This item is tested separately in\na dedicated procedure]
%%Main
overpm-->nd & pd
nd-->ex
pd-->mand & mad
mad-->opno
ex-->yes[Yes] & no[No]
opno-->fsa
yes-->itm
no-->exPm
%%Apply Styles
classDef class1 fill:#3399cc
pd:::class1
yes:::class1
mad:::class1
itm:::class1
fsa:::class1
classDef class2 fill:#9999cc
opno:::class2
ex:::class2
overpm:::class2
classDef class3 fill:#663399
nd:::class3
no:::class3
mand:::class3
exPm:::class3
style overpm color:#ffffff
style nd color:#ffffff
style pd color:#ffffff
style mand color:#ffffff
style ex color:#ffffff
style mad color:#ffffff
style opno color:#ffffff
style fsa color:#ffffff
style exPm color:#ffffff
style itm color:#ffffff
style yes color:#ffffff
style no color:#ffffff
Step 3 : Items over PM (Part 3) :
flowchart BT
%%Nodes
subgraph a[Items under PM]
nd[ \n\n\n\n\n\n\n\n\n\n\nNot duplicate\n\n\n\n\n\n\n\n\n\n\n\n ]
subgraph c[ ]
subgraph pd[ \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nPotential duplicate]
mand[ \nMarked\nas\n not\nduplicate\n\n ]
end
end
end
%%Styles
classDef class1 fill:#ffffff
mand:::class1
nd:::class1
classDef class2 fill:#3b5998
a:::class2
pd:::class2
c:::class2
style a color:#ffffff
style pd color:#ffffff
Step 3 Items over PM (Part 3) suite :
flowchart BT
%%Nodes
subgraph a[Items over PM]
nd[ \n\n\n\n\n\n\n\n\n\n\nNot duplicate\n\n\n\n\n\n\n\n\n\n\n\n ]
subgraph mand[ \n\n\n\n\n\n\n\n\nMarked\nas\nNot\nduplicate\n\n\n\n\n\n\n\n\n\n\n ]
end
end
%%Styles
classDef class1 fill:#ffffff
mand:::class1
nd:::class1
classDef class2 fill:#3b5998
a:::class2
style a color:#ffffff
Step 4 : Manual selection
flowchart TD
%%Nodes
sl[Selected lines]
isopm{Is the line\nover the\nPM?}
y1[Yes]
n1[No]
stp3[Step 3 : Items\nover PM]
stp4[Step 4 : Manual\nselection]
dp{Duplicates detected by\nthe automatic\ndetection?}
y2[Yes]
n2[No]
opns[Operations not selected\nfor the sampling]
pms[Population Manual selection]
fsa[Lines copy and transfer in FSA\nDuplicates for further\ninvestigation]
%%Main
sl-->isopm
isopm-->y1 & n1
y1-->stp3
n1-->stp4
stp4-->dp
dp-->y2 & n2
y2-->opns
n2-->pms
opns-->fsa
%%Styles
classDef class1 fill:#3399cc
classDef class2 fill:#663399
classDef class3 fill:#9999cc
classDef class5 fill:#6699cc
classDef class6 fill:#336699
sl:::class1
isopm:::class2
dp:::class2
stp3:::class3
stp4:::class3
fsa:::class5
y1:::class6
n1:::class6
y2:::class6
n2:::class6
opns:::class3
pms:::class3
style n1 color:#ffffff
style y1 color:#ffffff
style y2 color:#ffffff
style n2 color:#ffffff
style dp color:#ffffff
style isopm color:#ffffff
style sl color:#ffffff
style stp3 color:#ffffff
style stp4 color:#ffffff
style fsa color:#ffffff
style opns color:#ffffff
style pms color:#ffffff
Step 4 : Manual selection (Part 2)
flowchart TD
%%Nodes
subgraph mstf[Manual selection through filters]
subgraph iopm[Items over PM]
nd[ \n\nNot\nduplicate\n\n\n ]
pd[ \n\nPotential\nduplicate\n\n\n ]
end
subgraph iupm[Items under PM]
nd2[ \n\nNot\nduplicate\n\n\n ]
pd2[ \n\nPotential\nduplicate\n\n\n ]
end
end
%%Styles
classDef class2 fill:#663399
classDef class5 fill:#6699cc
classDef class7 fill:#fff
mstf:::class7
iupm:::class5
nd2:::class2
pd2:::class2
nd:::class2
pd:::class2
iopm:::class5
style nd color:#ffffff
style pd color:#ffffff
style nd2 color:#ffffff
style pd2 color:#ffffff
style iopm color:#ffffff
style iupm color:#ffffff
Step 5 : Items over PM
flowchart TD
%%Nodes
sp([Sampling population])
nd[Not\nDuplicate]
pd{Potential\nDuplicate}
mand[Mark as not\nduplicate]
mad[Mark as duplicate]
luft[(Lines used\n for testing)]
onsfts{Operations not selected\nfor the sampling}
rtsm([Run the sampling method])
lcp[(Lines copy and transfer\nin FSA Duplicates\nfor further investigation)]
%%Main
sp-->nd
sp-->pd
pd-->mand
pd-->mad
nd-->luft
mand-->luft
mad-->onsfts
onsfts-->lcp
onsfts-->rtsm
rtsm---->sp
%%Styles
classDef class1 fill:#3399cc
classDef class2 fill:#663399
classDef class3 fill:#9999cc
sp:::class1
lcp:::class2
luft:::class2
nd:::class3
mand:::class3
mad:::class3
onsfts:::class1
rtsm:::class3
pd:::class2
style sp color:#ffffff
style luft color:#ffffff
style lcp color:#ffffff
style nd color:#ffffff
style mand color:#ffffff
style mad color:#ffffff
style onsfts color:#ffffff
style rtsm color:#ffffff
style pd color:#ffffff
Step 5 : Items over PM (Part 2)
flowchart TD
%%nodes
subgraph iupm[Items under PM]
subgraph nd[ \n\n\n\n\n\n\n\n\n\n\nNot duplicate ]
sp1( \n\n\nPart of the\nsampling population\n\n\n\n\n )
end
subgraph pd[ \n\n\n\n\n\n\n\n\n\n\n\nPotential duplicate ]
subgraph mand[Marked as Not duplicate]
sp2(Part of the\nsampling population)
end
sp3(Part of the\nsampling population)
end
end
%%Styles
classDef class1 fill:#3399cc
classDef class2 fill:#663399
classDef class3 fill:#9999cc
classDef class4 fill:#b3cde0
iupm:::class2
pd:::class4
nd:::class4
sp1:::class3
sp2:::class3
sp3:::class3
mand:::class1
style nd color:#ffffff
style iupm color:#ffffff
style pd color:#ffffff
style sp1 color:#ffffff
style sp2 color:#ffffff
style sp3 color:#ffffff
style mand color:#ffffff