max-mapper / max-mapper/bytewiser

official solution to exercise 2 does not pass

Open
#22 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
210
Forks
40
PR merge metrics
No merged PRs in 30d

Description

Hello,

When I use the official solution which looks like this :


var bytes = [0, 15, 24, 3, 250, 83]
var buff = new Buffer(bytes)
console.log(buff.toString('hex'))

I see this output:


Your submission results compared to the expected:                                                        

                 ACTUAL                                  EXPECTED                                        
────────────────────────────────────────────────────────────────────────────────                         

   "000f1803fa53"                      !=    "7c11bcb6d2"                                                
   ""                                  ==    ""                                                          

────────────────────────────────────────────────────────────────────────────────                         

✗ Submission results match expected                                                                      

# FAIL                                                                                                   

Your solution to Hexadecimal Encoding didn't pass. Try again!  

nodejs version : v0.10.32
workshop version : bytewiser@2.0.1

Roelof

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

Reproduce the Hexadecimal Encoding exercise 2 using the official solution with Node.js v0.10.32 and workshop version bytewiser@2.0.1. Compare the displayed actual and expected outputs, then trace the exercise's official solution and expected result; it is done when the official solution passes the workshop test.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
content
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.