feat(release): resolve Kaggle pending actions + new cover image#99
Merged
Conversation
Four changes to satisfy Kaggle's "getting started" checklist:
1. **Cover image** – redesigned `generate_cover_image.py` to render a
funnel visualization (teal → amber → red sections, conversion %
labels, bokeh depth) alongside the title block and tier cards.
Regenerated `release/dataset-cover-image.png`.
2. **Resource names** – `Resource` dataclass was missing a `name` field,
so Kaggle had no slug for file-information display. Added `name: str = ""`
with path-based slug derivation in `_resource_to_dict`.
3. **Column descriptors** – task-split Parquet files (train/valid/test)
had field schemas without descriptions. Wired `feature_dict` through
as `snapshot_col_descs` so every ML column gets its description from
`feature_dictionary.csv`.
4. **Author attribution on HF cards** – `HuggingFaceCard` was missing an
`authors` field; added it (default `("shaypal5",)`), emitted between
`license` and `language` in YAML frontmatter. Regenerated public
README, instructor README (already matched), and preview HTMLs.
Also expanded Kaggle link allowlist in tests to cover attribution hrefs
added in #94–#96.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
pr-agent-context report: No unresolved review comments, failing checks, or actionable patch coverage gaps were found on PR #99 in repository https://github.com/leadforge-dev/leadforge. Treat this PR as all clear unless new signals appear.Run metadata: |
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.
Addresses all 4 Kaggle "getting started" pending actions:
generate_cover_image.py; regeneratedrelease/dataset-cover-image.png.Resourcedataclass was missingnamefield. Added it with path-based slug derivation in_resource_to_dict(e.g.intro_lead_scoring,intro_tasks_converted_within_90_days_train).feature_dictthrough assnapshot_col_descsso every ML column gets its description fromfeature_dictionary.csv.HuggingFaceCardwas missing anauthorsfield. Added it (default ("shaypal5",)), emitted betweenlicenseandlanguagein YAML frontmatter. Regenerated public README + preview HTMLs.Also expands Kaggle link allowlist in tests to cover attribution hrefs from #94–#96.
All 386 tests pass.
🤖 Generated with Claude Code