Git Product home page Git Product logo

courser's Introduction

Courser generates automatic solutions to scheduling requirements, such as those found in college course catalogs. Universities would offer it as a service to their student body.


I'm pleased to announce that I now
have a fully functional prototype of this program.  It is mindful of
subject availability each semester, class time conflicts, unit limits,
subject requirements, and the possible change of requirements from
semester to semester. It's written in Python, and I've attempted to wrestle it into a Django website format but have had little luck so far.

I've started with MIT course 6.3 requirements, but it can be easily
generalized to any goal and any catalog.  Right now I'm using a
simplified dataset with several limitations:
I assume that every semester offers the same classes, and that the
meeting times for each class are a consecutive 50 minute block
(randomly assigned at creation) between the hours of 0800 and 1700,
five days a week.
I have so far ignored GIR and HASS classes.
I've created the dataset with a mixture of manual input and text
editing macros, so it's possible there are some errors in
requirements.
No robust user interface exists, either command line or GUI.



Running these commands will print out a solution to the 6.3 requirements.

from courser.Catalog import Catalog
from courser.CoursePlan import CoursePlan
from courser.Subject import Subject
from courserTests.Dataset import Dataset


dset = Dataset()
dset.dataSetup()
catalog = Catalog(dict(zip([str(x) for x in dset.terms], dset.terms)))
cplan = CoursePlan([], catalog)
goalReq = dset.reqs63
startTerm = dset.terms[0]

cplan.desired = cplan.solveReq(goalReq, startTerm).getSubjects()
cplan.plotRemainingSemesters()

cplan

courser's People

Contributors

rtclay avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar

Forkers

yuzhile

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.