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.
| Control | Meaning |
|---|---|
| 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
| Symbol | Value |
|---|---|
| AA | 4.0 |
| A | 3.0 |
| B | 2.0 |
| C | 1.0 |
| D | 0.0 |
| E | 0.0 |
| (blank) | excluded |
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.
| Control | Meaning |
|---|---|
| Left field (クラス名) | The CSS class name of the table column |
| Right field | One or more internal keys, comma-separated |
| +行を追加 / 削除 | Add / delete a row |
| classToKeyを保存 | Save your changes |
| デフォルトに戻す | Restore the defaults |
Default mapping (Tohoku University)
| Column class | Internal key(s) |
|---|---|
| colRishu | now |
| colKmkName | level2, level3, combined, subject |
| colTani | credit |
| colHyoka | grade |
| colGpaTgt | gpaScope |
| colNendo | year |
| colGakki | term |
| colKyuinName | teacher |
Recognized internal keys
| Key | Meaning |
|---|---|
| credit | Number of credits |
| grade | Grade symbol (used with Section 1) |
| gpaScope | Whether the course counts toward GPA |
| subject | Course name |
| year | Academic year |
| term | Term / semester |
| teacher | Instructor |
| score | Raw score |
| attendance | Attendance 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:
- On the grade page, right-click the grade table and choose Inspect.
- Look at the
classattribute of the column cells (<td>/<div>). - Enter those class names on the left, and the matching internal key on the right.
- Click classToKeyを保存 and reload the grade page.