Cody

goc3

5
Rank
132
Badges
33460
Score
1 – 50 of 3,333

goc3 submitted a Comment to Problem 81. Mandelbrot Numbers

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

on 30 Nov 2020 at 11:38

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

A tolerance has been added to the test suite.

on 30 Nov 2020 at 11:34

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 at 12:14

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 at 11:48

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 at 11:40

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 at 19:27

goc3 submitted a Comment to Problem 45266. Restricted Subtraction v1

I also deleted the most recent hacking solutions.

on 9 Nov 2020 at 19:17

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 at 19:16

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 at 18:40

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 at 15:48

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 at 15:38

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 at 16:36

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

I like your ideas in this regard, Rafael.

on 3 Nov 2020 at 16:24

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 at 16:19

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 at 16:15

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

@Rafael S.T. Vieira: done.

on 3 Nov 2020 at 16:08

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

goc3 submitted a Comment to Problem 43283. Subtract integers and add doubles

The problem description has been updated.

on 3 Oct 2020

goc3 submitted a Comment to Problem 44718. Optimize the Tollbooths

@Alfonso, the test suite has been updated per your suggestion. It does work against the author's reference solution.

on 3 Oct 2020

goc3 submitted a Comment to Problem 44449. Moving Median Absolute Deviation

The test suite has had a tolerance applied.

on 29 Sep 2020

goc3 submitted a Comment to Problem 44946. Solve a System of Linear Equations

The syms function is in a toolbox—Cody does not currently support any toolbox functions.

on 29 Sep 2020

goc3 submitted a Comment to Problem 3043. Fill-a-pix - Solver (basic)

It appears that the link I supplied earlier was lost. Here it is again: https://www.sporcle.com/playlists/goc3/mosaic-logic-puzzles

on 29 Sep 2020

goc3 submitted a Comment to Problem 3043. Fill-a-pix - Solver (basic)

@Rafael S.T. Vieira: while you are correct (along with Jean-Marie) in stating that the problem is not easy, the "basic" indicates, as you rightly mention, that simple logic applied to surrounding cells is all that is needed to solve this sort of puzzle. Of course, there are more complex boards wherein the "basic" logic is insufficient to completely solve them.

on 29 Sep 2020

goc3 submitted a Comment to Problem 2999. Billiards

The test suite has been updated.

on 29 Sep 2020

goc3 submitted a Comment to Problem 44612. ¡Puntos de corte!

I believe that the test suite is now functioning properly, presuming sorted roots.

on 29 Sep 2020

goc3 submitted a Comment to Problem 45178. An n-sided regular polygon is drawn within a circle whose radius is 'r', what will be the area of the polygon?

The test suite now contains a tolerance, as well as added test cases, while no longer revealing the solution.

on 29 Sep 2020

goc3 submitted a Comment to Problem 8048. Stress-Strain Properties - 1

@Rafael S.T. Vieiera: thanks for pointing that out. The image has been updated.

on 29 Sep 2020

goc3 submitted a Comment to Problem 837. Find all the zeros of sinus , cosinus and tangent in a given interval

The –pi/2 has been removed from that test case.

on 29 Sep 2020

goc3 submitted a Comment to Problem 3072. Singular Value Decomposition

Thanks for pointing that out, @Rafael S.T. Vieira. Test case 3 has been fixed.

on 29 Sep 2020

goc3 submitted a Comment to Problem 42587. Moore-Penrose pseudoinverse of matrix

Tolerance has been added to the test suite.

on 29 Sep 2020

goc3 submitted a Comment to Problem 44861. Ratio between sums of prime and non-prime numbers

Thank you for that clarification, @Rafael S.T. Vieira. The problem title and description have been improved, along with added test cases.

on 29 Sep 2020

goc3 submitted a Comment to Problem 44718. Optimize the Tollbooths

@Alfonso, I tested your suggestion against the reference solution provided by Aamod Garg (problem author). His solution worked for test cases 2 and 3, but failed 1, 4, and 5 due to that modification (therefore, I reverted to its original state). Do you have a further suggestion to fix this?

on 29 Sep 2020

goc3 submitted a Comment to Problem 1672. Leftovers? Again?!

I have commented out the initial lines so that this problem is solvable again.

on 29 Sep 2020

1 – 50 of 3,333