forked from CurricularAnalytics/CurricularAnalytics.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
272 additions
and
289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,29 @@ | ||
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) | ||
[![Build Status](https://travis-ci.org/CurricularAnalytics/CurricularAnalytics.jl.svg?branch=master)](https://travis-ci.org/CurricularAnalytics/CurricularAnalytics.jl) | ||
[![Coverage Status](https://coveralls.io/repos/github/CurricularAnalytics/CurricularAnalytics.jl/badge.svg?branch=master)](https://coveralls.io/github/CurricularAnalytics/CurricularAnalytics.jl?branch=master) | ||
[![DOI](https://zenodo.org/badge/147096983.svg)](https://zenodo.org/badge/latestdoi/147096983) | ||
|
||
# CurricularAnalytics.jl | ||
**CurricularAnalytics.jl** is a toolbox for studying and analyzing academic program curricula. The toolbox represents curricula as graphs, allowing various graph-theoretic measures to be applied in order to quantify the complexity of curricula. In addition to analyzing curricular complexity, the toolbox supports the ability to visualize curricula, to compare and contrast curricula, to create optimal degree plans for completing curricula that satisfy particular constraints, and to simulate the impact of various events on student progression through a curriculum. | ||
|
||
## Documentation | ||
Full documentation is available at [GitHub Pages](https://curricularanalytics.github.io/CurricularAnalytics.jl/latest/). | ||
Documentation for functions in this toolbox is also available via the Julia REPL help system. | ||
Additional tutorials can be found at the [Curricular Analytics Notebooks](https://github.com/CurricularAnalytics/CA-Notebooks) site. | ||
|
||
# Installation | ||
|
||
Installation is straightforward. First, install the Julia programming language on your computer. To do this, download Julia here: https://julialang.org, and follow the instructions for your operating system. | ||
|
||
Next, open the Julia application that you just installed. It should look similar to the image below. This interface is referred to as the `Julia REPL`. | ||
|
||
![Julia termain](https://s3.amazonaws.com/curricularanalytics.jl/julia-command-line.png) | ||
|
||
Next, enter Pkg mode from within Julia by hitting the `]` key, and then type: | ||
```julia-repl | ||
pkg> add CurricularAnalytics | ||
``` | ||
This will install the toolbox, along with the other Julia packages needed to run it. To load and use the toolbox, hit the `backspace` key to return to the Julia REPL. Now type: | ||
```julia-repl | ||
julia> using CurricularAnalytics | ||
``` | ||
The toolbox must be loaded again via `using CurricularAnalytics` every time you restart Julia. | ||
|
||
For more information about installing the toolbox, including the steps neccessary to utilize degree plan optimization, please see the [INSTALLING.md](https://curricularanalytics.github.io/CurricularAnalytics.jl/latest/install.html) | ||
|
||
## Supported Versions | ||
* CurricularAnalytics master will be maintained/enhanced to work with the latest stable version of Julia. | ||
* Julia 1.0.5, 1.2, 1.3, 1.4: CurricularAnalytics v1.0.0 is the latest version guaranteed to work with Julia 1.0.5 to version 1.4. | ||
* Later versions: Some functionality might not work with prerelease / unstable / nightly versions of Julia. If you run into a problem, please file an issue. | ||
|
||
# Contributing and Reporting Bugs | ||
We welcome contributions and bug reports! Please see [CONTRIBUTING.md](https://github.com/CurricularAnalytics/CurricularAnalytics.jl/blob/master/CONTRIBUTING.md) | ||
for guidance on development and bug reporting. | ||
# CurricularAnalytics.jl (Simulation) | ||
|
||
## Installation | ||
- Clone the repo to the local machine | ||
|
||
## Run Simulation Examples | ||
- ``` bash | ||
cd CurricularAnalytics.jl/example/Simulations | ||
``` | ||
- ``` bash | ||
julia runSimulation.jl | ||
``` | ||
|
||
## Set Course Pass Rate for a Specific Course | ||
- To access all courses in the curriculum: | ||
- If the degree plan is stored in the variable `degreePlan` | ||
- ``` julia | ||
courses = degreePlan.curriculum.courses | ||
``` | ||
- First Course: | ||
``` julia | ||
courses[1] | ||
``` | ||
- Change the pass rate of the first course to 0.5: | ||
``` julia | ||
courses[1].passrate = 0.5 | ||
``` | ||
|
||
**Note:** Change the simulation configurations and degree plans by adjusting **config** section |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,49 @@ | ||
using Pkg | ||
Pkg.activate("../..") | ||
Pkg.resolve() | ||
Pkg.instantiate() | ||
#using Pkg | ||
#Pkg.activate("../..") | ||
#Pkg.resolve() | ||
#Pkg.instantiate() | ||
using CurricularAnalytics | ||
|
||
include("CurriculumPool.jl") | ||
|
||
################### Change the Setting ################### | ||
# config | ||
num_students = 10 | ||
num_students = 50 | ||
course_passrate = 0.8 | ||
|
||
max_credits = 19 | ||
duration = 10 | ||
duration_lock = false | ||
duration = 14 | ||
durationLock = false | ||
stopouts = true | ||
|
||
performance_model = PassRate | ||
enrollment_model = Enrollment | ||
|
||
# Comment and uncomment to change the degree plan | ||
# courses, degree_plan = Example_C1() # refer to the curriculum in examples/Introduction/Example_C1.jl | ||
# courses, degree_plan = Example_C2() # refer to the curriculum in examples/Introduction/Example_C2.jl | ||
# courses, degree_plan = UKY_EE_curric() # refer to the curriculum in examples/UKY_EE_curric.jl | ||
# courses, degreePlan = Example_C1() # refer to the curriculum in examples/Introduction/Example_C1.jl | ||
# courses, degreePlan = Example_C2() # refer to the curriculum in examples/Introduction/Example_C2.jl | ||
# courses, degreePlan = UKY_EE_curric() # refer to the curriculum in examples/UKY_EE_curric.jl | ||
|
||
# Comment this whole section if use the courses and degree plan above | ||
degree_plan = read_csv("Univ_of_Arizona-Aero.csv") # change the degree plan csv file for different plan | ||
courses = degree_plan.curriculum.courses | ||
name = degree_plan.curriculum.name | ||
println() | ||
println("Degree Plan: $name") | ||
degreePlan = read_csv("./examples/Univ_of_Arizona-Aero.csv") # change the degree plan csv file for different plan | ||
courses = degreePlan.curriculum.courses | ||
name = degreePlan.curriculum.name | ||
println("\n $(degreePlan.curriculum.name), $(degreePlan.name)") | ||
|
||
########################################################## | ||
|
||
students = simple_students(num_students) # Create a cohort of students for simulation | ||
set_passrates(courses, course_passrate) # set pass rate for all courses | ||
students = simpleStudents(num_students) # Create a cohort of students for simulation | ||
setPassrates(courses, course_passrate) # set pass rate for all courses | ||
|
||
# run simulation | ||
simulation = simulate(degree_plan, | ||
simulation = simulate(degreePlan, | ||
students, | ||
max_credits = max_credits, | ||
performance_model = PassRate, | ||
enrollment_model = Enrollment, | ||
performance_model=PassRate, | ||
enrollment_model=Enrollment, | ||
duration = duration, | ||
duration_lock = duration_lock, | ||
durationLock = durationLock, | ||
stopouts = stopouts) | ||
|
||
simulation_report(simulation, duration, course_passrate, max_credits) | ||
simulationReport(simulation, duration, course_passrate, max_credits) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
Curriculum,Aerospace Engineering,,,,,,,,, | ||
Degree Plan,2019-20 Degree Plan,,,,,,,,, | ||
Institution,University of Arizona,,,,,,,,, | ||
Degree Type,BS,,,,,,,,, | ||
System Type,semester,,,,,,,,, | ||
CIP,14.0201,,,,,,,,, | ||
Courses,,,,,,,,,, | ||
Course ID,Course Name,Prefix,Number,Prerequisites,Corequisites,Strict-Corequisites,Credit Hours,Institution,Canonical Name,Term | ||
1,Calculus I w/ Applications,MATH,125,,,,3,,,1 | ||
2,Gen Chemistry I,CHEM,151,,,,4,,,1 | ||
3,First-year Comp.,ENGL,101,,,,3,,,1 | ||
4,Intro to Engineering,ENGR,102,,1,,3,,,1 | ||
5,Tier I General Ed.,,,,,,3,,,1 | ||
6,Calculus II,MATH,129,1,,,3,,,2 | ||
7,Intro. to MATLAB I,AME,105,1,,,1,,,2 | ||
8,Intro Mechanics,PHYS,141,1,,,4,,,2 | ||
9,First-year Comp.,ENGL,102,3,,,3,,,2 | ||
10,Programming for Eng. Apps.,ECE,175,,1,,3,,,2 | ||
11,Tier I General Ed. 1,,,,,,3,,,2 | ||
12,Statics,CE,214,8;6,,,3,,,3 | ||
13,Vector Calculus,MATH ,223,6,,,4,,,3 | ||
14,Electricity & Magnetism,PHYS,241,6;8,,,4,,,3 | ||
15,Intro. To MATLAB II,AME ,205,7,,,1,,,3 | ||
16,Comp. Aided Drafting & Manufacturing,AME,211,,,,3,,,3 | ||
17,Tier I General Ed. 2,,,,,,3,,,3 | ||
18,Thermodynamics,AME,230,8,,,3,,,4 | ||
19,Dynamics,AME,250,12,20,,3,,,4 | ||
20,Intro. to ODEs,MATH,254,13,,,3,,,4 | ||
21,Intro. to Aerospace Eng.,AME,220,13; 8,20,,3,,,4 | ||
22,Tier I General Ed. 3,,,,,,3,,,4 | ||
23,Aerodynamics,AME,320,21,26,,3,,,5 | ||
24,Mech. Behavior of Eng. Materials.,AME ,324A,12,,,3,,,5 | ||
25,Engineering Analysis,AME,301,20,,,3,,,5 | ||
26,Instrumentation Lab.,AME,300,,24;18,,3,,,5 | ||
27,Fund. of Materials for Engineers,MSE,331R,2,,,3,,,5 | ||
28,Mech. of Materials Lab.,AME,324L,25,,,1,,,5 | ||
29,Eng. Component Design,AME,324B,25,,,3,,,6 | ||
30,Aircraft Performance,AME,321,19;21,23,,3,,,6 | ||
31,Gasdynamics,AME,323,20; 18; 21,32,,3,,,6 | ||
32,Numerical Methods,AME,302,20;15;19,26,,3,,,6 | ||
33,Aero./Mech. Eng. Lab,AME,313,,,,1,,,6 | ||
34,Tier II General Ed. 1,,,,,,3,,,6 | ||
35,Senior Aerospace Lab.,AME,401,27;23;31,,,3,,,7 | ||
36,Aerospace Conceptual Design,AME,420,33;23;30;31,,,3,,,7 | ||
37,Aerospace Propulsion,AME,425,18;31;24,,,3,,,7 | ||
38,Stability and Control of Aero. Vehicles,AME,427,23;30;15,,,3,,,7 | ||
39,Orbital Mechanicans and Space Flt.,AME,457,13;19,,,3,,,7 | ||
40,Senior Colloquium,AME,495S,,,,1,,,7 | ||
41,Aerospace Eng.Design,AME,422,36,33,,3,,,8 | ||
42,Num. Meth. in Fluid Mech. & Heat Xfer,AME,431,18;24;32,,,3,,,8 | ||
43,Technical Elective 1,,,,,,3,,,8 | ||
44,Technical Elective 2,,,,,,3,,,8 | ||
45,Tier II General Ed. 2,,,,,,3,,,8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.