Automates Lucian Academy with practise bots, submission and assignment handling. I wrote the algorithms in SWI-Prolog.
See Daily Regimen for scripts to run Lucian Academy and help meditate.
- combophil_alg_log.pl - helps record writing up to a number of algorithms per chapter file
- combophil_alg_log.txt - data file for combophil_alg_log.pl
- la_com_bot_prep.txt - paste file into Terminal each to create, maintain bots
- combophil_grammar_logic_to_alg.pl - used by la_com_bot_prep.txt to create bots
- folders.pl - data file containing Lucian's philosophy files
- grad_student_numbers.txt - data file containing graduated student data
- la_com_marks.pl - helps mark assignments, used by la_com_submit.pl
- la_com_submit.pl - helps student submit assignments (on web)
- la_com1.pl - submits and manages assignments of practise bots
- luciansphilosophy.txt - File to expand with Algorithm-Writer-with-Lists/grammar_logic_to_alg_random.pl (see Daily Regimen).
- short_essay_helper3_agps.pl - version of essay helper to write essays, used by la_com1.pl
- student_numbers.txt - data file for student data
- wrap_sources.pl - adds reference data (i.e. Title) to files (named "Department by Lucian Green Title") from sources and places them in sources1, for use by essay helper.
- wrap_sources2.pl - adds reference data (i.e. Title) to files (named "Title") from sources and places them in sources1, for use by essay helper.
Please read the following instructions on how to install the project on your computer for automating the Lucian Academy.
-
Please download and install SWI-Prolog for your machine at
https://www.swi-prolog.org/build/
. -
You may need to install gawk using Homebrew.
-
Install Translation Shell on Mac, etc. Change line in
culturaltranslationtool/ctt2.pl
trans_location("../../../gawk/trans").
to correct location of trans.
- Download:
- this repository
- listprologinterpreter
- Languages
- Cultural Translation Tool. Requires Translation Shell (you may need to install gawk using Homebrew. Install Translation Shell on Mac, etc.
Change line in culturaltranslationtool/ctt2.pl
trans_location("../../../gawk/trans").
to correct location of trans). - Algorithm-Writer-with-Lists
- Text-to-Breasonings. (Caution: Before running texttobr, think of two radio buttons put on recordings, put through with prayer, nut and bolt, quantum box prayer 1, 1, 0.5 cm and 1, 1, 0.5 cm. Follow instructions in Instructions for Using texttobr(2) when using texttobr, texttobr2 or mind reader to avoid medical problems).
- mindreader
- Download the LPPM Repository:
mkdir GitHub
cd GitHub/
git clone https://github.com/luciangreen/List-Prolog-Package-Manager.git
cd List-Prolog-Package-Manager
swipl
['lppm'].
lppm_install("luciangreen","Lucian-Academy").
../
halt.
- In Shell:
cd Lucian-Academy
swipl
-
Helps write algorithms for philosophies, keeping a tally of the number of algorithms written per file, where the algorithm stops asking for algorithms for files where the tally is equal to a set number, e.g. 4.
-
To run:
['combophil_alg_log.pl'].
combophil_alg_log.
?- combophil_alg_log.
["Fundamentals of Meditation and Meditation Indicators","FUNDAMENTALS OF MEDITATION by Lucian Green Hours Prayer 1 of 4.txt",0,algorithms,"8. I prepared to endorse Nietzsche’s brilliance. I did this by writing Alexius Meinong’s probable comments on the Medicine blog. First, I called it Anarchy 3. Second, I liked brilliance. Third, I liked Nietzsche’s brilliance. In this way, I prepared to endorse Nietzsche’s brilliance by writing Alexius Meinong’s probable comments on the Medicine blog."]
Algorithm? (y/n):
|: y
["Computational English","COMPUTATIONAL ENGLISH by Lucian Green Computational English Argument 1 of 4.txt",0,algorithms,"8. I prepared to calculate the used space in the house in the short story. I did this by calculating the space complexity in Computational English. First, I counted the number of characters of space that the short story’s world was in length. Second, I skipped counting the number of characters of space that the short story’s world, where this space was revisited, in length. Third, I summed only the cumulative number of characters of space that the short story’s world was in length. In this way, I prepared to calculate the used space in the house in the short story by calculating the space complexity in Computational English."]
Algorithm? (y/n):
|: n
true.
In the above, only the first paragraph's tally is increased, after entering y and n exits the program. To skip a paragraph and try a new paragraph, re-run the algorithm.
-
Run daily to maintain bots.
-
Make sure Text-to-Breasonings/brdict1.txt has breasonings from the folders (see instructions to run Text-to-Breasonings).
-
Paste the contents of
la_com_bot_prep.txt
into Terminal when in the Lucian-Academy folder.
-
Helps student submit assignments (on the web).
-
To run:
['la_com_submit.pl'].
la_com_start_server(8000).
- Go to:
http://localhost:8000/
http://localhost:8000/generate_student_number
See the first image asking for name, student number, course, essay topic and file contents from short_essay_helper.pl, the second image notifying that "Lucian, you have earned the mark, 66 for the topic Computational English Argument in the course Computational English on 15/2/2021 at 23:18.", the third image asking for name and student number to generate a student number and the fourth image notifying that "The email address "lg@me.com" for "Lucian" has the student number "1".".
- This web site uses a different student data file from
la_com1.pl
.
-
Generates and records completion of practise essays. A coin is tossed for a new student to come, and for each old student to complete an assignment. There IS breasoning involved, so please see text to breasonings safety tips.
-
The number of possible students to choose from, 1000, may be edited in:
new_student_number(N) :-
random(X),N is ceiling(1000*X),!.
in la_com1.pl
.
To run:
['la_com1.pl'].
la_com1.
-
wrap_sources.pl
adds reference data (i.e. Title) to files (named "Department by Lucian Green Title") from sources and places them in sources1, for use by essay helper. -
wrap_sources2.pl
adds reference data (i.e. Title) to files (named "Title") from sources and places them in sources1, for use by essay helper. -
To run:
['wrap_sources.pl']
wrap_sources.
or
['wrap_sources2.pl']
wrap_sources.
We will use SemVer for versioning.
Lucian Green - Initial programmer - Lucian Academy
I licensed this project under the BSD3 License - see the LICENSE.md file for details