The uai?a programs solve the PR task,
the uai?b programs solve the MAR task.

The uai1? programs do exact inference,
the uai{2,3,4,5,6,7,8,9}? programs to approximate inference.

So:

uai1a:  exact  PR
uai1b:  exact  MAR
uai2a:  approx PR
uai2b:  approx MAR
uai3a:  approx PR
uai3b:  approx MAR
uai4a:  approx PR
uai4b:  approx MAR
uai5a:  approx PR
uai5b:  approx MAR
uai6a:  approx PR
uai6b:  approx MAR
uai7b:  approx MAR
uai8b:  approx MAR
uai9b:  approx MAR
