After reading the possible auction-based share allocation algorithm in Google's S-1 filing, I thought I'd try to implement it in Python.
The result is available at http://jtauber.com/2004/04/30/google_auction.py.
There may be broken links to media on this page. I'm still in the process of migrating them over.