Skip to content

Update regression new#4914

Open
ehildenb wants to merge 5 commits intodevelopfrom
update-regression-new
Open

Update regression new#4914
ehildenb wants to merge 5 commits intodevelopfrom
update-regression-new

Conversation

@ehildenb
Copy link
Copy Markdown
Member

@ehildenb ehildenb commented Apr 27, 2026

To start from a clean baseline while reimplementing the kompile pipeline in pyk, this updates the test expected output and uncomments some tests that are passing with the updated output. The main changes in the pyk printer from the Java one are:

  • K-sequence ~> is displayed with newlines.
  • Empty K-sequence is not printed at the end of K-sequence on the <k> cell.
  • List/Map/Set/RangeMap append are not displayed with newlines.
  • The generated cells (<generatedCounter> and <generatedTop>) are not omitted.

The documentation file is also updated (by Claude) to reflect the current triage status of the regression-new test-suite (at pyk/docs/regression-triage.md).

ehildenb and others added 5 commits April 27, 2026 22:03
pyk run retains the <generatedCounter> cell that Java krun strips.
Update .out files where the only difference from the old baseline is
the addition of the <generatedCounter> cell at the end of the
<generatedTop> configuration.

Affected tests: context-alias (2, 2b, 4, 4b, 5, 6, 6b, 8, 8b)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
pyk run formats multi-step K-sequences with each ~>-separated item
on its own line, where Java krun collapses them to a single line.
Update .out files where this formatting difference (alongside
generatedTop/generatedCounter) changed the baseline.

Affected tests: context-alias (1, 1b, 3, 3b, 5b, 7, 7b, 9, 10),
issue-1263 (1), issue-1528 (1, 2, 3), or-llvm (4, 5)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
pyk run formats List/Map collection items inline (space-separated),
where Java krun puts each item on its own line.
Update .out files where this formatting difference (alongside
generatedTop/generatedCounter) changed the baseline.

Affected tests: rand (1), rangemap-tests-llvm (20 cases)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…m, rand, rangemap-tests-llvm

All six tests now pass with updated baselines that reflect pyk's
output format (generatedTop/generatedCounter cells present, K-sequence
items on separate lines, collection items inline).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Mark Category G resolved (6 tests un-skipped via baseline updates).
Update Category F to show --top-cell was added and issue-2075-2 un-skipped,
and clarify secondary blockers for remaining 3 tests.
Update summary table with current counts and status.
Update Category J to note configuration-formatting and pattern-macro
are now Category G-style quick wins (update-results).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Comment on lines -3 to +4
2 ~> test ( bar ~> .K ) ~> .K
2
~> test ( bar ~> .K )
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is a bit weird, but I would let it be. Looks like in our printer we are special-casing k-sequences directly below the <k> cell.

@ehildenb ehildenb marked this pull request as ready for review April 28, 2026 23:05
@ehildenb ehildenb requested a review from tothtamas28 April 28, 2026 23:05
@ehildenb
Copy link
Copy Markdown
Member Author

MacOS tests are failing because of runner issues, will get them sorted.

</k>
<generatedTop>
<k>
[ 1 , 2 ) r|-> 45 [ 2 , 5 ) r|-> 40 ~> .K
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Empty K-sequence is not printed at the end of K-sequence on the <k> cell.

This doesn't seem to be enforced consistently.

Can we change the pyk printer to just print the .K in all cases? That would make the output more predictable.

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.

2 participants