One function
FeatureCollection in jazzband/geojson
The author described this change as “fix: convert dict features to Feature objects in FeatureCollection (#242)”. It counts as a record because the check below fails on the code as it stood at caac49915 and passes on 34a269900, with nothing else changed between the two runs.
Projectjazzband/geojson
Fix saved2026-05-18
Sharing licenceBSD-3-Clause · LICENSE.rst
Change size+4 −1
What the code was meant to do, written into the code itself as a docstring
Represents a FeatureCollection, a set of multiple Feature objects.
The change
| 12 | 12 | :rtype: FeatureCollection | |
| 13 | 13 | """ | |
| 14 | 14 | super().__init__(**extra) | |
| 15 | - | self["features"] = features | |
| 15 | + | self["features"] = [ | |
| 16 | + | self.to_instance(f) if not isinstance(f, GeoJSON) else f | |
| 17 | + | for f in features | |
| 18 | + | ] | |
| 16 | 19 | ||
| 17 | 20 | def errors(self): | |
| 18 | 21 | return self.check_list_errors(lambda x: x.errors(), self.features) |
The check that tells the two apart
fail→pass·tests/test_feature_collection.py::FeatureCollectionsTest::test_to_instance_converts_nested_features
Check file tests/test_feature_collection.py, taken without changes from the fix and copied onto the older code, so the exact same check runs against both versions.
Origin and history
The code before itcaac4991519f070e04969f5199a4676709aa43e1
Broken version dated2026-05-14
Modulegeojson.feature
Units changedFeatureCollection
Fingerprintfeb4d2116ab3e833
Checked2026-08-18 by goldset/0.1
Every field above is generated by our program. None of it is written by hand.