https://github.com/datamade/fix-a-bug

🛠 Debugging code challenge

https://github.com/datamade/fix-a-bug

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • â—‹
    CITATION.cff file
  • ✓
    codemeta.json file
    Found codemeta.json file
  • ✓
    .zenodo.json file
    Found .zenodo.json file
  • â—‹
    DOI references
  • â—‹
    Academic publication links
  • â—‹
    Academic email domains
  • â—‹
    Institutional organization owner
  • â—‹
    JOSS paper metadata
  • â—‹
    Scientific vocabulary similarity
    Low similarity (4.7%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

🛠 Debugging code challenge

Basic Info
  • Host: GitHub
  • Owner: datamade
  • License: mit
  • Language: Python
  • Default Branch: master
  • Size: 1.95 KB
Statistics
  • Stars: 1
  • Watchers: 3
  • Forks: 8
  • Open Issues: 0
  • Releases: 0
Created almost 7 years ago · Last pushed almost 7 years ago
Metadata Files
Readme License

README.md

🛠 fix-a-bug

Setup

Clone this repo.

bash git clone https://github.com/datamade/fix-a-bug.git && cd fix-a-bug

Install the requirements. (Feel free to use a virtual environment!)

bash pip install -r requirements.txt

Run the tests.

bash pytest -sv

Challenge

The code in fix_me.py contains four errors that are preventing the test from passing. Debug and correct each error. As you identify the errors, fill out a description of the problem and an explanation of the root cause and your fix in the section below.

Error 1

Description:

Explanation:

Error 2

Description:

Explanation:

Error 3

Description:

Explanation:

Error 4

Description:

Explanation:

Owner

  • Name: datamade
  • Login: datamade
  • Kind: organization
  • Email: info@datamade.us
  • Location: Chicago, IL

We build open source technology using open data to empower journalists, researchers, governments and advocacy organizations.

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels