Skip to content

Commit

Permalink
Merge pull request #137 from bcgov/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
leon-ey authored Dec 3, 2024
2 parents ef7692f + 25c06a1 commit 6120bb2
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 19 deletions.
42 changes: 25 additions & 17 deletions client/constants/review-constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,19 @@ export const INFRASTRUCTURE_REVIEW_QUESTIONS = [
name: 'communityNeedsAndSafetyGuidelinesScore',
},
{
maxScore: 16,
maxScore: 23,
label: 'Section 6: Safety Score',
descriptionList: [
'Section 6 - Q33: Question "The BC Active Transportation Design Guide recommends minimum widths for different types and contexts of active transportation infrastructure (see pg. 15 of the Program Guidelines). Does the proposed infrastructure align with the Design Guide recommendations?" - Only if Local context is selected = 0-4pts (manual)',
'Section 6 - Q32: Solid physical barrier, substantial distancing, valid other/alternative approach (traffic calming), end-of-trip facilities only = 5 pt (manual)',
'Section 6 - Q32: Minimal physical barrier, minimal physical distancing, or minimal other/alternative approach = 2 pts (manual)',
'Section 6 - Q32: Not physically separated = 0 pts (manual)',
'Section 6 - Q34: Question "The BC Active Transportation Design Guide recommends minimum widths for different types and contexts of active transportation infrastructure (see pg. 15 of the Program Guidelines). Does the proposed infrastructure align with the Design Guide recommendations?" - Only if Local context is selected = 0-4pts (manual)',
'Section 6 - Q36: Question "When the project encounters or transitions to another facility type (e.g., a bike lane crossing an intersection, a multi-use path ending at a sidewalk), are there design features in place to minimize conflicts and ensure a safe transition for all intended users?" = 2 pts for each design feature listed, up to 5 pts (manual)',
],
secondaryList: [
'Section 6 - Q32: Question "Identify which additional safety measures exist within the design of your project" = 1 pt each for each box ticked (ex: Lighting, Signage, etc) (auto)',
'Section 6 - Q33: Question "The BC Active Transportation Design Guide recommends minimum widths for different types and contexts of active transportation infrastructure (see pg. 15 of the Program Guidelines). Does the proposed infrastructure align with the Design Guide recommendations?" - If Desired, or N/A is selected = 4pts (auto); if Constrained is selected = 2pts (auto);',
'Section 6 - Q34: Question "The B.C. Active Transportation Design Guide recommends certain facility types for different road contexts, e.g., speed and volume. Does the proposed infrastructure align with Design Guide recommendations?" - If Yes, or N/A is selected = 4pts (auto)',
'Section 6 - Q33: Question "Identify which additional safety measures exist within the design of your project" = 1 pt each for each box ticked (ex: Lighting, Signage, etc) (auto)',
'Section 6 - Q34: Question "The BC Active Transportation Design Guide recommends minimum widths for different types and contexts of active transportation infrastructure (see pg. 15 of the Program Guidelines). Does the proposed infrastructure align with the Design Guide recommendations?" - If Desired, or N/A is selected = 4pts (auto); if Constrained is selected = 2pts (auto);',
'Section 6 - Q35: Question "The B.C. Active Transportation Design Guide recommends certain facility types for different road contexts, e.g., speed and volume. Does the proposed infrastructure align with Design Guide recommendations?" - If Yes, or N/A is selected = 4pts (auto)',
],
isAutomated: true,
tooltiptext:
Expand All @@ -44,17 +48,21 @@ export const INFRASTRUCTURE_REVIEW_QUESTIONS = [
maxScore: 5,
label: 'Section 7: Economy and Tourism Score (manual)',
descriptionList: [
'Section 7 - Q35: What are the economic benefits? = up to 3 pts',
'Section 7 - Q36: How will this project contribute to tourism? = up to 2 pts',
'Section 7 - Q37: What are the economic benefits? = up to 3 pts',
'Section 7 - Q38: How will this project contribute to tourism? = up to 2 pts',
],
tooltiptext:
'Score on how the project connects people to businesses, new business areas, new industry, etc. for economic benefits; Score on how project will protect current tourism or provide new tourism opportunities for tourism;',
name: 'economyAndTourismScore',
},
{
maxScore: 3,
maxScore: 8,
label: 'Section 7: Environment Score (manual)',
descriptionList: ['Section 7 - Q37: Environmental Best Practices = up to 3 pts'],
descriptionList: [
'Section 7 - Q39: Section 7 - Q39: Environmental Benefits = up to 3 pts',
'Section 7 - Q40/41: Will the project retain existing Trees? = up to 2 pts',
'Section 7 - Q42: Environmental Best Practices = up to 3 pts',
],
tooltiptext:
'Score on: GHG reductions, local measurements of GHG share from transportation, local sustainability plans for Environmental Benefits; Score on: local materials and labour, climate adaptation measures, dust mitigation, using recycled materials, drought-friendly plantings, using less toxic materials for Environmental Best Practices;',
name: 'environmentScore',
Expand All @@ -63,13 +71,13 @@ export const INFRASTRUCTURE_REVIEW_QUESTIONS = [
maxScore: 15,
label: 'Section 7: Land Use Score',
descriptionList: [
'Section 7 - Q41: Does this project fill gaps between 2 or more AT Facilities = 2 pts (manual)',
'Section 7 - Q42 / Explain how this project creates connections for your communities active transportation network: Is this project a component of larger infrastructure project = 3 pts (manual)',
'Section 7 - Q46: Does this project fill gaps between 2 or more AT Facilities = 2 pts (manual)',
'Section 7 - Q47 / Explain how this project creates connections for your communitys active transportation network: Is this project a component of larger infrastructure project = 3 pts (manual)',
],
secondaryList: [
'Section 7 - Q38: Multi-modal Integration = 1 pt for each box, max 3 (auto)',
'Section 7 - Q39: Connects w/ community infrastructure = 1 pt for each box, max 4 (auto)',
'Section 7 - Q40: Connect w/ AT infrastructure = 1 pt for each box, max 3 (auto)',
'Section 7 - Q43: Multi-modal Integration = 1 pt for each box, max 3 (auto)',
'Section 7 - Q44: Connects w/ community infrastructure = 1 pt for each box, max 4 (auto)',
'Section 7 - Q45: Connect w/ AT infrastructure = 1 pt for each box, max 3 (auto)',
],
isAutomated: true,
name: 'landUseScore',
Expand All @@ -78,8 +86,8 @@ export const INFRASTRUCTURE_REVIEW_QUESTIONS = [
maxScore: 8,
label: 'Section 7: Accessibility Score (manual)',
descriptionList: [
'Section 7 - Q43: Does this Project Incorporate Universal Design? = up to 5 pts',
'Section 7 - Q44 (How does this project incorporate principles of GBA): Does This Project Incorporate GBA+ Principles? = up to 3 pts',
'Section 7 - Q48: Does this Project Incorporate Universal Design? = up to 5 pts',
'Section 7 - Q49 (How does this project incorporate principles of GBA): Does This Project Incorporate GBA+ Principles? = up to 3 pts',
],
tooltiptext:
'Score on: curb cuts, grading, smooth surfaces, ramps, width, accessible washrooms, lighting, handrails, TWSIs, audible crossing signals, etc.; Score on: lighting, gender-neutral and family friendly washrooms, economically disadvantaged area, GBA+ training by project team, age-friendly design, rainbow crosswalks, signage in other languages, Indigenous land acknowledgements/ names on wayfinding signage, etc.;',
Expand All @@ -90,7 +98,7 @@ export const INFRASTRUCTURE_REVIEW_QUESTIONS = [
label: 'Section 7: Promotion Score (manual)',
tooltiptext:
'Score on promotional & educational activities = media event, signage, advertising, bike/ped maps, cycling courses, targeted outreach',
descriptionList: ['Section 7 - Q45: 1 pt for each promotional feature listed, max 3'],
descriptionList: ['Section 7 - Q50: 1 pt for each promotional feature listed, max 3'],
name: 'promotionScore',
},
{
Expand Down
4 changes: 2 additions & 2 deletions client/constants/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const INFRASTRUCTURE_REVIEW_VALIDATION_SCHEMA = Yup.object().shape({

safetyScore: Yup.number()
.min(0, minValidationText + '0')
.max(4, maxValidationText + '4')
.max(23, maxValidationText + '23')
.required('This field is required'),

economyAndTourismScore: Yup.number()
Expand All @@ -73,7 +73,7 @@ export const INFRASTRUCTURE_REVIEW_VALIDATION_SCHEMA = Yup.object().shape({

environmentScore: Yup.number()
.min(0, minValidationText + '0')
.max(3, maxValidationText + '3')
.max(8, maxValidationText + '8')
.required('This field is required'),

landUseScore: Yup.number()
Expand Down

0 comments on commit 6120bb2

Please sign in to comment.