-
It's reasonable to assess any model based on what we use it for. Richardson model might fit the data well in some cases but it doesn't help us in making strategic decisions or predicting the impacts of policies.
-
There's a lot of literature dedicated to extending Richardson-type approach but none of them seem to transcend the limitations of the original model. At the end of the day, systems of differential equations don't seem to be a good
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn- prefix-paths | |
"Add a prefix to each of the paths in a sequence." | |
[pfx paths] | |
(map #(cons pfx %) paths)) | |
(defn changed-paths | |
"Return a sequence of paths that differ between two nested data structures." | |
[a b] | |
(cond | |
; same item: no differences |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
"""An end-to-end test for Mercurial-Trac integration hook. | |
Creates a local repository with the hook installed and pushes some commits | |
into it to cause the hook to trigger. | |
""" | |
import argparse | |
import logging |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import collections | |
from trustednews import powder | |
counts = collections.defaultdict(int) | |
with open('tn-metacert-bias.xml') as f: | |
for domain, path, category in powder.read(f): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import math | |
import pprint | |
import random | |
# Words that we use for producing random answers. | |
WORDS = """ | |
Am if number no up period regard sudden better. Decisively surrounded all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import math | |
import pprint | |
import random | |
# Words that we use for producing random answers. | |
WORDS = """ | |
Am if number no up period regard sudden better. Decisively surrounded all |
I hereby claim:
- I am kvas-it on github.
- I am kvas (https://keybase.io/kvas) on keybase.
- I have a public key ASCRjizGfgSjaJDULmKT9QcPaK3BNEBRXdqLsQ9iOOgQ6wo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from httplib2 import Http | |
from oauth2client.service_account import ServiceAccountCredentials | |
KEY_FILE = 'test-2492.json' | |
URL = 'https://storage.googleapis.com/test-bucket-2492/test-data.txt' | |
STORAGE_RO_SCOPE = 'https://www.googleapis.com/auth/devstorage.read_only' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This function activates one of the virtualenvs created by tox and installs | |
# current package there in development mode. Handy for working on python | |
# packages that have tox testing. | |
function toxenv { | |
env=$1 | |
if [ "$env" == "" -a -d .tox/py35 ]; then | |
env=py35 | |
fi | |
if [ "$env" == "" -a -d .tox/py27 ]; then | |
env=py27 |
I took pytest from features
branch because it has --setup-plan
flag
that makes it display the order of setup and teardown of fixtures. This
information is quite useful for understanding what happens in this
issue.
I added the following lines to Metafunc.parametrize
in
_pytest/python.py
to observe parametrization (I used python 2 for
consistency with the examples from the issue):
diff --git a/_pytest/python.py b/_pytest/python.py
NewerOlder