ccs-digitalmarketplace-frameworks 1.9.2 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (15) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/package.json +1 -1
  3. package/requirements-dev.txt +2 -2
  4. package/schema_generator/validation.py +17 -3
  5. package/tests/test_content.py +3 -3
  6. /package/frameworks/digital-outcomes-and-specialists-7/manifests/{edit_evaluations.yml → edit_additional_lot_questions.yml} +0 -0
  7. /package/frameworks/digital-outcomes-and-specialists-7/questions/{evaluations → additional-lot-questions}/deliverCapability.yml +0 -0
  8. /package/frameworks/digital-outcomes-and-specialists-7/questions/{evaluations → additional-lot-questions}/deliverCapabilityComment.yml +0 -0
  9. /package/frameworks/digital-outcomes-and-specialists-7/questions/{evaluations → additional-lot-questions}/deliverCapabilityScore.yml +0 -0
  10. /package/frameworks/digital-outcomes-and-specialists-7/questions/{evaluations → additional-lot-questions}/describeCapabilityPartner.yml +0 -0
  11. /package/frameworks/digital-outcomes-and-specialists-7/questions/{evaluations → additional-lot-questions}/describeCapabilityPartnerComment.yml +0 -0
  12. /package/frameworks/digital-outcomes-and-specialists-7/questions/{evaluations → additional-lot-questions}/describeCapabilityPartnerScore.yml +0 -0
  13. /package/frameworks/digital-outcomes-and-specialists-7/questions/{evaluations → additional-lot-questions}/provideCapability.yml +0 -0
  14. /package/frameworks/digital-outcomes-and-specialists-7/questions/{evaluations → additional-lot-questions}/provideCapabilityComment.yml +0 -0
  15. /package/frameworks/digital-outcomes-and-specialists-7/questions/{evaluations → additional-lot-questions}/provideCapabilityScore.yml +0 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  Records breaking changes from major version bumps
4
4
 
5
+ ## 2.0.0
6
+
7
+ Rename evaluations to additional lot questions
8
+
5
9
  ## 1.9.0
6
10
 
7
11
  Add the Digital Outcomes and Specialists 7 framework
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccs-digitalmarketplace-frameworks",
3
- "version": "1.9.2",
3
+ "version": "2.0.0",
4
4
  "description": "Data files for Digital Marketplace’s procurement frameworks",
5
5
  "repository": "git@github.com:Crown-Commercial-Service/ccs-digitalmarketplace-frameworks",
6
6
  "author": "enquiries@digitalmarketplace.service.gov.uk"
@@ -115,7 +115,7 @@ govuk-country-register==0.5.0
115
115
  # via
116
116
  # -r requirements.txt
117
117
  # ccs-digitalmarketplace-utils
118
- hypothesis==6.108.2
118
+ hypothesis==6.108.5
119
119
  # via -r requirements-dev.in
120
120
  idna==3.7
121
121
  # via
@@ -189,7 +189,7 @@ pyjwt==2.8.0
189
189
  # notifications-python-client
190
190
  pyparsing==2.4.7
191
191
  # via packaging
192
- pytest==8.2.2
192
+ pytest==8.3.2
193
193
  # via -r requirements-dev.in
194
194
  python-dateutil==2.9.0.post0
195
195
  # via
@@ -21,9 +21,13 @@ MANIFESTS = {
21
21
  'question_set': 'briefs',
22
22
  'manifest': 'award_brief'
23
23
  },
24
+ 'additional-lot-questions': {
25
+ 'question_set': 'additional-lot-questions',
26
+ 'manifest': 'edit_additional_lot_questions'
27
+ },
24
28
  'evaluations': {
25
- 'question_set': 'evaluations',
26
- 'manifest': 'edit_evaluations'
29
+ 'question_set': 'additional-lot-questions',
30
+ 'manifest': 'evaluations'
27
31
  }
28
32
  }
29
33
 
@@ -161,7 +165,17 @@ SCHEMAS = {
161
165
  exclude_frameworks=BRIEF_EXCLUDED_FRAMEWORKS
162
166
  ),
163
167
  'evaluations': _get_schema_title_and_slugs(
164
- "Evaluation",
168
+ "Evaluate additional lot questions",
169
+ "digital-outcomes-and-specialists",
170
+ exclude_lots=[
171
+ "digital-outcomes",
172
+ "digital-specialists",
173
+ "user-research-studios",
174
+ "user-research-participants",
175
+ ],
176
+ ),
177
+ 'additional-lot-questions': _get_schema_title_and_slugs(
178
+ "Additional lot questions",
165
179
  "digital-outcomes-and-specialists",
166
180
  exclude_lots=[
167
181
  "digital-outcomes",
@@ -33,8 +33,8 @@ MANIFEST_QUESTION_SET = {
33
33
  "services_search_filters": "services",
34
34
  "download_results": "services",
35
35
 
36
- "evaluations": "evaluations",
37
- "edit_evaluations": "evaluations"
36
+ "evaluations": "additional-lot-questions",
37
+ "edit_additional_lot_questions": "additional-lot-questions"
38
38
  }
39
39
 
40
40
  # `item` property wouldn't usually be part of a brief response but is included here as the dynamic list child question
@@ -48,7 +48,7 @@ QUESTION_SET_CONTEXT = {
48
48
  'item': 'essential requirement'
49
49
  },
50
50
  'services': {'lot': 'context-lot'},
51
- 'evaluation': {'lot': 'context-lot'}
51
+ 'additional-lot-questions': {'lot': 'context-lot'}
52
52
  }
53
53
 
54
54
  EXCLUDED_FRAMEWORKS = [