Coder Social home page Coder Social logo

exercism-config-viz's Introduction

Track config visualizer for exercism.io

This is a simple Shiny app for visualizing the config.json files of language tracks on exercism.io.

It utilizes jsonlite to parse the JSON files and the visNetwork package for visualizing the progression of exercises as a network path.

It should be accessable via Shinyapps.io, provided that I haven't reached my usage quota.

Setup/Install

To run it locally, clone this repo and make sure you have installed R and RStudio as well as the following R packages:

  • shiny
  • jsonlite
  • dplyr
  • visNetwork
  • shinycssloaders
install.packages("shiny")
install.packages("jsonlite")
install.packages("dplyr")
install.packages("visNetwork")
install.packages("shinycssloaders")

Then simply open up the project/directory in RStudio and run shiny::runApp().

Contributing

Please feel free to open an issue or pull request if you encounter problems or would like to contribute fixes/improvements etc.

exercism-config-viz's People

Contributors

jonmcalder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

katrinleinweber

exercism-config-viz's Issues

Exercism V3 compatability?

Interested to update this to the Exercism V3 spec for the config files?
From time to time I have use cases for which this tool is incredibly useful, but it does no work for the changed schema of the V3 track.

Order of "unlocked_by": null elements determines graph edges _together_ with "unlocked_by": "..."

To specify the issue I mentioned in exercism/r#127 (comment): I'm seeing cycles/loops, for example when I set bob to "unlocked_by": "anagram":

Screen Shot 2019-08-30 at 21 41 16

Could there be a bug here somewhere:

from = config$exercises$unlocked_by[!is.na(config$exercises$unlocked_by)] %>%
c(core_exercises$id[1:nrow(core_exercises) - 1])
to = config$exercises$slug[!is.na(config$exercises$unlocked_by)] %>%
c(core_exercises$id[-1])
? Maybe with the is.na()? Does it return a sensible result when the nulls from the JSON are fed into it?

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.