Skip to content

Document the website integration / results pipeline #282

@mmcdermott

Description

@mmcdermott

Background

The end-to-end pipeline that takes a benchmark result from a contributor and surfaces it on the MEDS website involves several moving pieces:

This is documented nowhere outside individual workflow YAML files. New contributors and maintainers can't trace what happens after an issue is filed, and several integration points have already broken silently (#238).

What needs to be done

Add docs (docs/website-integration.md or similar) covering:

  1. Architecture diagram: producers (CI workflows, issue handlers) → consumers (_results / _web orphan branches) → website fetch path.
  2. Branches:
    • main — code, tasks, datasets, models
    • _results — orphan branch with _results/<issue#>/result.json per benchmark submission
    • _web — orphan branch with entities/*.json (manifests) and results/all_results.json (aggregated leaderboard)
  3. Workflows and what triggers each, including known limitations (e.g., GITHUB_TOKEN not triggering downstream workflows — see aggregate benchmark results workflow is not triggering on new result submissions #238).
  4. Manual interventions: when and how to run workflow_dispatch (currently the only working way to refresh _web/results/all_results.json until aggregate benchmark results workflow is not triggering on new result submissions #238 is fixed).
  5. Schema docs: shape of result.json, of the entities files, and how the website consumes them. Link to website-side parsers (src/lib/MEDS-DEV/{load,entities,parse_tree}.ts).
  6. Adding a new dataset/task/model: the contributor checklist, including what to expect on the website afterward.

Acceptance criteria

  • A new contributor can read the doc and understand "I labeled my issue, why isn't it on the website?" without grepping workflows.
  • A maintainer can read the doc and know how to manually unblock the pipeline if a workflow fails.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    Website / BrandingFor website/branding/tutorial content issues (beyond pure technical documentation)documentationImprovements or additions to documentationpriority:mediumMedium priority; should be triaged for inclusion in near-term releases.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions