From 13cbb28e1f51005c506510a99296c8e8cc3bea1f Mon Sep 17 00:00:00 2001
From: Morten Hannemose <morten@hannemose.dk>
Date: Thu, 5 Oct 2023 13:50:37 +0200
Subject: [PATCH] Simplified week6 tests

---
 cp/project3/unitgrade_data/Week06MultiTap.pkl   | Bin 470 -> 470 bytes
 cp/project3/unitgrade_data/Week06SpellCheck.pkl | Bin 531 -> 531 bytes
 cp/tests/tests_week06.py                        |   4 ++--
 .../unitgrade_data/Week06ExtractKeywords.pkl    | Bin 132 -> 132 bytes
 .../Week06GetPeopleByLanguage.pkl               | Bin 140 -> 140 bytes
 .../unitgrade_data/Week06LetterHistogram.pkl    | Bin 132 -> 132 bytes
 cp/tests/unitgrade_data/Week06MultiTap.pkl      | Bin 119 -> 119 bytes
 .../unitgrade_data/Week06SentimentAnalysis.pkl  | Bin 137 -> 137 bytes
 cp/tests/unitgrade_data/Week06SpellCheck.pkl    | Bin 123 -> 123 bytes
 cp/tests/unitgrade_data/Week06TextToNato.pkl    | Bin 122 -> 122 bytes
 .../Week06TruncateAndNormalize.pkl              | Bin 130 -> 130 bytes
 cp/tests/unitgrade_data/Week06WordHistogram.pkl | Bin 128 -> 128 bytes
 12 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cp/project3/unitgrade_data/Week06MultiTap.pkl b/cp/project3/unitgrade_data/Week06MultiTap.pkl
index a1f2652d8ee0a9975986b1b10392b19c9a040a50..9261afe38325a958d1c437fb7b9a035c36553500 100644
GIT binary patch
delta 19
acmcb{e2sa6C6l4VL~COvSGkP^X^a3q1qHJJ

delta 19
acmcb{e2sa6C6h|WL~COv%RL(l(ij0n2L`AB

diff --git a/cp/project3/unitgrade_data/Week06SpellCheck.pkl b/cp/project3/unitgrade_data/Week06SpellCheck.pkl
index 18d671637f35ec674e54624604e5e7df388308a5..f885829bba48187e95b52bb755a78e84371dc368 100644
GIT binary patch
delta 19
bcmbQtGMQz9HIrh%L|aoPr!N~z<}(5SJ39t#

delta 19
bcmbQtGMQz9HIu@PiMFOp?nN6*<}(5SKAQ%2

diff --git a/cp/tests/tests_week06.py b/cp/tests/tests_week06.py
index 9acb861..b37210e 100644
--- a/cp/tests/tests_week06.py
+++ b/cp/tests/tests_week06.py
@@ -21,9 +21,9 @@ class Week06LetterHistogram(UTestCase):
 class Week06WordHistogram(UTestCase):
     def test_WordHistogram(self):
         from cp.ex06.word_histogram import word_histogram
-        self.assertEqual(word_histogram(["Write the function word_histogram."," which takes as argument a list containing lines of a text."]),{'write': 1, 'the': 1, 'function': 1, 'wordhistogram': 1, 'which': 1, 'takes': 1, 'as': 1, 'argument': 1, 'a': 2, 'list': 1, 'containing': 1, 'lines': 1, 'of': 1, 'text': 1})
+        self.assertEqual(word_histogram(["Write the function word histogram."," which takes as argument a list containing lines of a text."]),{'write': 1, 'the': 1, 'function': 1, 'word': 1, 'histogram': 1, 'which': 1, 'takes': 1, 'as': 1, 'argument': 1, 'a': 2, 'list': 1, 'containing': 1, 'lines': 1, 'of': 1, 'text': 1})
         self.assertEqual(word_histogram(["The function should make a histogram of words that occur in the text.","Punctuation, spaces, and capitalization should be ignored.",]),{'the': 2, 'function': 1, 'should': 2, 'make': 1, 'a': 1, 'histogram': 1, 'of': 1, 'words': 1, 'that': 1, 'occur': 1, 'in': 1, 'text': 1, 'punctuation': 1, 'spaces': 1, 'and': 1, 'capitalization': 1, 'be': 1, 'ignored': 1})
-        self.assertEqual(word_histogram(["The function should return a dictionary, e.g. {'write': 2, 'the': 12, 'function': 7, …}",]),{'the': 2, 'function': 2, 'should': 1, 'return': 1, 'a': 1, 'dictionary': 1, 'eg': 1, 'write': 1})
+        self.assertEqual(word_histogram(["The function should return a dictionary. The function.",]),{'the': 2, 'function': 2, 'should': 1, 'return': 1, 'a': 1, 'dictionary': 1})
  
 class Week06ExtractKeywords(UTestCase):
     def test_ExtractKeywords(self):
diff --git a/cp/tests/unitgrade_data/Week06ExtractKeywords.pkl b/cp/tests/unitgrade_data/Week06ExtractKeywords.pkl
index 7ea750c04c207940e19dfa92b8e45ed6d956ced9..558fddbee940f02ae2977a51805fe2ffc9dd03f9 100644
GIT binary patch
delta 16
UcmZo+Y+;;G&1qP`00O0Y03uieV*mgE

delta 16
UcmZo+Y+;;G&1tuU0R&3*03>Y#qyPW_

diff --git a/cp/tests/unitgrade_data/Week06GetPeopleByLanguage.pkl b/cp/tests/unitgrade_data/Week06GetPeopleByLanguage.pkl
index d2b329a85c29b596c5df0c52d07c3a2fd9d908ff..cce2b0e954fd7978757864f33bd02d76d289759d 100644
GIT binary patch
delta 22
bcmeBS>|vbX!X&X^qMI$J<^={2DAfZ1M#%+Y

delta 22
bcmeBS>|vbX!lZa%qMI$J_6!CPDAfZ1NJ0f=

diff --git a/cp/tests/unitgrade_data/Week06LetterHistogram.pkl b/cp/tests/unitgrade_data/Week06LetterHistogram.pkl
index db891475285b6ebf010c78d697ff931b17a48745..1a2c7f32393eb919b9d85fadfde664c01ce96abd 100644
GIT binary patch
delta 21
YcmZo+Y+;<>$Y?Op$&yot0Srp@05uQ;@c;k-

delta 21
acmZo+Y+;<>$e1wE$&yp^2LlL{>Hz>hRRtCR

diff --git a/cp/tests/unitgrade_data/Week06MultiTap.pkl b/cp/tests/unitgrade_data/Week06MultiTap.pkl
index bce18ca5126b4ad2c27209c3260bf5904cd7353a..f5214f521924ee2b745bd52fc36c8ea9714f7f5e 100644
GIT binary patch
delta 20
YcmXRfpJ2%(moU-Vn3LCm0R&3*05^FAFaQ7m

delta 20
YcmXRfpJ2%(<1o?Mn3KnW0R&3*05y^X4FCWD

diff --git a/cp/tests/unitgrade_data/Week06SentimentAnalysis.pkl b/cp/tests/unitgrade_data/Week06SentimentAnalysis.pkl
index 270c5519a5b3b4ddcba9c36d40ce6fce15cecb76..93f759d380aed4c14b3b0a667b0a5bff34186f78 100644
GIT binary patch
delta 21
acmeBV>|~ta%&0KY#fDS!00Rh=>Hz>dHUzH#

delta 21
ZcmeBV>|~ta%vdnd#fDSMfB^(b^#D5`1aJTV

diff --git a/cp/tests/unitgrade_data/Week06SpellCheck.pkl b/cp/tests/unitgrade_data/Week06SpellCheck.pkl
index 3f16e35637ac2e1f152485666e4c718ce85586f3..c6cfb79a0ca476b43c4960465d71a250d6b1fd90 100644
GIT binary patch
delta 20
Ycmb=fo?y)+7ckM*l#?}q0R&3*060AaMgRZ+

delta 20
Ycmb=fo?y+S>@m^Sl#?fc0R&3*0613!N&o-=

diff --git a/cp/tests/unitgrade_data/Week06TextToNato.pkl b/cp/tests/unitgrade_data/Week06TextToNato.pkl
index 8b353799fab0ececa102a896d201e03521a546cc..ea4dee7d9ea4a2d4c307bfd882f73ccaa1ab78bc 100644
GIT binary patch
delta 19
Ycmb=bnqbYOabu#bDaQf^5Gd6H06rK65C8xG

delta 19
Ycmb=bnqbYOZZOf-l;Z*e2$bpp05<{zmjD0&

diff --git a/cp/tests/unitgrade_data/Week06TruncateAndNormalize.pkl b/cp/tests/unitgrade_data/Week06TruncateAndNormalize.pkl
index eaea29dbee0b059faec5f7320283f0b71873d6b8..181c221492f7380c30701fc21d23d19781617f00 100644
GIT binary patch
delta 22
bcmZo-Y+{_?%A~qsqPr2N(HaI2DAfZ1MV$pl

delta 22
bcmZo-Y+{_?$|QYYqPr2Nngs(0l<ENhLE8k)

diff --git a/cp/tests/unitgrade_data/Week06WordHistogram.pkl b/cp/tests/unitgrade_data/Week06WordHistogram.pkl
index b4d54f68a7554007039b5950167d3438c44e32d2..66efaa70d917734a9b93d3761a292818fd05b052 100644
GIT binary patch
delta 22
bcmZo*Y+#&V$0YY*qJuf7K?4H_l<ENhMp^|$

delta 22
bcmZo*Y+#&V$E5gRqJuf7)gJ~BDAfZ1N#O;)

-- 
GitLab