Test failure on `DifferentNames`

Open Beginner friendly
#508 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
haskell
Domain
testing-qa

Research direction

Start with test/Modelling/CdOd/DifferentNamesSpec.hs at line 116 and rerun the named differentNamesEvaluation test using seed 593280752. Investigate the reported counterexample involving [("1.","")], 0, and [False], then confirm the test passes without weakening its intended checks.

Written by the indexing model from the issue text.

Description

bug cd-od testing
modelling-tasks            > Failures:
modelling-tasks            > 
modelling-tasks            >   test/Modelling/CdOd/DifferentNamesSpec.hs:116:5: 
modelling-tasks            >   1) Modelling.CdOd.DifferentNames.differentNamesEvaluation accepts correct solutions
modelling-tasks            >        Falsified (after 7 tests and 8 shrinks):
modelling-tasks            >          NonEmpty {getNonEmpty = [("1.","")]}
modelling-tasks            >          0
modelling-tasks            >          NonEmpty {getNonEmpty = [False]}
modelling-tasks            > 
modelling-tasks            >   To rerun use: --match "/Modelling.CdOd.DifferentNames/differentNamesEvaluation/accepts correct solutions/" --seed 593280752

https://github.com/fmidue/modelling-tasks/actions/runs/20539606130/job/59002138235?pr=507#step:10:3102

Dominant language
Haskell
Stars
0
Forks
3
Avg merge
2d 7h
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from fmidue/modelling-tasks

All issues in fmidue/modelling-tasks

Similar issues

More Haskell issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.