Open AmoleR opened 4 years ago
Semi-fix: If Contest Collections can't yield a problem but can match the contest name (i.e. BAMO matches with Bay Area Math Olympiad) and ask user if the contest name matches => automatically suggested.
Problem is I don't actually have a good way to search everything. For example, I can try to look for BAMO in the main collection, but it's not there.
So that's probably an issue, unless we can figure out a recursive solution.
Credit: @rfeng2004
Idea: if
gimme
command is used with-s
option, then should the contest not exactly match an existing contest name, bot will attempt a search on AoPS Contest Collections for the problem.Example usage: (Hypothetically assume that BAMO is not already scraped)
gimme BAMO 2020 4
will currently default to giving the problem USAMO 2020 4.Proposed change:
gimme -s BAMO 2020 4
will see that USAMO doesn't exactly match the contest name, and given that no match exists already, attempts a search on AoPS Contest Collections for the problem.