You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most recent actions were togging between Embedvec and LLM recommender several times before choosing Manual recommender to create a group that was correct (Blue)
Full log
$ python src/web_app/entry_app.py
Running AVA 0.14.0
* Serving Quart app 'entry_app'
* Debug mode: True
* Please use an ASGI server (e.g. Hypercorn) directly in production
* Running on http://127.0.0.1:5000 (CTRL + C to quit)
[2024-12-31 11:10:02 +0000] [979] [INFO] Running on http://127.0.0.1:5000 (CTRL + C to quit)
app.route('/')
[2024-12-31 11:10:05 +0000] [979] [INFO] 127.0.0.1:54744 GET / 1.1 200 14340 10881
[2024-12-31 11:10:05 +0000] [979] [INFO] 127.0.0.1:54744 GET /static/styles.css 1.1 200 1974 14287
app.route('/setup-puzzle')
Generating vocabulary and embeddings for the words...this may take several seconds
Generating embeddings for the definitions
Storing vocabulary and embeddings in external database
Executing <Task pending name='Task-30' coro=<ASGIHTTPConnection.handle_request() running at /usr/local/lib/python3.11/site-packages/quart/asgi.py:98> wait_for=<Future pending cb=[Task.task_wakeup()] created at /usr/local/lib/python3.11/asyncio/base_events.py:427> cb=[_wait.<locals>._on_completion() at /usr/local/lib/python3.11/asyncio/tasks.py:519] created at /usr/local/lib/python3.11/asyncio/tasks.py:680> took 0.979 seconds
ENTERED EMBEDVEC_RECOMMENDER
found count: 0, mistake_count: 0
words_remaining: ['ball', 'drop', 'dart', 'game', 'attention', 'dear', 'brand', 'names', 'thrill', 'for', 'fly', 'blast', 'bolt', 'kick', 'to', 'dash']
(139, 139)
(139, 139)
candidate_lists size: 84
Executing <Task pending name='Task-141' coro=<get_embedvec_recommendation() running at /workspaces/connection_solver/src/agent/puzzle_solver.py:584> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()] created at /usr/local/lib/python3.11/asyncio/tasks.py:709> cb=[Task.task_wakeup()] created at /usr/local/lib/python3.11/asyncio/tasks.py:386> took 0.277 seconds
[2024-12-31 11:12:46 +0000] [979] [INFO] 127.0.0.1:41860 POST /setup-puzzle 1.1 200 272 9707463
app.route('/generate-next')
[2024-12-31 11:12:56 +0000] [979] [INFO] 127.0.0.1:45096 POST /generate-next 1.1 200 257 12330
app.route('/update-solution')
Recommendation ['bolt', 'dart', 'dash', 'fly'] is correct
ENTERED EMBEDVEC_RECOMMENDER
found count: 1, mistake_count: 0
words_remaining: ['ball', 'drop', 'game', 'attention', 'dear', 'brand', 'names', 'thrill', 'for', 'blast', 'kick', 'to']
(99, 99)
(99, 99)
candidate_lists size: 45
Executing <Task pending name='Task-218' coro=<get_embedvec_recommendation() running at /workspaces/connection_solver/src/agent/puzzle_solver.py:584> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()] created at /usr/local/lib/python3.11/asyncio/tasks.py:709> cb=[Task.task_wakeup()] created at /usr/local/lib/python3.11/asyncio/tasks.py:386> took 0.165 seconds
[2024-12-31 11:13:31 +0000] [979] [INFO] 127.0.0.1:47472 POST /update-solution 1.1 200 391 5403370
app.route('/generate-next')
[2024-12-31 11:13:34 +0000] [979] [INFO] 127.0.0.1:47472 POST /generate-next 1.1 200 261 3323
app.route('/update-solution')
Recommendation ['ball', 'blast', 'game', 'thrill'] is incorrect, one away from correct
ENTERED ONE-AWAY ANALYZER
found count: 1, mistake_count: 1
>>>Number of single topic groups: 4
More than one single-topic group recommendations, selecting one at random.
>>>Selected single-topic group:
Recommended Group: ('ball', 'blast', 'thrill')
Connection Description: The three words 'ball,' 'blast,' and 'thrill' can all be related to the context of entertainment or fun activities. 'Ball' can refer to a fun party or dance event. 'Blast' is a colloquial term often used to describe an enjoyable or exciting experience. 'Thrill' refers to a feeling of excitement or exhilaration. Therefore, the shared context among these words is having fun or engaging in an exciting activity.
>>>One-away group recommendations:
one_away_group_recommendation is a new recommendation
using one_away_group_recommendation
[2024-12-31 11:14:08 +0000] [979] [INFO] 127.0.0.1:52384 POST /update-solution 1.1 200 464 4284048
app.route('/generate-next')
[2024-12-31 11:14:13 +0000] [979] [INFO] 127.0.0.1:52384 POST /generate-next 1.1 200 608 2979
app.route('/update-solution')
Recommendation ['ball', 'blast', 'kick', 'thrill'] is correct
ENTERED EMBEDVEC_RECOMMENDER
found count: 2, mistake_count: 1
words_remaining: ['drop', 'game', 'attention', 'dear', 'brand', 'names', 'for', 'to']
(65, 65)
(65, 65)
candidate_lists size: 21
Executing <Task pending name='Task-366' coro=<get_embedvec_recommendation() running at /workspaces/connection_solver/src/agent/puzzle_solver.py:584> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()] created at /usr/local/lib/python3.11/asyncio/tasks.py:709> cb=[Task.task_wakeup()] created at /usr/local/lib/python3.11/asyncio/tasks.py:386> took 0.127 seconds
[2024-12-31 11:14:54 +0000] [979] [INFO] 127.0.0.1:41574 POST /update-solution 1.1 200 484 2528662
app.route('/generate-next')
[2024-12-31 11:14:57 +0000] [979] [INFO] 127.0.0.1:41574 POST /generate-next 1.1 200 389 2948
app.route('/update-solution')
switching recommender
ENTERED LLM_RECOMMENDER
found count: 2, mistake_count: 1
attempt_count: 1
words_remaining: ['game', 'attention', 'dear', 'brand', 'for', 'names', 'to', 'drop']
[2024-12-31 11:15:17 +0000] [979] [INFO] 127.0.0.1:59000 POST /update-solution 1.1 200 484 2325300
app.route('/generate-next')
[2024-12-31 11:15:19 +0000] [979] [INFO] 127.0.0.1:59000 POST /generate-next 1.1 200 324 3449
app.route('/update-solution')
switching recommender
ENTERED EMBEDVEC_RECOMMENDER
found count: 2, mistake_count: 1
words_remaining: ['game', 'attention', 'dear', 'brand', 'for', 'names', 'to', 'drop']
(65, 65)
(65, 65)
candidate_lists size: 21
Executing <Task pending name='Task-512' coro=<get_embedvec_recommendation() running at /workspaces/connection_solver/src/agent/puzzle_solver.py:584> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()] created at /usr/local/lib/python3.11/asyncio/tasks.py:709> cb=[Task.task_wakeup()] created at /usr/local/lib/python3.11/asyncio/tasks.py:386> took 0.130 seconds
[2024-12-31 11:15:45 +0000] [979] [INFO] 127.0.0.1:58366 POST /update-solution 1.1 200 484 3472374
app.route('/generate-next')
[2024-12-31 11:15:47 +0000] [979] [INFO] 127.0.0.1:58366 POST /generate-next 1.1 200 405 3190
app.route('/update-solution')
switching recommender
ENTERED LLM_RECOMMENDER
found count: 2, mistake_count: 1
attempt_count: 1
words_remaining: ['drop', 'to', 'names', 'for', 'brand', 'dear', 'attention', 'game']
[2024-12-31 11:16:39 +0000] [979] [INFO] 127.0.0.1:36074 POST /update-solution 1.1 200 484 2312886
app.route('/generate-next')
[2024-12-31 11:16:40 +0000] [979] [INFO] 127.0.0.1:36074 POST /generate-next 1.1 200 236 3021
app.route('/update-solution')
switching recommender
ENTERED EMBEDVEC_RECOMMENDER
found count: 2, mistake_count: 1
words_remaining: ['drop', 'to', 'names', 'for', 'brand', 'dear', 'attention', 'game']
(65, 65)
(65, 65)
candidate_lists size: 21
Executing <Task pending name='Task-652' coro=<get_embedvec_recommendation() running at /workspaces/connection_solver/src/agent/puzzle_solver.py:584> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()] created at /usr/local/lib/python3.11/asyncio/tasks.py:709> cb=[Task.task_wakeup()] created at /usr/local/lib/python3.11/asyncio/tasks.py:386> took 0.125 seconds
[2024-12-31 11:17:05 +0000] [979] [INFO] 127.0.0.1:49974 POST /update-solution 1.1 200 484 2587001
app.route('/generate-next')
[2024-12-31 11:17:06 +0000] [979] [INFO] 127.0.0.1:49974 POST /generate-next 1.1 200 366 2995
app.route('/manual-override')
[2024-12-31 11:17:27 +0000] [979] [INFO] 127.0.0.1:56510 POST /manual-override 1.1 200 26 3443
app.route('/confirm-manual-override')
[2024-12-31 11:17:52 +0000] [979] [INFO] 127.0.0.1:50282 POST /confirm-manual-override 1.1 200 26 3991
app.route('/update-solution')
Recommendation ['attention', 'dear', 'for', 'to'] is correct
ENTERED EMBEDVEC_RECOMMENDER
found count: 3, mistake_count: 1
words_remaining: ['drop', 'names', 'brand', 'game']
(39, 39)
(39, 39)
candidate_lists size: 1
[2024-12-31 11:18:16 +0000] [979] [INFO] 127.0.0.1:42596 POST /update-solution 1.1 200 504 2074633
app.route('/generate-next')
[2024-12-31 11:18:20 +0000] [979] [ERROR] Error in ASGI Framework
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/hypercorn/asyncio/task_group.py", line 27, in _handle
await app(scope, receive, send, sync_spawn, call_soon)
File "/usr/local/lib/python3.11/site-packages/hypercorn/app_wrappers.py", line 34, in __call__
await self.app(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/quart/app.py", line 1668, in __call__
await self.asgi_app(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/quart/app.py", line 1694, in asgi_app
await asgi_handler(receive, send)
File "/usr/local/lib/python3.11/site-packages/quart/asgi.py", line 52, in __call__
raise_task_exceptions(done)
File "/usr/local/lib/python3.11/site-packages/quart/utils.py", line 180, in raise_task_exceptions
raise task.exception()
File "/usr/local/lib/python3.11/site-packages/quart/asgi.py", line 100, in handle_request
response = await _handle_exception(self.app, error)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/quart/asgi.py", line 357, in _handle_exception
raise error
File "/usr/local/lib/python3.11/site-packages/quart/asgi.py", line 98, in handle_request
response = await self.app.handle_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/quart/app.py", line 1408, in handle_request
return await self.handle_exception(error)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/quart/app.py", line 1404, in handle_request
return await self.full_dispatch_request(request_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/quart/app.py", line 1442, in full_dispatch_request
result = await self.handle_user_exception(error)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/quart/app.py", line 1030, in handle_user_exception
raise error
File "/usr/local/lib/python3.11/site-packages/quart/app.py", line 1440, in full_dispatch_request
result = await self.dispatch_request(request_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/quart/app.py", line 1536, in dispatch_request
return await self.ensure_async(handler)(**request_.view_args) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspaces/connection_solver/src/web_app/entry_app.py", line 202, in generate_next
"recommended_words": sorted(current_state.values["recommended_words"]),
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
KeyError: 'recommended_words'
[2024-12-31 11:18:20 +0000] [979] [INFO] 127.0.0.1:42596 POST /generate-next 1.1 500 - 3666
app.route('/generate-next')
[2024-12-31 11:18:26 +0000] [979] [ERROR] Error in ASGI Framework
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/hypercorn/asyncio/task_group.py", line 27, in _handle
await app(scope, receive, send, sync_spawn, call_soon)
File "/usr/local/lib/python3.11/site-packages/hypercorn/app_wrappers.py", line 34, in __call__
await self.app(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/quart/app.py", line 1668, in __call__
await self.asgi_app(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/quart/app.py", line 1694, in asgi_app
await asgi_handler(receive, send)
File "/usr/local/lib/python3.11/site-packages/quart/asgi.py", line 52, in __call__
raise_task_exceptions(done)
File "/usr/local/lib/python3.11/site-packages/quart/utils.py", line 180, in raise_task_exceptions
raise task.exception()
File "/usr/local/lib/python3.11/site-packages/quart/asgi.py", line 100, in handle_request
response = await _handle_exception(self.app, error)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/quart/asgi.py", line 357, in _handle_exception
raise error
File "/usr/local/lib/python3.11/site-packages/quart/asgi.py", line 98, in handle_request
response = await self.app.handle_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/quart/app.py", line 1408, in handle_request
return await self.handle_exception(error)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/quart/app.py", line 1404, in handle_request
return await self.full_dispatch_request(request_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/quart/app.py", line 1442, in full_dispatch_request
result = await self.handle_user_exception(error)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/quart/app.py", line 1030, in handle_user_exception
raise error
File "/usr/local/lib/python3.11/site-packages/quart/app.py", line 1440, in full_dispatch_request
result = await self.dispatch_request(request_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/quart/app.py", line 1536, in dispatch_request
return await self.ensure_async(handler)(**request_.view_args) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspaces/connection_solver/src/web_app/entry_app.py", line 202, in generate_next
"recommended_words": sorted(current_state.values["recommended_words"]),
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
KeyError: 'recommended_words'
[2024-12-31 11:18:26 +0000] [979] [INFO] 127.0.0.1:38742 POST /generate-next 1.1 500 - 3113
The text was updated successfully, but these errors were encountered:
WebUI for Connections Puzzle 2024-12-31.
Most recent actions were togging between Embedvec and LLM recommender several times before choosing Manual recommender to create a group that was correct (Blue)
Full log
The text was updated successfully, but these errors were encountered: