Skip to content

Add golden workflow prompt dataset - #115

Open
nilramoai wants to merge 4 commits into
mainfrom
nilram/nilmil-2-golden-dataset-creation
Open

Add golden workflow prompt dataset#115
nilramoai wants to merge 4 commits into
mainfrom
nilram/nilmil-2-golden-dataset-creation

Conversation

@nilramoai

@nilramoai nilramoai commented Jul 22, 2026

Copy link
Copy Markdown

Context

The issue requests a golden dataset. The repo had prompt rendering tests but no durable fixture
covering the active workflow states.

TL;DR

Adds a golden workflow prompt dataset and a renderability test.

Summary

  • Add deterministic workflow prompt cases for Todo, In Progress, Rework, and Merging.
  • Document the golden dataset schema and when to extend the fixture.
  • Validate schema, active-state coverage, and WORKFLOW.md prompt rendering in ExUnit.

Alternatives

  • Only add static JSON, but that would not prove the fixture matches prompt rendering.
  • Snapshot the full prompt output, but fragment checks are less brittle for workflow copy.

Test Plan

  • make -C elixir all in GitHub Actions
  • cd elixir && mix build
  • cd elixir && mix format --check-formatted
  • cd elixir && mix lint
  • cd elixir && mix test test/symphony_elixir/golden_dataset_test.exs
  • cd elixir && mix test --cover --seed 39961 --max-cases 8
  • cd elixir && mix dialyzer --format short

nilramoai and others added 3 commits May 14, 2026 15:27
Summary:
- Add a golden dataset fixture for representative Linear issues across
  each active workflow state.
- Document the dataset schema and add an ExUnit test that validates the
  fixture and renders it through the in-repo WORKFLOW.md prompt.

Rationale:
- The ticket requested golden dataset creation, and the repo previously
  had only dashboard snapshot fixtures. Keeping this as fixture data plus
  validation avoids changing runtime behavior while making prompt
  regressions detectable.

Tests:
- cd elixir && mix test test/symphony_elixir/golden_dataset_test.exs
- cd elixir && mix test test/symphony_elixir/status_dashboard_snapshot_test.exs
- cd elixir && mix format --check-formatted
- cd elixir && mix test

Co-authored-by: Codex <codex@openai.com>
Summary:
- Update golden prompt expectations for the current follow-up wording in
  WORKFLOW.md after merging origin/main.
- Refer to normalized tracker issues in the dataset metadata and docs.

Rationale:
- The main branch changed the prompt from continuation/retry wording to
  follow-up wording and moved the normalized issue type under Tracker.
- Keeping the fixture synchronized with the live workflow contract keeps
  the golden dataset deterministic without changing runtime behavior.

Tests:
- cd elixir && mix test test/symphony_elixir/golden_dataset_test.exs
- cd elixir && mix build
- cd elixir && mix format --check-formatted
- cd elixir && mix lint
- cd elixir && mix test --cover
- cd elixir && mix dialyzer --format short
- cd elixir && make all (blocked: repo.hex.pm network denied during
  deps.get)

Co-authored-by: Codex <codex@openai.com>
@nilramoai nilramoai added the symphony Track Symphony work for codebase label Jul 22, 2026
Summary:
- Load the repo WORKFLOW.md directly inside the golden dataset test.
- Parse active states from the same workflow config used for rendering.
- Render the template without depending on shared WorkflowStore state.

Rationale:
- CI exposed that the golden test could render against a cached test
  workflow when run in the full suite.
- Keeping the fixture validation self-contained makes it deterministic
  while still proving the checked-in workflow can render every case.

Tests:
- cd elixir && mix test test/symphony_elixir/golden_dataset_test.exs
- cd elixir && mix build
- cd elixir && mix format --check-formatted
- cd elixir && mix lint
- cd elixir && mix test --cover --seed 39961 --max-cases 8
- cd elixir && mix dialyzer --format short
- cd elixir && make all (blocked: repo.hex.pm network denied during
  deps.get)

Co-authored-by: Codex <codex@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

symphony Track Symphony work for codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant