Skip to content

Tags: joakimbits/normalize

Tags

v2.2.0

Toggle v2.2.0's commit message
Compile .cc as C++

v2.1.0

Toggle v2.1.0's commit message
WORKAROUND: gpt-3.5 has 'Too Many Requests' on first request

This happens with a huge prompt.

* Estimate the one-shot maximum_tokens from the rate limit and the requested 'rate'.

v2.0.0

Toggle v2.0.0's commit message
Upgrade tests on github

* Upgrade to Python 3.8 (support tiktoken).
* Test a clean audit.

BUG: Obsolete ./test.py in test on github

The file got a better name.

* Add . to GITHUB_PATH before a venv is made.
* Drop the ./ prefix.
* Correct name: greeter.py.

v1.2.1

Toggle v1.2.1's commit message
BUG: context_length_exceeded during audit with gpt-3.5

* Lossy-compress removals and then additions until changes fits in the gpt model used.

v1.2.0

Toggle v1.2.0's commit message
BUG: Previous release message sneaks into new release message during …

…audit

* Clarify that the old release message belongs to the old release.

v1.1.0

Toggle v1.1.0's commit message
BUG: Incorrect git tag command yielded during audit

The command yielded during audit of commit before this is not correct:

gpt-3.5-turbo-16k-0613 chat.completion chatcmpl-92DuWbjtlUDFxvu9xClu85RRom1Fo prompted 878 -> completed 28:
$ tag=v1.0.2 git tag -a $tag -m "$tag\n\nBug fixes and support for Mac OS"

The reason it yielded this wrong command is because the prompt recommended it like that. Fix that.

* Remove the -a option.
* Make $tag the last parameter.
* Drop the unbalanced closing paranthesis.

BUG: Too brief audit summary

Observed on commit before this:

    gpt-3.5-turbo-16k-0613 chat.completion chatcmpl-92ER0gYrS6m8lCwaPgcERxzacRgEm prompted 6805 -> completed 23:
    $ tag=v1.0.2 git tag -m "$tag\n\nBug fixes and improvements" $tag

We want something more specific.

* Include both a release title and a release summary in the audit message.

BUG: Too bossy audit summary

Observed on commit before this:

    gpt-3.5-turbo-16k-0613 chat.completion chatcmpl-92FEyLSyGBxGCvYV9EiC5Lp7lQ7HL prompted 6813 -> completed 253:
    Release Summary for Version v1.0.2

    <summary of v1.0.2 and also of v1.0.1>

    Please use the following command to release the software:

    ```
    $ tag=<new version> git tag -m "$tag <release title>\n\n<release summary>" $tag
    ```

    Please choose a new semantic version number that is larger than the previously released version. If you can release this software successfully, we will consider automating releases with your help. Thank you for your service.

GPT told us instead of filling in the template itself.

* Instruct GPT to fill in the command as a template.

BUG: Too submissive audit summary

Observed on commit before this:

    gpt-3.5-turbo-16k-0613 chat.completion chatcmpl-92FEyLSyGBxGCvYV9EiC5Lp7lQ7HL prompted 6813 -> completed 253:
    Release Summary for Version v1.0.2

    <summary of v1.0.2 and also of v1.0.1>

    Please use the following command to release the software:

    ```
    $ tag=<new version> git tag -m "$tag <release title>\n\n<release summary>" $tag
    ```

    Please choose a new semantic version number that is larger than the previously released version. If you can release this software successfully, we will consider automating releases with your help. Thank you for your service.

So it bailed out: Returned the instruction it did not complete.

* Instruct GPT to fill in the command template.
* Remove the "unrelated" thank you note.

BUG: Unexpanded tag variable in command from audit

Observed on commit before this:

    gpt-3.5-turbo-16k-0613 chat.completion chatcmpl-92Gq4uMJVObKjuGwj2572yftsSSRQ prompted 6908 -> completed 94:
    Release Title: Support Mac and Drop assembly tests

    Release Summary:
    - Support Mac by using a local worktree and installing necessary tools
    - Drop assembly tests to support Arm OS

    New Version: v1.1.0

    Command: tag=v1.1.0 git tag -m "$tag Support Mac and Drop assembly tests\n\n- Support Mac by using a local worktree and installing necessary tools\n- Drop assembly tests to support Arm OS" $tag

This is exactly as instructed - just filling in the command template. But the $tag is not expanded when in a command line string like that.

* Correct the git tag command syntax.

v1.0.2

Toggle v1.0.2's commit message
BUG: Cannot review added project

* Create an empty baseline document if its project did not exist.

v1.0.1

Toggle v1.0.1's commit message
BUG: Nonlocal path in local documentation

v1.0.0

Toggle v1.0.0's commit message
Audit large projects

We now use a unified diff within an outline of the document.
This allows also a large project to be audited automatically.

Bug: Full report is not included but prompt says so

* Do not refer to `make old`.

Bug: Invalid temperature parameter

* Change to a numeric temperature for the GPT continuation.

Bug: Next exes become parameters to exe

* Use bare names instead of string with names in sh for loop.

Bug: Changed paragraph merge with next paragraph

* Print \n\n after changes.
* Always collapse space after no change.

Bug: Wrong venv can be used when generating help text for python modules

* Move into the project before building the help text of an exe.

v0.9.2

Toggle v0.9.2's commit message
Review only readable text

Use .gfm instead of .markdown format during review. It removes latex code blocks.