Skip to content

Commit b574dc5

Browse files
committed
Enable a few exp holes
- Abundant Numbers (Long) - Inventory Sequence - Pernicious Numbers (Long) Quite a few holes at once but long variants barely count, right? Closes #788
1 parent 29d323b commit b574dc5

File tree

3 files changed

+13
-18
lines changed

3 files changed

+13
-18
lines changed

config/holes.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,6 @@ func init() {
8686
hole.ID = ID(name)
8787
hole.Name = name
8888

89-
switch hole.ID {
90-
case "abundant-numbers-long", "pernicious-numbers-long":
91-
hole.Experiment = -1
92-
}
93-
9489
// Process the templated preamble with the data.
9590
if hole.Data != "" {
9691
t, err := template.New("").Parse(string(hole.Preamble))

config/holes.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,6 @@ preamble = '''
937937

938938
['Inventory Sequence']
939939
category = 'Sequence'
940-
experiment = 788
941940
links = [
942941
{ name = 'Numberphile', url = '//www.numberphile.com/videos/the-inventory-sequence' },
943942
{ name = 'OEIS A342585', url = '//oeis.org/A342585' },

db/a-schema.sql

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,21 @@ CREATE TYPE connection AS ENUM (
2121

2222
CREATE TYPE hole AS ENUM (
2323
'12-days-of-christmas', '99-bottles-of-beer', 'abundant-numbers',
24-
'arabic-to-roman', 'arrows', 'ascii-table', 'brainfuck',
25-
'catalan-numbers', 'catalans-constant', 'christmas-trees', 'collatz',
26-
'css-colors', 'cubes', 'diamonds', 'divisors', 'emirp-numbers',
24+
'abundant-numbers-long', 'arabic-to-roman', 'arrows', 'ascii-table',
25+
'brainfuck', 'catalan-numbers', 'catalans-constant', 'christmas-trees',
26+
'collatz', 'css-colors', 'cubes', 'diamonds', 'divisors', 'emirp-numbers',
2727
'emirp-numbers-long', 'emojify', 'evil-numbers', 'evil-numbers-long',
2828
'fibonacci', 'fizz-buzz', 'foo-fizz-buzz-bar', 'fractions',
29-
'happy-numbers', 'happy-numbers-long', 'hexdump', 'intersection', 'isbn',
30-
'jacobi-symbol', 'kolakoski-constant', 'kolakoski-sequence', 'leap-years',
31-
'levenshtein-distance', 'leyland-numbers', 'look-and-say',
32-
'lucky-numbers', 'lucky-tickets', 'morse-decoder', 'morse-encoder',
33-
'musical-chords', 'niven-numbers', 'niven-numbers-long', 'number-spiral',
34-
'odious-numbers', 'odious-numbers-long', 'ordinal-numbers',
35-
'pangram-grep', 'pascals-triangle', 'pernicious-numbers', 'poker',
36-
'prime-numbers', 'prime-numbers-long', 'proximity-grid', 'qr-decoder',
37-
'quine', 'recamán', 'reverse-polish-notation',
29+
'happy-numbers', 'happy-numbers-long', 'hexdump', 'intersection',
30+
'inventory-sequence', 'isbn', 'jacobi-symbol', 'kolakoski-constant',
31+
'kolakoski-sequence', 'leap-years', 'levenshtein-distance',
32+
'leyland-numbers', 'look-and-say', 'lucky-numbers', 'lucky-tickets',
33+
'morse-decoder', 'morse-encoder', 'musical-chords', 'niven-numbers',
34+
'niven-numbers-long', 'number-spiral', 'odious-numbers',
35+
'odious-numbers-long', 'ordinal-numbers', 'pangram-grep',
36+
'pascals-triangle', 'pernicious-numbers', 'pernicious-numbers-long',
37+
'poker', 'prime-numbers', 'prime-numbers-long', 'proximity-grid',
38+
'qr-decoder', 'quine', 'recamán', 'reverse-polish-notation',
3839
'rock-paper-scissors-spock-lizard', 'roman-to-arabic', 'rule-110',
3940
'seven-segment', 'sierpiński-triangle', 'smith-numbers',
4041
'spelling-numbers', 'star-wars-opening-crawl', 'sudoku', 'sudoku-v2',

0 commit comments

Comments
 (0)