GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Drop the general UNKNOWN hint and show every from in declared-here · Issue #521 · liquid-java/liquidjava

Drop the general UNKNOWN hint and show every from in declared-here #521

New issue
Copy link
New issue
Copy link
Closed
#525
Closed
Drop the general UNKNOWN hint and show every from in declared-here#521
#525
Copy link
Labels
studyNeeded before the error-message user studyNeeded before the error-message user study

Description

@CatarinaGamboa
CatarinaGamboa
opened on Nov 10, 2026
Issue body actions

Two problems with what an UNKNOWN refinement error shows.

1. The general hint. A2_04 (Socket.connect(..., @Refinement("_ >= 0") int timeout), where timeout is an unrefined parameter) prints:

Not enough information to prove the expected refinement. Add a refinement or condition to constrain it.

Both routes it suggests are graded wrong in the study:

  • a refinement on the method's parameter moves the error to the callers and goes against the Javadoc;
  • a condition such as an early return skips the probe.

The hint is not specific to the task, and it pulls participants away from the fix.

2. Declared-here shows only one from. When Expected is the disjunction of several @StateRefinement froms (A1_01: lines 110–111, compressionExplicit || compressionTypeSet), the declared-here excerpt and the where … means … gloss show only the first. They come from a findFirst() in AuxStateHandler.

Proposal

  • Drop that general hint.
  • Show every from that makes up Expected in declared-here, each with its gloss.

Activity

  1. CatarinaGamboa
    added
    studyNeeded before the error-message user studyNeeded before the error-message user study
    on Nov 10, 2026
  2. CatarinaGamboa
    closed this as completedin 98fa854on Nov 10, 2026
  3. CatarinaGamboa
    added 2 commits that reference this issue on Nov 11, 2026

    Origin note: say where the wrong state of a receiver comes from (#528)

    070fb75

    Origin note: say what a call's return refinement guarantees about an …

    590268e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    studyNeeded before the error-message user studyNeeded before the error-message user study

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.