Skip to content

test: correct three expectations that failed CI on PR 69 - #322

Merged
hyperpolymath merged 1 commit into
codex/issue-65-descriptive-statisticsfrom
claude/pr-69-test-expectations
Nov 11, 2026
Merged

hyperpolymath merged 1 commit into
codex/issue-65-descriptive-statisticsfrom
claude/pr-69-test-expectations

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Change and reason

The Julia tests job fails on JoshuaJewell/MetaManifold-WebUI#69 at head 1e58411: 6590 pass, 9 fail (run 42435863478). All 9 failures are in tests that hyperpolymath/MetaManifold-WebUI#312 added without a Julia run. In each case the code is right and the test expectation is wrong.

  1. Quoted-column filters (test_validated_statistics.jl, 6 failures). The response has one entry per sample. Each sample has its own count for the one remaining feature. The test read all four counts, and their sum, from the first sample. It now checks every sample by label: 2, 20, 200 and "9007199254740993".
  2. Numeric count filter (2 failures). The test sent max as 9007199254740993 and expected the 422 count-filter refusal. The request parser refuses an unsafe integer token first, with 400. The test now sends a safe bound for the 422 case, and it asserts the 400 for the unsafe token.
  3. Unreadable derived record (test_derived_analyses.jl, 1 failure). The test read a directory and expected an I/O error. In Julia, read on a directory returns no bytes and raises nothing. The test now uses a Unix-domain socket path. Its open fails for every user, root included.

No production code changes. This pull request targets the branch of upstream PR 69. A merge here updates that pull request.

Validation

Julia 1.12.5, from the repository root:

julia --project=. test/runtests.jl test_derived_analyses.jl test_validated_statistics.jl
  • At 1e58411: 487 pass, 9 fail. These are the same 9 failures as in CI.
  • At this head: 528 pass, 0 fail.
  • I printed the real response for the filtered request. It has four samples with counts [2], [20], [200] and ["9007199254740993"].
  • I checked the directory behaviour directly: read(directory) returns UInt8[], and read(socket path) raises SystemError.

Not run: the full suite, the integration and server tests, and the frontend tests. No workflow runs on this pull request, because ci.yml on this branch starts only for pull requests into main. The upstream CI runs after the merge.

Scope

  • The socket-path test also covers src/analysis/derived_analyses.jl line 79, which CI listed as a coverage gap.
  • Five uncovered patch lines remain from the CI list. They are not part of this fix:
    • src/server/routes/validated_statistics.jl 229 and 230: the catch around _body_filter_params.
    • src/server/routes/validated_statistics.jl 296: a float time_limit_seconds.
    • src/analysis/derived_analyses.jl 127: the lost hardlink race.
    • src/canonical.jl 220: this branch looks unreachable, because repr of a finite Float64 always contains a ..
  • No lockfile change.

Contribution checks

  • I followed CONTRIBUTING.md.
  • This branch starts at the head of PR 69 (1e58411) and contains no merges from fork main.
  • Every commit is signed and shows as Verified. (The managed signing identity decides this.)
  • CI has run and passes. (No workflow runs here. See Validation.)
  • Existing licensing, citation and acknowledgement text is unchanged.

Generated by Claude Code

The `Julia tests` job fails on this branch with 9 failures (run
42435863478). All 9 are in tests that #312 added without a Julia run. In
each case the code is right and the expectation is wrong.

- Quoted-column filters. The response has one entry per sample, and each
  sample has its own count for the one remaining feature. The test read
  all four counts, and their sum, from the first sample. It now checks
  every sample by label: 2, 20, 200 and "9007199254740993".
- Numeric count filter. The test sent `max` as 9007199254740993 and
  expected the 422 count-filter refusal. The request parser refuses an
  unsafe integer token first, with 400. The test now sends a safe bound
  for the 422 case and asserts the 400 for the unsafe token.
- Unreadable derived record. The test read a directory and expected an
  I/O error. In Julia, `read` on a directory returns no bytes and raises
  nothing. The test now uses a Unix-domain socket path, whose open fails
  for every user, so the "cannot read existing derived analysis" branch
  runs. This also covers `derived_analyses.jl` line 79.

No production code changes.

Julia 1.12.5: `test/runtests.jl test_derived_analyses.jl
test_validated_statistics.jl` gave 487 pass and 9 fail before, and gives
528 pass and 0 fail now.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0136P7ZoTPXfxg1C85rVNx78
@coderabbitai

coderabbitai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 33610d42-b139-4890-ba97-a176afbcfe21

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath marked this pull request as ready for review November 11, 2026 00:06
@hyperpolymath
hyperpolymath merged commit e5fd783 into codex/issue-65-descriptive-statistics Nov 11, 2026
3 checks passed
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-11T00:06:21.791369Z
We couldn’t complete this review. Comment @codex review to try again.
56d1030 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@hyperpolymath
hyperpolymath deleted the claude/pr-69-test-expectations branch November 11, 2026 00:06
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

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.

3 participants