-
Notifications
You must be signed in to change notification settings - Fork 9
Document the website integration / results pipeline #282
Copy link
Copy link
Open
Labels
Website / BrandingFor website/branding/tutorial content issues (beyond pure technical documentation)For website/branding/tutorial content issues (beyond pure technical documentation)documentationImprovements or additions to documentationImprovements or additions to documentationpriority:mediumMedium priority; should be triaged for inclusion in near-term releases.Medium priority; should be triaged for inclusion in near-term releases.
Metadata
Metadata
Assignees
Labels
Website / BrandingFor website/branding/tutorial content issues (beyond pure technical documentation)For website/branding/tutorial content issues (beyond pure technical documentation)documentationImprovements or additions to documentationImprovements or additions to documentationpriority:mediumMedium priority; should be triaged for inclusion in near-term releases.Medium priority; should be triaged for inclusion in near-term releases.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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:
.github/ISSUE_TEMPLATE/benchmark-result.yml) drives result submissionupload_benchmark_result.yamlvalidates the JSON, commits to_resultsbranch, closes the issueaggregate_benchmark_results.yamlruns_web/scripts/aggregate_results.pyon push to_results_web/entities/*.json(manually maintained, see We need to export a code-endpoint releasing the information about supported datasets in a friendly format. #186/We need to export a code-endpoint releasing the information about supported tasks in a friendly format. #187/We need to export a code-endpoint releasing the information about supported models in a friendly format. #188) provides the dataset/task/model catalog_web/results/all_results.jsonand_web/entities/*.jsonat runtimeThis 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.mdor similar) covering:_results/_weborphan branches) → website fetch path.main— code, tasks, datasets, models_results— orphan branch with_results/<issue#>/result.jsonper benchmark submission_web— orphan branch withentities/*.json(manifests) andresults/all_results.json(aggregated leaderboard)GITHUB_TOKENnot triggering downstream workflows — see aggregate benchmark results workflow is not triggering on new result submissions #238).workflow_dispatch(currently the only working way to refresh_web/results/all_results.jsonuntil aggregate benchmark results workflow is not triggering on new result submissions #238 is fixed).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).Acceptance criteria
Related