Skip to content

feat(release): resolve Kaggle pending actions + new cover image#99

Merged
shaypal5 merged 1 commit into
mainfrom
fix/kaggle-pending-actions
May 30, 2026
Merged

feat(release): resolve Kaggle pending actions + new cover image#99
shaypal5 merged 1 commit into
mainfrom
fix/kaggle-pending-actions

Conversation

@shaypal5

Copy link
Copy Markdown
Contributor

Addresses all 4 Kaggle "getting started" pending actions:

  1. Cover image — redesigned with funnel visualization (teal→amber→red sections, bokeh depth, conversion % labels). New generate_cover_image.py; regenerated release/dataset-cover-image.png.
  2. File informationResource dataclass was missing name field. Added it with path-based slug derivation in _resource_to_dict (e.g. intro_lead_scoring, intro_tasks_converted_within_90_days_train).
  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. License / HF attributionHuggingFaceCard was missing an authors field. Added it (default ("shaypal5",)), emitted between license and language in 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

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>
Copilot AI review requested due to automatic review settings May 30, 2026 20:37
@shaypal5 shaypal5 added the type: chore Tooling, config, repo hygiene label May 30, 2026
@shaypal5 shaypal5 merged commit c1e9108 into main May 30, 2026
10 of 11 checks passed
@shaypal5 shaypal5 deleted the fix/kaggle-pending-actions branch May 30, 2026 20:37
@github-actions

Copy link
Copy Markdown

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:

Tool ref: v4
Tool version: 4.0.21
Trigger: pull request opened
Workflow run: 26694333882 attempt 1
Comment timestamp: 2026-05-30T20:37:43.769759+00:00
PR head commit: 03bc86c17914e6ee2504e40f40760b83d87f03c6

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: chore Tooling, config, repo hygiene

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants