Repository navigation
Homepage: drop the last-7-days charts, show crops covered - #91
Merged
Merged
Conversation
…CV task types The two "Last 7 days" panels only ever showed a flat line between hand-run snapshots, so they are removed along with the forward-fill helper that fed them. The stats row's third figure is now the number of distinct crops named by top-level datasets (species rolled up from iNatAg's child datasets are excluded, since they are wild plants, not crops). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dataset_history.jsonare hand-run, so the daily forward-filled series was a flat line nearly all week. The unusedlastNDaysForwardFilledhelper goes with it.crop_typesvalues across top-level datasets (614 today). Species rolled up from iNatAg's child datasets are excluded on purpose, since they are ~2,900 wild plant species rather than crops and would swamp the number.taskTypeCountis kept incomputeDatasetStatsbecause the datasets page hero still shows it.Test plan
tsc --noEmitcleannpm run buildsucceeds; served locally and checked the homepage: stats row reads 735 / 8,597,576 / 614, "Growth over time" is followed directly by "What's covered"🤖 Generated with Claude Code