Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Remove unused code for teach, dynamodb and the aws sdk #12

Merged
merged 3 commits into from
Dec 3, 2023

Conversation

MalvinaNikandrou
Copy link
Contributor


  • This PR has been tested in the staging environment.
  • This PR altered the decision-making process of the bot and these alterations have been included in the Figma diagram.

Copy link

github-actions bot commented Dec 3, 2023

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/emma_experience_hub
   __init__.py10100% 
   __main__.py666 0%
   _version.py10100% 
src/emma_experience_hub/api
   __init__.py00100% 
   simbot.py404040 0%
src/emma_experience_hub/api/clients
   __init__.py70100% 
   client.py251212 52%
   compound_splitter.py342525 26%
   confirmation_response_classifier.py1699 44%
   emma_policy.py251616 36%
   feature_extractor.py563737 34%
   out_of_domain_detector.py1599 40%
   profanity_filter.py1599 40%
   pydantic.py1444 71%
src/emma_experience_hub/api/clients/simbot
   __init__.py80100% 
   action_prediction.py822 75%
   cache.py571616 72%
   features.py431717 60%
   hacks.py734646 37%
   nlu_intent.py611 83%
   placeholder_vision.py201313 35%
   qa_intent.py271616 41%
   session_db.py943333 65%
src/emma_experience_hub/api/controllers
   __init__.py10100% 
src/emma_experience_hub/api/controllers/simbot
   __init__.py00100% 
   clients.py502121 58%
   controller.py1272626 80%
   pipelines.py220100% 
src/emma_experience_hub/api/observability
   __init__.py111 0%
   logging.py555 0%
src/emma_experience_hub/commands
   __init__.py00100% 
   build_emma.py212121 0%
src/emma_experience_hub/commands/simbot
   __init__.py00100% 
   cli.py797979 0%
src/emma_experience_hub/common
   __init__.py00100% 
   docker.py323232 0%
   system.py212121 0%
   torch.py464646 0%
src/emma_experience_hub/common/settings
   __init__.py20100% 
   settings.py1011 90%
   simbot.py9511 99%
src/emma_experience_hub/constants
   __init__.py20100% 
   alexa.py10100% 
   model.py30100% 
   simbot.py6322 97%
src/emma_experience_hub/datamodels
   __init__.py30100% 
   common.py2522 92%
   registry.py512323 55%
src/emma_experience_hub/datamodels/enums
   __init__.py20100% 
   search_planner.py40100% 
src/emma_experience_hub/datamodels/simbot
   __init__.py80100% 
   actions.py1582323 85%
   agent_memory.py1105252 53%
   feedback.py1271515 88%
   intents.py2322 91%
   queue.py591313 78%
   request.py3111 97%
   response.py2688 69%
   session.py3145252 83%
   speech.py3555 86%
src/emma_experience_hub/datamodels/simbot/enums
   __init__.py30100% 
   action_status.py2511 96%
   actions.py9477 93%
   intents.py11844 97%
src/emma_experience_hub/datamodels/simbot/payloads
   __init__.py60100% 
   auxiliary_metadata.py7155 93%
   dialog.py50100% 
   navigation.py7733 96%
   object_interaction.py3122 94%
   payload.py611 83%
   speech_recognition.py340100% 
src/emma_experience_hub/functions
   __init__.py00100% 
   coordinates.py100100% 
src/emma_experience_hub/functions/simbot
   __init__.py50100% 
   actions.py7144 94%
   grab_from_history.py463131 33%
   masks.py320100% 
   search.py1474646 69%
   special_tokens.py4577 84%
   viewpoint_iterator.py513434 33%
src/emma_experience_hub/functions/simbot/agent_intent_selection
   __init__.py40100% 
   clarification_handler.py511 80%
   confirmation_handler.py655050 23%
   instruction_handler.py1549292 40%
   object_qa_handler.py493232 35%
src/emma_experience_hub/parsers
   __init__.py10100% 
   parser.py711 86%
src/emma_experience_hub/parsers/simbot
   __init__.py90100% 
   action_predictor_output.py751313 83%
   feedback_from_session_context.py6288 87%
   intent_from_action_status.py251717 32%
   low_asr_confidence_detector.py160100% 
   nlu_output.py140100% 
   previous_action.py261515 42%
   qa_entity_output.py372828 24%
   qa_output.py604141 32%
   visual_grounding_output.py2366 74%
src/emma_experience_hub/pipelines
   __init__.py00100% 
src/emma_experience_hub/pipelines/simbot
   __init__.py110100% 
   agent_action_generation.py996363 36%
   agent_intent_selection.py803333 59%
   agent_language_generation.py3888 79%
   anticipator.py624141 34%
   compound_splitter.py594040 32%
   environment_error_catching.py129103103 20%
   environment_intent_extraction.py1333 77%
   find_object.py1607272 55%
   request_processing.py4022 95%
   user_intent_extraction.py855353 38%
   user_utterance_verification.py462929 37%
TOTAL4479165963% 

Tests Skipped Failures Errors Time
252 2 💤 0 ❌ 0 🔥 31.471s ⏱️

@MalvinaNikandrou MalvinaNikandrou merged commit 34134d4 into main Dec 3, 2023
7 checks passed
@MalvinaNikandrou MalvinaNikandrou deleted the remove-unused-code branch December 3, 2023 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant