Example #1
0
def main():
    global logger
    logging.basicConfig(level=logging.INFO) 
    if False:
        for i in range(10):
            assert(run(sampleJSON(mUnixTime(), randomSolution())))
        addSubmission(sampleDict0(), 'Phony')
        for x in referenceResults():
            logger.info(x)
        logger.info(getContradictingResults())
        logger.info(getInterestingResults())
    logger.info(fetchDelayed())
Example #2
0
def runDicts(xs, k, withSQL=True):
    assert(run(json.dumps(xs)))
    if withSQL:
        for x in xs:
            addSubmission(x, k)
    return True