Right now, the geocoding functions call back to Mongo to get the full text of a story for geocoding. This makes it very difficult to tests. Consider splitting out the geocoding logic (esp. for CLIFF, which has a ton) so it can be tested separately with fixed input.
Right now, the geocoding functions call back to Mongo to get the full text of a story for geocoding. This makes it very difficult to tests. Consider splitting out the geocoding logic (esp. for CLIFF, which has a ton) so it can be tested separately with fixed input.