Updates after testing

This commit is contained in:
emfurst 2026-03-30 20:42:08 -04:00
commit 04095c9970
15 changed files with 238 additions and 33 deletions

View file

@ -1,7 +1,9 @@
UNITID,STAFFCAT,FTPT,OCCUPCAT,HRTOTLT
130943,2100,2,100,5081
130943,2200,2,200,1271
130943,2300,2,300,666
130943,2250,2,250,124
110635,2100,2,100,15000
110635,2200,2,200,800
110635,2300,2,300,400
110635,2250,2,250,3500

1 UNITID STAFFCAT FTPT OCCUPCAT HRTOTLT
2 130943 2100 2 100 5081
3 130943 2200 2 200 1271
4 130943 2300 2 300 666
5 130943 2250 2 250 124
6 110635 2100 2 100 15000
7 110635 2200 2 200 800
8 110635 2300 2 300 400
9 110635 2250 2 250 3500

View file

@ -22,4 +22,5 @@ def test_load_staff_filters_to_ud(db_conn, fixtures_dir, tmp_path):
"SELECT total_staff, faculty_total, management_total FROM raw_ipeds_staff WHERE unitid = ?",
[UD_UNITID],
).fetchone()
assert row == (5081, 124, 1271)
# faculty_total=OCCUPCAT 200 (instruction/research), management_total=OCCUPCAT 300
assert row == (5081, 1271, 666)