Skip to main content

Configuration

All settings live in the extension popup. Click the extension icon in the browser toolbar to open the GPA設定 (GPA Settings) window.

For Tohoku University students the defaults work as-is — no configuration is needed. The settings exist mainly so the extension can be adapted to other universities that use UNIVERSAL PASSPORT without editing the source code.

Settings are stored locally in your browser (chrome.storage.local). They are not uploaded anywhere. Each section has a デフォルトに戻す (Reset to default) button if you want to start over.


Section 1 — Grade symbols and GPA values

Heading in the popup: 成績記号とGPA値を編集

This maps each grade symbol shown on the grade page to a GPA point value.

ControlMeaning
Left field (記号)The grade symbol exactly as it appears on the page (e.g. AA)
Right field (値)The GPA points for that symbol
+行を追加Add a new row
削除Delete that row
保存Save your changes
デフォルトに戻すRestore the defaults

Default values

SymbolValue
AA4.0
3.0
2.0
1.0
0.0
0.0
(blank)excluded
tip

Leave the value empty for any symbol that should be excluded from the GPA calculation (for example pass/fail or transfer-credit marks).

For other universities

If your university uses different grade symbols (e.g. S, A, B, C, F) or a different point scale, replace the rows so the left column matches the symbols on your grade page and the right column matches your GPA scale.


Section 2 — Column mapping (classToKey)

Heading in the popup: classToKeyを編集

This tells the extension which column of the grade table corresponds to which internal field. This is the key setting for adapting the extension to another university's table layout.

ControlMeaning
Left field (クラス名)The CSS class name of the table column
Right fieldOne or more internal keys, comma-separated
+行を追加 / 削除Add / delete a row
classToKeyを保存Save your changes
デフォルトに戻すRestore the defaults

Default mapping (Tohoku University)

Column classInternal key(s)
colRishunow
colKmkNamelevel2, level3, combined, subject
colTanicredit
colHyokagrade
colGpaTgtgpaScope
colNendoyear
colGakkiterm
colKyuinNameteacher

Recognized internal keys

KeyMeaning
creditNumber of credits
gradeGrade symbol (used with Section 1)
gpaScopeWhether the course counts toward GPA
subjectCourse name
yearAcademic year
termTerm / semester
teacherInstructor
scoreRaw score
attendanceAttendance ratio

The credit, grade, and gpaScope columns are the minimum needed to compute a GPA.

How to find your column class names

If you are not at Tohoku University and the columns are not detected:

  1. On the grade page, right-click the grade table and choose Inspect.
  2. Look at the class attribute of the column cells (<td> / <div>).
  3. Enter those class names on the left, and the matching internal key on the right.
  4. Click classToKeyを保存 and reload the grade page.