-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #104 from CurricularAnalytics/development
additional tests, learning outcomes graph & example
- Loading branch information
Showing
21 changed files
with
1,091 additions
and
61 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 |
---|---|---|
|
@@ -9,9 +9,6 @@ os: | |
- linux | ||
|
||
julia: | ||
- 1.0.5 | ||
- 1.1 | ||
- 1.2 | ||
- 1.3 | ||
- 1.4 | ||
- 1.5 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "CurricularAnalytics" | ||
uuid = "593ffa3d-269e-5d81-88bc-c3b6809c35a6" | ||
authors = ["Greg Heileman <[email protected]>", "Hayden Free <[email protected]>", "Orhan Abar <[email protected]>", "Will Thompson <[email protected]>"] | ||
version = "1.1.0" | ||
version = "1.1.1" | ||
|
||
[deps] | ||
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" | ||
|
@@ -12,6 +12,7 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | |
LightGraphs = "093fc24a-ae57-5d10-9952-331d41423f4d" | ||
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" | ||
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a" | ||
MetaGraphs = "626554b9-1ddb-594c-aa3c-2596fe9399a5" | ||
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7" | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
|
||
|
@@ -21,4 +22,4 @@ DataFrames = "0.21.0" | |
DataStructures = "0.17.0" | ||
Documenter = "0.24.0" | ||
LightGraphs = "1.3.0" | ||
julia = "1.0.5, 1.1, 1.2, 1.3, 1.4, 1.5" | ||
julia = "1.3, 1.4, 1.5" |
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
Binary file not shown.
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,65 @@ | ||
using CurricularAnalytics | ||
# # create learning outcomes | ||
l = Array{LearningOutcome}(undef, 12) | ||
l[1] = LearningOutcome("Conceptualize engineering problems as computational problems","L1_task",3) | ||
l[2] = LearningOutcome("Design computer programs using modular programming","L2_task",3) | ||
l[3] = LearningOutcome("Understand the basics of data structures","L3_task",3) | ||
l[4] = LearningOutcome("Solve a resistive network that is excited by an AC or a DC source","L4_task",3) | ||
l[5] = LearningOutcome("Solve first-order circuits involving resistors and a capacitor or an inductor","L5_task",3) | ||
l[6] = LearningOutcome("Derive the complex impedance associated with a resistive, inductive and capacitive load","L6_task",3) | ||
l[7] = LearningOutcome("Apply knowledge of mathematics, science and engineering","L7_task",3) | ||
l[8] = LearningOutcome("Design and conduct experiments, as well as analyze and interpret data","L8_task",3) | ||
l[9] = LearningOutcome("Identify, formulate and solve engineering problems","L9_task",3) | ||
l[10] = LearningOutcome("Know how to construct basic gates (inverter, AND, OR) using NMOS and PMOS switches","L10_task",3) | ||
l[11] = LearningOutcome("Know the cause of delays associated with logic gates","L11_task",3) | ||
l[12] = LearningOutcome("Know number representations in different bases, and methods for converting from one base to another","L12_task",3) | ||
# learning_outcomes of course 1 | ||
add_lo_requisite!(l[1],l[2],pre) | ||
add_lo_requisite!(l[1],l[3],pre) | ||
# learning_outcomes of course 2 | ||
add_lo_requisite!(l[4],l[5],pre) | ||
add_lo_requisite!(l[4],l[6],pre) | ||
# learning_outcomes of course 3 | ||
add_lo_requisite!(l[7],l[8],pre) | ||
add_lo_requisite!(l[7],l[9],pre) | ||
# learning_outcomes of course 4 | ||
add_lo_requisite!(l[10],l[11],pre) | ||
add_lo_requisite!(l[10],l[12],pre) | ||
# create the courses | ||
c = Array{Course}(undef, 4) | ||
# term 1 | ||
c[1] = Course("Computer Programming for Engineering Applications", 3, prefix = "ECE ", learning_outcomes = [l[1],l[2],l[3]],num = "175") | ||
# term 2 | ||
c[2] = Course("Elements of Electrical Engineering", 3, prefix = "ECE", learning_outcomes = [l[4],l[5],l[6]],num ="207") | ||
c[3] = Course("Basic Circuits", 3, prefix = "ECE", learning_outcomes = [l[7],l[8],l[9]], num = "220" ) | ||
#test1 | ||
# term 3 | ||
c[4] = Course("Digital Logic", 3, prefix = "ECE", learning_outcomes = [l[10],l[11],l[12]], num = "274A") | ||
# term 1 | ||
add_requisite!(c[1],c[2],pre) | ||
add_requisite!(c[1],c[3],pre) | ||
# term 2 | ||
add_requisite!(c[2],c[4],pre) | ||
curric = Curriculum("Example Curricula c1", c, learning_outcomes = l) | ||
print(curric.courses) | ||
# print(curric.learning_outcomes) | ||
# print(curric.graph) | ||
# print(curric.lo_graph) | ||
# errors = IOBuffer() | ||
# if isvalid_curriculum(curric, errors) | ||
# println("Curriculum $(curric.name) is valid") | ||
# println(" delay factor = $(delay_factor(curric))") | ||
# println(" blocking factor = $(blocking_factor(curric))") | ||
# println(" centrality factor = $(centrality(curric))") | ||
# println(" curricular complexity = $(complexity(curric))") | ||
# else | ||
# println("Curriculum $(curric.name) is not valid:") | ||
# print(String(take!(errors))) | ||
# end | ||
# terms = Array{Term}(undef, 3) | ||
# terms[1] = Term([c[1]]) | ||
# terms[2] = Term([c[2],c[3]]) | ||
# terms[3] = Term([c[4]]) | ||
# dp = DegreePlan("Example Curricula c1", curric, terms) | ||
# basic_metrics(dp) | ||
# dp.metrics |
Oops, something went wrong.
68dccdd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
68dccdd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/33371
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: