Code Monkey home page Code Monkey logo

Comments (8)

HasturDev avatar HasturDev commented on July 19, 2024

0skhMH I created a specific Dojo I will have the last one collected and read to post before thursday

from jam-sessions.

HasturDev avatar HasturDev commented on July 19, 2024

I Do need help on thinking of a way to create something slightly harder or easier than the medium. Something that involves placing a single piece of data inside a regular CSV or creating something that feels like a medium or hard CSV
I just don't have any idea what that is

from jam-sessions.

xvillaneau avatar xvillaneau commented on July 19, 2024

Looking into the examples so far in the Dojo session, this is a great start. Thanks for your work!

I see that the "easy" file has a header line (with column names) while the "medium" one does not. I would suggest inverting that so that the first exercise is a little easier (getting numbers from a list of lines is a great beginner-level problem) and the medium one a little more interesting (ask for users to make sure the column names are conserved in the output). And I would not put those names in quotes just yet.

For a "hard" puzzle, here are some ideas that could make a good difficulty curve:

  • Have incomplete lines, e.g. a line where the last field is blank but the trailing comma is missing. E.g. banana,3 instead of banana,3, if there were 3 fields.
  • Have quoted string values with commas in them (they would be in quotes, so that the data is still technically valid CSV). E.g.: "Hello, World!"
  • To be extra evil, put in some "nice" numbers. E.g. "10,000" instead of 10000

from jam-sessions.

HasturDev avatar HasturDev commented on July 19, 2024

So I found out that the CSV size that I want to use will throw a site error. 800k is just to much for the system to handle. 100k is to large for the system to handle. There are a few options.
One I can hand people the CSV file to use if they want to do the full challenge with all 11 rows and however many thousands of columns.
Two I can go through the full tedium of removing

some of the more difficult things within the file that also increase it's size
Three I can split away the actually difficult parts of the file and just leave the Easier pieces which are still large ish

here is some of the file so you can get an idea of what I'm working with Terrible_Csv_File.txt

from jam-sessions.

xvillaneau avatar xvillaneau commented on July 19, 2024

I see, yes there are limitations in cyber-dojo. I usually avoid files that are more than 1000 lines long.

I like the idea for the last exercise, that's the kind of web-scraping messy data you were talking about. Looking forward to that!

from jam-sessions.

HasturDev avatar HasturDev commented on July 19, 2024

Nice also I need someone to look over the tests for the hard and medium. I don't know how you do them so I just wrote assertions that are looking for specific lines. The medium is looking for the copied list and the hard is looking for the first product in each webpage

from jam-sessions.

HasturDev avatar HasturDev commented on July 19, 2024

I think the tests for the Medium and Hard are looking for the correct output, but I think that the test for the easy might be incorrect

from jam-sessions.

HasturDev avatar HasturDev commented on July 19, 2024

Do I even need to personally write the tests or is that for everyone else?

from jam-sessions.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.