logdetective 2.3.0__py3-none-any.whl → 2.4.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,59 @@
1
+ <b>Log Detective report
2
+ {% if project %}for {{ project }}{% endif %}
3
+ </b>
4
+ <p>
5
+ Analysis:
6
+ <br>
7
+ {{ explanation }}
8
+ <br>
9
+ <details>
10
+ <summary>Analysis details</summary>
11
+ <ul>
12
+ {% for snippet in snippets %}
13
+ <li>
14
+ <b>Line {{ snippet.line_number }}:</b> <code>{{ snippet.text }}</code>
15
+ {{ snippet.explanation.text }}
16
+ </li>
17
+ {% endfor %}
18
+ </ul>
19
+ </details>
20
+ </p>
21
+ <br>
22
+ <details>
23
+ <summary>Help</summary>
24
+ <p>
25
+ Log Detective analyses logs using template mining algorithm and LLMs.
26
+ Providing overview of the primary issue, while highlighting potentially important log lines.
27
+ </p>
28
+ <p>
29
+ Log Detective may offer potential solution to problem.
30
+ However, it is designed to do so only when sufficiently confident in the response.
31
+ <br>
32
+ Even so, as with any LLM based AI system, recommendations of Log Detective must be taken with caution.
33
+ Before acting on any recommendations of Log Detective, consider following:
34
+ </p>
35
+ <ul>
36
+ <li>
37
+ <b>Do you understand how does the proposed solution work? And why should it solve your problem?</b>
38
+ </li>
39
+ <li>Did Log Detective work with sufficient information to make this suggestion?</li>
40
+ <li>Are the suggested actions safe in the context of your work?</li>
41
+ <li>Do results of snippet analysis align with results of final analysis?</li>
42
+ <li>Are there any potentially adverse outcomes from implementing proposed solution?</li>
43
+ </ul>
44
+ </details>
45
+ <br>
46
+ {% render_contacts %}
47
+ <details>
48
+ <summary>Contacts</summary>
49
+ <p>Don't hesitate to reach out with your questions or suggestions.</p>
50
+ <ul>
51
+ <li>
52
+ <a href="https://github.com/fedora-copr/logdetective">Source</a>
53
+ </li>
54
+ <li>
55
+ <a href="https://github.com/fedora-copr/logdetective/issues">Issue tracker</a>
56
+ </li>
57
+ </ul>
58
+ </details>
59
+ {% endif %}
@@ -1,68 +1,69 @@
1
- The package {{ package }} failed to build, here is a possible explanation why.
2
-
1
+ The package {{ package }} build has experienced an issue.
3
2
  Please know that the explanation was provided by AI and may be incorrect.
4
3
  {% if certainty > 0 %}
5
- In this case, we are {{ "%.2f" | format(certainty) }}% certain of the response {{ emoji_face }}.
4
+ In this case, we are {{ "%.2f" | format(certainty) }}% certain of the response {{ emoji_face }}.
6
5
  {% endif %}
7
-
8
- {{ explanation }}
9
-
10
- <details>
6
+ <b>Snippets:</b>
11
7
  <ul>
12
- {% for snippet in snippets %}
13
- <li>
14
- <b>Line {{ snippet.line_number }}:</b> <code>{{ snippet.text }}</code>
15
- {{ snippet.explanation.text }}
16
- </li>
17
- {% endfor %}
8
+ {% for snippet in snippets %}
9
+ <li>
10
+ <b>Line {{ snippet.line_number }}:</b> <code>{{ snippet.text }}</code>
11
+ {{ snippet.explanation.text }}
12
+ </li>
13
+ {% endfor %}
18
14
  </ul>
15
+ <details>
16
+ <summary>Description</summary>
17
+ {{ explanation }}
19
18
  </details>
20
-
21
19
  <details>
22
- <summary>Logs</summary>
23
- <p>
24
- Log Detective analyzed the following logs files to provide an explanation:
25
- </p>
26
-
27
- <ul>
28
- <li><a href="{{ log_url }}">{{ log_url }}</a></li>
29
- </ul>
30
-
31
- <p>
32
- Additional logs are available from:
20
+ <summary>Logs</summary>
21
+ <p>Log Detective analyzed the following logs files to provide an explanation:</p>
33
22
  <ul>
34
- <li><a href="{{ artifacts_url }}">artifacts.zip</a></li>
35
- </ul>
36
- </p>
37
-
38
- <p>
39
- Please know that these log files are automatically removed after some
40
- time, so you might need a backup.
41
- </p>
23
+ <li>
24
+ <a href="{{ log_url }}">{{ log_url }}</a>
25
+ </li>
26
+ </ul>
27
+ <p>
28
+ Additional logs are available from:
29
+ <ul>
30
+ <li>
31
+ <a href="{{ artifacts_url }}">artifacts.zip</a>
32
+ </li>
33
+ </ul>
34
+ </p>
35
+ <p>
36
+ Please know that these log files are automatically removed after some
37
+ time, so you might need a backup.
38
+ </p>
42
39
  </details>
43
-
44
40
  <details>
45
- <summary>Help</summary>
46
- <p>Don't hesitate to reach out.</p>
47
-
48
- <ul>
49
- <li><a href="https://github.com/fedora-copr/logdetective">Upstream</a></li>
50
- <li><a href="https://github.com/fedora-copr/logdetective/issues">Issue tracker</a></li>
51
- <li><a href="https://redhat.enterprise.slack.com/archives/C06DWNVKKDE">Slack</a></li>
52
- <li><a href="https://log-detective.com/documentation">Documentation</a></li>
53
- </ul>
41
+ <summary>Help</summary>
42
+ <p>Don't hesitate to reach out.</p>
43
+ <ul>
44
+ <li>
45
+ <a href="https://github.com/fedora-copr/logdetective">Upstream</a>
46
+ </li>
47
+ <li>
48
+ <a href="https://github.com/fedora-copr/logdetective/issues">Issue tracker</a>
49
+ </li>
50
+ <li>
51
+ <a href="https://redhat.enterprise.slack.com/archives/C06DWNVKKDE">Slack</a>
52
+ </li>
53
+ <li>
54
+ <a href="https://log-detective.com/documentation">Documentation</a>
55
+ </li>
56
+ </ul>
54
57
  </details>
55
-
56
-
57
58
  ---
58
59
  This comment was created by [Log Detective][log-detective].
59
-
60
- Was the provided feedback accurate and helpful? <br>Please vote with :thumbsup:
61
- or :thumbsdown: to help us improve.<br>
62
-
60
+ Was the provided feedback accurate and helpful?
61
+ <br>
62
+ Please vote with :thumbsup:
63
+ or :thumbsdown: to help us improve.
64
+ <br>
63
65
  <i>If this Log Detective report contains harmful content, please use the
64
- [Gitlab reporting feature for harmful content](https://docs.gitlab.com/user/report_abuse/)
66
+ [Gitlab reporting feature for harmful content](https://docs.gitlab.com/user/report_abuse/)
65
67
  and contact the [Log Detective developers](https://github.com/fedora-copr/logdetective/issues).</i>
66
-
67
68
  [log-detective]: https://log-detective.com/
68
69
  [contact]: https://github.com/fedora-copr
@@ -1,57 +1,60 @@
1
- The package {{ package }} failed to build, here is a possible explanation why.
2
-
1
+ The package {{ package }} build has experienced an issue.
3
2
  Please know that the explanation was provided by AI and may be incorrect.
4
3
  {% if certainty > 0 %}
5
- In this case, we are {{ "%.2f" | format(certainty) }}% certain of the response {{ emoji_face }}.
4
+ In this case, we are {{ "%.2f" | format(certainty) }}% certain of the response {{ emoji_face }}.
6
5
  {% endif %}
7
-
8
- {{ explanation }}
9
-
10
6
  <details>
11
- <summary>Logs</summary>
12
- <p>
13
- Log Detective analyzed the following logs files to provide an explanation:
14
- </p>
15
-
16
- <ul>
17
- <li><a href="{{ log_url }}">{{ log_url }}</a></li>
18
- </ul>
19
-
20
- <p>
21
- Additional logs are available from:
7
+ <summary>Description</summary>
8
+ {{ explanation }}
9
+ </details>
10
+ <details>
11
+ <summary>Logs</summary>
12
+ <p>Log Detective analyzed the following logs files to provide an explanation:</p>
22
13
  <ul>
23
- <li><a href="{{ artifacts_url }}">artifacts.zip</a></li>
24
- </ul>
25
- </p>
26
-
27
- <p>
28
- Please know that these log files are automatically removed after some
29
- time, so you might need a backup.
30
- </p>
14
+ <li>
15
+ <a href="{{ log_url }}">{{ log_url }}</a>
16
+ </li>
17
+ </ul>
18
+ <p>
19
+ Additional logs are available from:
20
+ <ul>
21
+ <li>
22
+ <a href="{{ artifacts_url }}">artifacts.zip</a>
23
+ </li>
24
+ </ul>
25
+ </p>
26
+ <p>
27
+ Please know that these log files are automatically removed after some
28
+ time, so you might need a backup.
29
+ </p>
31
30
  </details>
32
-
33
31
  <details>
34
- <summary>Help</summary>
35
- <p>Don't hesitate to reach out.</p>
36
-
37
- <ul>
38
- <li><a href="https://github.com/fedora-copr/logdetective">Upstream</a></li>
39
- <li><a href="https://github.com/fedora-copr/logdetective/issues">Issue tracker</a></li>
40
- <li><a href="https://redhat.enterprise.slack.com/archives/C06DWNVKKDE">Slack</a></li>
41
- <li><a href="https://log-detective.com/documentation">Documentation</a></li>
42
- </ul>
32
+ <summary>Help</summary>
33
+ <p>Don't hesitate to reach out.</p>
34
+ <ul>
35
+ <li>
36
+ <a href="https://github.com/fedora-copr/logdetective">Upstream</a>
37
+ </li>
38
+ <li>
39
+ <a href="https://github.com/fedora-copr/logdetective/issues">Issue tracker</a>
40
+ </li>
41
+ <li>
42
+ <a href="https://redhat.enterprise.slack.com/archives/C06DWNVKKDE">Slack</a>
43
+ </li>
44
+ <li>
45
+ <a href="https://log-detective.com/documentation">Documentation</a>
46
+ </li>
47
+ </ul>
43
48
  </details>
44
-
45
-
46
49
  ---
47
50
  This comment was created by [Log Detective][log-detective].
48
-
49
- Was the provided feedback accurate and helpful? <br>Please vote with :thumbsup:
50
- or :thumbsdown: to help us improve.<br>
51
-
51
+ Was the provided feedback accurate and helpful?
52
+ <br>
53
+ Please vote with :thumbsup:
54
+ or :thumbsdown: to help us improve.
55
+ <br>
52
56
  <i>If this Log Detective report contains harmful content, please use the
53
- [Gitlab reporting feature for harmful content](https://docs.gitlab.com/user/report_abuse/)
57
+ [Gitlab reporting feature for harmful content](https://docs.gitlab.com/user/report_abuse/)
54
58
  and contact the [Log Detective developers](https://github.com/fedora-copr/logdetective/issues).</i>
55
-
56
59
  [log-detective]: https://log-detective.com/
57
60
  [contact]: https://github.com/fedora-copr
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: logdetective
3
- Version: 2.3.0
3
+ Version: 2.4.0
4
4
  Summary: Log using LLM AI to search for build/test failures and provide ideas for fixing these.
5
5
  License: Apache-2.0
6
6
  License-File: LICENSE
@@ -27,13 +27,14 @@ logdetective/server/metric.py,sha256=QrrX1FmMa7sc57av0P9UFOiCIFYVLs1opOWV3ObYo0s
27
27
  logdetective/server/models.py,sha256=jUzQUszMqgOeOrH1V2ORtejGrD1Nw1sX05bsbAyFvV4,20830
28
28
  logdetective/server/plot.py,sha256=C98U9prGoPkp8_t4v2dovdZuwOhSbxXSeB_K9Q2r3NE,14607
29
29
  logdetective/server/server.py,sha256=s1QtD6FYsQX7BaVi783v7sqCEk4ccqlBJHFKUQlGgWM,24684
30
- logdetective/server/templates/gitlab_full_comment.md.j2,sha256=H4NPjm3l8X5d0TNtfyZZZj_gHY1Y7hWEqY6RaVA8qt0,1947
31
- logdetective/server/templates/gitlab_short_comment.md.j2,sha256=vPisU1c98LPKEwlKtMrtlqnEOlbykPZK96MpHAf-o88,1758
30
+ logdetective/server/templates/base_response.html.j2,sha256=BJGGV_Xb0Lnue8kq32oG9lI5CQDf9vce7HMYsP-Pvb4,2040
31
+ logdetective/server/templates/gitlab_full_comment.md.j2,sha256=qcDowH7bSD1NmoCVIvR4AG61xQbuVpHQ9CGj9L-RwpM,2232
32
+ logdetective/server/templates/gitlab_short_comment.md.j2,sha256=UpQxIgOuOO8BBF__kzFl0XlCuYmcyfN2yMz6vd4PQ2Q,2000
32
33
  logdetective/server/utils.py,sha256=7ub-Nz7LUP_idwi2_nEC4FBuY9otSBUVy9nw86-sjYc,3861
33
34
  logdetective/skip_snippets.yml,sha256=reGlhPPCo06nNUJWiC2LY-OJOoPdcyOB7QBTSMeh0eg,487
34
35
  logdetective/utils.py,sha256=9EyHKGNxtS1ObSepL-T3M43rKIxQJkFDA5yllLbS5Bs,9178
35
- logdetective-2.3.0.dist-info/METADATA,sha256=mQQpT-CjV5js3Rl0eU87hvvZcbheoUXV3niOTCjW6gY,21645
36
- logdetective-2.3.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
37
- logdetective-2.3.0.dist-info/entry_points.txt,sha256=3K_vXja6PmcA8sNdUi63WdImeiNhVZcEGPTaoJmltfA,63
38
- logdetective-2.3.0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
39
- logdetective-2.3.0.dist-info/RECORD,,
36
+ logdetective-2.4.0.dist-info/METADATA,sha256=WjXnQeIgrvCKSHpNDPs5UuBQYEJfQn-3eGCyIOcgVCk,21645
37
+ logdetective-2.4.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
38
+ logdetective-2.4.0.dist-info/entry_points.txt,sha256=3K_vXja6PmcA8sNdUi63WdImeiNhVZcEGPTaoJmltfA,63
39
+ logdetective-2.4.0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
40
+ logdetective-2.4.0.dist-info/RECORD,,