Skip to content

Restore agentic_scenarios.py and result_rep_panel.html on main - #57

Closed
avalyset wants to merge 1 commit into
SimulaMet:mainfrom
avalyset:fix-main-after-55
Closed

avalyset wants to merge 1 commit into
SimulaMet:mainfrom
avalyset:fix-main-after-55

Conversation

@avalyset

Copy link
Copy Markdown

Two files are broken on main e8b5168:

  • infra/fixtures/agentic_scenarios.py does not parse: it contains two module docstrings. Test collection stops on infra/tests/test_agentic_demo_pack.py with a SyntaxError.
  • templates/partials/result_rep_panel.html has an {% endif %} that closes nothing, so every page that includes the panel raises TemplateSyntaxError (scenario result detail, the public result page, the page smoke test).

Both are restored from #55's branch as it stood at 297e4b9. The fixture is that file verbatim. In the panel, the deterministic-checks list and the no-spans {% else %} branch, which #55 had removed, are removed again; the evidence-link script and the HTML-comment conversion already on main stay. Nothing else changes: the diff contains only deletions.

Tested

Full suite as CI selects it (-m "not embedded_hatchet", run serially, Python 3.12, uv sync --frozen --extra dev):

  • main e8b5168: 1257 passed, 13 failed, 1 collection error.
  • this branch: 1271 passed, 6 failed, no collection errors.

Still failing with this branch:

  • audits/agentic/tests/test_evaluate.py::test_retrieval_source_unresolvable_file_is_inconclusive_without_listing
  • infra/tests/test_agentic_result_ui.py::AgenticResultPageRenderTests::test_blocks_self_hide_without_agentic_data
  • infra/tests/test_agentic_result_ui.py::AgenticResultPageRenderTests::test_finding_cards_jump_to_evidence_spans
  • infra/tests/test_agentic_result_ui.py::AgenticResultPageRenderTests::test_judge_panel_hides_without_semantic_judgement
  • infra/tests/test_verify_agentic_audit.py::VerifyAgenticAuditTests::test_local_runtime_harness_checks_correlation_and_judge_order
  • infra/tests/test_verify_agentic_audit.py::VerifyAgenticAuditTests::test_verification_command_executes_fixture_and_evaluator_checks

The two test_verify_agentic_audit tests pass on main and fail here: verify_agentic_audit's ui-evidence-linking check looks for check.evidence_span_ids in the panel source, and only the removed checks list contained it. Five of the six also fail on 297e4b9; the sixth, test_blocks_self_hide_without_agentic_data, finds "Semantic judge" in the <!-- Semantic judge dimensions --> comment already on main.

AI disclosure: implemented with Claude Code.

On main, infra/fixtures/agentic_scenarios.py does not parse: it holds two
module docstrings, and test collection stops with a SyntaxError. And
templates/partials/result_rep_panel.html has an {% endif %} that closes
nothing, so every page that includes the panel raises TemplateSyntaxError.

Both files go back to their content on the agentic demo branch at
297e4b9. The fixture is that file verbatim. In the panel, the
deterministic-checks list and the no-spans {% else %} branch, which that
branch had removed, are dropped again; the evidence-link script and the
HTML-comment conversion already on main are kept. No other line changes.
@avalyset

Copy link
Copy Markdown
Author

Superseded by #58, which fixed the template on main. Closing.

@avalyset avalyset closed this Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant