Skip to content
Closed

test #219

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies = [
"pandas~=2.0",
"six~=1.16.0",
"thefuzz[speedup]~=0.22.1",
"databricks-sql-connector~=3.5.0",
"databricks-sql-connector[pyarrow]~=4.2.0",
"pandera~=0.13",
"mlflow~=2.22",
"cachetools",
Expand Down
4 changes: 4 additions & 0 deletions src/webapp/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,10 @@ class InstTable(Base):
edvise_id: Mapped[str | None] = mapped_column(
String(VAR_CHAR_LENGTH), nullable=True
)
# Only populated for Legacy schools (any-format uploads).
legacy_id: Mapped[str | None] = mapped_column(
String(VAR_CHAR_LENGTH), nullable=True
)
created_at: Mapped[datetime.datetime] = mapped_column(
DateTime(timezone=True),
server_default=func.now(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ Column 'Score' has validation errors:
• Row 3: Validation failed for greater_than(0) check. Current value: found '-5'

Column 'Student ID' has validation errors:
• Row 1: Value must be at least 3 characters long. Current value: found '****' (value masked for privacy)
• Row 1: Value must be at least 3 characters long. Current value: found 'AB'
4 changes: 2 additions & 2 deletions src/webapp/gcsutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,8 @@ def validate_file(
allowed_schemas: List of schema/model names allowed.
base_schema: Base schema dict.
inst_schema: Optional extension schema with institutions.* blocks.
institution_id: Key into inst_schema["institutions"]: "edvise", "pdp", or
institution UUID for custom. Default "pdp" for backward compatibility.
institution_id: Key into inst_schema["institutions"]: "edvise", "pdp",
"legacy" (any-format uploads), or institution UUID for custom. Default "pdp".
institution_identifier: Optional institution ID (e.g. UUID). Reserved for
future use; Edvise uses JSON-based validation only (different shape).

Expand Down
Loading
Loading