Coder Social home page Coder Social logo

rmlessontiming's Introduction

RM Lesson Timing

The main code for calculating lesson time is lessontiming.py.

This code estimates lesson lengths for RM lessons. The code asks the user to select the OS file for the lesson; it requires the OS file name to include the lesson number and the lesson item scripts to be located in a directory called Scripts/ in the same directory as the OS file. The OS file and all lesson item scripts must be in the docx format.

Python 2.7 is required. There is one optional command line argument; the path to the OS file can be supplied directly, skipping the file selection dialog.

The included Python scripts are:

  1. lessontiming.py: Given an OS file, extracts the "weak + behind" and "weak + ontime" paths and estimates the length of each lesson item as well as the total length of these two paths. The resulting data are placed in file called [lesson]_timing.csv in the same directory as the OS file, and this file is automatically opened for the user.
  2. parseOSfile.py: Called by lessontiming.py and getallpaths.py, extracts the lesson paths from a given OS file.
  3. lessonitemstats.py: Called by lessontiming.py and parseallitems.py, extracts the relevant features in the given lesson item script.
  4. getallpaths.py: Loops through all lessons in the curriculum and extracts the "weak + behind" path using parseOSfile.py.
  5. parseallitems.py: Loops through all lesson items in the curriculum and extracts the relevant statistics using lessonitemstats.py.

Note: Some of the feature extraction methods may seem somewhat tortured. This is because the format of OS files and scripts is almost, but not quite, standard.

rmlessontiming's People

Contributors

wlmiller avatar

Watchers

 avatar

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.