Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out how to keep ConditionalRules in the tree data through to the end #125

Open
hawkrives opened this issue Aug 10, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@hawkrives
Copy link
Contributor

Store a ConditionalRuleSolution and Result, with a evaluation_result: bool key to denote which branch was selected. Then render these in the output.

Need to figure out how to store conditional clause chunks.

The goal here is twofold:

  1. Make it easier to write reports, by having a consistent structure for all results in a catalog year

  2. Actually show students what is required, and what might be required – for instance, currently, in the Education major, you have to take a course in your Area(s) of Expertise, which are determined by your other major(s). for instance: Chem -> Teaching Science; MATH -> Teaching Math. Currently, no one can see those unless they meet the prereq of having declared the other major(s). Similarly, American Studies allows you to count three AMCON courses if you take the final one in the sequence, but you can't count any of them if you don't complete the sequence. So, if you don't have the last one, there's no indication on the page that you can ever count the AMCON courses.

I guess I will probably still need a "hidden" flag on these, to hide the items like "alternative courses" that departments sometimes want to automatically count, but not show to students…

@hawkrives hawkrives added the enhancement New feature or request label Aug 10, 2020
@hawkrives
Copy link
Contributor Author

I'm working on this in the refactor-conditionals branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant