Skip to content

Commit

Permalink
Add small fixes in about page and generator test files (#31)
Browse files Browse the repository at this point in the history
* Update about page title

* Fix about page typos

* linting

* fix generator tests typos

* update evaluation in generator test file
  • Loading branch information
AJaccP authored Sep 15, 2024
1 parent c785a66 commit a83bca3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, expect } from "@jest/globals";
import Generator from "./generator";

describe("comp2804/2019-winter-final/1", () => {
describe("comp2804/2013-fall-midterm/1", () => {
describe("createSetSizes", () => {
it("will make sizeA smaller than sizeB", () => {
const generator = new Generator();
Expand Down Expand Up @@ -43,7 +43,7 @@ describe("comp2804/2019-winter-final/1", () => {
});

describe("createIncorrectOption1", () => {
it("will return an option where the numerator and delimeter are flipped", () => {
it("will return an option where the numerator and denominator are flipped", () => {
const generator = new Generator();

const option = generator.createIncorrectOption1(7, 13);
Expand All @@ -54,7 +54,7 @@ describe("comp2804/2019-winter-final/1", () => {
});

describe("createIncorrectOption2", () => {
it("will return an option where the delimeter is one less than the correct option", () => {
it("will return an option where the denominator is one less than the correct option", () => {
const generator = new Generator();

const option = generator.createIncorrectOption2(7, 13);
Expand All @@ -65,7 +65,7 @@ describe("comp2804/2019-winter-final/1", () => {
});

describe("createIncorrectOption3", () => {
it("will return an option where the numerator is one less than the correct option and the delimeter is one more than the correct option", () => {
it("will return an option where the numerator is one less than the correct option and the denominator is one more than the correct option", () => {
const generator = new Generator();

const option = generator.createIncorrectOption3(7, 13);
Expand Down
18 changes: 9 additions & 9 deletions src/pages/about.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ import Back from "@components/Back/Back.astro";
import { default as Layout } from "src/layouts/Content/Content.astro";
---

<Layout title="Changelog">
<Layout title="About">
<div class="Question__bar">
<Back href={`/`} label="Home" />
</div>
<h1>About</h1>
<p>
The Carleton Computer Science Question Repository is collection of practice
questions for Carleton University's Computer Science courses. The questions
are sourced from previous evaluations and are intended to help students
prepare for exams.
The Carleton Computer Science Question Repository is a collection of
practice questions for Carleton University's Computer Science courses. The
questions are sourced from previous evaluations and are intended to help
students prepare for exams.
</p>
<p>
The project was developed by students with resources and content provided by
staff members of Carleton University's School of Computer Science.
</p>
<p>
For those familliar with <a href="https://discretemath.ca/#/"
For those familiar with <a href="https://discretemath.ca/#/"
>DiscreteMath.ca</a
>, this website is a modernized version built to support multiple courses
and provide an easier experience for maintainers and volunteers.
Expand Down Expand Up @@ -57,15 +57,15 @@ import { default as Layout } from "src/layouts/Content/Content.astro";
</p>
<p>
In March 2020, the three would begin work on a project called the "Carleton
Computer Science Study Center", named to parralel the <a
Computer Science Study Center", named to parallel the <a
href="https://cglab.ca/~discmath/about.html">Discrete Math Study Center</a
> created by Prosenjit Bose and John Howat for COMP 1805 course. Using previous
midterms and finals written by Michiel Smid and Pat Morin, Alexa manually formatted
and organized each question from 2013-2019. Matthew wrote the first version of
the website.
</p>
<p>
In Summer 2021, Forest hosted another event focussed on developing
In Summer 2021, Forest hosted another event focused on developing
interactive resources at Carleton: "Hacking COMP 1XXX" and Matthew led an
effort to rebuild the site with a group of volunteers including Damilola
Adesola, Elias Hawa, Erica Li, Jonathon Steeves, and Robert Babaev. This
Expand All @@ -90,7 +90,7 @@ import { default as Layout } from "src/layouts/Content/Content.astro";
maintainers and volunteers to contribute to the project. All content was
moved to a new repository and the project was renamed to "Carleton Computer
Science Question Repository". John Lu and Nguyen-Hanh Nong also collaborated
on writting out solutions for almost all of the past COMP 2804 questions.
on writing out solutions for almost all of the past COMP 2804 questions.
John Lu also tagged all questions with tags related to their associated
course chapter, enabling students to be able to practice questions based on
the chapter they are currently studying.
Expand Down

0 comments on commit a83bca3

Please sign in to comment.