langgoap 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- langgoap-0.1.1/.env.example +11 -0
- langgoap-0.1.1/.github/ISSUE_TEMPLATE/bug_report.yml +147 -0
- langgoap-0.1.1/.github/ISSUE_TEMPLATE/config.yml +15 -0
- langgoap-0.1.1/.github/ISSUE_TEMPLATE/feature_request.yml +139 -0
- langgoap-0.1.1/.github/PULL_REQUEST_TEMPLATE.md +41 -0
- langgoap-0.1.1/.github/badges/mfcqi.json +7 -0
- langgoap-0.1.1/.github/images/icon.svg +15 -0
- langgoap-0.1.1/.github/images/logo-dark.svg +16 -0
- langgoap-0.1.1/.github/images/logo-light.svg +16 -0
- langgoap-0.1.1/.github/images/quickstart-happy.txt +10 -0
- langgoap-0.1.1/.github/images/quickstart-plan-happy.png +0 -0
- langgoap-0.1.1/.github/images/quickstart-plan-replan.png +0 -0
- langgoap-0.1.1/.github/images/quickstart-replan.txt +11 -0
- langgoap-0.1.1/.github/images/quickstart-stategraph.png +0 -0
- langgoap-0.1.1/.github/release-drafter-config.yml +47 -0
- langgoap-0.1.1/.github/workflows/claude.yml +36 -0
- langgoap-0.1.1/.github/workflows/coverage-gist.yml +55 -0
- langgoap-0.1.1/.github/workflows/docs.yml +140 -0
- langgoap-0.1.1/.github/workflows/lint.yml +34 -0
- langgoap-0.1.1/.github/workflows/release-drafter.yml +21 -0
- langgoap-0.1.1/.github/workflows/release.yml +349 -0
- langgoap-0.1.1/.github/workflows/test-release.yml +180 -0
- langgoap-0.1.1/.github/workflows/test.yml +220 -0
- langgoap-0.1.1/.gitignore +113 -0
- langgoap-0.1.1/CHANGELOG.md +19 -0
- langgoap-0.1.1/CODE_OF_CONDUCT.md +153 -0
- langgoap-0.1.1/CONTRIBUTING.md +154 -0
- langgoap-0.1.1/LICENSE +21 -0
- langgoap-0.1.1/Makefile +78 -0
- langgoap-0.1.1/PKG-INFO +366 -0
- langgoap-0.1.1/README.md +324 -0
- langgoap-0.1.1/docs/Makefile +19 -0
- langgoap-0.1.1/docs/_extension/gallery_directive.py +139 -0
- langgoap-0.1.1/docs/_static/css/custom.css +122 -0
- langgoap-0.1.1/docs/_static/images/icon.svg +15 -0
- langgoap-0.1.1/docs/_static/images/logo-dark.svg +16 -0
- langgoap-0.1.1/docs/_static/images/logo-light.svg +16 -0
- langgoap-0.1.1/docs/_static/images/quickstart-plan-happy.png +0 -0
- langgoap-0.1.1/docs/_static/images/quickstart-plan-replan.png +0 -0
- langgoap-0.1.1/docs/_static/images/quickstart-stategraph.png +0 -0
- langgoap-0.1.1/docs/_templates/versioning.html +46 -0
- langgoap-0.1.1/docs/api/index.md +160 -0
- langgoap-0.1.1/docs/concepts/index.md +194 -0
- langgoap-0.1.1/docs/conf.py +131 -0
- langgoap-0.1.1/docs/copy_notebooks.py +107 -0
- langgoap-0.1.1/docs/examples/index.md +120 -0
- langgoap-0.1.1/docs/examples/screencast/research_agent/screencast.ipynb +650 -0
- langgoap-0.1.1/docs/index.md +242 -0
- langgoap-0.1.1/docs/requirements.txt +8 -0
- langgoap-0.1.1/examples/.gitignore +3 -0
- langgoap-0.1.1/examples/Dockerfile.jupyter +46 -0
- langgoap-0.1.1/examples/README.md +60 -0
- langgoap-0.1.1/examples/basics/action_qos.ipynb +246 -0
- langgoap-0.1.1/examples/basics/cli.ipynb +617 -0
- langgoap-0.1.1/examples/basics/create_goap_agent_quickstart.ipynb +247 -0
- langgoap-0.1.1/examples/basics/goap_subgraph.ipynb +349 -0
- langgoap-0.1.1/examples/basics/mcts_vs_astar_stochastic.ipynb +212 -0
- langgoap-0.1.1/examples/basics/nl_goal_interpreter.ipynb +266 -0
- langgoap-0.1.1/examples/basics/plan_visualization.ipynb +429 -0
- langgoap-0.1.1/examples/basics/stochastic_gridworld.ipynb +297 -0
- langgoap-0.1.1/examples/basics/stuck_handlers.ipynb +274 -0
- langgoap-0.1.1/examples/basics/termination_policies.ipynb +285 -0
- langgoap-0.1.1/examples/basics/tracing.ipynb +466 -0
- langgoap-0.1.1/examples/basics/typed_form_hitl.ipynb +322 -0
- langgoap-0.1.1/examples/docker-compose.yml +17 -0
- langgoap-0.1.1/examples/jupyter_notebook_config.py +4 -0
- langgoap-0.1.1/examples/screencast/README.md +82 -0
- langgoap-0.1.1/examples/screencast/incident/README.md +31 -0
- langgoap-0.1.1/examples/screencast/incident/after.py +171 -0
- langgoap-0.1.1/examples/screencast/incident/after_disrupted.py +209 -0
- langgoap-0.1.1/examples/screencast/incident/before.py +201 -0
- langgoap-0.1.1/examples/screencast/incident/incident_response_screencast.ipynb +308 -0
- langgoap-0.1.1/examples/screencast/incident/narrative.md +89 -0
- langgoap-0.1.1/examples/screencast/incident/script.md +101 -0
- langgoap-0.1.1/examples/screencast/research_agent/README.md +104 -0
- langgoap-0.1.1/examples/screencast/research_agent/__init__.py +1 -0
- langgoap-0.1.1/examples/screencast/research_agent/_build_notebook.py +364 -0
- langgoap-0.1.1/examples/screencast/research_agent/disrupted.py +123 -0
- langgoap-0.1.1/examples/screencast/research_agent/langgoap_planned.py +227 -0
- langgoap-0.1.1/examples/screencast/research_agent/langgraph_routed.py +186 -0
- langgoap-0.1.1/examples/screencast/research_agent/narrative.md +73 -0
- langgoap-0.1.1/examples/screencast/research_agent/react_baseline.py +148 -0
- langgoap-0.1.1/examples/screencast/research_agent/screencast.ipynb +650 -0
- langgoap-0.1.1/examples/screencast/research_agent/script.md +157 -0
- langgoap-0.1.1/examples/screencast/research_agent/shared/__init__.py +53 -0
- langgoap-0.1.1/examples/screencast/research_agent/shared/cost_meter.py +160 -0
- langgoap-0.1.1/examples/screencast/research_agent/shared/result.py +38 -0
- langgoap-0.1.1/examples/screencast/research_agent/shared/tickers.py +101 -0
- langgoap-0.1.1/examples/screencast/research_agent/shared/tools.py +226 -0
- langgoap-0.1.1/examples/screencast/supply_chain/README.md +31 -0
- langgoap-0.1.1/examples/screencast/supply_chain/after.py +179 -0
- langgoap-0.1.1/examples/screencast/supply_chain/after_disrupted.py +202 -0
- langgoap-0.1.1/examples/screencast/supply_chain/before.py +215 -0
- langgoap-0.1.1/examples/screencast/supply_chain/narrative.md +77 -0
- langgoap-0.1.1/examples/screencast/supply_chain/script.md +89 -0
- langgoap-0.1.1/examples/screencast/travel/README.md +33 -0
- langgoap-0.1.1/examples/screencast/travel/after.py +190 -0
- langgoap-0.1.1/examples/screencast/travel/after_disrupted.py +219 -0
- langgoap-0.1.1/examples/screencast/travel/before.py +239 -0
- langgoap-0.1.1/examples/screencast/travel/narrative.md +83 -0
- langgoap-0.1.1/examples/screencast/travel/script.md +120 -0
- langgoap-0.1.1/examples/tutorials/README.md +65 -0
- langgoap-0.1.1/examples/tutorials/adaptive_rag_goapified.ipynb +660 -0
- langgoap-0.1.1/examples/tutorials/agent_pattern_examples_goapified.ipynb +828 -0
- langgoap-0.1.1/examples/tutorials/cloud_balancing.ipynb +421 -0
- langgoap-0.1.1/examples/tutorials/code_review_agent_mcp_deployment.ipynb +452 -0
- langgoap-0.1.1/examples/tutorials/content_builder_agent.ipynb +845 -0
- langgoap-0.1.1/examples/tutorials/cost_bounded_research_agent.ipynb +437 -0
- langgoap-0.1.1/examples/tutorials/deep_research_agent.ipynb +764 -0
- langgoap-0.1.1/examples/tutorials/deepagents_integration.ipynb +573 -0
- langgoap-0.1.1/examples/tutorials/directory_handler.ipynb +299 -0
- langgoap-0.1.1/examples/tutorials/flexible_job_shop.ipynb +578 -0
- langgoap-0.1.1/examples/tutorials/from_routing_graphs_to_goap.ipynb +423 -0
- langgoap-0.1.1/examples/tutorials/hierarchical_agent_teams_goapified.ipynb +376 -0
- langgoap-0.1.1/examples/tutorials/hierarchical_product_launch.ipynb +538 -0
- langgoap-0.1.1/examples/tutorials/hungry_agent.ipynb +324 -0
- langgoap-0.1.1/examples/tutorials/nl_goal_tutorial.ipynb +363 -0
- langgoap-0.1.1/examples/tutorials/nurse_rostering.ipynb +596 -0
- langgoap-0.1.1/examples/tutorials/personal_shopper_agent.ipynb +385 -0
- langgoap-0.1.1/examples/tutorials/plan_and_execute_goapified.ipynb +515 -0
- langgoap-0.1.1/examples/tutorials/project_job_scheduling.ipynb +465 -0
- langgoap-0.1.1/examples/tutorials/robot_navigation.ipynb +252 -0
- langgoap-0.1.1/examples/tutorials/scheduled_delivery_confirmer.ipynb +410 -0
- langgoap-0.1.1/examples/tutorials/sql_query_agent.ipynb +572 -0
- langgoap-0.1.1/examples/tutorials/supply_chain_disruption_mediator.ipynb +447 -0
- langgoap-0.1.1/examples/tutorials/task_assigning.ipynb +744 -0
- langgoap-0.1.1/examples/tutorials/temporal_match_cellar.ipynb +523 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/__init__.py +6 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/agent_pattern_examples.py +708 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/cloud_balancing.py +129 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/content_builder_agent.py +712 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/data/__init__.py +1 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/data/cloud_balancing_instance.py +76 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/data/deep_research_instance.py +197 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/data/deepagents_instance.py +36 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/data/flexible_job_shop_instance.py +190 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/data/nurse_rostering_instance.py +89 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/data/project_job_scheduling_instance.py +121 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/data/sql_query_instance.py +84 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/data/task_assigning_instance.py +181 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/data/vehicle_routing_instance.py +110 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/data/vulnerability_scanner_instance.py +150 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/deep_research_agent.py +361 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/deepagents_integration.py +212 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/directory_handler.py +104 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/flexible_job_shop.py +284 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/hierarchical_product_launch.py +350 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/hierarchical_teams.py +291 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/hungry_agent.py +114 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/nurse_rostering.py +173 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/plan_and_execute.py +420 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/project_job_scheduling.py +156 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/robot_navigation.py +140 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/sql_query_agent.py +202 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/task_assigning.py +223 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/temporal_match_cellar.py +255 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/vehicle_routing.py +209 -0
- langgoap-0.1.1/examples/tutorials/tutorial_examples/vulnerability_scanner.py +305 -0
- langgoap-0.1.1/examples/tutorials/vehicle_routing.ipynb +701 -0
- langgoap-0.1.1/examples/tutorials/vulnerability_scanner.ipynb +648 -0
- langgoap-0.1.1/langgoap/__init__.py +371 -0
- langgoap-0.1.1/langgoap/_score_base.py +74 -0
- langgoap-0.1.1/langgoap/_version.py +3 -0
- langgoap-0.1.1/langgoap/actions.py +450 -0
- langgoap-0.1.1/langgoap/callbacks.py +180 -0
- langgoap-0.1.1/langgoap/cli/__init__.py +7 -0
- langgoap-0.1.1/langgoap/cli/_loader.py +131 -0
- langgoap-0.1.1/langgoap/cli/actions_cmd.py +104 -0
- langgoap-0.1.1/langgoap/cli/deploy_init_cmd.py +116 -0
- langgoap-0.1.1/langgoap/cli/explain_cmd.py +60 -0
- langgoap-0.1.1/langgoap/cli/main.py +28 -0
- langgoap-0.1.1/langgoap/cli/plan_cmd.py +165 -0
- langgoap-0.1.1/langgoap/cli/visualize_cmd.py +69 -0
- langgoap-0.1.1/langgoap/conditions.py +398 -0
- langgoap-0.1.1/langgoap/constraints.py +306 -0
- langgoap-0.1.1/langgoap/goals.py +358 -0
- langgoap-0.1.1/langgoap/graph/__init__.py +1 -0
- langgoap-0.1.1/langgoap/graph/builder.py +389 -0
- langgoap-0.1.1/langgoap/graph/nodes/__init__.py +87 -0
- langgoap-0.1.1/langgoap/graph/nodes/_execution.py +353 -0
- langgoap-0.1.1/langgoap/graph/nodes/_helpers.py +133 -0
- langgoap-0.1.1/langgoap/graph/nodes/executor.py +317 -0
- langgoap-0.1.1/langgoap/graph/nodes/observer.py +440 -0
- langgoap-0.1.1/langgoap/graph/nodes/parallel_executor.py +314 -0
- langgoap-0.1.1/langgoap/graph/nodes/planner.py +667 -0
- langgoap-0.1.1/langgoap/graph/state.py +117 -0
- langgoap-0.1.1/langgoap/guards.py +277 -0
- langgoap-0.1.1/langgoap/history.py +309 -0
- langgoap-0.1.1/langgoap/integrations/__init__.py +42 -0
- langgoap-0.1.1/langgoap/integrations/deepagents.py +249 -0
- langgoap-0.1.1/langgoap/integrations/langgraph_deploy.py +230 -0
- langgoap-0.1.1/langgoap/integrations/prebuilt.py +197 -0
- langgoap-0.1.1/langgoap/integrations/subgraph.py +122 -0
- langgoap-0.1.1/langgoap/integrations/tools.py +179 -0
- langgoap-0.1.1/langgoap/interpreter.py +350 -0
- langgoap-0.1.1/langgoap/planner/__init__.py +5 -0
- langgoap-0.1.1/langgoap/planner/agents.py +99 -0
- langgoap-0.1.1/langgoap/planner/astar.py +530 -0
- langgoap-0.1.1/langgoap/planner/csp.py +944 -0
- langgoap-0.1.1/langgoap/planner/explain.py +337 -0
- langgoap-0.1.1/langgoap/planner/mcts.py +1144 -0
- langgoap-0.1.1/langgoap/planner/metrics.py +126 -0
- langgoap-0.1.1/langgoap/planner/pipeline.py +289 -0
- langgoap-0.1.1/langgoap/planner/repair.py +229 -0
- langgoap-0.1.1/langgoap/planner/router.py +206 -0
- langgoap-0.1.1/langgoap/planner/strategy.py +341 -0
- langgoap-0.1.1/langgoap/planner/transitions.py +210 -0
- langgoap-0.1.1/langgoap/planner/types.py +262 -0
- langgoap-0.1.1/langgoap/planner/utility.py +171 -0
- langgoap-0.1.1/langgoap/qos.py +126 -0
- langgoap-0.1.1/langgoap/reflexion.py +412 -0
- langgoap-0.1.1/langgoap/score.py +159 -0
- langgoap-0.1.1/langgoap/sensors.py +186 -0
- langgoap-0.1.1/langgoap/serde.py +716 -0
- langgoap-0.1.1/langgoap/state.py +147 -0
- langgoap-0.1.1/langgoap/stuck.py +206 -0
- langgoap-0.1.1/langgoap/termination.py +299 -0
- langgoap-0.1.1/langgoap/testing.py +92 -0
- langgoap-0.1.1/langgoap/tracing/__init__.py +34 -0
- langgoap-0.1.1/langgoap/tracing/_helpers.py +105 -0
- langgoap-0.1.1/langgoap/tracing/_protocol.py +160 -0
- langgoap-0.1.1/langgoap/tracing/_safe_proxy.py +99 -0
- langgoap-0.1.1/langgoap/tracing/_search_buffer.py +124 -0
- langgoap-0.1.1/langgoap/tracing/langsmith.py +563 -0
- langgoap-0.1.1/langgoap/tracing/logging.py +156 -0
- langgoap-0.1.1/langgoap/tracing/multi.py +182 -0
- langgoap-0.1.1/langgoap/tracing/null.py +127 -0
- langgoap-0.1.1/langgoap/types.py +36 -0
- langgoap-0.1.1/langgoap/viz/__init__.py +42 -0
- langgoap-0.1.1/langgoap/viz/ascii.py +196 -0
- langgoap-0.1.1/langgoap/viz/dot.py +145 -0
- langgoap-0.1.1/langgoap/viz/jupyter.py +128 -0
- langgoap-0.1.1/langgoap/viz/mermaid.py +273 -0
- langgoap-0.1.1/langgoap/viz/save.py +78 -0
- langgoap-0.1.1/pyproject.toml +190 -0
- langgoap-0.1.1/tests/__init__.py +0 -0
- langgoap-0.1.1/tests/benchmarks/__init__.py +1 -0
- langgoap-0.1.1/tests/benchmarks/conftest.py +199 -0
- langgoap-0.1.1/tests/benchmarks/stochastic_gridworld_bench.py +534 -0
- langgoap-0.1.1/tests/benchmarks/test_astar_bench.py +119 -0
- langgoap-0.1.1/tests/benchmarks/test_csp_bench.py +137 -0
- langgoap-0.1.1/tests/benchmarks/test_loop_bench.py +168 -0
- langgoap-0.1.1/tests/benchmarks/test_memory_bench.py +229 -0
- langgoap-0.1.1/tests/benchmarks/test_react_agent_bench.py +160 -0
- langgoap-0.1.1/tests/benchmarks/test_state_bench.py +131 -0
- langgoap-0.1.1/tests/benchmarks/test_temporal_bench.py +122 -0
- langgoap-0.1.1/tests/conftest.py +54 -0
- langgoap-0.1.1/tests/fixtures/__init__.py +1 -0
- langgoap-0.1.1/tests/fixtures/stochastic_gridworld.py +338 -0
- langgoap-0.1.1/tests/integration/__init__.py +0 -0
- langgoap-0.1.1/tests/integration/test_action_flags_planner.py +197 -0
- langgoap-0.1.1/tests/integration/test_action_qos_loop.py +442 -0
- langgoap-0.1.1/tests/integration/test_action_qos_parallel.py +174 -0
- langgoap-0.1.1/tests/integration/test_adaptive_rag.py +492 -0
- langgoap-0.1.1/tests/integration/test_agent_pattern_examples.py +771 -0
- langgoap-0.1.1/tests/integration/test_async_goap_loop.py +254 -0
- langgoap-0.1.1/tests/integration/test_blacklisting_goap_loop.py +288 -0
- langgoap-0.1.1/tests/integration/test_checkpointing.py +402 -0
- langgoap-0.1.1/tests/integration/test_cloud_balancing.py +137 -0
- langgoap-0.1.1/tests/integration/test_content_builder_agent.py +656 -0
- langgoap-0.1.1/tests/integration/test_cost_accumulator_integration.py +147 -0
- langgoap-0.1.1/tests/integration/test_csp_goap_loop.py +223 -0
- langgoap-0.1.1/tests/integration/test_deep_research_agent.py +542 -0
- langgoap-0.1.1/tests/integration/test_deepagents_integration.py +334 -0
- langgoap-0.1.1/tests/integration/test_directory_handler.py +121 -0
- langgoap-0.1.1/tests/integration/test_early_termination.py +399 -0
- langgoap-0.1.1/tests/integration/test_explain_end_to_end.py +125 -0
- langgoap-0.1.1/tests/integration/test_flexible_job_shop.py +689 -0
- langgoap-0.1.1/tests/integration/test_form_hitl.py +264 -0
- langgoap-0.1.1/tests/integration/test_goap_loop.py +362 -0
- langgoap-0.1.1/tests/integration/test_goapify_tool.py +231 -0
- langgoap-0.1.1/tests/integration/test_hierarchical_product_launch.py +500 -0
- langgoap-0.1.1/tests/integration/test_hierarchical_teams.py +400 -0
- langgoap-0.1.1/tests/integration/test_history_store_end_to_end.py +95 -0
- langgoap-0.1.1/tests/integration/test_human_in_the_loop.py +261 -0
- langgoap-0.1.1/tests/integration/test_hungry_agent.py +108 -0
- langgoap-0.1.1/tests/integration/test_langchain_tools_end_to_end.py +141 -0
- langgoap-0.1.1/tests/integration/test_langgraph_deploy_scaffold.py +279 -0
- langgoap-0.1.1/tests/integration/test_langsmith_end_to_end.py +178 -0
- langgoap-0.1.1/tests/integration/test_lazy_decomposition_end_to_end.py +101 -0
- langgoap-0.1.1/tests/integration/test_mcts_beats_astar_stochastic.py +93 -0
- langgoap-0.1.1/tests/integration/test_mcts_tree_reuse_episode.py +208 -0
- langgoap-0.1.1/tests/integration/test_multi_goal_best_value.py +212 -0
- langgoap-0.1.1/tests/integration/test_multi_goal_loop.py +439 -0
- langgoap-0.1.1/tests/integration/test_nl_goal_interpreter_api.py +221 -0
- langgoap-0.1.1/tests/integration/test_nl_goal_loop.py +184 -0
- langgoap-0.1.1/tests/integration/test_nurse_rostering.py +294 -0
- langgoap-0.1.1/tests/integration/test_plan_and_execute.py +375 -0
- langgoap-0.1.1/tests/integration/test_prebuilt.py +400 -0
- langgoap-0.1.1/tests/integration/test_project_job_scheduling.py +245 -0
- langgoap-0.1.1/tests/integration/test_reflexion_end_to_end.py +144 -0
- langgoap-0.1.1/tests/integration/test_robot_navigation.py +111 -0
- langgoap-0.1.1/tests/integration/test_screencast_incident.py +234 -0
- langgoap-0.1.1/tests/integration/test_screencast_research_agent.py +154 -0
- langgoap-0.1.1/tests/integration/test_screencast_supply_chain.py +204 -0
- langgoap-0.1.1/tests/integration/test_screencast_travel.py +244 -0
- langgoap-0.1.1/tests/integration/test_sensors_end_to_end.py +146 -0
- langgoap-0.1.1/tests/integration/test_slip_aware_heuristic_generalisation.py +177 -0
- langgoap-0.1.1/tests/integration/test_sql_query_agent.py +261 -0
- langgoap-0.1.1/tests/integration/test_stuck_handler_loop.py +311 -0
- langgoap-0.1.1/tests/integration/test_subgraph.py +292 -0
- langgoap-0.1.1/tests/integration/test_task_assigning.py +314 -0
- langgoap-0.1.1/tests/integration/test_temporal_match_cellar.py +439 -0
- langgoap-0.1.1/tests/integration/test_tracing_end_to_end.py +213 -0
- langgoap-0.1.1/tests/integration/test_transition_model_executor.py +150 -0
- langgoap-0.1.1/tests/integration/test_utility_planner_loop.py +367 -0
- langgoap-0.1.1/tests/integration/test_vehicle_routing.py +175 -0
- langgoap-0.1.1/tests/integration/test_viz_end_to_end.py +244 -0
- langgoap-0.1.1/tests/integration/test_vulnerability_scanner.py +428 -0
- langgoap-0.1.1/tests/test_action_qos.py +200 -0
- langgoap-0.1.1/tests/test_actions.py +323 -0
- langgoap-0.1.1/tests/test_agent_model.py +134 -0
- langgoap-0.1.1/tests/test_astar.py +977 -0
- langgoap-0.1.1/tests/test_async.py +576 -0
- langgoap-0.1.1/tests/test_blacklisting.py +498 -0
- langgoap-0.1.1/tests/test_callbacks.py +170 -0
- langgoap-0.1.1/tests/test_cli.py +394 -0
- langgoap-0.1.1/tests/test_conditions.py +394 -0
- langgoap-0.1.1/tests/test_constraint_builder.py +191 -0
- langgoap-0.1.1/tests/test_csp.py +877 -0
- langgoap-0.1.1/tests/test_dataclass_slots.py +140 -0
- langgoap-0.1.1/tests/test_explain.py +477 -0
- langgoap-0.1.1/tests/test_goals.py +113 -0
- langgoap-0.1.1/tests/test_graph_nodes.py +1249 -0
- langgoap-0.1.1/tests/test_graph_state.py +69 -0
- langgoap-0.1.1/tests/test_guards.py +413 -0
- langgoap-0.1.1/tests/test_history.py +162 -0
- langgoap-0.1.1/tests/test_integrations.py +668 -0
- langgoap-0.1.1/tests/test_interpreter.py +454 -0
- langgoap-0.1.1/tests/test_langsmith_tracer.py +792 -0
- langgoap-0.1.1/tests/test_lazy_decomposition.py +247 -0
- langgoap-0.1.1/tests/test_mcts_chance_nodes.py +320 -0
- langgoap-0.1.1/tests/test_mcts_determinized.py +247 -0
- langgoap-0.1.1/tests/test_mcts_node.py +132 -0
- langgoap-0.1.1/tests/test_mcts_path_length_budget.py +201 -0
- langgoap-0.1.1/tests/test_mcts_rollout.py +142 -0
- langgoap-0.1.1/tests/test_mcts_scalar_heuristic.py +247 -0
- langgoap-0.1.1/tests/test_mcts_strategy.py +224 -0
- langgoap-0.1.1/tests/test_mcts_tracing.py +194 -0
- langgoap-0.1.1/tests/test_mcts_tree_reuse.py +320 -0
- langgoap-0.1.1/tests/test_multi_goal.py +71 -0
- langgoap-0.1.1/tests/test_multi_goal_sequential_preflight.py +152 -0
- langgoap-0.1.1/tests/test_per_entity_goals.py +142 -0
- langgoap-0.1.1/tests/test_pipeline.py +359 -0
- langgoap-0.1.1/tests/test_plan_quality_metrics.py +212 -0
- langgoap-0.1.1/tests/test_planner_types.py +69 -0
- langgoap-0.1.1/tests/test_public_api.py +19 -0
- langgoap-0.1.1/tests/test_reflexion.py +568 -0
- langgoap-0.1.1/tests/test_repair.py +539 -0
- langgoap-0.1.1/tests/test_safe_tracer_proxy.py +140 -0
- langgoap-0.1.1/tests/test_score.py +190 -0
- langgoap-0.1.1/tests/test_search_event_buffer.py +109 -0
- langgoap-0.1.1/tests/test_sensors.py +340 -0
- langgoap-0.1.1/tests/test_serde.py +784 -0
- langgoap-0.1.1/tests/test_state.py +235 -0
- langgoap-0.1.1/tests/test_stochastic_gridworld.py +234 -0
- langgoap-0.1.1/tests/test_stochastic_rollout.py +222 -0
- langgoap-0.1.1/tests/test_strategy.py +191 -0
- langgoap-0.1.1/tests/test_strategy_router.py +497 -0
- langgoap-0.1.1/tests/test_stuck.py +171 -0
- langgoap-0.1.1/tests/test_termination.py +250 -0
- langgoap-0.1.1/tests/test_tracing.py +300 -0
- langgoap-0.1.1/tests/test_transitions.py +245 -0
- langgoap-0.1.1/tests/test_utility_planner.py +220 -0
- langgoap-0.1.1/tests/test_viz.py +408 -0
- langgoap-0.1.1/uv.lock +6138 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# LangGoap โ environment variable template
|
|
2
|
+
# Copy this file to .env and fill in your real keys.
|
|
3
|
+
# .env is gitignored and must never be committed.
|
|
4
|
+
|
|
5
|
+
# โโ LLM API Keys โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
6
|
+
# Required only for tests marked @pytest.mark.api (real LLM integration tests).
|
|
7
|
+
# Run them with: uv run pytest -m api
|
|
8
|
+
# Skip them with: uv run pytest -m "not api" (default CI behaviour)
|
|
9
|
+
|
|
10
|
+
OPENAI_API_KEY=sk-...
|
|
11
|
+
ANTHROPIC_API_KEY=sk-ant-...
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
name: "\U0001F41B Bug Report"
|
|
2
|
+
description: Report a bug in LangGOAP. To report a security issue, please instead use the security advisory option (below). For general questions, please use GitHub Discussions (below).
|
|
3
|
+
labels: ["bug"]
|
|
4
|
+
body:
|
|
5
|
+
- type: markdown
|
|
6
|
+
attributes:
|
|
7
|
+
value: |
|
|
8
|
+
> **All contributions must be in English.** See the language policy in `CONTRIBUTING.md`.
|
|
9
|
+
|
|
10
|
+
Thank you for taking the time to file a bug report.
|
|
11
|
+
|
|
12
|
+
For usage questions, design discussions, and general community support, please use
|
|
13
|
+
[GitHub Discussions](https://github.com/LangGOAP/LangGOAP/discussions) or the
|
|
14
|
+
[LangChain Forum](https://forum.langchain.com/) for LangChain/LangGraph-core questions.
|
|
15
|
+
|
|
16
|
+
Before submitting, please confirm the issue has not already been reported or fixed:
|
|
17
|
+
|
|
18
|
+
* [LangGOAP documentation](https://langgoap.github.io/LangGOAP/)
|
|
19
|
+
* [CHANGELOG](https://github.com/LangGOAP/LangGOAP/blob/main/CHANGELOG.md)
|
|
20
|
+
* [GitHub issue search](https://github.com/LangGOAP/LangGOAP/issues?q=is%3Aissue)
|
|
21
|
+
- type: checkboxes
|
|
22
|
+
id: checks
|
|
23
|
+
attributes:
|
|
24
|
+
label: Checked other resources
|
|
25
|
+
description: Please confirm and check all the following options.
|
|
26
|
+
options:
|
|
27
|
+
- label: This is a bug, not a usage question.
|
|
28
|
+
required: true
|
|
29
|
+
- label: I added a clear and descriptive title that summarises this issue.
|
|
30
|
+
required: true
|
|
31
|
+
- label: I used the GitHub issue search to find a similar report and did not find it.
|
|
32
|
+
required: true
|
|
33
|
+
- label: I am sure that this is a bug in LangGOAP rather than in my own code or in an upstream dependency.
|
|
34
|
+
required: true
|
|
35
|
+
- label: The bug is not resolved by updating to the latest released version of LangGOAP.
|
|
36
|
+
required: true
|
|
37
|
+
- label: I posted a self-contained, minimal, reproducible example that a maintainer can copy and run as is.
|
|
38
|
+
required: true
|
|
39
|
+
- type: checkboxes
|
|
40
|
+
id: component
|
|
41
|
+
attributes:
|
|
42
|
+
label: Component (required)
|
|
43
|
+
description: |
|
|
44
|
+
Which LangGOAP subsystem does this bug affect? Select at least one.
|
|
45
|
+
options:
|
|
46
|
+
- label: A* planner (`langgoap.planner.astar`)
|
|
47
|
+
- label: CSP optimizer / CP-SAT (`langgoap.planner.csp`, `langgoap.planner.pipeline`)
|
|
48
|
+
- label: Graph state / builder (`langgoap.graph`)
|
|
49
|
+
- label: Actions / `ActionSpec` (`langgoap.actions`)
|
|
50
|
+
- label: Goals / `GoalSpec` / `MultiGoal` (`langgoap.goals`)
|
|
51
|
+
- label: NL goal interpreter (`langgoap.interpreter`)
|
|
52
|
+
- label: Tracing / history (`langgoap.tracing`, `langgoap.history`)
|
|
53
|
+
- label: Visualization (`langgoap.viz`)
|
|
54
|
+
- label: Prebuilt integrations (`create_goap_agent`, `goapify_tool`, `GoapSubgraph`)
|
|
55
|
+
- label: Scoring (`SimpleScore`, `HardSoftScore`, `BendableScore`)
|
|
56
|
+
- label: Packaging / installation / CI
|
|
57
|
+
- label: Documentation / notebooks
|
|
58
|
+
- label: Other / not sure
|
|
59
|
+
- type: textarea
|
|
60
|
+
id: related
|
|
61
|
+
validations:
|
|
62
|
+
required: false
|
|
63
|
+
attributes:
|
|
64
|
+
label: Related issues / PRs
|
|
65
|
+
description: |
|
|
66
|
+
If this bug is related to any existing issues or pull requests, please link them here.
|
|
67
|
+
placeholder: |
|
|
68
|
+
e.g. #123, #456
|
|
69
|
+
- type: textarea
|
|
70
|
+
id: reproduction
|
|
71
|
+
validations:
|
|
72
|
+
required: true
|
|
73
|
+
attributes:
|
|
74
|
+
label: Reproduction steps / example code (Python)
|
|
75
|
+
description: |
|
|
76
|
+
Please add a self-contained, [minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example).
|
|
77
|
+
|
|
78
|
+
If a maintainer can copy it, run it, and see the bug right away, there is a much higher chance you will get a fast fix.
|
|
79
|
+
|
|
80
|
+
**Important!**
|
|
81
|
+
|
|
82
|
+
* Avoid screenshots โ they are hard to read and impossible to copy and paste.
|
|
83
|
+
* Reduce your code to the minimum required to reproduce the issue.
|
|
84
|
+
* If the bug requires LLM calls, prefer a `FakeStructuredModel` or explicit stub rather than a live API call.
|
|
85
|
+
|
|
86
|
+
(This will be automatically formatted as Python, so no need for backticks.)
|
|
87
|
+
render: python
|
|
88
|
+
placeholder: |
|
|
89
|
+
from langgoap import ActionSpec, GoalSpec, GoapGraph
|
|
90
|
+
|
|
91
|
+
actions = [
|
|
92
|
+
ActionSpec(
|
|
93
|
+
name="step",
|
|
94
|
+
preconditions={},
|
|
95
|
+
effects={"done": True},
|
|
96
|
+
),
|
|
97
|
+
]
|
|
98
|
+
|
|
99
|
+
result = GoapGraph(actions=actions).invoke(
|
|
100
|
+
goal=GoalSpec(conditions={"done": True}),
|
|
101
|
+
world_state={},
|
|
102
|
+
)
|
|
103
|
+
print(result["status"]) # expected "goal_achieved", got "..."
|
|
104
|
+
- type: textarea
|
|
105
|
+
attributes:
|
|
106
|
+
label: Error message and stack trace (if applicable)
|
|
107
|
+
description: |
|
|
108
|
+
If you are reporting an error, copy and paste the full error message and stack trace.
|
|
109
|
+
(This will be automatically formatted as shell output, so no need for backticks.)
|
|
110
|
+
render: shell
|
|
111
|
+
- type: textarea
|
|
112
|
+
id: description
|
|
113
|
+
attributes:
|
|
114
|
+
label: Description
|
|
115
|
+
description: |
|
|
116
|
+
What is the problem, question, or error?
|
|
117
|
+
|
|
118
|
+
Write a short description of what you are doing, what you expect to happen, and what is currently happening.
|
|
119
|
+
placeholder: |
|
|
120
|
+
* I'm trying to use LangGOAP to do X.
|
|
121
|
+
* I expect to see Y.
|
|
122
|
+
* Instead, it does Z.
|
|
123
|
+
validations:
|
|
124
|
+
required: true
|
|
125
|
+
- type: textarea
|
|
126
|
+
id: system-info
|
|
127
|
+
attributes:
|
|
128
|
+
label: System info
|
|
129
|
+
description: |
|
|
130
|
+
Please share the output of the following in your environment:
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
python -c "import langgoap, langgraph, sys, platform; print('langgoap', langgoap.__version__); print('langgraph', langgraph.__version__); print('python', sys.version); print('platform', platform.platform())"
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
If the bug involves the CSP optimizer, also include:
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
python -c "import ortools; print('ortools', ortools.__version__)"
|
|
140
|
+
```
|
|
141
|
+
placeholder: |
|
|
142
|
+
langgoap 0.1.0
|
|
143
|
+
langgraph 1.x.x
|
|
144
|
+
python 3.12.x
|
|
145
|
+
platform ...
|
|
146
|
+
validations:
|
|
147
|
+
required: true
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
blank_issues_enabled: false
|
|
2
|
+
version: 2.1
|
|
3
|
+
contact_links:
|
|
4
|
+
- name: ๐ฌ GitHub Discussions
|
|
5
|
+
url: https://github.com/LangGOAP/LangGOAP/discussions
|
|
6
|
+
about: General questions, design discussions, and community support
|
|
7
|
+
- name: ๐ LangGOAP Documentation
|
|
8
|
+
url: https://langgoap.github.io/LangGOAP/
|
|
9
|
+
about: View the LangGOAP documentation, concepts, and tutorials
|
|
10
|
+
- name: ๐ LangChain Forum
|
|
11
|
+
url: https://forum.langchain.com/
|
|
12
|
+
about: Questions about LangChain / LangGraph core behaviour
|
|
13
|
+
- name: ๐ Report a security vulnerability
|
|
14
|
+
url: https://github.com/LangGOAP/LangGOAP/security/advisories/new
|
|
15
|
+
about: See SECURITY.md โ do not report vulnerabilities as public issues
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
name: "โจ Feature Request"
|
|
2
|
+
description: Request a new feature or enhancement for LangGOAP. For general questions, please use GitHub Discussions (below).
|
|
3
|
+
labels: ["enhancement"]
|
|
4
|
+
body:
|
|
5
|
+
- type: markdown
|
|
6
|
+
attributes:
|
|
7
|
+
value: |
|
|
8
|
+
> **All contributions must be in English.** See the language policy in `CONTRIBUTING.md`.
|
|
9
|
+
|
|
10
|
+
Thank you for taking the time to request a new feature.
|
|
11
|
+
|
|
12
|
+
Use this template to request **new features or enhancements** in LangGOAP. For bug reports,
|
|
13
|
+
please use the bug report template instead. For usage questions and design discussions,
|
|
14
|
+
please use [GitHub Discussions](https://github.com/LangGOAP/LangGOAP/discussions) or
|
|
15
|
+
the [LangChain Forum](https://forum.langchain.com/) for LangChain/LangGraph-core questions.
|
|
16
|
+
|
|
17
|
+
Before filing, please check whether your idea has already been proposed:
|
|
18
|
+
|
|
19
|
+
* [LangGOAP documentation](https://langgoap.github.io/LangGOAP/)
|
|
20
|
+
* [GitHub issue search](https://github.com/LangGOAP/LangGOAP/issues?q=is%3Aissue)
|
|
21
|
+
* [GitHub discussion search](https://github.com/LangGOAP/LangGOAP/discussions)
|
|
22
|
+
|
|
23
|
+
**Note:** Do not begin work on a PR unless explicitly assigned to this issue by a maintainer.
|
|
24
|
+
- type: checkboxes
|
|
25
|
+
id: checks
|
|
26
|
+
attributes:
|
|
27
|
+
label: Checked other resources
|
|
28
|
+
description: Please confirm and check all the following options.
|
|
29
|
+
options:
|
|
30
|
+
- label: This is a feature request, not a bug report or usage question.
|
|
31
|
+
required: true
|
|
32
|
+
- label: I added a clear and descriptive title that summarises the feature request.
|
|
33
|
+
required: true
|
|
34
|
+
- label: I used the GitHub issue search to find a similar request and did not find it.
|
|
35
|
+
required: true
|
|
36
|
+
- label: I checked the LangGOAP documentation and CHANGELOG to see whether this feature already exists.
|
|
37
|
+
required: true
|
|
38
|
+
- type: checkboxes
|
|
39
|
+
id: component
|
|
40
|
+
attributes:
|
|
41
|
+
label: Component (required)
|
|
42
|
+
description: |
|
|
43
|
+
Which LangGOAP subsystem should this feature land in? Select at least one.
|
|
44
|
+
options:
|
|
45
|
+
- label: A* planner (`langgoap.planner.astar`)
|
|
46
|
+
- label: CSP optimizer / CP-SAT (`langgoap.planner.csp`, `langgoap.planner.pipeline`)
|
|
47
|
+
- label: Graph state / builder (`langgoap.graph`)
|
|
48
|
+
- label: Actions / `ActionSpec` (`langgoap.actions`)
|
|
49
|
+
- label: Goals / `GoalSpec` / `MultiGoal` (`langgoap.goals`)
|
|
50
|
+
- label: NL goal interpreter (`langgoap.interpreter`)
|
|
51
|
+
- label: Tracing / history (`langgoap.tracing`, `langgoap.history`)
|
|
52
|
+
- label: Visualization (`langgoap.viz`)
|
|
53
|
+
- label: Prebuilt integrations (`create_goap_agent`, `goapify_tool`, `GoapSubgraph`)
|
|
54
|
+
- label: Scoring (`SimpleScore`, `HardSoftScore`, `BendableScore`)
|
|
55
|
+
- label: Packaging / installation / CI
|
|
56
|
+
- label: Documentation / notebooks
|
|
57
|
+
- label: Other / not sure
|
|
58
|
+
- type: textarea
|
|
59
|
+
id: feature-description
|
|
60
|
+
validations:
|
|
61
|
+
required: true
|
|
62
|
+
attributes:
|
|
63
|
+
label: Feature description
|
|
64
|
+
description: |
|
|
65
|
+
Please provide a clear and concise description of the feature you would like to see added.
|
|
66
|
+
|
|
67
|
+
What specific functionality are you requesting? Be as detailed as possible, and
|
|
68
|
+
call out which public API surface would be affected (new type, new method, new
|
|
69
|
+
integration, new notebook, โฆ).
|
|
70
|
+
placeholder: |
|
|
71
|
+
I would like LangGOAP to support ...
|
|
72
|
+
|
|
73
|
+
This would affect the public API by ...
|
|
74
|
+
- type: textarea
|
|
75
|
+
id: use-case
|
|
76
|
+
validations:
|
|
77
|
+
required: true
|
|
78
|
+
attributes:
|
|
79
|
+
label: Use case
|
|
80
|
+
description: |
|
|
81
|
+
Describe the specific use case or problem this feature would solve.
|
|
82
|
+
|
|
83
|
+
Why do you need it? What problem does it solve for you or other users? A concrete
|
|
84
|
+
end-to-end scenario (planning domain, integration target, research paper,
|
|
85
|
+
benchmark) is much more compelling than a generic wish.
|
|
86
|
+
placeholder: |
|
|
87
|
+
I'm trying to build an application that ...
|
|
88
|
+
|
|
89
|
+
Currently, I have to work around this by ...
|
|
90
|
+
|
|
91
|
+
This feature would help me or other users to ...
|
|
92
|
+
- type: textarea
|
|
93
|
+
id: proposed-solution
|
|
94
|
+
validations:
|
|
95
|
+
required: false
|
|
96
|
+
attributes:
|
|
97
|
+
label: Proposed solution
|
|
98
|
+
description: |
|
|
99
|
+
If you have ideas about how this feature could be implemented, describe them here.
|
|
100
|
+
Sketch the public API if possible โ what would `ActionSpec(...)`, `GoalSpec(...)`,
|
|
101
|
+
or `GoapGraph(...)` look like after your change?
|
|
102
|
+
placeholder: |
|
|
103
|
+
I think this could be implemented by ...
|
|
104
|
+
|
|
105
|
+
The API could look like:
|
|
106
|
+
|
|
107
|
+
```python
|
|
108
|
+
# Example of how the feature might be used
|
|
109
|
+
```
|
|
110
|
+
- type: textarea
|
|
111
|
+
id: alternatives
|
|
112
|
+
validations:
|
|
113
|
+
required: false
|
|
114
|
+
attributes:
|
|
115
|
+
label: Alternatives considered
|
|
116
|
+
description: |
|
|
117
|
+
Have you considered any alternative solutions or workarounds?
|
|
118
|
+
placeholder: |
|
|
119
|
+
I've tried ...
|
|
120
|
+
|
|
121
|
+
Alternative approaches I considered:
|
|
122
|
+
1. ...
|
|
123
|
+
2. ...
|
|
124
|
+
- type: textarea
|
|
125
|
+
id: additional-context
|
|
126
|
+
validations:
|
|
127
|
+
required: false
|
|
128
|
+
attributes:
|
|
129
|
+
label: Additional context
|
|
130
|
+
description: |
|
|
131
|
+
Add any other context, references, or prior art that would help explain your feature request.
|
|
132
|
+
|
|
133
|
+
Relevant papers, reference implementations, comparable libraries, or links to
|
|
134
|
+
related issues are all welcome.
|
|
135
|
+
placeholder: |
|
|
136
|
+
Related issues: #...
|
|
137
|
+
|
|
138
|
+
Prior art / reference implementations:
|
|
139
|
+
- ...
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
Fixes #
|
|
2
|
+
|
|
3
|
+
<!-- Replace everything above this line with a 1-2 sentence description of your change. Keep the "Fixes #xx" keyword and update the issue number. -->
|
|
4
|
+
|
|
5
|
+
Read the full contributing guidelines: [`CONTRIBUTING.md`](../CONTRIBUTING.md)
|
|
6
|
+
|
|
7
|
+
> **All contributions must be in English.** See the language policy in `CONTRIBUTING.md`.
|
|
8
|
+
|
|
9
|
+
Thank you for contributing to LangGOAP! Follow these steps to have your pull request considered as ready for review.
|
|
10
|
+
|
|
11
|
+
1. PR title: Should follow the format `TYPE(SCOPE): DESCRIPTION`
|
|
12
|
+
|
|
13
|
+
- Examples:
|
|
14
|
+
- `fix(planner): resolve A* tie-breaking regression`
|
|
15
|
+
- `feat(csp): add multi-plan optimization via CP-SAT`
|
|
16
|
+
- `test(interpreter): cover the Anthropic structured-output path`
|
|
17
|
+
- Allowed TYPE values: `feat`, `fix`, `refactor`, `test`, `docs`, `perf`, `chore`, `ci`
|
|
18
|
+
- Allowed SCOPE values: `planner`, `csp`, `graph`, `interpreter`, `tracing`, `viz`, `prebuilt`, `examples`, `docs`, `ci` (or omit for cross-cutting changes)
|
|
19
|
+
|
|
20
|
+
2. PR description:
|
|
21
|
+
|
|
22
|
+
- Write 1-2 sentences summarising the change.
|
|
23
|
+
- The `Fixes #xx` line at the top is **required** for external contributions โ update the issue number and keep the keyword. This links your PR to the approved issue and auto-closes it on merge.
|
|
24
|
+
- If there are any breaking changes, describe them clearly.
|
|
25
|
+
- If this PR depends on another PR being merged first, include `Depends on #PR_NUMBER` in the description.
|
|
26
|
+
|
|
27
|
+
3. Run `make format`, `make lint`, and `make test` before pushing.
|
|
28
|
+
|
|
29
|
+
- CI runs the full matrix on Python 3.10โ3.14 plus lint and coverage jobs. A green `make check` locally is a good indicator the CI will pass, but not a guarantee.
|
|
30
|
+
|
|
31
|
+
4. How did you verify your code works?
|
|
32
|
+
|
|
33
|
+
- Briefly describe the integration tests you added or updated.
|
|
34
|
+
- New features must land as **integration tests first, then implementation, then (optionally) a notebook**. Notebooks that demonstrate new behaviour without a backing integration test will be rejected.
|
|
35
|
+
|
|
36
|
+
## Additional guidelines
|
|
37
|
+
|
|
38
|
+
- All external PRs must link to an issue or discussion where a solution has been approved by a maintainer, and you must be assigned to that issue. PRs without prior approval will be closed.
|
|
39
|
+
- PRs should stay focused. Break large changes into a stack of smaller PRs rather than a single omnibus.
|
|
40
|
+
- Do not update `uv.lock` or add dependencies to `pyproject.toml` (even optional ones) unless you have explicit maintainer permission.
|
|
41
|
+
- Do not include AI attribution (`Co-Authored-By: Claude`, "generated by", etc.) in commit messages, PR titles, or PR descriptions.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<svg x="0" y="0" width="100" height="100" viewBox="0 0 2048 2048">
|
|
3
|
+
<defs>
|
|
4
|
+
<clipPath id="r"><rect width="2048" height="2048" rx="410" ry="410"/></clipPath>
|
|
5
|
+
</defs>
|
|
6
|
+
<g clip-path="url(#r)">
|
|
7
|
+
<rect width="2048" height="2048" fill="#161F34"/>
|
|
8
|
+
<path d="M 982 789 L 944 794 L 916 802 L 894 811 L 873 822 L 851 837 L 817 869 L 802 888 L 790 907 L 774 942 L 766 969 L 762 992 L 761 1037 L 764 1060 L 770 1085 L 787 1126 L 801 1149 L 814 1166 L 820 1170 L 821 1174 L 841 1193 L 878 1219 L 913 1235 L 955 1246 L 969 1248 L 980 1247 L 981 1249 L 1007 1249 L 1008 1246 L 1011 1248 L 1018 1248 L 1041 1244 L 1083 1231 L 1107 1219 L 1129 1205 L 1164 1174 L 1189 1142 L 1207 1108 L 1219 1072 L 1223 1050 L 1224 1026 L 1222 1023 L 1222 1015 L 1089 1043 L 1085 1056 L 1077 1071 L 1057 1094 L 1033 1109 L 1010 1116 L 981 1117 L 965 1114 L 947 1107 L 929 1095 L 913 1078 L 899 1051 L 894 1028 L 895 1003 L 903 977 L 912 962 L 920 953 L 919 950 L 923 946 L 926 947 L 944 933 L 962 925 L 974 922 L 998 789 Z
|
|
9
|
+
M 1670 666 L 1668 665 L 1633 700 L 1524 697 L 1540 723 L 1557 757 L 1581 818 L 1730 818 L 1701 732 Z
|
|
10
|
+
M 989 524 L 988 526 L 962 525 L 961 527 L 949 526 L 882 536 L 837 548 L 789 566 L 749 586 L 703 615 L 667 643 L 625 683 L 593 721 L 566 761 L 540 809 L 526 843 L 509 898 L 501 938 L 495 993 L 495 1020 L 497 1022 L 495 1028 L 495 1047 L 500 1095 L 510 1144 L 527 1198 L 543 1235 L 567 1279 L 589 1311 L 613 1341 L 651 1380 L 653 1380 L 660 1388 L 691 1413 L 726 1437 L 786 1469 L 813 1480 L 852 1493 L 910 1506 L 949 1511 L 983 1511 L 984 1513 L 1001 1513 L 1002 1511 L 1024 1512 L 1048 1510 L 1101 1501 L 1143 1490 L 1196 1470 L 1240 1448 L 1276 1426 L 1318 1394 L 1359 1355 L 1360 1352 L 1391 1317 L 1391 1314 L 1397 1309 L 1417 1279 L 1446 1224 L 1458 1195 L 1473 1148 L 1484 1095 L 1489 1047 L 1489 992 L 1484 944 L 1481 927 L 1479 926 L 1480 921 L 1466 867 L 1446 815 L 1428 779 L 1421 769 L 1322 870 L 1343 930 L 1350 965 L 1352 988 L 1354 989 L 1353 1007 L 1355 1008 L 1355 1035 L 1353 1036 L 1352 1060 L 1344 1104 L 1328 1154 L 1313 1186 L 1299 1210 L 1280 1237 L 1256 1264 L 1256 1266 L 1217 1300 L 1167 1333 L 1134 1349 L 1098 1362 L 1061 1371 L 1028 1375 L 1027 1377 L 972 1377 L 935 1373 L 910 1368 L 884 1361 L 849 1348 L 796 1320 L 751 1286 L 718 1253 L 705 1237 L 684 1207 L 671 1184 L 659 1159 L 648 1130 L 638 1092 L 633 1062 L 631 1038 L 632 989 L 636 958 L 645 919 L 654 892 L 667 862 L 696 813 L 727 776 L 727 773 L 759 744 L 781 728 L 814 707 L 837 695 L 866 683 L 897 673 L 935 665 L 958 663 L 959 661 L 973 662 L 974 660 L 1009 660 L 1010 662 L 1042 664 L 1084 672 L 1120 683 L 1143 693 L 1143 691 L 1147 689 L 1230 606 L 1230 603 L 1242 589 L 1186 561 L 1129 542 L 1064 529 L 1038 526 L 1026 527 L 1025 525 L 998 526 L 997 524 Z
|
|
11
|
+
M 956 260 L 878 267 L 800 282 L 733 302 L 664 330 L 605 361 L 535 407 L 472 459 L 461 470 L 461 472 L 455 475 L 423 508 L 381 558 L 339 619 L 305 680 L 284 726 L 270 762 L 250 826 L 233 910 L 226 982 L 226 1064 L 234 1140 L 250 1217 L 273 1289 L 299 1350 L 332 1412 L 371 1471 L 399 1507 L 422 1533 L 474 1585 L 529 1631 L 591 1673 L 626 1693 L 668 1714 L 728 1739 L 795 1760 L 832 1769 L 891 1779 L 898 1778 L 899 1780 L 907 1779 L 908 1781 L 917 1782 L 927 1781 L 928 1783 L 940 1782 L 941 1784 L 956 1783 L 957 1785 L 1042 1784 L 1043 1782 L 1055 1783 L 1056 1781 L 1076 1781 L 1092 1779 L 1093 1777 L 1100 1778 L 1106 1777 L 1107 1775 L 1119 1775 L 1173 1764 L 1249 1741 L 1315 1714 L 1380 1680 L 1444 1638 L 1508 1586 L 1559 1535 L 1609 1474 L 1650 1413 L 1684 1349 L 1701 1311 L 1717 1269 L 1736 1203 L 1749 1136 L 1756 1065 L 1756 981 L 1753 951 L 1557 951 L 1561 984 L 1562 1033 L 1556 1094 L 1601 1095 L 1602 1093 L 1607 1093 L 1610 1098 L 1604 1137 L 1591 1193 L 1572 1249 L 1547 1304 L 1520 1351 L 1488 1397 L 1447 1445 L 1405 1486 L 1360 1522 L 1320 1549 L 1287 1568 L 1232 1594 L 1201 1606 L 1149 1622 L 1099 1633 L 1066 1638 L 1031 1641 L 1006 1641 L 1005 1643 L 981 1643 L 980 1641 L 955 1642 L 954 1640 L 919 1638 L 885 1633 L 846 1625 L 803 1613 L 771 1602 L 715 1578 L 666 1551 L 634 1530 L 592 1498 L 570 1478 L 568 1478 L 531 1440 L 486 1385 L 446 1323 L 426 1284 L 409 1244 L 391 1190 L 379 1140 L 370 1076 L 368 1002 L 372 951 L 381 895 L 395 839 L 414 786 L 439 732 L 459 697 L 495 644 L 519 616 L 519 614 L 540 593 L 543 587 L 555 577 L 558 572 L 561 572 L 598 538 L 631 514 L 673 487 L 722 461 L 772 440 L 826 423 L 879 411 L 921 406 L 922 404 L 931 405 L 932 403 L 960 403 L 961 401 L 1040 402 L 1041 404 L 1062 404 L 1063 406 L 1098 410 L 1153 422 L 1205 438 L 1274 467 L 1313 489 L 1314 487 L 1311 435 L 1309 434 L 1310 421 L 1308 390 L 1306 389 L 1307 374 L 1327 354 L 1328 349 L 1332 348 L 1339 340 L 1296 320 L 1252 303 L 1201 287 L 1155 276 L 1069 263 L 1057 264 L 1056 262 L 1026 260 Z
|
|
12
|
+
M 1599 175 L 1497 277 L 1489 288 L 1485 290 L 1439 336 L 1440 339 L 1425 355 L 1422 354 L 1390 386 L 1390 389 L 1381 401 L 1378 402 L 1377 400 L 1377 406 L 1380 407 L 1378 410 L 1378 420 L 1380 421 L 1379 434 L 1381 465 L 1383 466 L 1382 481 L 1384 482 L 1383 497 L 1385 498 L 1384 512 L 1386 513 L 1384 526 L 1386 527 L 1385 545 L 1238 695 L 1238 697 L 1090 846 L 1088 846 L 1073 831 L 1070 831 L 1067 828 L 1068 825 L 1034 792 L 989 1029 L 1216 981 L 1214 980 L 1216 976 L 1218 976 L 1219 980 L 1221 980 L 1205 963 L 1200 961 L 1201 958 L 1186 943 L 1182 943 L 1171 932 L 1172 929 L 1170 923 L 1181 915 L 1231 865 L 1231 862 L 1237 858 L 1292 803 L 1292 800 L 1295 799 L 1348 745 L 1348 742 L 1355 735 L 1357 735 L 1357 733 L 1361 731 L 1409 683 L 1409 680 L 1415 676 L 1466 625 L 1484 625 L 1487 623 L 1490 626 L 1509 627 L 1510 625 L 1514 625 L 1516 628 L 1540 627 L 1541 629 L 1591 629 L 1592 631 L 1605 631 L 1624 612 L 1624 610 L 1676 559 L 1676 556 L 1682 552 L 1716 518 L 1716 515 L 1720 513 L 1773 460 L 1773 457 L 1777 455 L 1819 413 L 1816 412 L 1816 409 L 1665 393 L 1662 395 L 1661 392 L 1624 389 L 1620 387 L 1618 364 L 1615 363 L 1617 360 L 1617 354 L 1614 353 L 1616 350 L 1615 335 L 1613 334 L 1614 326 L 1606 246 L 1604 245 L 1605 235 L 1602 205 L 1599 204 L 1601 201 L 1601 196 L 1599 195 Z" fill="#76C4FB" fill-rule="evenodd"/>
|
|
13
|
+
</g>
|
|
14
|
+
</svg>
|
|
15
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg width="472" height="100" viewBox="0 0 472 100" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<svg x="0" y="0" width="100" height="100" viewBox="0 0 2048 2048">
|
|
3
|
+
<defs>
|
|
4
|
+
<clipPath id="r"><rect width="2048" height="2048" rx="410" ry="410"/></clipPath>
|
|
5
|
+
</defs>
|
|
6
|
+
<g clip-path="url(#r)">
|
|
7
|
+
<rect width="2048" height="2048" fill="#161F34"/>
|
|
8
|
+
<path d="M 982 789 L 944 794 L 916 802 L 894 811 L 873 822 L 851 837 L 817 869 L 802 888 L 790 907 L 774 942 L 766 969 L 762 992 L 761 1037 L 764 1060 L 770 1085 L 787 1126 L 801 1149 L 814 1166 L 820 1170 L 821 1174 L 841 1193 L 878 1219 L 913 1235 L 955 1246 L 969 1248 L 980 1247 L 981 1249 L 1007 1249 L 1008 1246 L 1011 1248 L 1018 1248 L 1041 1244 L 1083 1231 L 1107 1219 L 1129 1205 L 1164 1174 L 1189 1142 L 1207 1108 L 1219 1072 L 1223 1050 L 1224 1026 L 1222 1023 L 1222 1015 L 1089 1043 L 1085 1056 L 1077 1071 L 1057 1094 L 1033 1109 L 1010 1116 L 981 1117 L 965 1114 L 947 1107 L 929 1095 L 913 1078 L 899 1051 L 894 1028 L 895 1003 L 903 977 L 912 962 L 920 953 L 919 950 L 923 946 L 926 947 L 944 933 L 962 925 L 974 922 L 998 789 Z
|
|
9
|
+
M 1670 666 L 1668 665 L 1633 700 L 1524 697 L 1540 723 L 1557 757 L 1581 818 L 1730 818 L 1701 732 Z
|
|
10
|
+
M 989 524 L 988 526 L 962 525 L 961 527 L 949 526 L 882 536 L 837 548 L 789 566 L 749 586 L 703 615 L 667 643 L 625 683 L 593 721 L 566 761 L 540 809 L 526 843 L 509 898 L 501 938 L 495 993 L 495 1020 L 497 1022 L 495 1028 L 495 1047 L 500 1095 L 510 1144 L 527 1198 L 543 1235 L 567 1279 L 589 1311 L 613 1341 L 651 1380 L 653 1380 L 660 1388 L 691 1413 L 726 1437 L 786 1469 L 813 1480 L 852 1493 L 910 1506 L 949 1511 L 983 1511 L 984 1513 L 1001 1513 L 1002 1511 L 1024 1512 L 1048 1510 L 1101 1501 L 1143 1490 L 1196 1470 L 1240 1448 L 1276 1426 L 1318 1394 L 1359 1355 L 1360 1352 L 1391 1317 L 1391 1314 L 1397 1309 L 1417 1279 L 1446 1224 L 1458 1195 L 1473 1148 L 1484 1095 L 1489 1047 L 1489 992 L 1484 944 L 1481 927 L 1479 926 L 1480 921 L 1466 867 L 1446 815 L 1428 779 L 1421 769 L 1322 870 L 1343 930 L 1350 965 L 1352 988 L 1354 989 L 1353 1007 L 1355 1008 L 1355 1035 L 1353 1036 L 1352 1060 L 1344 1104 L 1328 1154 L 1313 1186 L 1299 1210 L 1280 1237 L 1256 1264 L 1256 1266 L 1217 1300 L 1167 1333 L 1134 1349 L 1098 1362 L 1061 1371 L 1028 1375 L 1027 1377 L 972 1377 L 935 1373 L 910 1368 L 884 1361 L 849 1348 L 796 1320 L 751 1286 L 718 1253 L 705 1237 L 684 1207 L 671 1184 L 659 1159 L 648 1130 L 638 1092 L 633 1062 L 631 1038 L 632 989 L 636 958 L 645 919 L 654 892 L 667 862 L 696 813 L 727 776 L 727 773 L 759 744 L 781 728 L 814 707 L 837 695 L 866 683 L 897 673 L 935 665 L 958 663 L 959 661 L 973 662 L 974 660 L 1009 660 L 1010 662 L 1042 664 L 1084 672 L 1120 683 L 1143 693 L 1143 691 L 1147 689 L 1230 606 L 1230 603 L 1242 589 L 1186 561 L 1129 542 L 1064 529 L 1038 526 L 1026 527 L 1025 525 L 998 526 L 997 524 Z
|
|
11
|
+
M 956 260 L 878 267 L 800 282 L 733 302 L 664 330 L 605 361 L 535 407 L 472 459 L 461 470 L 461 472 L 455 475 L 423 508 L 381 558 L 339 619 L 305 680 L 284 726 L 270 762 L 250 826 L 233 910 L 226 982 L 226 1064 L 234 1140 L 250 1217 L 273 1289 L 299 1350 L 332 1412 L 371 1471 L 399 1507 L 422 1533 L 474 1585 L 529 1631 L 591 1673 L 626 1693 L 668 1714 L 728 1739 L 795 1760 L 832 1769 L 891 1779 L 898 1778 L 899 1780 L 907 1779 L 908 1781 L 917 1782 L 927 1781 L 928 1783 L 940 1782 L 941 1784 L 956 1783 L 957 1785 L 1042 1784 L 1043 1782 L 1055 1783 L 1056 1781 L 1076 1781 L 1092 1779 L 1093 1777 L 1100 1778 L 1106 1777 L 1107 1775 L 1119 1775 L 1173 1764 L 1249 1741 L 1315 1714 L 1380 1680 L 1444 1638 L 1508 1586 L 1559 1535 L 1609 1474 L 1650 1413 L 1684 1349 L 1701 1311 L 1717 1269 L 1736 1203 L 1749 1136 L 1756 1065 L 1756 981 L 1753 951 L 1557 951 L 1561 984 L 1562 1033 L 1556 1094 L 1601 1095 L 1602 1093 L 1607 1093 L 1610 1098 L 1604 1137 L 1591 1193 L 1572 1249 L 1547 1304 L 1520 1351 L 1488 1397 L 1447 1445 L 1405 1486 L 1360 1522 L 1320 1549 L 1287 1568 L 1232 1594 L 1201 1606 L 1149 1622 L 1099 1633 L 1066 1638 L 1031 1641 L 1006 1641 L 1005 1643 L 981 1643 L 980 1641 L 955 1642 L 954 1640 L 919 1638 L 885 1633 L 846 1625 L 803 1613 L 771 1602 L 715 1578 L 666 1551 L 634 1530 L 592 1498 L 570 1478 L 568 1478 L 531 1440 L 486 1385 L 446 1323 L 426 1284 L 409 1244 L 391 1190 L 379 1140 L 370 1076 L 368 1002 L 372 951 L 381 895 L 395 839 L 414 786 L 439 732 L 459 697 L 495 644 L 519 616 L 519 614 L 540 593 L 543 587 L 555 577 L 558 572 L 561 572 L 598 538 L 631 514 L 673 487 L 722 461 L 772 440 L 826 423 L 879 411 L 921 406 L 922 404 L 931 405 L 932 403 L 960 403 L 961 401 L 1040 402 L 1041 404 L 1062 404 L 1063 406 L 1098 410 L 1153 422 L 1205 438 L 1274 467 L 1313 489 L 1314 487 L 1311 435 L 1309 434 L 1310 421 L 1308 390 L 1306 389 L 1307 374 L 1327 354 L 1328 349 L 1332 348 L 1339 340 L 1296 320 L 1252 303 L 1201 287 L 1155 276 L 1069 263 L 1057 264 L 1056 262 L 1026 260 Z
|
|
12
|
+
M 1599 175 L 1497 277 L 1489 288 L 1485 290 L 1439 336 L 1440 339 L 1425 355 L 1422 354 L 1390 386 L 1390 389 L 1381 401 L 1378 402 L 1377 400 L 1377 406 L 1380 407 L 1378 410 L 1378 420 L 1380 421 L 1379 434 L 1381 465 L 1383 466 L 1382 481 L 1384 482 L 1383 497 L 1385 498 L 1384 512 L 1386 513 L 1384 526 L 1386 527 L 1385 545 L 1238 695 L 1238 697 L 1090 846 L 1088 846 L 1073 831 L 1070 831 L 1067 828 L 1068 825 L 1034 792 L 989 1029 L 1216 981 L 1214 980 L 1216 976 L 1218 976 L 1219 980 L 1221 980 L 1205 963 L 1200 961 L 1201 958 L 1186 943 L 1182 943 L 1171 932 L 1172 929 L 1170 923 L 1181 915 L 1231 865 L 1231 862 L 1237 858 L 1292 803 L 1292 800 L 1295 799 L 1348 745 L 1348 742 L 1355 735 L 1357 735 L 1357 733 L 1361 731 L 1409 683 L 1409 680 L 1415 676 L 1466 625 L 1484 625 L 1487 623 L 1490 626 L 1509 627 L 1510 625 L 1514 625 L 1516 628 L 1540 627 L 1541 629 L 1591 629 L 1592 631 L 1605 631 L 1624 612 L 1624 610 L 1676 559 L 1676 556 L 1682 552 L 1716 518 L 1716 515 L 1720 513 L 1773 460 L 1773 457 L 1777 455 L 1819 413 L 1816 412 L 1816 409 L 1665 393 L 1662 395 L 1661 392 L 1624 389 L 1620 387 L 1618 364 L 1615 363 L 1617 360 L 1617 354 L 1614 353 L 1616 350 L 1615 335 L 1613 334 L 1614 326 L 1606 246 L 1604 245 L 1605 235 L 1602 205 L 1599 204 L 1601 201 L 1601 196 L 1599 195 Z" fill="#76C4FB" fill-rule="evenodd"/>
|
|
13
|
+
</g>
|
|
14
|
+
</svg>
|
|
15
|
+
<path d="M 142.427 70.248 V 65.748 H 153.227 V 32.748 H 142.427 V 28.248 H 158.147 V 65.748 H 168.947 V 70.248 H 142.427 Z M 189.174 70.608 C 182.454 70.608 177.894 67.248 177.894 61.668 C 177.894 55.548 182.154 52.128 190.194 52.128 H 199.194 V 50.028 C 199.194 46.068 196.374 43.668 191.574 43.668 C 187.254 43.668 184.374 45.708 183.774 48.828 H 178.854 C 179.574 42.828 184.434 39.288 191.814 39.288 C 199.614 39.288 204.114 43.188 204.114 50.328 V 63.708 C 204.114 65.328 204.714 65.748 206.094 65.748 H 207.654 V 70.248 H 204.954 C 200.874 70.248 199.494 68.508 199.434 65.508 C 197.514 68.268 194.454 70.608 189.174 70.608 Z M 189.534 66.408 C 195.654 66.408 199.194 62.868 199.194 57.768 V 56.268 H 189.714 C 185.334 56.268 182.874 57.888 182.874 61.368 C 182.874 64.368 185.454 66.408 189.534 66.408 Z M 216.601 70.248 V 39.648 H 220.861 L 221.521 43.788 C 223.321 41.448 226.321 39.288 231.121 39.288 C 237.601 39.288 243.001 42.948 243.001 52.848 V 70.248 H 238.081 V 53.148 C 238.081 47.028 235.201 43.788 230.281 43.788 C 224.941 43.788 221.521 47.928 221.521 53.988 V 70.248 H 216.601 Z M 266.348 82.608 C 258.548 82.608 253.088 78.948 252.308 72.228 H 257.348 C 258.188 76.068 261.608 78.228 266.708 78.228 C 273.128 78.228 276.608 75.228 276.608 68.568 V 64.968 C 274.568 68.448 271.268 70.608 266.108 70.608 C 257.648 70.608 251.408 64.908 251.408 54.948 C 251.408 45.588 257.648 39.288 266.108 39.288 C 271.268 39.288 274.688 41.508 276.608 44.928 L 277.268 39.648 H 281.528 V 68.748 C 281.528 77.568 276.848 82.608 266.348 82.608 Z M 266.588 66.228 C 272.588 66.228 276.668 61.608 276.668 55.068 C 276.668 48.348 272.588 43.668 266.588 43.668 C 260.528 43.668 256.448 48.288 256.448 54.948 C 256.448 61.608 260.528 66.228 266.588 66.228 Z M 303.555 82.608 C 295.755 82.608 290.295 78.948 289.515 72.228 H 294.555 C 295.395 76.068 298.815 78.228 303.915 78.228 C 310.335 78.228 313.815 75.228 313.815 68.568 V 64.968 C 311.775 68.448 308.475 70.608 303.315 70.608 C 294.855 70.608 288.615 64.908 288.615 54.948 C 288.615 45.588 294.855 39.288 303.315 39.288 C 308.475 39.288 311.895 41.508 313.815 44.928 L 314.475 39.648 H 318.735 V 68.748 C 318.735 77.568 314.055 82.608 303.555 82.608 Z M 303.795 66.228 C 309.795 66.228 313.875 61.608 313.875 55.068 C 313.875 48.348 309.795 43.668 303.795 43.668 C 297.735 43.668 293.655 48.288 293.655 54.948 C 293.655 61.608 297.735 66.228 303.795 66.228 Z M 326.85 54.948 A 14.9 15.66 0 1 0 356.65 54.948 A 14.9 15.66 0 1 0 326.85 54.948 Z M 331.47 54.948 A 10.280000000000001 11.04 0 1 1 352.03 54.948 A 10.280000000000001 11.04 0 1 1 331.47 54.948 Z M 375.209 70.608 C 368.489 70.608 363.929 67.248 363.929 61.668 C 363.929 55.548 368.189 52.128 376.229 52.128 H 385.229 V 50.028 C 385.229 46.068 382.409 43.668 377.609 43.668 C 373.289 43.668 370.409 45.708 369.809 48.828 H 364.889 C 365.609 42.828 370.469 39.288 377.849 39.288 C 385.649 39.288 390.149 43.188 390.149 50.328 V 63.708 C 390.149 65.328 390.749 65.748 392.129 65.748 H 393.689 V 70.248 H 390.989 C 386.909 70.248 385.529 68.508 385.469 65.508 C 383.549 68.268 380.489 70.608 375.209 70.608 Z M 375.569 66.408 C 381.689 66.408 385.229 62.868 385.229 57.768 V 56.268 H 375.749 C 371.369 56.268 368.909 57.888 368.909 61.368 C 368.909 64.368 371.489 66.408 375.569 66.408 Z M 401.076 82.248 V 39.648 H 405.336 L 405.996 44.568 C 408.036 41.748 411.336 39.288 416.496 39.288 C 424.956 39.288 431.196 44.988 431.196 54.948 C 431.196 64.308 424.956 70.608 416.496 70.608 C 411.336 70.608 407.856 68.508 405.996 65.568 V 82.248 H 401.076 Z M 416.016 66.228 C 422.076 66.228 426.156 61.608 426.156 54.948 C 426.156 48.288 422.076 43.668 416.016 43.668 C 410.016 43.668 405.936 48.288 405.936 54.828 C 405.936 61.548 410.016 66.228 416.016 66.228 Z" fill="#FFFFFF" fill-rule="evenodd"/>
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg width="472" height="100" viewBox="0 0 472 100" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<svg x="0" y="0" width="100" height="100" viewBox="0 0 2048 2048">
|
|
3
|
+
<defs>
|
|
4
|
+
<clipPath id="r"><rect width="2048" height="2048" rx="410" ry="410"/></clipPath>
|
|
5
|
+
</defs>
|
|
6
|
+
<g clip-path="url(#r)">
|
|
7
|
+
<rect width="2048" height="2048" fill="#161F34"/>
|
|
8
|
+
<path d="M 982 789 L 944 794 L 916 802 L 894 811 L 873 822 L 851 837 L 817 869 L 802 888 L 790 907 L 774 942 L 766 969 L 762 992 L 761 1037 L 764 1060 L 770 1085 L 787 1126 L 801 1149 L 814 1166 L 820 1170 L 821 1174 L 841 1193 L 878 1219 L 913 1235 L 955 1246 L 969 1248 L 980 1247 L 981 1249 L 1007 1249 L 1008 1246 L 1011 1248 L 1018 1248 L 1041 1244 L 1083 1231 L 1107 1219 L 1129 1205 L 1164 1174 L 1189 1142 L 1207 1108 L 1219 1072 L 1223 1050 L 1224 1026 L 1222 1023 L 1222 1015 L 1089 1043 L 1085 1056 L 1077 1071 L 1057 1094 L 1033 1109 L 1010 1116 L 981 1117 L 965 1114 L 947 1107 L 929 1095 L 913 1078 L 899 1051 L 894 1028 L 895 1003 L 903 977 L 912 962 L 920 953 L 919 950 L 923 946 L 926 947 L 944 933 L 962 925 L 974 922 L 998 789 Z
|
|
9
|
+
M 1670 666 L 1668 665 L 1633 700 L 1524 697 L 1540 723 L 1557 757 L 1581 818 L 1730 818 L 1701 732 Z
|
|
10
|
+
M 989 524 L 988 526 L 962 525 L 961 527 L 949 526 L 882 536 L 837 548 L 789 566 L 749 586 L 703 615 L 667 643 L 625 683 L 593 721 L 566 761 L 540 809 L 526 843 L 509 898 L 501 938 L 495 993 L 495 1020 L 497 1022 L 495 1028 L 495 1047 L 500 1095 L 510 1144 L 527 1198 L 543 1235 L 567 1279 L 589 1311 L 613 1341 L 651 1380 L 653 1380 L 660 1388 L 691 1413 L 726 1437 L 786 1469 L 813 1480 L 852 1493 L 910 1506 L 949 1511 L 983 1511 L 984 1513 L 1001 1513 L 1002 1511 L 1024 1512 L 1048 1510 L 1101 1501 L 1143 1490 L 1196 1470 L 1240 1448 L 1276 1426 L 1318 1394 L 1359 1355 L 1360 1352 L 1391 1317 L 1391 1314 L 1397 1309 L 1417 1279 L 1446 1224 L 1458 1195 L 1473 1148 L 1484 1095 L 1489 1047 L 1489 992 L 1484 944 L 1481 927 L 1479 926 L 1480 921 L 1466 867 L 1446 815 L 1428 779 L 1421 769 L 1322 870 L 1343 930 L 1350 965 L 1352 988 L 1354 989 L 1353 1007 L 1355 1008 L 1355 1035 L 1353 1036 L 1352 1060 L 1344 1104 L 1328 1154 L 1313 1186 L 1299 1210 L 1280 1237 L 1256 1264 L 1256 1266 L 1217 1300 L 1167 1333 L 1134 1349 L 1098 1362 L 1061 1371 L 1028 1375 L 1027 1377 L 972 1377 L 935 1373 L 910 1368 L 884 1361 L 849 1348 L 796 1320 L 751 1286 L 718 1253 L 705 1237 L 684 1207 L 671 1184 L 659 1159 L 648 1130 L 638 1092 L 633 1062 L 631 1038 L 632 989 L 636 958 L 645 919 L 654 892 L 667 862 L 696 813 L 727 776 L 727 773 L 759 744 L 781 728 L 814 707 L 837 695 L 866 683 L 897 673 L 935 665 L 958 663 L 959 661 L 973 662 L 974 660 L 1009 660 L 1010 662 L 1042 664 L 1084 672 L 1120 683 L 1143 693 L 1143 691 L 1147 689 L 1230 606 L 1230 603 L 1242 589 L 1186 561 L 1129 542 L 1064 529 L 1038 526 L 1026 527 L 1025 525 L 998 526 L 997 524 Z
|
|
11
|
+
M 956 260 L 878 267 L 800 282 L 733 302 L 664 330 L 605 361 L 535 407 L 472 459 L 461 470 L 461 472 L 455 475 L 423 508 L 381 558 L 339 619 L 305 680 L 284 726 L 270 762 L 250 826 L 233 910 L 226 982 L 226 1064 L 234 1140 L 250 1217 L 273 1289 L 299 1350 L 332 1412 L 371 1471 L 399 1507 L 422 1533 L 474 1585 L 529 1631 L 591 1673 L 626 1693 L 668 1714 L 728 1739 L 795 1760 L 832 1769 L 891 1779 L 898 1778 L 899 1780 L 907 1779 L 908 1781 L 917 1782 L 927 1781 L 928 1783 L 940 1782 L 941 1784 L 956 1783 L 957 1785 L 1042 1784 L 1043 1782 L 1055 1783 L 1056 1781 L 1076 1781 L 1092 1779 L 1093 1777 L 1100 1778 L 1106 1777 L 1107 1775 L 1119 1775 L 1173 1764 L 1249 1741 L 1315 1714 L 1380 1680 L 1444 1638 L 1508 1586 L 1559 1535 L 1609 1474 L 1650 1413 L 1684 1349 L 1701 1311 L 1717 1269 L 1736 1203 L 1749 1136 L 1756 1065 L 1756 981 L 1753 951 L 1557 951 L 1561 984 L 1562 1033 L 1556 1094 L 1601 1095 L 1602 1093 L 1607 1093 L 1610 1098 L 1604 1137 L 1591 1193 L 1572 1249 L 1547 1304 L 1520 1351 L 1488 1397 L 1447 1445 L 1405 1486 L 1360 1522 L 1320 1549 L 1287 1568 L 1232 1594 L 1201 1606 L 1149 1622 L 1099 1633 L 1066 1638 L 1031 1641 L 1006 1641 L 1005 1643 L 981 1643 L 980 1641 L 955 1642 L 954 1640 L 919 1638 L 885 1633 L 846 1625 L 803 1613 L 771 1602 L 715 1578 L 666 1551 L 634 1530 L 592 1498 L 570 1478 L 568 1478 L 531 1440 L 486 1385 L 446 1323 L 426 1284 L 409 1244 L 391 1190 L 379 1140 L 370 1076 L 368 1002 L 372 951 L 381 895 L 395 839 L 414 786 L 439 732 L 459 697 L 495 644 L 519 616 L 519 614 L 540 593 L 543 587 L 555 577 L 558 572 L 561 572 L 598 538 L 631 514 L 673 487 L 722 461 L 772 440 L 826 423 L 879 411 L 921 406 L 922 404 L 931 405 L 932 403 L 960 403 L 961 401 L 1040 402 L 1041 404 L 1062 404 L 1063 406 L 1098 410 L 1153 422 L 1205 438 L 1274 467 L 1313 489 L 1314 487 L 1311 435 L 1309 434 L 1310 421 L 1308 390 L 1306 389 L 1307 374 L 1327 354 L 1328 349 L 1332 348 L 1339 340 L 1296 320 L 1252 303 L 1201 287 L 1155 276 L 1069 263 L 1057 264 L 1056 262 L 1026 260 Z
|
|
12
|
+
M 1599 175 L 1497 277 L 1489 288 L 1485 290 L 1439 336 L 1440 339 L 1425 355 L 1422 354 L 1390 386 L 1390 389 L 1381 401 L 1378 402 L 1377 400 L 1377 406 L 1380 407 L 1378 410 L 1378 420 L 1380 421 L 1379 434 L 1381 465 L 1383 466 L 1382 481 L 1384 482 L 1383 497 L 1385 498 L 1384 512 L 1386 513 L 1384 526 L 1386 527 L 1385 545 L 1238 695 L 1238 697 L 1090 846 L 1088 846 L 1073 831 L 1070 831 L 1067 828 L 1068 825 L 1034 792 L 989 1029 L 1216 981 L 1214 980 L 1216 976 L 1218 976 L 1219 980 L 1221 980 L 1205 963 L 1200 961 L 1201 958 L 1186 943 L 1182 943 L 1171 932 L 1172 929 L 1170 923 L 1181 915 L 1231 865 L 1231 862 L 1237 858 L 1292 803 L 1292 800 L 1295 799 L 1348 745 L 1348 742 L 1355 735 L 1357 735 L 1357 733 L 1361 731 L 1409 683 L 1409 680 L 1415 676 L 1466 625 L 1484 625 L 1487 623 L 1490 626 L 1509 627 L 1510 625 L 1514 625 L 1516 628 L 1540 627 L 1541 629 L 1591 629 L 1592 631 L 1605 631 L 1624 612 L 1624 610 L 1676 559 L 1676 556 L 1682 552 L 1716 518 L 1716 515 L 1720 513 L 1773 460 L 1773 457 L 1777 455 L 1819 413 L 1816 412 L 1816 409 L 1665 393 L 1662 395 L 1661 392 L 1624 389 L 1620 387 L 1618 364 L 1615 363 L 1617 360 L 1617 354 L 1614 353 L 1616 350 L 1615 335 L 1613 334 L 1614 326 L 1606 246 L 1604 245 L 1605 235 L 1602 205 L 1599 204 L 1601 201 L 1601 196 L 1599 195 Z" fill="#76C4FB" fill-rule="evenodd"/>
|
|
13
|
+
</g>
|
|
14
|
+
</svg>
|
|
15
|
+
<path d="M 142.427 70.248 V 65.748 H 153.227 V 32.748 H 142.427 V 28.248 H 158.147 V 65.748 H 168.947 V 70.248 H 142.427 Z M 189.174 70.608 C 182.454 70.608 177.894 67.248 177.894 61.668 C 177.894 55.548 182.154 52.128 190.194 52.128 H 199.194 V 50.028 C 199.194 46.068 196.374 43.668 191.574 43.668 C 187.254 43.668 184.374 45.708 183.774 48.828 H 178.854 C 179.574 42.828 184.434 39.288 191.814 39.288 C 199.614 39.288 204.114 43.188 204.114 50.328 V 63.708 C 204.114 65.328 204.714 65.748 206.094 65.748 H 207.654 V 70.248 H 204.954 C 200.874 70.248 199.494 68.508 199.434 65.508 C 197.514 68.268 194.454 70.608 189.174 70.608 Z M 189.534 66.408 C 195.654 66.408 199.194 62.868 199.194 57.768 V 56.268 H 189.714 C 185.334 56.268 182.874 57.888 182.874 61.368 C 182.874 64.368 185.454 66.408 189.534 66.408 Z M 216.601 70.248 V 39.648 H 220.861 L 221.521 43.788 C 223.321 41.448 226.321 39.288 231.121 39.288 C 237.601 39.288 243.001 42.948 243.001 52.848 V 70.248 H 238.081 V 53.148 C 238.081 47.028 235.201 43.788 230.281 43.788 C 224.941 43.788 221.521 47.928 221.521 53.988 V 70.248 H 216.601 Z M 266.348 82.608 C 258.548 82.608 253.088 78.948 252.308 72.228 H 257.348 C 258.188 76.068 261.608 78.228 266.708 78.228 C 273.128 78.228 276.608 75.228 276.608 68.568 V 64.968 C 274.568 68.448 271.268 70.608 266.108 70.608 C 257.648 70.608 251.408 64.908 251.408 54.948 C 251.408 45.588 257.648 39.288 266.108 39.288 C 271.268 39.288 274.688 41.508 276.608 44.928 L 277.268 39.648 H 281.528 V 68.748 C 281.528 77.568 276.848 82.608 266.348 82.608 Z M 266.588 66.228 C 272.588 66.228 276.668 61.608 276.668 55.068 C 276.668 48.348 272.588 43.668 266.588 43.668 C 260.528 43.668 256.448 48.288 256.448 54.948 C 256.448 61.608 260.528 66.228 266.588 66.228 Z M 303.555 82.608 C 295.755 82.608 290.295 78.948 289.515 72.228 H 294.555 C 295.395 76.068 298.815 78.228 303.915 78.228 C 310.335 78.228 313.815 75.228 313.815 68.568 V 64.968 C 311.775 68.448 308.475 70.608 303.315 70.608 C 294.855 70.608 288.615 64.908 288.615 54.948 C 288.615 45.588 294.855 39.288 303.315 39.288 C 308.475 39.288 311.895 41.508 313.815 44.928 L 314.475 39.648 H 318.735 V 68.748 C 318.735 77.568 314.055 82.608 303.555 82.608 Z M 303.795 66.228 C 309.795 66.228 313.875 61.608 313.875 55.068 C 313.875 48.348 309.795 43.668 303.795 43.668 C 297.735 43.668 293.655 48.288 293.655 54.948 C 293.655 61.608 297.735 66.228 303.795 66.228 Z M 326.85 54.948 A 14.9 15.66 0 1 0 356.65 54.948 A 14.9 15.66 0 1 0 326.85 54.948 Z M 331.47 54.948 A 10.280000000000001 11.04 0 1 1 352.03 54.948 A 10.280000000000001 11.04 0 1 1 331.47 54.948 Z M 375.209 70.608 C 368.489 70.608 363.929 67.248 363.929 61.668 C 363.929 55.548 368.189 52.128 376.229 52.128 H 385.229 V 50.028 C 385.229 46.068 382.409 43.668 377.609 43.668 C 373.289 43.668 370.409 45.708 369.809 48.828 H 364.889 C 365.609 42.828 370.469 39.288 377.849 39.288 C 385.649 39.288 390.149 43.188 390.149 50.328 V 63.708 C 390.149 65.328 390.749 65.748 392.129 65.748 H 393.689 V 70.248 H 390.989 C 386.909 70.248 385.529 68.508 385.469 65.508 C 383.549 68.268 380.489 70.608 375.209 70.608 Z M 375.569 66.408 C 381.689 66.408 385.229 62.868 385.229 57.768 V 56.268 H 375.749 C 371.369 56.268 368.909 57.888 368.909 61.368 C 368.909 64.368 371.489 66.408 375.569 66.408 Z M 401.076 82.248 V 39.648 H 405.336 L 405.996 44.568 C 408.036 41.748 411.336 39.288 416.496 39.288 C 424.956 39.288 431.196 44.988 431.196 54.948 C 431.196 64.308 424.956 70.608 416.496 70.608 C 411.336 70.608 407.856 68.508 405.996 65.568 V 82.248 H 401.076 Z M 416.016 66.228 C 422.076 66.228 426.156 61.608 426.156 54.948 C 426.156 48.288 422.076 43.668 416.016 43.668 C 410.016 43.668 405.936 48.288 405.936 54.828 C 405.936 61.548 410.016 66.228 416.016 66.228 Z" fill="#161F34" fill-rule="evenodd"/>
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
status: 'goal_achieved'
|
|
2
|
+
replan_count: 0
|
|
3
|
+
blacklisted_actions: []
|
|
4
|
+
plan.action_names: ['research_topic', 'write_article_fast', 'publish_article']
|
|
5
|
+
plan.total_cost: 3.0
|
|
6
|
+
execution_history:
|
|
7
|
+
1. [ok ] research_topic
|
|
8
|
+
2. [ok ] write_article_fast
|
|
9
|
+
3. [ok ] publish_article
|
|
10
|
+
world_state (relevant keys): {'topic': 'GOAP for LangGraph', 'brief': 'Brief on GOAP for LangGraph', 'draft': 'Fast draft: Brief on GOAP for LangGraph'}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
status: 'goal_achieved'
|
|
2
|
+
replan_count: 1
|
|
3
|
+
blacklisted_actions: ['write_article_fast']
|
|
4
|
+
plan.action_names: ['write_article_premium', 'publish_article']
|
|
5
|
+
plan.total_cost: 6.0
|
|
6
|
+
execution_history:
|
|
7
|
+
1. [ok ] research_topic
|
|
8
|
+
2. [FAIL] write_article_fast (upstream rate limit (attempt 1))
|
|
9
|
+
3. [ok ] write_article_premium
|
|
10
|
+
4. [ok ] publish_article
|
|
11
|
+
world_state (relevant keys): {'topic': 'GOAP for LangGraph', 'brief': 'Brief on GOAP for LangGraph', 'draft': 'Premium draft: Brief on GOAP for LangGraph'}
|
|
Binary file
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
name-template: '$NEXT_MINOR_VERSION'
|
|
2
|
+
tag-template: 'v$NEXT_MINOR_VERSION'
|
|
3
|
+
autolabeler:
|
|
4
|
+
- label: 'maintenance'
|
|
5
|
+
files:
|
|
6
|
+
- '*.md'
|
|
7
|
+
- '.github/*'
|
|
8
|
+
- label: 'bug'
|
|
9
|
+
branch:
|
|
10
|
+
- '/bug-.+'
|
|
11
|
+
- label: 'maintenance'
|
|
12
|
+
branch:
|
|
13
|
+
- '/maintenance-.+'
|
|
14
|
+
- label: 'feature'
|
|
15
|
+
branch:
|
|
16
|
+
- '/feature-.+'
|
|
17
|
+
categories:
|
|
18
|
+
- title: 'Breaking Changes'
|
|
19
|
+
labels:
|
|
20
|
+
- 'breakingchange'
|
|
21
|
+
- title: '๐งช Experimental Features'
|
|
22
|
+
labels:
|
|
23
|
+
- 'experimental'
|
|
24
|
+
- title: '๐ New Features'
|
|
25
|
+
labels:
|
|
26
|
+
- 'feature'
|
|
27
|
+
- 'enhancement'
|
|
28
|
+
- title: '๐ Bug Fixes'
|
|
29
|
+
labels:
|
|
30
|
+
- 'fix'
|
|
31
|
+
- 'bugfix'
|
|
32
|
+
- 'bug'
|
|
33
|
+
- 'BUG'
|
|
34
|
+
- title: '๐งฐ Maintenance'
|
|
35
|
+
label: 'maintenance'
|
|
36
|
+
change-template: '- $TITLE (#$NUMBER)'
|
|
37
|
+
exclude-labels:
|
|
38
|
+
- 'skip-changelog'
|
|
39
|
+
template: |
|
|
40
|
+
# Changes
|
|
41
|
+
|
|
42
|
+
$CHANGES
|
|
43
|
+
|
|
44
|
+
## Contributors
|
|
45
|
+
We'd like to thank all the contributors who worked on this release!
|
|
46
|
+
|
|
47
|
+
$CONTRIBUTORS
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: Claude Code
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
issue_comment:
|
|
5
|
+
types: [created]
|
|
6
|
+
pull_request_review_comment:
|
|
7
|
+
types: [created]
|
|
8
|
+
issues:
|
|
9
|
+
types: [opened, assigned]
|
|
10
|
+
pull_request_review:
|
|
11
|
+
types: [submitted]
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
claude:
|
|
15
|
+
if: |
|
|
16
|
+
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
|
|
17
|
+
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
|
|
18
|
+
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
|
|
19
|
+
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
|
|
20
|
+
runs-on: ubuntu-latest
|
|
21
|
+
permissions:
|
|
22
|
+
contents: read
|
|
23
|
+
pull-requests: read
|
|
24
|
+
issues: read
|
|
25
|
+
id-token: write
|
|
26
|
+
steps:
|
|
27
|
+
- name: Checkout repository
|
|
28
|
+
uses: actions/checkout@v4
|
|
29
|
+
with:
|
|
30
|
+
fetch-depth: 1
|
|
31
|
+
|
|
32
|
+
- name: Run Claude Code
|
|
33
|
+
id: claude
|
|
34
|
+
uses: anthropics/claude-code-action@beta
|
|
35
|
+
with:
|
|
36
|
+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
name: Update Coverage Badge
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
coverage:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
|
|
11
|
+
env:
|
|
12
|
+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
|
13
|
+
|
|
14
|
+
steps:
|
|
15
|
+
- name: Check out repository
|
|
16
|
+
uses: actions/checkout@v4
|
|
17
|
+
|
|
18
|
+
- name: Install uv
|
|
19
|
+
uses: astral-sh/setup-uv@v4
|
|
20
|
+
with:
|
|
21
|
+
version: "latest"
|
|
22
|
+
|
|
23
|
+
- name: Set up Python
|
|
24
|
+
run: uv python install 3.12
|
|
25
|
+
|
|
26
|
+
- name: Install dependencies
|
|
27
|
+
run: uv sync --extra checkpoint-postgres --extra checkpoint-redis
|
|
28
|
+
|
|
29
|
+
- name: Run tests with coverage
|
|
30
|
+
run: |
|
|
31
|
+
if [ -n "$OPENAI_API_KEY" ]; then
|
|
32
|
+
uv run pytest --cov=langgoap --cov-report=term --cov-report=json
|
|
33
|
+
else
|
|
34
|
+
uv run pytest -m "not api" --cov=langgoap --cov-report=term --cov-report=json
|
|
35
|
+
fi
|
|
36
|
+
COVERAGE=$(python3 -c "import json; print(int(json.load(open('coverage.json'))['totals']['percent_covered']))")
|
|
37
|
+
echo "COVERAGE=${COVERAGE}" >> $GITHUB_ENV
|
|
38
|
+
|
|
39
|
+
if [ $COVERAGE -lt 70 ]; then
|
|
40
|
+
echo "COLOR=red" >> $GITHUB_ENV
|
|
41
|
+
elif [ $COVERAGE -lt 80 ]; then
|
|
42
|
+
echo "COLOR=yellow" >> $GITHUB_ENV
|
|
43
|
+
else
|
|
44
|
+
echo "COLOR=green" >> $GITHUB_ENV
|
|
45
|
+
fi
|
|
46
|
+
|
|
47
|
+
- name: Create Coverage Badge
|
|
48
|
+
uses: schneegans/dynamic-badges-action@v1.7.0
|
|
49
|
+
with:
|
|
50
|
+
auth: ${{ secrets.GIST_TOKEN }}
|
|
51
|
+
gistID: ${{ secrets.GIST_ID }}
|
|
52
|
+
filename: langgoap-coverage.json
|
|
53
|
+
label: Coverage
|
|
54
|
+
message: ${{ env.COVERAGE }}%
|
|
55
|
+
color: ${{ env.COLOR }}
|