Commit History

Enhance answer management in Streamlit app by implementing a pending answers feature. Users can now see uncommitted answers and will be prompted to save them when switching terms. This update improves user experience by ensuring answers are tracked and committed appropriately, streamlining the workflow for completing terms and categories.
c1a0d8f

Fredrik Sitje commited on

Optimize term-category pair filtering in Streamlit app by converting DataFrame to a list for improved performance. This change enhances efficiency by avoiding the use of iterrows, streamlining the data processing workflow.
6b21293

Fredrik Sitje commited on

Enhance README.md with new indexing columns for categories and subcategories. Removed deprecated category order configuration file and updated Streamlit app to sort categories and subcategories based on their respective indices. This improves the display order and maintains consistency in data presentation.
c3069c3

Fredrik Sitje commited on

Added sorting order based on the order the TransLegal Client uses.
f1694ed

Fredrik Sitje commited on

Update the display for language and country codes.
3fb85e6

Fredrik Sitje commited on

Implement dynamic jurisdiction discovery in Streamlit app. This update replaces the static list of available jurisdictions with a function that retrieves them from the Hugging Face dataset repository, enhancing flexibility and user experience. Error handling has been added to manage cases where no jurisdictions are found.
24c6160

Fredrik Sitje commited on

Fix indentation in term switching logic within Streamlit app. This change improves code readability and ensures proper execution flow when transitioning between terms.
1567f2d

Fredrik Sitje commited on

Add term_category_pairs retrieval for jurisdiction in Streamlit app
2dc8eb5

Fredrik Sitje commited on

Refactor error handling in get_hf_api() function. Adjusted indentation for try-except block to improve readability and maintainability of Hugging Face API initialization.
2161cac

Fredrik Sitje commited on

Implement jurisdiction validation in Streamlit app. Added error handling to ensure a valid jurisdiction is selected before loading data, enhancing user experience and preventing potential issues during app usage.
f8491a5

Fredrik Sitje commited on

Refactor Streamlit app to support jurisdiction-specific data handling. Updated functions to accept jurisdiction as a parameter, modified file paths for user data and grading templates, and added jurisdiction selection in the login process. This enhances the app's flexibility for different jurisdictions.
077c9e3

Fredrik Sitje commited on

Caching get_hf_api(), cached term_category_pairs computation, cached load_users(). This should increase reactivity alot.
058983a

Fredrik Sitje commited on

Updated skipping logic.
ecf7479

Fredrik Sitje commited on

Updated skipping logic.
03295c3

Fredrik Sitje commited on

Updated tooltips to the answers.
36a24f4

Fredrik Sitje commited on

Include tooltips to the answers.
2033c01

Fredrik Sitje commited on

Make a bulk commit for all Unknown answers when a user is registered.
cbf05d1

Fredrik Sitje commited on

Include tooltips to the answers.
47ec288

Fredrik Sitje commited on

Initialize the spaces.
abc33c8

Fredrik Sitje commited on