Commit Graph

1277 Commits

Author SHA1 Message Date
klotske 4ac159ec7e Update CreateTask UI 2023-01-12 16:35:44 +03:00
klotske 82b2693ed6 Remove unused import 2023-01-12 16:17:08 +03:00
klotske 82a60ef904 Change typings & refactor FlaggableElement 2023-01-12 16:10:05 +03:00
klotske d8328807f4 Remove redundant LinkOverlay 2023-01-12 12:51:37 +03:00
klotske 12688d951b Add NextJS's NextLink & add as prop 2023-01-12 12:20:36 +03:00
AbdBarho bac70ce241 Merge pull request #628 from Klotske/add-admin-link
Added admin dashboard link to UserMenu
2023-01-12 09:13:56 +01:00
Keith Stevens a7040378cc Merge pull request #650 from rsandb/main
Dashboard Integration
2023-01-12 14:34:14 +09:00
rsandb fefd3614b0 Remove TOS & Privacy Policy changes 2023-01-11 23:03:47 -06:00
rsandb 0f9867c542 added data-cy divs to Task components 2023-01-11 22:28:20 -06:00
rsandb 938beb4a74 Delete score-leaderboard.tsx 2023-01-11 22:15:19 -06:00
rsandb 80cf195972 Dashboard Integration 2023-01-11 22:12:09 -06:00
Keith Stevens be7f933033 Merge pull request #609 from ericv105/main
85: Unit-testing nextjs & react code
2023-01-12 11:46:18 +09:00
Keith Stevens cacfd02c51 Merge pull request #635 from Klotske/add-empty-state
Add empty state & tweak loading screen
2023-01-12 11:24:27 +09:00
ericv105 995c75de99 updated cypress tsconfig to avoid relative imports 2023-01-11 20:36:41 -05:00
theblackcat102 f58f473602 Merge pull request #638 from LAION-AI/ekurtulus/main
Changes on #619. Datasets is getting a bit dirty. I will do a refactoring this week.
2023-01-12 08:23:37 +08:00
Andreas Köpf 7b78430569 remove accepted_messages ref 2023-01-12 01:23:05 +01:00
Andreas Köpf b659e1cf01 remove accepted_messages from message_tree_state 2023-01-12 01:21:32 +01:00
Keith Stevens cf3416bba2 Merge pull request #631 from Klotske/fix-message-link
Fix link in MessageTableEntry
2023-01-12 08:05:42 +09:00
Andreas Köpf 025d20e638 shuffle ranking options, add simple mode for text-labels 2023-01-11 23:47:56 +01:00
Sotirios Anagnostidis c8f47eef9f precommits 2023-01-11 22:58:17 +01:00
Sotirios Anagnostidis d46ff8c4ee better logging with deepspeed 2023-01-11 22:48:02 +01:00
Sotirios Anagnostidis 6438fdbe2c quantization from #582 2023-01-11 22:44:20 +01:00
Sotirios Anagnostidis 4a3ea0b033 refactoring, now running 2023-01-11 22:42:04 +01:00
klotske 802701d776 Color-mode specific styling for LoadingScreen 2023-01-11 23:42:19 +03:00
klotske 0eed9b5126 Implement new TaskEmptyState component 2023-01-11 23:39:55 +03:00
klotske 9a00e938bd Add empty state component 2023-01-11 23:35:28 +03:00
Andrew Maguire d1e8df3982 add some ignore paths to test-api-contract.yaml (#630)
add some ignore paths
2023-01-11 21:20:46 +01:00
dhug 3136b2e120 added similarity functions and ran precommit (#633) 2023-01-11 20:53:53 +01:00
klotske 606e07c6a1 Fix link behaviour 2023-01-11 20:59:46 +03:00
dhug 9421488619 Add realistic seed data json and update seed_data to properly label task payloads (#613)
* modifies seed_data script to properly label taks types as prompteror assistant

* added realistic data json

* pre-commit changes

* update realistic_seed_data.json 5000 messages -> 450 messages

* pre-commit changes

* modifies seed_data script to properly label taks types as prompteror assistant

* added realistic data json

* pre-commit changes

* update realistic_seed_data.json 5000 messages -> 450 messages

* pre-commit changes

* changed DEBUG_USE_SEED_DATA_PATH to realistic_seed_data, merged with main, ran pre-commit

* Delete 2023_01_10_2052-06cc56417e69_.py

Co-authored-by: Andreas Köpf <andreas.koepf@provisio.com>
2023-01-11 18:48:14 +01:00
Andrew Maguire b1fbd0fa96 Devcontainer backend dev (#608)
add backend-dev devcontainer and extract openapi.json to docs/
2023-01-11 17:09:02 +01:00
klotske cc08a5573b Wrapped message in nextjs link 2023-01-11 19:00:14 +03:00
klotske b568f12727 Moved check out of the array 2023-01-11 18:43:28 +03:00
Andrew Maguire 991ff68d0a add andrewm4894 to notebooks/ codeowners (#626)
add andrewm4894 to `notebooks/` codeowners
2023-01-11 16:34:29 +01:00
Tom Zehle 011c023e41 added data_augment.py (#570)
* added data_augment.py

* .
2023-01-11 16:31:52 +01:00
Andreas Köpf f32ec78988 Returning from /api/v1/frontend_users/{auth_method}/{username}
fixes #615
2023-01-11 14:46:29 +01:00
klotske 82bba57353 Added admin dashboard link to UserMenu 2023-01-11 16:09:08 +03:00
Andreas Köpf 0117159da0 returning 503 Service Unavailable when requested task type is not available 2023-01-11 13:56:21 +01:00
Keith Stevens 78306b7ca2 Merge pull request #625 from othrayte/purge-summary-task-pages
website: Remove summarization pages
2023-01-11 21:33:03 +09:00
Adrian Cowan 099b7c0b66 website: Remove summarization pages
These pages are now out of sync with the rest of the development and are become hard to maintain without an API to work against. They should be easy to reimplement using the new Components once we have actual summarization tasks.
2023-01-11 22:54:41 +11:00
AbdBarho e2248b5d8a Merge pull request #622 from LAION-AI/616_web_forwards_task_id
Update the web to match the backends new API
2023-01-11 12:32:00 +01:00
Keith Stevens 14f6459424 Deleted unused useEffect 2023-01-11 19:54:55 +09:00
Keith Stevens 7163555fb0 Merge branch 'main' into 616_web_forwards_task_id 2023-01-11 19:44:05 +09:00
Keith Stevens 7f47ada3ba Revert "Ensure prisma generate happens when building the frontend"
This reverts commit 0a5e4d4b2b.
2023-01-11 19:43:56 +09:00
Keith Stevens 8c497223d5 Tweaking the build frontend workflow to always run prisma generate 2023-01-11 19:43:30 +09:00
Keith Stevens 0a5e4d4b2b Ensure prisma generate happens when building the frontend 2023-01-11 19:40:42 +09:00
Keith Stevens 268cd7d7b5 Forwarding the real task id in backend interactions and ensure the labeling task works 2023-01-11 19:32:52 +09:00
Andreas Köpf 14fa08e2e7 Message tree state machine (#555)
* add query_incomplete_rankings()

* Add SQL queries for TreeManager task selection

* first working version of TreeManager.next_task()

* remove old generate_task(), add mandatory_labels to text_labels task

* Add ConversationMessage list to Ranking tasks

* add more sophisticated sql queries to find extendible trees

* add TreeManager.query_extendible_parents()

* fix task validation, seed data insertion (reviewed)

* provide user for task selection in text-frontend

* enter 'growing' state

* enter 'aborted_low_grade' state

* enter 'ranking' state

* check tree 'growing' state upon relpy insertion

* exclude user from labeling their own messages (added DEBUG_ALLOW_SELF_LABELING setting)

* add DEBUG_ALLOW_SELF_LABELING to docker-compose.yaml

* fix ranking submission

* add query_tree_ranking_results()

* add ranked_message_ids to RankingReactionPayload

* fix reply_messages instead of prompt_messages

* incorment 'ranking_count' of ranked replies

* added logic to check_condition_for_scoring_state

* changes to msg_tree_state_machine

* pre-commit changes

* enter 'ready_for_scoring' state

* re-add HF embedding call (lost during merge)

* use prepare_conversation() helper for seed-data creation

* Partially add user specified task selection

Co-authored-by: Daniel Hug <danielpatrickhug@gmail.com>
2023-01-11 10:54:03 +01:00
Keith Stevens 23ff01c603 Merge pull request #621 from kostiak/website-random-task3
Added random task and moved other tasks to /tasks/all
2023-01-11 18:41:53 +09:00
kostiak e2844e4d86 Added random task and moved other tasks to /tasks/all 2023-01-11 09:30:58 +00:00