Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
2
2023assignment2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cosc250-2023
2023assignment2
Commits
52dc05e4
Commit
52dc05e4
authored
3 years ago
by
William Billingsley
Browse files
Options
Downloads
Patches
Plain Diff
Altered mark scheme for 2022
parent
71518a13
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+15
-2
15 additions, 2 deletions
README.md
with
15 additions
and
2 deletions
README.md
+
15
−
2
View file @
52dc05e4
...
@@ -132,6 +132,13 @@ Partially implemented, you have:
...
@@ -132,6 +132,13 @@ Partially implemented, you have:
(average the position vectors). Then for each boid, calculate the square of its distance from the centroid. Return the
(average the position vectors). Then for each boid, calculate the square of its distance from the centroid. Return the
mean of that. To test this, hit the "explosion of boids" button. It should drop to nearly zero and then grow.
mean of that. To test this, hit the "explosion of boids" button. It should drop to nearly zero and then grow.
## Tests
There are 3 marks for writing tests of functional components in your code (2 each for
`Boid`
,
`Seq[Boid]`
, and
`SimulationFrame`
and/or
`FrameMemory`
). The point of this is not to ensure broad test coverage - this is not a
test-driven development unit - but to give you a little experience in how making code functional and composable makes it
amenable to unit testing.
## Marking
## Marking
The marking is aimed to be able to be done quickly, with the written feedback being
The marking is aimed to be able to be done quickly, with the written feedback being
...
@@ -139,13 +146,19 @@ more formative and open-ended.
...
@@ -139,13 +146,19 @@ more formative and open-ended.
Functionality:
Functionality:
*
The boids simulation works:
7
*
The boids simulation works:
6
*
Adding a boid by clicking the canvas works: 1
*
Adding a boid by clicking the canvas works: 1
*
Wind works: 1
*
Wind works: 1
*
Startle works: 1
*
Startle works: 1
*
Regenesis works: 1
*
Regenesis works: 1
*
Action replay works: 1
*
Action replay works: 1
*
Mean direction, separation, and velocity works: 3 (1 each)
*
Mean direction, separation, and velocity works: 1 (together)
Tests you've written:
*
At least 2 tests for Boid: 1
*
At least 2 tests for extension methods on Seq[Boid]: 1
*
At least 2 tests for SimulationFrame and/or FrameMemory: 1
Quality:
Quality:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment