Closed
Description
The build-and-push-image / build-and-push job keeps failing with the following message:
Error: Username and password required
I guess the secrets
used in the workflow are not defined;
php-representer/.github/workflows/deploy.yml
Lines 17 to 22 in b9da34f
For the record I did run the representer against hello-world submissions and I have the following results:
Results
Without the representer:
$ find ./solutions ! -empty -type f -name HelloWorld.php -exec md5sum {} + | sort | uniq -w32 -c | wc -l
82 # Number of different solutions without the representer
$ find ./solutions ! -empty -type f -name HelloWorld.php -exec md5sum {} + | sort | uniq -w32 -c | sed 's@^[^0-9]*\([0-9]\+\).*@\1@' | sort -n | uniq -c
61 1 # There are 61 unique (1) solution without the representer
11 2
2 3
1 4
4 9
2 14
1 343 # The most common solution has 343 candidate without the representer
With the representer:
$ find ./solutions ! -empty -type f -name representation.txt -exec md5sum {} + | sort | uniq -w32 -c | wc -l
18 # Number of different solutions with the representer
$ find ./solutions ! -empty -type f -name representation.txt -exec md5sum {} + | sort | uniq -w32 -c | sed 's@^[^0-9]*\([0-9]\+\).*@\1@' | sort -n | uniq -c
11 1 # There are 11 unique (1) solution with the representer
1 2 # This group is legit (typing)
1 3 # This group may be handled later, it is due to code re-ordering
1 5 # This group of will be included in the 33 group by converting quotes
1 10 # This group of 10 solutions will be included in the 409 group by converting quotes
1 27 # This group of 27 solutions is legit (the function is called and echo-ed)
1 33 # This group of 33 solutions is legit (the function is called)
1 409 # The most common solution has 409 candidate with the representer
Metadata
Metadata
Assignees
Labels
No labels