Simple task for such script would be, how given build/package was propagated to final package/build listing.
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji-tools/issues/30
Please continue any further discussion there.