MCPcopy Create free account

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

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

Functiontest_areatree_uncertain
If the building id starts with a dash, it is marked as uncertain
data/processors/areatree/test_areatree.py:60
Functiontest_bad_queries
()
server/src/search_executor/mod.rs:612
Functiontest_basic_csv_operations
()
server/src/routes/feedback/proposed_edits/coordinate.rs:222
Functiontest_bavarian_holiday_dates_include_bavaria_only_days
The Bavarian calendar carries regional holidays national calendars omit, sorted ascending.
data/processors/test_public_holiday_expander.py:93
Functiontest_bavarian_holiday_is_closed_despite_weekday_hours
A `PH off` schedule, expanded against a Bavarian holiday, is closed on that weekday.
data/processors/test_opening_hours_state.py:48
Functiontest_both_flags_work_together
()
server/src/search_executor/mod.rs:744
Functiontest_break_omits_empty_run_up_when_lectures_start_on_day_one
When the lecture period starts on the calendar's first day, no run-up break range is emitted.
data/processors/test_semester_block_expander.py:71
Functiontest_building_formats
()
server/src/search_executor/mod.rs:862
Functiontest_building_ids_without_separator
If the building id is not separated by a dash or comma, it is returned as is
data/processors/areatree/test_areatree.py:77
Functiontest_building_in_iris_without_alias_match_is_warned_as_coverage_gap
Iris lists a `gebaeude_code` whose rooms NavigaTUM cannot alias-match -> warn, don't cover. `gebaeude_code` matches NavigaTUM building ids 1
data/processors/test_iris.py:44
Functiontest_buildings_overview_entries_carry_child_type
Each overview entry exposes the child's entity `type`. A campus lists children of mixed types (building, area, site). The frontend routes
data/processors/test_sections.py:69
Functiontest_buildings_schema_rejects_missing_column
`BuildingsSchema` must reject a frame missing required columns.
data/external/schemas/test_schemas_roomfinder.py:25
Functiontest_buildings_schema_rejects_missing_column
`BuildingsSchema` must reject a frame missing required columns.
data/external/schemas/test_schemas_tumonline.py:86
Functiontest_buildings_schema_rejects_non_four_digit_key
`BuildingsSchema` must reject rows whose `building_key` isn't four digits.
data/external/schemas/test_schemas_tumonline.py:67
Functiontest_checkout_and_commit
()
server/src/routes/feedback/proposed_edits/tmp_repo.rs:238
Functiontest_combined_ph_selector_is_rejected
A `PH` combined with weekdays is not supported and must raise rather than mis-expand.
data/processors/test_public_holiday_expander.py:73
Functiontest_comma
If the id is inferable from the line, it is returned
data/processors/areatree/test_areatree.py:98
Functiontest_comma_separator
If the building id is separated by a comma, it is split into a list
data/processors/areatree/test_areatree.py:66
Functiontest_comma_specified_type
If the building id is separated by a comma, it is split into a list
data/processors/areatree/test_areatree.py:89
Functiontest_comment_lines
Comment lines are removed
data/processors/areatree/test_areatree.py:136
Functiontest_committed_buildings_csv_satisfies_schema
The cached `buildings_roomfinder.csv` must satisfy `BuildingsSchema` (drift gate).
data/external/schemas/test_schemas_roomfinder.py:10
Functiontest_committed_buildings_csv_satisfies_schema
The cached `buildings_tumonline.csv` must satisfy `BuildingsSchema` (drift gate).
data/external/schemas/test_schemas_tumonline.py:62
Functiontest_committed_events_csv_satisfies_schema
The committed `events.csv` must produce a frame that satisfies `EventsSchema` (drift gate).
data/external/schemas/test_schemas_events.py:34
Functiontest_committed_iris_csv_satisfies_schema
The cached `iris.csv` must satisfy `IrisRoomsSchema` (drift gate).
data/external/schemas/test_schemas_iris.py:10
Functiontest_committed_maps_csv_satisfies_schema
The cached `maps_roomfinder.csv` must satisfy `MapsSchema` (drift gate).
data/external/schemas/test_schemas_roomfinder.py:20
Functiontest_committed_opening_hours_csv_satisfies_schema
The committed `opening_hours.csv` must satisfy `OpeningHoursSchema` (drift gate).
data/external/schemas/test_schemas_opening_hours.py:32
Functiontest_committed_orgs_csv_satisfies_schema
The cached `orgs-{lang}_tumonline.csv` must satisfy `OrgsSchema` (drift gate).
data/external/schemas/test_schemas_tumonline.py:40
Functiontest_committed_orgs_csvs_merge_into_schema_compliant_frame
The merged TUMonline-orgs frame must satisfy `TumonlineOrgsSchema` (drift gate).
data/external/schemas/test_schemas_tumonline_orgs.py:10
Functiontest_committed_rooms_csv_satisfies_schema
The cached `rooms_roomfinder.csv` must satisfy `RoomsSchema` (drift gate).
data/external/schemas/test_schemas_roomfinder.py:15
Functiontest_committed_rooms_csv_satisfies_schema
The cached `rooms_tumonline.csv` must satisfy `RoomsSchema` (drift gate).
data/external/schemas/test_schemas_tumonline.py:93
Functiontest_committed_schedules_expand_to_valid_plain_osm
Assert every shipped schedule expands to macro-free OSM that parses. Concatenates the same hand-authored / mensa / UB-TUM sources as `compil
data/processors/test_opening_hours.py:152
Functiontest_committed_semesters_are_chronological_and_disjoint
Successive semesters must not overlap, so a given day maps to at most one semester.
data/external/schemas/test_schemas_semesters.py:37
Functiontest_committed_semesters_csv_satisfies_schema
The committed `semesters.csv` must satisfy `SemesterSchema` (drift gate).
data/external/schemas/test_schemas_semesters.py:32
Functiontest_committed_stations_parquet_satisfies_schema
The cached `public_transport.parquet` must satisfy `StationsSchema` (drift gate).
data/external/schemas/test_schemas_public_transport.py:10
Functiontest_committed_studierendenwerk_csv_satisfies_schema
The committed `studierendenwerk.csv` must satisfy `StudierendenwerkSchema` (drift gate).
data/external/schemas/test_schemas_studierendenwerk.py:52
Functiontest_committed_studierendenwerk_strings_parse_as_osm
Every committed OSM string must parse; the loader does not check this at runtime.
data/external/schemas/test_schemas_studierendenwerk.py:57
Functiontest_committed_ub_tum_csv_satisfies_schema
The cached ub_tum.csv must satisfy UbTumSchema (drift gate).
data/external/schemas/test_schemas_ub_tum.py:86
Functiontest_committed_usages_csv_satisfies_schema
The cached `usages_tumonline.csv` must satisfy `UsagesSchema` (drift gate).
data/external/schemas/test_schemas_tumonline.py:12
Functiontest_contains_macro
`contains_macro` recognises `lecture:`/`break:` prefixes but not incidental words.
data/processors/test_semester_block_expander.py:102
Functiontest_contains_ph
`contains_ph` recognises a `PH` selector but not incidental letters.
data/processors/test_public_holiday_expander.py:88
Functiontest_crop_offsets_ride_along
The offsets keyed by the addition key thread onto the document for crop recovery.
data/processors/test_export_search_events.py:94
Functiontest_cropping_behavior_for_1010
()
server/src/search_executor/mod.rs:979
Functiontest_cropping_full_shows_full_building_names
()
server/src/search_executor/mod.rs:637
Functiontest_csv_escape_commas
()
server/src/routes/feedback/proposed_edits/property.rs:593
Functiontest_csv_escapes_comma_separated_hours
()
server/src/routes/feedback/proposed_edits/opening_hours.rs:156
Functiontest_curated_links_yaml_is_representable
()
server/src/routes/feedback/proposed_edits/property.rs:583
Functiontest_custom_highlighting_with_formatting
()
server/src/search_executor/mod.rs:799
Functiontest_dash_separator
If the building id is separated by a dash, it is returned as a string
data/processors/areatree/test_areatree.py:54
Functiontest_datetimes_are_normalised_to_utc
Offsets are converted to `Z` so Meilisearch's lexicographic sort on `starts_at` is chronological.
data/processors/test_export_search_events.py:48
Functiontest_db_setup
()
server/src/setup/tests.rs:109
Functiontest_description_context
()
server/src/routes/feedback/proposed_edits/description.rs:259
Functiontest_document_carries_the_full_prefill_payload
Everything a client needs to pre-fill the event proposal form rides along on the document.
data/processors/test_export_search_events.py:66
Functiontest_dst_spring_forward_night_counts_only_real_hours
The spring-forward night is 9 real hours, not 10 wall-clock hours, so the budget drains accordingly.
data/processors/test_events_appears_at.py:60
Functiontest_duplicate_holidays_are_collapsed_and_ordered
Holiday dates are de-duplicated and emitted in calendar order.
data/processors/test_public_holiday_expander.py:66
Functiontest_duplicate_key_rows_collapse_to_one_document
Rows sharing a key share an `ms_id`, so Meilisearch keeps only the last - an upsert, not a second hit.
data/processors/test_export_search_events.py:79
Functiontest_each_row_becomes_one_event_document
One search document per CSV row, faceted as `event`, with the addition key as `ms_id`.
data/processors/test_export_search_events.py:36
Functiontest_edit_correctly_sorted
()
server/src/routes/feedback/proposed_edits/coordinate.rs:188
Functiontest_edit_correctly_sorted_updates
()
server/src/routes/feedback/proposed_edits/coordinate.rs:205
Functiontest_eight_hour_floor_reaches_a_short_weekday_talk
A 40-minute Wednesday-daytime talk still earns the 8h budget, drained at the 1.0/0.5 rates.
data/processors/test_events_appears_at.py:14
Functiontest_empty
If the building id is empty, an empty dict is returned
data/processors/areatree/test_areatree.py:72
Functiontest_empty_csv_insertion
()
server/src/routes/feedback/proposed_edits/coordinate.rs:247
Functiontest_empty_file
Empty file returns empty list
data/processors/areatree/test_areatree.py:131
Functiontest_empty_lecture_block_contributes_no_rule
A bare `lecture:` states nothing; only the `break:` ranges are emitted.
data/processors/test_semester_block_expander.py:37
Functiontest_event_facet_is_invisible_unless_enabled
()
server/src/search_executor/mod.rs:1336
Functiontest_event_facet_returns_the_prefill_payload
()
server/src/search_executor/mod.rs:1200
Functiontest_event_image_crop_offsets_thread_through
()
server/src/search_executor/mod.rs:1285
Functiontest_event_type_filter_returns_only_events
()
server/src/search_executor/mod.rs:1383
Functiontest_events_schema_accepts_event_thumb_name
The `event_<hash>` base name (with its underscore) is a valid thumb path.
data/external/schemas/test_schemas_events.py:45
Functiontest_events_schema_accepts_minimal_valid_row
A row matching every rule must validate cleanly (positive control).
data/external/schemas/test_schemas_events.py:39
Functiontest_events_schema_rejects_blank_image_author
CC-BY enforcement: a blank or whitespace-only `image_author` must fail validation.
data/external/schemas/test_schemas_events.py:25
Functiontest_events_schema_rejects_non_thumb_cdn_paths
`image` must be a `/cdn/thumb/…` path: external URLs and other CDN sizes are rejected.
data/external/schemas/test_schemas_events.py:61
Functiontest_expands_issue_example_lecture_then_break
`lecture:`/`break:` expand into the lecture range plus the run-up and tail break ranges.
data/processors/test_semester_block_expander.py:25
Functiontest_export_known_orgs_writes_picker_fields_sorted_by_code
`known_orgs.json` lists every org with exactly the picker fields, sorted by `code`.
data/processors/test_export_known_orgs.py:7
Functiontest_extract_names_with_extra_names
If there are more than two names, an error is raised
data/processors/areatree/test_areatree.py:45
Functiontest_extract_names_with_long_short_name
If the short name is longer than 20 chars, a warning is raised
data/processors/areatree/test_areatree.py:36
Functiontest_extract_names_with_short_name
If there is a short name, it is returned as well
data/processors/areatree/test_areatree.py:22
Functiontest_extract_names_without_short_name
If there is no short name, only the name is returned
data/processors/areatree/test_areatree.py:29
Functiontest_file_preserves_indentation
Indentation is preserved
data/processors/areatree/test_areatree.py:154
Functiontest_forty_eight_hour_cap_bites_on_a_multi_day_event
A multi-day event's budget would reach back days, but the window is capped at 48h before starts_at.
data/processors/test_events_appears_at.py:52
Functiontest_friday_closing_minute_flips_from_open_to_closed
One minute before close is still open; the closing minute itself is closed.
data/processors/test_opening_hours_state.py:27
Functiontest_friday_to_saturday_straddle_switches_rate_at_midnight
Walking back across Saturday 00:00 flips the weekend factor, so the Friday side drains at the weekday rate.
data/processors/test_events_appears_at.py:37
Functiontest_generate_qr_code
()
server/src/routes/locations/qr_code.rs:111
Functiontest_get_coordinates_csv_path
()
server/src/routes/feedback/proposed_edits/coordinate.rs:128
Functiontest_get_handler_unchanged
()
server/src/routes/locations/details.rs:699
Functiontest_good_queries
()
server/src/search_executor/mod.rs:580
Functiontest_id_not_inferable
If the id is not inferable from the line, an error is raised
data/processors/areatree/test_areatree.py:111
Functiontest_ignores_unmapped_branches
A scraped branch absent from the mapping is dropped.
data/processors/test_ub_tum.py:63
Functiontest_ignores_unmapped_canteens
A canteen present in the feed but absent from the mapping is dropped.
data/processors/test_studierendenwerk.py:51
Functiontest_image_path_stays_within_directory
()
server/src/routes/feedback/proposed_edits/image.rs:381
Functiontest_image_save
()
server/src/routes/feedback/proposed_edits/image.rs:257
Functiontest_image_save_caps_dimensions
( #[case] in_width: u32, #[case] in_height: u32, #[case] out_width: u32, #[cas
server/src/routes/feedback/proposed_edits/image.rs:287
Functiontest_image_should_be_saved_at_with_absolute_path
()
server/src/routes/feedback/proposed_edits/image.rs:373
Functiontest_image_should_be_saved_at_with_traversal_attempt
()
server/src/routes/feedback/proposed_edits/image.rs:365
Functiontest_image_should_be_saved_at_with_valid_key
()
server/src/routes/feedback/proposed_edits/image.rs:356
Functiontest_index_get
()
server/src/routes/calendar.rs:439
Functiontest_inline_comments
Inline comments are removed
data/processors/areatree/test_areatree.py:146
Functiontest_insert_pads_optional_columns
()
server/src/routes/feedback/proposed_edits/opening_hours.rs:107
Functiontest_insertion_alphabetical
()
server/src/routes/feedback/proposed_edits/coordinate.rs:134
Functiontest_insertion_char_friendly
()
server/src/routes/feedback/proposed_edits/coordinate.rs:168
Functiontest_invalid_line_extra_parts
Extra parts are not allowed
data/processors/areatree/test_areatree.py:174
← previousnext →1,301–1,400 of 1,637, ranked by callers