[2021 Day 18 (Part 1)][Python 3] bug in final example

This page summarizes the projects mentioned and recommended in the original post on /r/adventofcode

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • advent

    individual solutions at AoC (by martino-vic)

  • With the help of reddit users and endless patience I got this far: https://github.com/martino-vic/Advent/blob/master/day18/day18_3.ipynb It passes all the tests, *except* for the final example homework assignment, which I have saved in file "i3". I'd actually not only be curious what the bug here might be, but maybe in this case it would be more useful to learn how to debug these kind of cases efficiently. What worked until now was a print() and input() statement in the while loop so I could track step by step what is happening. But with this many additions and reductions it's simply impossible to catch a bug that way. So I'm thinking about what strategies could exist to identify a bug in a scenario like this, especially if all the previous tests (including the "slightly larger example") are passing. Any help - as always - much appreciated!

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Machine Learning Models: Linear Regression

    2 projects | dev.to | 3 May 2024
  • Finetune a GPT Model for Spam Detection on Your Laptop in Just 5 Minutes

    1 project | news.ycombinator.com | 3 May 2024
  • AI Agent Notebooks Using LangChain, LlamaIndex, Milvus, and More

    1 project | news.ycombinator.com | 3 May 2024
  • Mastering Dataset Acquisition: A Comprehensive Guide

    2 projects | dev.to | 3 May 2024
  • Simple GitHub Issue Handled(?) By Copilot Workspace

    1 project | news.ycombinator.com | 2 May 2024