Skip to content

[PERF-339] Performance test fixes for DS 5 and DMS#121

Merged
JBrenesSimpat merged 3 commits into
mainfrom
PERF-339
Aug 19, 2025
Merged

[PERF-339] Performance test fixes for DS 5 and DMS#121
JBrenesSimpat merged 3 commits into
mainfrom
PERF-339

Conversation

@vimayya

@vimayya vimayya commented Aug 19, 2025

Copy link
Copy Markdown
Contributor

Updated the GradingPeriod key to align with changes introduced in v5. Since the API permits over-posting, I extended the base resources to include additional fields for compatibility.

Descriptor URIs in DMS are currently case-sensitive. I adjusted the test cases to correct casing issues. A follow-up update to DMS will enable case-insensitive handling of descriptor URIs.

@vimayya vimayya requested a review from Copilot August 19, 2025 03:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates performance tests to align with changes introduced in EdFi Data Standard v5 and Data Management Service (DMS). The changes primarily address descriptor URI casing requirements and extend resource factories with additional fields for API compatibility.

Key changes:

  • Fixed descriptor URI casing to match DMS case-sensitive requirements
  • Added gradingPeriodName field to grading period references for v5 compatibility
  • Enhanced resource factories with additional fields to support API over-posting

Reviewed Changes

Copilot reviewed 28 out of 28 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
student.py (tasks/volume) Added conditional graduation plan reference handling and additional fields for student school association
section.py (tasks/volume) Removed redundant section scenario test case
course_offering.py (tasks/volume) Removed specific course offering test scenario
course.py (tasks/volume) Fixed descriptor URI casing for CourseLevelCharacteristic
student.py (tasks/pipeclean) Changed serialNumber from integer to string type
utils.py Updated random school year range from 2050 to 2026
Multiple factory files Added gradingPeriodName fields and fixed descriptor URI casing
Multiple client files Extended API calls with additional required fields for v5 compatibility

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

}
graduation_plan_reference = None
graduationSchoolYear = StudentSchoolAssociationVolumeTest.get_graduation_plan_school_year(self, school_id)
if(graduationSchoolYear is not None):

Copilot AI Aug 19, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the unnecessary parentheses around the condition. Python style guide recommends if graduationSchoolYear is not None: instead of if(graduationSchoolYear is not None):.

Suggested change
if(graduationSchoolYear is not None):
if graduationSchoolYear is not None:

Copilot uses AI. Check for mistakes.
@vimayya vimayya requested a review from JBrenesSimpat August 19, 2025 03:44
@JBrenesSimpat JBrenesSimpat merged commit 267c8e0 into main Aug 19, 2025
9 checks passed
@JBrenesSimpat JBrenesSimpat deleted the PERF-339 branch August 19, 2025 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants