Skip to content

bug: test_canned_input[uncertainty] fails due to unpinned/outdated HF repo revision #969

Closed

Description

@AngeloDanducci

The mellea test test/formatters/granite/test_intrinsics_formatters.py::test_canned_input[uncertainty] is having issues after the update to granitelib-core.

It appears that on mellea/formatters/granite/intrinsics/input.py:439 this line, the edits.update(self.parameters) applies all parameters from the YAML directly onto the chat completion request. Since temperature: 0.0 is now in parameters, the rewriter adds "temperature": 0.0 to the transformed request, which isn't in the snapshot.

Recommend either:

  1. copying the io.yaml files into testdata/input_yaml/ (I think the other tests do this already) and updating the snapshots eliminating the network dependency entirely for test_canned_input
  2. pinning the revision in the affected YamlJsonCombo entries to the specific HF commit that matches the snapshot if we want to test the round trip (which also seems reasonable).

Activity

  1. added
    bug
    on Apr 29, 2026
  2. changed the issue type fromtoon Apr 29, 2026
  3. changed the issue type fromtoon Apr 29, 2026
  4. changed the title [-]bug: test_canned_input[uncertainty] is flaky due to unpinned HF repo revision[/-] [+]bug: test_canned_input[uncertainty] fails due to unpinned/outdated HF repo revision[/+] on Apr 29, 2026
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

    bugtesting

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions