Open
Conversation
HadronCollider
requested changes
Sep 2, 2024
| description = '' | ||
| id = 'references_in_chapter_check' | ||
|
|
||
| def __init__(self, file_info, chapters_for_lit_ref = { |
Collaborator
There was a problem hiding this comment.
какие именно разделы следует учитывать
критерии оценки (минимальный или максимальный порог).
разделы и пороги подаем в качестве аргумента критерия - словарь
Пример:
{
'введение': [1, 10],
'определения, обозначения и сокращения': [0, 5],
'заключение': [1;5]
}Оценка критерия = процент разделов попавших в нужный интервал
- количество разделов, прошедших проверку / количество проверяемых разделов)
Можно добавить верхние и нижние пороги:
- если
вычисленная оценка < min-> за критерий 0 - если
вычисленная оценка < max-> за критерий 1
Collaborator
Author
There was a problem hiding this comment.
@HadronCollider Логика исправлена. Требуется установить min и max (сейчас 0 и 0), а также указать разделы.
Collaborator
|
Проверить переиспользование SW* критериев |
# Conflicts: # app/main/check_packs/pack_config.py # app/main/checks/report_checks/__init__.py # app/main/checks/report_checks/style_check_settings.py
b17a1fe to
db387f3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Задача: #539
В данном PR основа для критерия поиска ссылок на источники в определенных разделах.
В классе StyleCheckSettings изменена конфигурация словарей типов проверяемых файлов: добавлен ключ "headers_for_lit_count".
Сейчас для примера выбраны (закомментированы) разделы, которые наиболее часто встречаются в работах НИР и ВКР.
Необходимы уточнения: