MCPcopy Create free account

hub / github.com/TUM-Dev/NavigaTUM / functions

Functions1,637 in github.com/TUM-Dev/NavigaTUM

Functiontest_invalid_line_missing_parts
Missing parts are not allowed
data/processors/areatree/test_areatree.py:168
Functiontest_iris_schema_rejects_duplicate_room
`IrisRoomsSchema` must reject a roster with a duplicated `raum_nr_architekt`.
data/external/schemas/test_schemas_iris.py:15
Functiontest_iris_schema_rejects_missing_column
`IrisRoomsSchema` must reject a frame missing required columns.
data/external/schemas/test_schemas_iris.py:25
Functiontest_join_includes_building_with_any_match_excludes_buildings_with_none
A building with >=1 matched room is covered; a building with none is not. The roster spans buildings 4113, 3515 and 5606. NavigaTUM here kno
data/processors/test_iris.py:30
Functiontest_lecture_break_macros_expand_through_merge
lecture:/break: macros from the scrape expand against the semester list at merge time.
data/processors/test_ub_tum.py:117
Functiontest_lecture_deprioritised_below_geo_on_shared_tokens
()
server/src/search_executor/mod.rs:1523
Functiontest_lecture_facet_query
()
server/src/search_executor/mod.rs:1084
Functiontest_lecture_upcoming_capped_at_max_of_top10_and_14day_window
()
server/src/search_executor/mod.rs:1828
Functiontest_lectures_derived_from_calendar_surface_in_search
()
server/src/search_executor/mod.rs:1630
Functiontest_limited_output
()
server/src/limited/vec.rs:79
Functiontest_limited_output
()
server/src/limited/hash_map.rs:54
Functiontest_link_edit
()
server/src/routes/feedback/proposed_edits/property.rs:393
Functiontest_link_edit_appends
()
server/src/routes/feedback/proposed_edits/property.rs:412
Functiontest_link_edit_preserves_all_real_world_shapes
()
server/src/routes/feedback/proposed_edits/property.rs:445
Functiontest_link_edit_treats_empty_file_like_missing_file
()
server/src/routes/feedback/proposed_edits/property.rs:561
Functiontest_link_edit_unknown_language_aborts_without_wiping
()
server/src/routes/feedback/proposed_edits/property.rs:534
Functiontest_link_edit_unparsable_file_aborts_without_wiping
()
server/src/routes/feedback/proposed_edits/property.rs:509
Functiontest_load_file_or_download_invalid_url
()
server/src/setup/file_loader.rs:254
Functiontest_lookup_excludes_non_code_like_short_names
Descriptive short_names would yield nonsensical "Mathe/Info (MI)0001" aliases.
data/processors/test_aliases.py:49
Functiontest_lookup_stops_at_geographic_ancestor
Campus/area short_names must not leak into room aliases.
data/processors/test_aliases.py:38
Functiontest_lookup_uses_own_short_name
An entry with its own code-like short_name resolves to it without walking.
data/processors/test_aliases.py:20
Functiontest_lookup_walks_up_to_joined_building
The MW case: building 5510 has no short_name of its own, so it borrows MW from the joined_building.
data/processors/test_aliases.py:26
Functiontest_macro_with_no_semesters_yields_empty_schedule
With no semesters there is nothing to expand a macro against.
data/processors/test_semester_block_expander.py:88
Functiontest_malformed_osm_fixtures_rejected
Malformed strings must not parse.
data/external/schemas/test_schemas_opening_hours.py:51
Functiontest_maps_branch_hours_onto_entry_ids
A mapped branch yields an OpeningHoursSchema record keyed by the NavigaTUM entry id.
data/processors/test_ub_tum.py:46
Functiontest_maps_canteen_hours_onto_entry_ids
A mapped canteen yields an `OpeningHoursSchema` record keyed by the NavigaTUM entry id.
data/processors/test_studierendenwerk.py:34
Functiontest_maps_schema_rejects_missing_column
`MapsSchema` must reject a frame missing required columns.
data/external/schemas/test_schemas_roomfinder.py:39
Functiontest_matched_room_yields_its_building_id
A single Iris room whose arch_name NavigaTUM knows contributes its building id.
data/processors/test_iris.py:16
Functiontest_meilisearch_setup
()
server/src/setup/tests.rs:116
Functiontest_merge_attaches_schedule_to_matching_entry_only
The matching entry gains an `opening_hours_json` payload; unrelated entries stay null.
data/processors/test_opening_hours.py:45
Functiontest_merge_expands_macros_into_plain_osm_payload
A `lecture:`/`break:` schedule lands in the payload as expanded, macro-free OSM that parses.
data/processors/test_opening_hours.py:109
Functiontest_merge_expands_ph_into_dated_holiday_rules
A `PH off` schedule lands as plain OSM with the semester's Bavarian holidays baked in as dates.
data/processors/test_opening_hours.py:131
Functiontest_merge_keeps_present_optional_fields
A bounded validity window and service variant must be carried into the payload.
data/processors/test_opening_hours.py:67
Functiontest_merge_omits_absent_optional_fields
Null `valid_from`/`valid_until`/`service` must not appear as null keys in the payload.
data/processors/test_opening_hours.py:57
Functiontest_merge_raises_when_macros_cannot_be_expanded
A macro schedule with no semesters to expand against must not silently ship an empty string.
data/processors/test_opening_hours.py:124
Functiontest_merge_raises_when_ph_cannot_be_expanded
A `PH` schedule with no semesters (hence no holiday horizon) must raise, not drop the rule.
data/processors/test_opening_hours.py:145
Functiontest_merge_raises_when_schedule_targets_unknown_entry
A schedule targeting an id absent from the frame must raise.
data/processors/test_opening_hours.py:85
Functiontest_merge_with_no_schedules_yields_null_column
With no schedules the column still exists, all null.
data/processors/test_opening_hours.py:78
Functiontest_metadata_save
()
server/src/routes/feedback/proposed_edits/image.rs:303
Functiontest_mid_break_uses_break_hours_not_lecture_hours
Inside the semester break the shorter break hours apply, not the lecture-period hours.
data/processors/test_opening_hours_state.py:60
Functiontest_missing_or_offset_less_source_defaults_to_zero
An event with no img-source entry - or an entry without explicit offsets - crops unshifted.
data/processors/test_export_search_events.py:105
Functiontest_monday_morning_is_open_until_evening
A Monday mid-morning reads open, with `until` the same day's closing time.
data/processors/test_opening_hours_state.py:18
Functiontest_month_arithmetic_clamps_day_of_month
Six months before Aug 31 lands on the last day of February, not an invalid date.
data/external/test_freshness.py:25
Functiontest_multiple_semesters_each_get_a_dated_range
A `lecture:` block expands once per semester, ordered by lecture start.
data/processors/test_semester_block_expander.py:45
Functiontest_naive_datetimes_are_rejected
Wall-clock classification is meaningless without an offset, so naive inputs raise.
data/processors/test_events_appears_at.py:81
Functiontest_name_edit_insert
()
server/src/routes/feedback/proposed_edits/property.rs:210
Functiontest_name_edit_preserves_arch_name
()
server/src/routes/feedback/proposed_edits/property.rs:335
Functiontest_name_edit_sorted_insert
()
server/src/routes/feedback/proposed_edits/property.rs:225
Functiontest_name_only_edit_keeps_existing_short_name
()
server/src/routes/feedback/proposed_edits/property.rs:270
Functiontest_new
()
server/src/routes/feedback/proposed_edits/tmp_repo.rs:228
Functiontest_newest_event_edition_ranks_first
()
server/src/search_executor/mod.rs:1449
Functiontest_newline_at_eof
()
server/src/routes/feedback/proposed_edits/coordinate.rs:259
Functiontest_no_holidays_drops_the_ph_rule
With no holidays in range the `PH` rule has no effect and is dropped.
data/processors/test_public_holiday_expander.py:61
Functiontest_old_update_is_stale
An update older than the window is stale.
data/external/test_freshness.py:14
Functiontest_open_hours_to_osm_does_not_bridge_a_closed_day
A closed day between two identical days must not collapse into a range covering it.
data/external/schemas/test_schemas_studierendenwerk.py:80
Functiontest_open_hours_to_osm_empty_is_empty_string
A canteen with no open days converts to an empty string (the scraper then skips it).
data/external/schemas/test_schemas_studierendenwerk.py:89
Functiontest_open_hours_to_osm_groups_consecutive_days
Captured feed fixtures must convert to the expected (and parseable) OSM string.
data/external/schemas/test_schemas_studierendenwerk.py:73
Functiontest_opening_hours_schema_accepts_bounded_validity_window
A bounded `valid_from`/`valid_until` window must validate (positive control).
data/external/schemas/test_schemas_opening_hours.py:94
Functiontest_opening_hours_schema_accepts_macros
`lecture:`/`break:` macros are valid on disk; the compile step expands them (positive control).
data/external/schemas/test_schemas_opening_hours.py:68
Functiontest_opening_hours_schema_accepts_minimal_valid_row
A row matching every rule must validate cleanly (positive control).
data/external/schemas/test_schemas_opening_hours.py:56
Functiontest_opening_hours_schema_rejects_empty_osm
An empty `opening_hours` string must be rejected (malformed fixture).
data/external/schemas/test_schemas_opening_hours.py:61
Functiontest_opening_hours_schema_rejects_inverted_validity_range
`valid_until` before `valid_from` must be rejected.
data/external/schemas/test_schemas_opening_hours.py:88
Functiontest_opening_hours_schema_rejects_non_http_source_url
`source_url` must be an absolute http(s) URL.
data/external/schemas/test_schemas_opening_hours.py:74
Functiontest_opening_hours_schema_rejects_non_iso_dates
Date fields must be `YYYY-MM-DD`.
data/external/schemas/test_schemas_opening_hours.py:82
Functiontest_orgs_schema_rejects_missing_column
`OrgsSchema` must reject a frame missing required columns.
data/external/schemas/test_schemas_tumonline.py:55
Functiontest_orgs_schema_rejects_missing_column
`TumonlineOrgsSchema` must reject a frame missing required columns.
data/external/schemas/test_schemas_tumonline_orgs.py:32
Functiontest_orgs_schema_rejects_non_positive_id
`OrgsSchema` must reject rows with a non-positive `org_id`.
data/external/schemas/test_schemas_tumonline.py:45
Functiontest_orgs_schema_rejects_non_positive_id
`TumonlineOrgsSchema` must reject rows with a non-positive `org_id`.
data/external/schemas/test_schemas_tumonline_orgs.py:15
Functiontest_parent_types_parallel_array_carries_each_parents_type
`parent_types` mirrors `parents`/`parent_names` so the client can build /{type}/{id} links.
data/processors/test_export.py:26
Functiontest_parents_and_parent_names_are_unchanged
The additive `parent_types` field leaves the existing parallel arrays intact (rollout-safe).
data/processors/test_export.py:34
Functiontest_parse_branch_page_collapses_year_round_block
A single Zeiten paragraph collapses into plain OSM with consecutive days grouped.
data/external/schemas/test_schemas_ub_tum.py:91
Functiontest_parse_branch_page_drops_closed_days
Closed slot cells must not appear in the OSM output.
data/external/schemas/test_schemas_ub_tum.py:103
Functiontest_parse_branch_page_maps_lecture_and_break_paragraphs_to_macros
Lecture period and Semester break labels prefix each rule with the matching macro.
data/external/schemas/test_schemas_ub_tum.py:115
Functiontest_parse_branch_page_rejects_a_page_with_only_closed_days
A paragraph in which every slot is Closed must raise rather than emit an empty string.
data/external/schemas/test_schemas_ub_tum.py:151
Functiontest_parse_branch_page_rejects_a_page_without_office_hours
A page that publishes no opening-hours paragraph must raise rather than emit empty hours.
data/external/schemas/test_schemas_ub_tum.py:140
Functiontest_parse_branch_page_turns_unknown_label_into_trailing_comment
An unknown paragraph label becomes a per-rule trailing comment for the renderer to group on.
data/external/schemas/test_schemas_ub_tum.py:128
Functiontest_parse_image_filename
Only the trailing `_<index>` splits off, so ids may contain underscores.
data/processors/test_images.py:16
Functiontest_parse_image_filename_rejects_malformed
A non-webp name or a missing integer index is a hard error.
data/processors/test_images.py:22
Functiontest_ph_closed_keyword_is_carried_through
`closed` (an `off` synonym) is preserved in the dated rule.
data/processors/test_public_holiday_expander.py:37
Functiontest_ph_off_becomes_one_dated_off_rule_per_holiday
`PH off` expands to a dated `off` override per holiday, appended after the regular rules.
data/processors/test_public_holiday_expander.py:25
Functiontest_ph_rule_overrides_regardless_of_its_position
A leading `PH off` still wins: its dated overrides are appended after the weekday rule.
data/processors/test_public_holiday_expander.py:53
Functiontest_ph_with_times_expands_to_dated_time_ranges
A `PH <times>` rule (open only on holidays) expands to dated time ranges.
data/processors/test_public_holiday_expander.py:45
Functiontest_plain_block_interleaved_with_macros_is_kept_unconditional
A non-macro rule among macro blocks stays in place and applies unconditionally.
data/processors/test_semester_block_expander.py:80
Functiontest_plain_osm_fixtures_parse
Well-formed plain-OSM strings must parse.
data/external/schemas/test_schemas_opening_hours.py:45
Functiontest_plain_osm_is_returned_verbatim
A schedule with no macros is passed through untouched - not reformatted.
data/processors/test_semester_block_expander.py:20
Functiontest_plain_osm_without_ph_is_returned_verbatim
A schedule with no `PH` selector is passed through untouched.
data/processors/test_public_holiday_expander.py:20
Functiontest_prefix_alphabetical
()
server/src/routes/feedback/proposed_edits/coordinate.rs:156
Functiontest_qr_code_consistency
Tests that the same ID always generates the same QR code
server/src/routes/locations/qr_code.rs:133
Functiontest_qr_code_different_ids
Test that different IDs generate different QR codes
server/src/routes/locations/qr_code.rs:146
Functiontest_recent_update_is_not_stale
An update inside the window is fresh.
data/external/test_freshness.py:9
Functiontest_records_merge_onto_entries
The produced records attach through the shared opening-hours merge.
data/processors/test_studierendenwerk.py:84
Functiontest_rejects_empty_opening_hours
()
server/src/routes/feedback/proposed_edits/opening_hours.rs:168
Functiontest_result_is_independent_of_input_offset
The same instant expressed in UTC or in Berlin local yields the same appears_at.
data/processors/test_events_appears_at.py:73
Functiontest_room_unknown_to_navigatum_is_ignored
An Iris room whose arch_name NavigaTUM does not know contributes no coverage.
data/processors/test_iris.py:23
Functiontest_rooms_schema_rejects_missing_column
`RoomsSchema` must reject a frame missing required columns.
data/external/schemas/test_schemas_roomfinder.py:32
Functiontest_rooms_schema_rejects_missing_column
`RoomsSchema` must reject a frame missing required columns.
data/external/schemas/test_schemas_tumonline.py:127
Functiontest_rooms_schema_rejects_non_positive_tumonline_id
`RoomsSchema` must reject rows with a non-positive `tumonline_id`.
data/external/schemas/test_schemas_tumonline.py:98
Functiontest_root_parent_type_is_synthesised_without_a_data_entry
`root` has no real data entry, so its type is supplied directly rather than looked up.
data/processors/test_export.py:43
Functiontest_row_to_json_omits_null_geo
()
server/src/setup/file_loader.rs:290
Functiontest_row_to_json_reconstructs_geo_and_drops_nulls
()
server/src/setup/file_loader.rs:264
← previousnext →1,401–1,500 of 1,637, ranked by callers