Coder Social home page Coder Social logo

prembharwani / clash-hai-bhai Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 7.0 8.95 MB

Tool for IITK students to plan the courses they could take for their next academic semester! And so that you don't get stuck with a course you never wanted!

Home Page: https://prembharwani.github.io/clash-hai-bhai/

Python 5.17% CSS 1.49% JavaScript 61.93% TypeScript 22.19% HTML 0.08% Shell 9.15%
iitk pclubiitk

clash-hai-bhai's Introduction

Clash-Hai-Bhai

Description

clash hai bhai is a tool enabling students from IIT Kanpur to design their academic template efficiently by automatically navigating through 500+ courses across 20+ departments that do not clash with the user's existing course template.

Motivation

While I was planning my academic template during 2022 summers, I found it to be very tedious & time-consuming to look up my template & the courses I could take up. Since I wanted to make full use of the academic flexibility at IITK & explore all the options at hand, I decided to develop this tool which would automate this process.

Also the story behind the name, in case you were wondering:

Friend 1: "Oye tu konsa OE le raha hai? ESO207 lele accept ho raha hai"

Friend 2: "clash hai bhai!"

Setup

1. Prepare the course data

Please follow the steps mentioned here to procure the course data from here

2. Run the server

Install the node dependencies:

$ npm install

Run the development server using:

$ npm run dev

clash-hai-bhai's People

Contributors

abhishekshree avatar ishanbawne20 avatar krishnansh5 avatar prembharwani avatar theslyther-in avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

clash-hai-bhai's Issues

Fix and improve extract_course_data

@theslyther-in

When you run the script scrape_csv.py, you would encounter the error:

$ python .\scrape_csv.py
Traceback (most recent call last):
  File "C:\clash-hai-bhai\extract_course_data\scrape_csv.py", line 6, in <module>
    import fix
  File "C:\clash-hai-bhai\extract_course_data\fix.py", line 8, in <module>
    f = open(filename, 'r')
FileNotFoundError: [Errno 2] No such file or directory: 'output.json'

Could you please work on the following:

  • Fix the bug I have mentioned above
  • Currently the files are pretty much scattered and it is hard to understand the purpose they serve. Could you please restructure the code into modular functions & just move all the utility functions into one file itself. There are unnecessary files, please get rid of them.

Incorrect template courses case is currently being handled incorrectly

Scenario: If we have a course in a specific template which is not being offered in the current semester, the app logic doesn't handle this correctly.

For instance if you have "AB123" in the template, and the course_data.js doesn't contain "AB123" then your app would throw an error. This could be resolved by verifying whether each course that is specified in the template is actually being offered, and if not then do not include that in the already selected courses.

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.