Skip to content

Commit 72f6a3c

Browse files
committed
Change from "Accessibility Time Factor" to "Accommodation Time Factor".
1 parent 7ff9a62 commit 72f6a3c

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

lib/WeBWorK/ContentGenerator/GatewayQuiz.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ async sub pre_header_initialize ($c) {
603603
# Convert the floating point value from Time::HiRes to an integer for use below. Truncate toward 0.
604604
my $timeNowInt = int($c->submitTime);
605605

606-
my $timeLimit = ($tmplSet->version_time_limit || 0) * $effectiveUser->accessibility_time_factor;
606+
my $timeLimit = ($tmplSet->version_time_limit || 0) * $effectiveUser->accommodation_time_factor;
607607

608608
# Set up creation time, and open and due dates.
609609
my $ansOffset = $set->answer_date - $set->due_date;
@@ -627,7 +627,7 @@ async sub pre_header_initialize ($c) {
627627
$cleanSet->due_date($set->due_date);
628628
$cleanSet->answer_date($set->answer_date);
629629
$cleanSet->version_last_attempt_time($set->version_last_attempt_time);
630-
$cleanSet->version_time_limit($set->version_time_limit * $effectiveUser->accessibility_time_factor);
630+
$cleanSet->version_time_limit($set->version_time_limit * $effectiveUser->accommodation_time_factor);
631631
$cleanSet->attempts_per_version($set->attempts_per_version);
632632
$cleanSet->assignment_type($set->assignment_type);
633633
$db->putSetVersion($cleanSet);

lib/WeBWorK/ContentGenerator/Instructor/ProblemSetDetail.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ use constant FIELD_PROPERTIES => {
282282
. 'time limit. If there is a time limit, then there will be an indication that this is a timed '
283283
. 'test on the main "Assignments" page. Additionally the student will be sent to a confirmation '
284284
. 'page before they can begin. Note that the actual time a student will have to complete a timed test '
285-
. 'is the product of this time limit and the accessibility time factor set for the student in the '
285+
. 'is the product of this time limit and the accommodation time factor set for the student in the '
286286
. 'accounts manager.'
287287
)
288288
},

lib/WeBWorK/ContentGenerator/Instructor/UserList.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ use constant SORT_SUBS => {
9494

9595
use constant FIELDS => [
9696
'user_id', 'first_name', 'last_name', 'email_address',
97-
'student_id', 'status', 'accessibility_time_factor', 'section',
97+
'student_id', 'status', 'accommodation_time_factor', 'section',
9898
'recitation', 'comment', 'permission', 'password'
9999
];
100100

@@ -107,7 +107,7 @@ use constant FIELD_PROPERTIES => {
107107
email_address => { name => x('Email Address'), type => 'text', size => 20 },
108108
student_id => { name => x('Student ID'), type => 'text', size => 11 },
109109
status => { name => x('Enrollment Status'), type => 'status' },
110-
accessibility_time_factor => { name => x('Accessibility Time Factor'), type => 'text', size => 5 },
110+
accommodation_time_factor => { name => x('Accommodation Time Factor'), type => 'text', size => 5 },
111111
section => { name => x('Section'), type => 'text', size => 3 },
112112
recitation => { name => x('Recitation'), type => 'text', size => 3 },
113113
comment => { name => x('Comment'), type => 'text', size => 20 },

lib/WeBWorK/ContentGenerator/ProblemSet.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ sub gateway_body ($c) {
187187
my $effectiveUser = $db->getUser($effectiveUserID);
188188

189189
my $timeNow = time;
190-
my $timeLimit = ($set->version_time_limit || 0) * $effectiveUser->accessibility_time_factor;
190+
my $timeLimit = ($set->version_time_limit || 0) * $effectiveUser->accommodation_time_factor;
191191

192192
# Compute how many versions have been launched within timeInterval to determine if a new version can be created,
193193
# if a version can be continued, and the date a next version can be started. If there is an open version that

lib/WeBWorK/DB/Record/User.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ BEGIN {
1818
email_address => { type => "TEXT" },
1919
student_id => { type => "TEXT" },
2020
status => { type => "TEXT" },
21-
accessibility_time_factor => { type => "FLOAT NOT NULL DEFAULT 1" },
21+
accommodation_time_factor => { type => "FLOAT NOT NULL DEFAULT 1" },
2222
section => { type => "TEXT" },
2323
recitation => { type => "TEXT" },
2424
comment => { type => "TEXT" },

templates/ContentGenerator/Instructor/UserList/user_list.html.ep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<%= include 'ContentGenerator/Instructor/UserList/sort_button', field => 'status' =%>
5353
</div>
5454
</th>
55-
<th><%= maketext('Accessibility Time Factor') %></th>
55+
<th><%= maketext('Accommodation Time Factor') %></th>
5656
<th>
5757
<div class="d-flex justify-content-between align-items-end gap-1">
5858
<%= link_to maketext('Section') => '#', class => 'sort-header',

templates/HelpFiles/InstructorUserList.html.ep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
%
44
<p>
55
<%== maketext('From this page you can <strong>add new students</strong>, <strong>edit</strong> user data '
6-
. '(name, email address, student ID, enrollment status, accessibility time factor, section, recitation, '
6+
. '(name, email address, student ID, enrollment status, accommodation time factor, section, recitation, '
77
. 'comment, permission level, and password), and <strong>export</strong> (save) class lists for back-up or use '
88
. 'in another course. You can also delete students from the class roster, but this cannot be undone.') =%>
99
</p>
@@ -148,7 +148,7 @@
148148
. 'assigned, click on the radio button for editing selected users and then click the "Edit" button .'
149149
. 'Set the "Accesibility Time Factor" to the desired multiplier for each student selected. The time '
150150
. 'that a student will have to complete a timed test will be the product of the "Test Time Limit" for the '
151-
. 'test set in the "Sets Manager" and the "Accessibility Time Factor" set here.') =%>
151+
. 'test set in the "Sets Manager" and the "Accommodation Time Factor" set here.') =%>
152152
</dd>
153153

154154
<dt><%= maketext('Extend the number of attempts allowed a student on a given problem.') %></dt>

0 commit comments

Comments
 (0)