From 8d705dc06535cbf2ff1b1f1d5d3d20da196bc78e Mon Sep 17 00:00:00 2001 From: Brian Mesick Date: Mon, 16 Dec 2024 13:26:11 -0500 Subject: [PATCH 1/2] feat: Upgrade xapi-db-load to 1.5.0 Includes new functionality for storing several copies of user profiles and course publishes, as well as updated event proportions based on several different live sites. --- tutoraspects/templates/aspects/build/aspects/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutoraspects/templates/aspects/build/aspects/requirements.txt b/tutoraspects/templates/aspects/build/aspects/requirements.txt index 6e69bf8f..376eddfb 100644 --- a/tutoraspects/templates/aspects/build/aspects/requirements.txt +++ b/tutoraspects/templates/aspects/build/aspects/requirements.txt @@ -1,5 +1,5 @@ # alembic packages alembic==1.11.1 clickhouse-sqlalchemy==0.1.9 -git+https://github.com/openedx/xapi-db-load@1.4.2 +git+https://github.com/openedx/xapi-db-load@1.5.0 pyyaml From 9e0312fbef764a4981f5d54de9ce99b3d7b4fa0e Mon Sep 17 00:00:00 2001 From: Brian Mesick Date: Mon, 16 Dec 2024 14:11:39 -0500 Subject: [PATCH 2/2] build: Update xapi-db-load CI config New required settings were added, we need them. --- tutoraspects/patches/xapi-db-load-config-yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tutoraspects/patches/xapi-db-load-config-yaml b/tutoraspects/patches/xapi-db-load-config-yaml index 7a105580..7c347801 100644 --- a/tutoraspects/patches/xapi-db-load-config-yaml +++ b/tutoraspects/patches/xapi-db-load-config-yaml @@ -27,6 +27,10 @@ course_length_days: 120 num_organizations: 3 num_actors: 10 +# This replicates users updating their profiles several times, creating +# more rows +num_actor_profile_changes: 5 + # How many of each size course to create. The sum of these is the total number # of courses created for the test. num_course_sizes: @@ -35,6 +39,11 @@ num_course_sizes: large: 1 huge: 1 +# How many times each course will be "published", this creates a more realistic +# distribution of course blocks where each course can be published dozens or +# hundreds of times while it is being developed. +num_course_publishes: 100 + # Course size configurations, how many of each type of object are created for # each course of this size. "actors" must be less than or equal to "num_actors". # For a course of this size to be created it needs to exist both here and in