Skip to content

Feat/update docstring gen - #488

Merged
Ekarerina-Ulyanova merged 11 commits into
mainfrom
feat/update-docstring-gen
Aug 13, 2026
Merged

Feat/update docstring gen#488
Ekarerina-Ulyanova merged 11 commits into
mainfrom
feat/update-docstring-gen

Conversation

@Ekarerina-Ulyanova

Copy link
Copy Markdown
Collaborator

Промпты были обновлены исключительно для случая генерации при использовании малых моделей. Качество получаемых докстрингов было проверено в рамках ВКР на ряде метрик. Существенного ухудшения выявлено не было, но замечено значительное уменьшение длины (относительно докстрингов, генерируемых крупными моделями).

@DRMPN DRMPN left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Может промты вынести в отдельные файлы, в остальном вроде норм.

Comment thread osa_tool/operations/codebase/docstring_generation/docgen.py Outdated
Comment thread osa_tool/operations/codebase/docstring_generation/docgen.py Outdated
Comment thread osa_tool/operations/codebase/docstring_generation/docgen.py Outdated
@DRMPN

DRMPN commented Jul 29, 2026

Copy link
Copy Markdown
Member

@codex review

@DRMPN DRMPN added the enhancement New feature or request label Jul 29, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: af540dd441

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread osa_tool/operations/codebase/docstring_generation/docgen.py
Comment thread osa_tool/operations/codebase/docstring_generation/docgen.py
Comment thread osa_tool/operations/codebase/docstring_generation/docgen.py
Comment thread osa_tool/operations/codebase/docstring_generation/docgen.py Outdated
Comment thread osa_tool/operations/codebase/docstring_generation/docgen.py Outdated
Comment thread osa_tool/operations/codebase/docstring_generation/docgen.py Outdated
Comment thread osa_tool/operations/codebase/docstring_generation/docgen.py Outdated
@Ekarerina-Ulyanova
Ekarerina-Ulyanova force-pushed the feat/update-docstring-gen branch from 93fec1e to 4fc57af Compare August 12, 2026 18:55

@Shtirmann Shtirmann left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Со стороны JS/TS - ок, можно вливать.
Закрывает в целом один из моих PR-ов полностью, но это скорее плюс, фиксит существующий баг.

@Ekarerina-Ulyanova
Ekarerina-Ulyanova merged commit edaded0 into main Aug 13, 2026
5 checks passed
@Ekarerina-Ulyanova
Ekarerina-Ulyanova deleted the feat/update-docstring-gen branch August 13, 2026 12:49
Lameus pushed a commit that referenced this pull request Aug 17, 2026
* Adapt docstring generation for small models

* Cover task-specific model routing and change prompt formatting

* Change method of classification model size before docstring generation

* Add fallback for uncertain model classification

* Enhance docstrings generation logic

* Moved prompts from DocGen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants