queryverse / queryverse/DataValues.jl

Two failing tests

Open
#83 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
14
Forks
6
Avg merge
1d 7h
Merged PRs (30d)
2

Description

Hi, two tests are failing for me:

Expression: isequal(mapreduce(f, +, X), DataValue(mapreduce(f, +, X.values)))
Evaluated: isequal(DataValue{Float64}(5130.89), DataValue{Float64}(5130.89))

Expression: method(f, X) == DataValue(method(f, A))
Evaluated: DataValue{Float64}(5130.89) == DataValue{Float64}(5130.89)

Maybe a float rounding error? No idea
Edit: Indeed it is:

DataValue(mapreduce(f, +, X.values)).value
5130.890169906765

mapreduce(f, +, X).value
5130.890169906763

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.

Research direction

No files or test paths are named. Start by reproducing the two reported expressions and comparing the displayed floating-point values; done means the expected behavior for both comparisons is established and covered by passing tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.