Add workflow evidence export utility for research notes#139
Closed
akgohain wants to merge 1 commit into
Closed
Conversation
Collaborator
Author
|
Consolidated into draft PR #165 ( |
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.
Motivation
versionkey for reproducibility.Description
server_api/workflow/data_access.pywhich implementsload_workflow_payloadandWorkflowDataErrorto validate and normalize workflow JSON events.server_api/workflow/evidence_export.pywhich implementsbuild_workflow_evidence_export,export_workflow_evidence, a CLI entrypoint, andEVIDENCE_EXPORT_VERSION = "1.0", and emits the requiredstage_progression_summary,agent_proposal_approval_summary, andkey_event_timeline_snippetsections.server_api/workflow/__init__.py, add docs atdocs/research/workflow-evidence-export.mddescribing how to run the exporter and where outputs are written, and add unit tests intests/test_workflow_evidence_export.pythat use a seeded fixture.--outputpath and creates parent directories automatically.Testing
python -m pytest -q tests/test_workflow_evidence_export.pywhich passed (2 passed).uv run pytest -q tests/test_workflow_evidence_export.pyfailed in this environment due to missing editable dependency project metadata forpytorch-connectomicsso that invocation may require installing or fixing that dependency for CI-style runs.versionkey and the three required sections, the summarized counts for proposals/decisions, and that the exporter writes the expected output file.Codex Task