If you define "red and long" as an irregularity, and then there are more longs than shorts, and there are 76/76 red/yellow, then red&long will show irregularity.
No

I am saying that if red and yellow arrive randomly, and you match it against the mixed fixed&random pattern of long and short, then (if red and short arrive randomly - remember) you will have the
random number of matches. By "match" I consider matching red with long and yellow with short (red=long=1, yellow=short=0). But you have 103 matches out of 152. It is not random, or rather: not probable if randomity is assumed
Okay I see what you mean, yes, if we combine the chances of both red==long==1 and yellow==short==0, then of course at random it should be 50%/50%, so close to 76/152.
Here is a quick&lame function in python that tests it out:
def testMatchesRnd(usePattern=False, sampleSize=10000):
totalCount = 0
pattern = "011"*100
for x in range(0, sampleSize):
rndA = ""
if usePattern:
bits = getRandomBits(76)
for i in range(0, 76):
rndA += pattern[i] + bits[i]
else:
rndA = getRandomBits(152)
rndB = getRandomBits(152)
for i in range(0, 152):
if rndA[i] == rndB[i]:
totalCount += 1
return (float(totalCount)/float(sampleSize))
def testMatchesFlames(trackA, trackB):
totalCount = 0
dataA = dataBuilder("abcdEFGH", trackA)
dataB = dataBuilder("abcdEFGH", trackB)
for i in range(0, 152):
if dataA[i] == dataB[i]:
totalCount += 1
return (float(totalCount))
print testMatchesRnd(False), testMatchesRnd(True)
print testMatchesFlames(0, 1), testMatchesFlames(0, 2), testMatchesFlames(1, 2) #0=Heights,1=Outer,2=Inner
>> 76.0035 75.9582
>> 103.0 74.0 69.0