GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - AmaneKai/YuriBetterThanYaoi

BranchesTags
Open more actions menu

Latest commit

 

History

24 Commits
24 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
data
data
 
 
notebooks
notebooks
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
find_cells.py
find_cells.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

CSMODEL MCO2 Project Repository

This repository contains the source code and workflow for the CSMODEL Major Course Output.

To prevent Git merge conflicts and corrupted notebook files, we are strictly using Jupytext. Do not commit .ipynb files to this repository. All notebook development will be done via synchronized .py files.

Project Structure

.
├── .gitignore
├── README.md
├── requirements.txt
├── data/                    # Local datasets (ignored by Git)
│   ├── anime-dataset-2023.csv
│   ├── filtered_users-score-2023.csv
│   └── users-details-2023.csv
├── notebooks/               # Development scripts
│   └── MCO_FINAL.py         # Final development script (synced via Jupytext)
├── scripts/                 # Automation and verification utilities
│   └── enforce_limits.py    # Local/CI syllabus constraint verification
└── deliverables/            # Final exports (PDFs, compiled notebook)

Setup Instructions

1. Prerequisites

Ensure you have Python installed on your system. Install uv (our package manager) globally:

Windows:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

macOS/Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

2. Environment Configuration

Clone this repository and open the folder in your terminal. Run the following commands to create the virtual environment and install dependencies:

# Create a virtual environment
uv venv

# Activate the virtual environment
# Windows:
.venv\Scripts\activate
# macOS/Linux:
source .venv/bin/activate

# Install dependencies from requirements.txt
uv pip install -r requirements.txt

3. Data Setup

  1. Create a data/ folder in the root directory if it does not exist.
  2. Download the datasets from MyAnimeList (anime-dataset-2023.csv, users-details-2023.csv, filtered_users-score-2023.csv).
  3. Place them inside the data/ folder. Do not commit these files to Git.

4. VS Code Setup & Workflow

To work with the Jupytext .py files as if they were standard Jupyter Notebooks, configure VS Code as follows:

  1. Install the Python and Jupyter extensions in VS Code.
  2. Install the Jupytext extension (by congyiwu).
  3. Open any .py file inside the notebooks/ directory.
  4. If you have the Jupytext extension installed, VS Code will automatically prompt you to open it as a Notebook, or you can right-click the .py file and select "Open With -> Jupytext".
  5. Ensure your Jupyter Kernel is set to the .venv created in Step 2.

5. Git Protocol

  • Work on your assigned section within the notebooks/ directory (e.g., MCO_FINAL.py or separate sandbox files as agreed).
  • Write all code and markdown cells directly in the .py file format.
  • Push your changes to the repository on the master branch.
  • Never push .ipynb files. The final MCO_FINAL.ipynb file will be compiled locally or via the CI/CD pipeline.

6. Local Constraint Verification

To verify that your Markdown word counts, required section headers, and total figure counts comply with the strict DLSU CSMODEL syllabus before committing, run:

python scripts/enforce_limits.py

This script acts as our "Syllabus Enforcer". If any constraint is violated, it will print the exact cell index and failure details to prevent an automatic zero grade.

Final Compilation

To manually compile the Python script into a Jupyter Notebook locally, run:

jupytext --to ipynb notebooks/MCO_FINAL.py

Alternatively, pushing your changes to master automatically compiles the notebook on GitHub Actions and attaches the final .ipynb as a downloadable artifact.

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

2 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.