Skip to content

Commit 5dede7c

Browse files
committed
feat: update
1 parent f3c8423 commit 5dede7c

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

atcodertools/constprediction/constants_prediction.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -218,16 +218,6 @@ def predict_is_format_analysis_allowed_by_rule(html: str) -> bool:
218218
raise FailingToKnowFormatAnalysisAllowedByRuleError(
219219
"No meta tag detected, which is important as a clue to know if the input analysis is allowed.")
220220

221-
# ABC is the target of "No LLM rules" by AtCoder (See https://info.atcoder.jp/entry/llm-abc-rules-ja or https://info.atcoder.jp/entry/llm-abc-rules-en)
222-
is_target_contest_of_no_llm_rule = "/contests/abc" in url_meta_tag["content"]
223-
224-
# If there is no virtual standings link, assume it's ongoing.
225-
is_ongoing_contest = len([tag for tag in soup.find_all(
226-
"a") if "/standings/virtual" in tag.get("href", "")]) == 0
227-
228-
if is_target_contest_of_no_llm_rule and is_ongoing_contest:
229-
return False
230-
231221
return True
232222

233223

0 commit comments

Comments
 (0)