Cody

goc3

6
Rank
141
Badges
33900
Score
1 – 50 of 3,349

goc3 submitted a Comment to Problem 2595. Polite numbers. Politeness.

@Dyuman Joshi: I do not know why that error occurs. I do know that it essentially means that the user needs to wait and re-submit their solution at a later time, sometimes the next day. By the way, it's best to not post solutions (or solution attempts) in comments. Questions or comments specific to a solution can be posted in a comment tied to said solution or solution attempt.

on 13 Jan 2021 at 11:25

goc3 submitted a Comment to Solution 4570248

Look at the errors—your function never defines the output variable y.

on 11 Jan 2021 at 11:40

goc3 submitted a Comment to Solution 4562048

I am not sure why it was not working... The test suite has been modified to use a tolerance, so your solution should pass now.

on 11 Jan 2021 at 11:37

goc3 submitted a Comment to Problem 47970. Cipher or decipher the number according to the second input - 10 keys

A few of the errors have been fixed, but this problem is too cryptic (or erroneous) for me to understand it, so I can't completely fix it. @Sibi, please fix the problem. I would highly recommend providing your own reference solution on the Edit page to ensure that it is working properly.

on 11 Jan 2021 at 11:30

goc3 submitted a Comment to Solution 4536688

As David Verrelli pointed out, negative integers are also accepted in this problem (not only zero).

on 6 Jan 2021 at 11:25

goc3 submitted a Comment to Problem 49057. Mass Conversion 1

The description has been updated to state the precision of the conversion factor used in the test suite.

on 4 Jan 2021 at 11:42

goc3 submitted a Comment to Problem 49062. Mass Conversion 2

The description has been updated to state the precision of the conversion factor used in the test suite.

on 4 Jan 2021 at 11:42

goc3 submitted a Comment to Problem 2195. Sum of the pixel values for the blue color

@Dyuman Joshi: the test suite and description have been updated with the value provided by Rafael S.T. Vieira. At some point in time the image was changed, as the early solutions did not require any hard coding.

on 4 Jan 2021 at 11:36

goc3 submitted a Comment to Problem 43185. How to permute given 3d matrix?

The solution has been removed from the test suite.

on 21 Dec 2020 at 14:24

goc3 submitted a Comment to Solution 4349205

This problem has been improved with more test cases, a non-revealing solution template, an improved description, and a unique function name. @Aidan Guenther, please take note.

on 21 Dec 2020 at 14:14

goc3 submitted a Comment to Problem 42381. Dice roll - lateral faces

@Dyuman Joshi: each answer is invariant with respect to input order.

on 21 Dec 2020 at 14:08

goc3 submitted a Comment to Problem 45638. How many apples

@Jean-Marie Sainthillier: thanks for pointing this out. I made some improvements and changed the function name, which should cause prior solutions to be invalidated. @Fatih KIRCI: as originally posted, this problem was prone to be deleted. Instead, I improved it. Please take notes of these changes as to how you can improve any other problems you publish. For example, any problem should have multiple test cases.

on 14 Dec 2020

goc3 submitted a Comment to Problem 2133. Reverse Calculator

I believe that those functions have been banned site-wide. This is one of the few problems where that universal ban is frustrating for those not seeking to hack...

on 14 Dec 2020

goc3 submitted a Comment to Problem 2057. persistant sum

The test suite has had the "solution" code removed. The description was also cleaned up. (If it's not loading, simply reload the page.) I'm not sure how much these fixes help, though...

on 14 Dec 2020

goc3 submitted a Comment to Problem 2628. Find Excess 3 code of given decimal number.

The link has been fixed. Thank you for pointing that out, @mahesh kumar.

on 14 Dec 2020

goc3 submitted a Comment to Problem 2091. return row and column indices given 2 values which define a range

@Dyuman Joshi: the problem description specifically states that the inputs can be passed in in random order. What you indicate as an error is actually intended.

on 2 Dec 2020

goc3 submitted a Comment to Problem 81. Mandelbrot Numbers

Thanks for noticing that, @Shlomo Geva. The link has been fixed.

on 30 Nov 2020

goc3 submitted a Comment to Problem 45770. Approximate functions 1 (★★★)

A tolerance has been added to the test suite.

on 30 Nov 2020

goc3 submitted a Comment to Problem 953. Pi Estimate 1

The problem description has been updated to specify that rounding is required.

on 25 Nov 2020

goc3 submitted a Comment to Problem 44249. Pipeline - Variable-length Input

@cokakola: I am not sure, either. The problem has been removed from the Functions II group.

on 18 Nov 2020

goc3 submitted a Comment to Problem 2597. Alternative Scoring. Create an incremental spiral.

The test suite has had the alternate scoring method commented out.

on 18 Nov 2020

goc3 submitted a Comment to Problem 45268. Restricted Multiplication v1

The tests involving single letters (a, e, f) have been updated to two or three letters to potentially allow for non-hacking solutions. Also, returned values are now tested against a tolerance.

on 9 Nov 2020

goc3 submitted a Comment to Problem 45266. Restricted Subtraction v1

I also deleted the most recent hacking solutions.

on 9 Nov 2020

goc3 submitted a Comment to Problem 45266. Restricted Subtraction v1

Wow! That was hard to fix. The problem now tests against a tolerance of 1e–10. I also had to update a few of the anti-hacking checks to allow for a solution. Thanks to Rafael S.T. Vieira for providing a solution that could be used as a reference while fixing the test suite.

on 9 Nov 2020

goc3 submitted a Comment to Problem 45954. tic tac toe

This problem has been cleaned up. Quite a few things had to be moved around, so hopefully I got it all right.

on 9 Nov 2020

goc3 submitted a Comment to Solution 3545440

@T. Dunker: Those test cases have been combined with test case 2 to overcome that scope problem. I re-scored your solution and it passed.

on 4 Nov 2020

goc3 submitted a Comment to Problem 1371. Altitude of locations on the earth

Those are more good points, Rafael. I commented out the test cases with negative results (#4, 5).

on 4 Nov 2020

goc3 submitted a Comment to Problem 1371. Altitude of locations on the earth

Rafael S.T. Vieira brings up some good points. The tolerance has been updated to +/– 250 (500 total) so that the problem can be solved. Making the error window larger than that may be too generous, though.

on 3 Nov 2020

goc3 submitted a Comment to Problem 2390. Fair Scoring for Cody

I like your ideas in this regard, Rafael.

on 3 Nov 2020

goc3 submitted a Comment to Problem 342. Toolbox check part 3

The troublesome test case has been commented out and prior attempts re-scored.

on 3 Nov 2020

goc3 submitted a Comment to Problem 964. McCabe Complexity

The troublesome first line in the test suite has been commented out and old solutions re-scored.

on 3 Nov 2020

goc3 submitted a Comment to Problem 2230. Back to basics - array operations

@Nikolaos Nikolaou: while input variables are the same in test cases 7 and 8, they are passed to the function in different orders.

on 28 Oct 2020

goc3 submitted a Comment to Problem 47103. Estimate Pi by Monte Carlo method

The test suite has been updated to check against a tolerance; hopefully that will overcome the concern mentioned by Undine Falkenhagen.

on 28 Oct 2020

goc3 submitted a Comment to Problem 46873. Sum of terms in a series 2 (★★★)

The test suite is updated to use a tolerance check.

on 27 Oct 2020

goc3 submitted a Comment to Problem 980. Unique values without using UNIQUE function

The link has been updated.

on 27 Oct 2020

goc3 submitted a Comment to Problem 2029. Convert vector datasets to plot with imagesc instead of scatter

The test suite has been fixed as requested by Rafael S.T. Vieira.

on 27 Oct 2020

goc3 submitted a Comment to Problem 1591. Find the minimum element of the matrix

The last test case has been fixed.

on 27 Oct 2020

goc3 submitted a Comment to Problem 601. Retirement savings

Variables for the first test were implicitly defined with global scope (lacked initial %%). They should now be constrained to just the first test case.

on 26 Oct 2020

goc3 submitted a Comment to Problem 44731. Find the Pattern

The function name has been changed to not conflict with a built-in function.

on 26 Oct 2020

goc3 submitted a Comment to Problem 67. Find common elements in matrix rows

Test cases with an empty result now test against isempty().

on 26 Oct 2020

goc3 submitted a Comment to Problem 850. Spectral Distance - Speed Scoring

The line referenced by Rafael S.T. Vieira (and prior comments) has been corrected.

on 26 Oct 2020

goc3 submitted a Comment to Problem 45821. Magnitude of a vector (★★★)

Tolerance has been added to the test suite.

on 8 Oct 2020

goc3 submitted a Comment to Problem 43738. Negative without '-'

The offending line—asserting lack of '0'—has been commented out.

on 8 Oct 2020

goc3 submitted a Comment to Problem 42737. Spherical Volume

The test suite has been updated to use a tolerance.

on 8 Oct 2020

goc3 submitted a Comment to Problem 1633. Find the right x in a 1. order Polynomal (y = m*x+c)

The description has been updated.

on 8 Oct 2020

goc3 submitted a Comment to Problem 46548. Convert Cylindrical Cooridinates into Spherical Coordinate

The test suite now takes the input variables, instead of x. It also tests against a tolerance now. However, there is no reference solution and none of the legitimate attempts thus far pass the test case, so I hope that the updates function properly.

on 8 Oct 2020

goc3 submitted a Comment to Problem 953. Pi Estimate 1

The description has been updated per the link provided in a prior comment.

on 3 Oct 2020

goc3 submitted a Comment to Problem 42327. Convert Decimal Number to Hex number (including non integer value)

The function name has been changed to not conflict with a built-in function name. However, rescoring was not performed, as that would invalidate prior correct solutions. Please resubmit your recent attempts.

on 3 Oct 2020

goc3 submitted a Comment to Problem 2576. Sum of series II

The hack leading solution was deleted.

on 3 Oct 2020

1 – 50 of 3,349